Jump to content

OnPlayerConnected

Closed 1.0.2

Magnumk
Magnumk

Posted

(09:52:34) | Failed to run a 1.00 timer in 'UnderwearSelection v1.0.2' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.UnderwearSelection.OnPlayerConnected (BasePlayer player) [0x00078] in <532aafe1a522480c8590768ef29d989c>:0

at Oxide.Plugins.UnderwearSelection+<>c__DisplayClass6_0.<OnPlayerConnected>b__0 () [0x00000] in <532aafe1a522480c8590768ef29d989c>:0

at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <b76ec77c47d1449e92b2baab8603843d>:0

☜Марат☞

Posted

what happened before and after this error and under what circumstances did it appear?

Magnumk

Posted (edited)

It appears when players connect to the server
I can't use the /wear command

I tried to reload it but I get another error:

 

(16:14:17) | UnderwearSelection was compiled successfully in 1465ms

(16:14:17) | Unloaded plugin Underwear Selection v1.0.2 by Marat

(16:14:18) | Shutting down compiler because no more jobs

(16:14:18) | ExType: JsonSerializationException

(16:14:18) | Failed to call hook 'OnServerInitialized' on plugin 'UnderwearSelection v1.0.2' (ArgumentException: Could not cast or convert from System.Int64 to Oxide.Plugins.UnderwearSelection+Data.)

at Newtonsoft.Json.Utilities.ConvertUtils.EnsureTypeAssignable (System.Object value, System.Type initialType, System.Type targetType) [0x00062] in <271c58b7a8684db5a2c92be17a81f252>:0

at Newtonsoft.Json.Utilities.ConvertUtils.ConvertOrCast (System.Object initialValue, System.Globalization.CultureInfo culture, System.Type targetType) [0x00031] in <271c58b7a8684db5a2c92be17a81f252>:0

at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x0008d] in <271c58b7a8684db5a2c92be17a81f252>:0

(16:14:18) | Loaded plugin Underwear Selection v1.0.2 by Marat

 

Edited by Magnumk
☜Марат☞

Posted

you have some problems with the server. Unload the plugin and delete the config and data file

Magnumk

Posted

That fixed the problem, sorry for the trouble!

1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

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.