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! 🙂

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.5m
Total downloads
Customers
11.2k
Customers served
Files Sold
159.9k
Total sales
Payments
3.4m
Processed total
×
×
  • 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.