Jump to content

Console Error on connect new players

Pending 2.5.8-beta4

Doldak
Doldak

Posted

everytime a new player join the server in the console i see this error log:

[SmartWarnings] [DisplayUnAcknowledgedWarnings] An error occurred that shouldn't happen for 76561199211749039 when trying to display warnings

System.Collections.Generic.KeyNotFoundException: The given key '76561199211749039' was not present in the dictionary.
at System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) [0x0001e] in <e3aa8db986d7457ca73f10110f1283f5>:0
at Oxide.Plugins.SmartWarnings.GetPlayerData (System.UInt64 userID, System.String name) [0x00019] in /home/container/carbon/plugins/SmartWarnings.cs:264
at Oxide.Plugins.SmartWarnings.DisplayUnAcknowledgedWarnings (Oxide.Core.Libraries.Covalence.IPlayer player) [0x00000] in /home/container/carbon/plugins/SmartWarnings.cs:762

 

Doldak

Posted

and a error to, if i warn a player

[SmartWarnings] [cmdWarnGUI] An unexpected error occurred server_console executed command warn
args: 76561199211749039 33

System.NullReferenceException: Object reference not set to an instance of an object
at Oxide.Plugins.SmartWarnings.WarnPlayer (Oxide.Core.Libraries.Covalence.IPlayer targetPlayer, Oxide.Core.Libraries.Covalence.IPlayer adminPlayer, System.String preset) [0x00021] in /home/container/carbon/plugins/SmartWarnings.cs:562
at Oxide.Plugins.SmartWarnings.cmdWarnGUI (Oxide.Core.Libraries.Covalence.IPlayer player, System.String cmd, System.String[] args) [0x003fa] in /home/container/carbon/plugins/SmartWarnings.cs:547

 

Doldak

Posted (edited)

ah i see the problem!

if i turn mysql off ->no problem

if i turn it on -> problem

and i see why: the plugin save steamid, count,points and warn_date but name are empty and thats the problem, can you fix it?

and if i send a warn with console, the initiator are null 

 

the thing is, i buy this only for the mysql feature XD

Edited by Doldak
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.5k

Files Sold

Total number of files sold.

2.1m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.