Coder Social home page Coder Social logo

upets's People

Contributors

restoremonarchy avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

upets's Issues

MariaDB connection error

[19:38:10 ERR][RocketMod] Failed to load UPets, unloading now... :
System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
  at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <695d1cc93cca45069c528c15c9fdd749>:0
  at MySql.Data.MySqlClient.MySqlField.SetFieldEncoding () [0x00034] in <c020c489676c4d0e9e115b242bef7ab4>:0
  at MySql.Data.MySqlClient.MySqlField.set_CharacterSetIndex (System.Int32 value) [0x00007] in <c020c489676c4d0e9e115b242bef7ab4>:0
  at MySql.Data.MySqlClient.NativeDriver.GetColumnData (MySql.Data.MySqlClient.MySqlField field) [0x000ad] in <c020c489676c4d0e9e115b242bef7ab4>:0
  at MySql.Data.MySqlClient.NativeDriver.GetColumnsData (MySql.Data.MySqlClient.MySqlField[] columns) [0x00004] in <c020c489676c4d0e9e115b242bef7ab4>:0
  at MySql.Data.MySqlClient.Driver.GetColumns (System.Int32 count) [0x0001c] in <c020c489676c4d0e9e115b242bef7ab4>:0
  at MySql.Data.MySqlClient.ResultSet.LoadColumns (System.Int32 numCols) [0x00000] in <c020c489676c4d0e9e115b242bef7ab4>:0
  at MySql.Data.MySqlClient.ResultSet..ctor (MySql.Data.MySqlClient.Driver d, System.Int32 statementId, System.Int32 numCols) [0x0002a] in <c020c489676c4d0e9e115b242bef7ab4>:0
  at MySql.Data.MySqlClient.Driver.NextResult (System.Int32 statementId, System.Boolean force) [0x00039] in <c020c489676c4d0e9e115b242bef7ab4>:0
  at MySql.Data.MySqlClient.MySqlDataReader.NextResult () [0x000d5] in <c020c489676c4d0e9e115b242bef7ab4>:0
  at MySql.Data.MySqlClient.MySqlDataReader.Close () [0x00039] in <c020c489676c4d0e9e115b242bef7ab4>:0
  at MySql.Data.MySqlClient.MySqlDataReader.Dispose (System.Boolean disposing) [0x00003] in <c020c489676c4d0e9e115b242bef7ab4>:0
  at MySql.Data.MySqlClient.MySqlDataReader.Dispose () [0x00000] in <c020c489676c4d0e9e115b242bef7ab4>:0
  at MySql.Data.MySqlClient.MySqlCommand.ExecuteNonQuery () [0x0004b] in <c020c489676c4d0e9e115b242bef7ab4>:0
  at Dapper.SqlMapper.ExecuteCommand (System.Data.IDbConnection cnn, Dapper.CommandDefinition& command, System.Action`2[T1,T2] paramReader) [0x0001e] in <51f57a25b85f44c4988211f1f77af0bc>:0
  at Dapper.SqlMapper.ExecuteImpl (System.Data.IDbConnection cnn, Dapper.CommandDefinition& command) [0x0015b] in <51f57a25b85f44c4988211f1f77af0bc>:0
  at Dapper.SqlMapper.Execute (System.Data.IDbConnection cnn, System.String sql, System.Object param, System.Data.IDbTransaction transaction, System.Nullable`1[T] commandTimeout, System.Nullable`1[T] commandType) [0x00018] in <51f57a25b85f44c4988211f1f77af0bc>:0
  at Adam.PetsPlugin.Providers.MySQLPetsDatabaseProvider.Reload () [0x00012] in <fa9a9319d87a4a04a1cb3896e898bc16>:0
  at Adam.PetsPlugin.PetsPlugin.Load () [0x00080] in <fa9a9319d87a4a04a1cb3896e898bc16>:0
  at Rocket.Core.Plugins.RocketPlugin.LoadPlugin () [0x00033] in <59a13feb721848c8b0cd173f6d0e820b>:0

I migrated the database from MySQL to MariaDB, then there was an error. Deleting the table did not help. The database uses urf16 as default, as before, the same plugin creates the table in utf8mb4, forced change to utf16 does not help.

Tech. Details:

  • Ubuntu 22.04 LTS
  • Unturned 3.22.11.4
  • RocketMod 4.9.3.14
  • OpenMod 3.3.0

Console Spamming Error

[2024-05-25 08:15:58] System.Collections.Generic.List`1[T].get_Item (System.Int32 index) (at <2161c9885dd04ff291b79db9349c4b9b>:0)
SDG.Unturned.AnimalManager.respawnAnimals () (at <4d048cb68c424e2cadd3254bef720c01>:0)
SDG.Unturned.AnimalManager.Update () (at <4d048cb68c424e2cadd3254bef720c01>:0)
[2024-05-25 08:15:58] ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

I'm new to C#, I don't know how to fix this error, if you can fix it that would be great!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.