Jump to content

Failed to call hook 'OnServerInitialized' on plugin 'PlayerRanks v2.3.1' (NullReferenceException: Object reference not set to an instance of an object)

Pending 2.3.1

Tanki
Tanki

Posted

| Failed to call hook 'OnServerInitialized' on plugin 'PlayerRanks v2.3.1' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.PlayerRanks.DoNewMap () [0x00000] in <f1e9be5f0206446fb3ab4dfa82758afc>:0

at Oxide.Plugins.PlayerRanks.OnServerInitialized () [0x00279] in <f1e9be5f0206446fb3ab4dfa82758afc>:0

at Oxide.Plugins.PlayerRanks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00678] in <f1e9be5f0206446fb3ab4dfa82758afc>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <206a0f2c6ee141f38e2ad549cde44d70>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <beb2b64691c64e2b95b99491bd85442c>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <beb2b64691c64e2b95b99491bd85442c>:0

settings onnewmap is set to false, idk if it's related, thanks

  • Administrator
Steenamaroo

Posted

Hi,
Thanks for reporting.

 

I think the content of PlayerRanksDelayedRewards.json is becoming null some how.
Deleting that file then reloading the plugin should clear the error.
Please let me know if that's the case ^

I'll try and find out what caused it and prevent it from happening in future versions.

Tanki

Posted

confirmed the issue you said! thanks! 🙂

  • Like 1
1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.5k

Files Sold

Total number of files sold.

2.4m

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.