Jump to content

Failed to call hook 'GetPlayTime'

Pending 2.1.7

Tanki
Tanki

Posted

Hello,

 

I don't know if it's your plugin or PlayTimeTracker that generates all the errors but these are generated when the server starts up and always in the same place:

Quote

08:39 [Warning] [PlayerRanks] Rust:IO is not installed and will not be used.
08:39 [Warning] [PlayerRanks] Economics is not installed and will not be used.
08:39 [Error] Failed to call hook 'GetPlayTime' on plugin 'PlaytimeTracker v0.2.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.PlaytimeTracker.GetPlayTime (System.String id) [0x00000] in <2c5c27894a2d4a1b8d91e7889f04880b>:0 
  at Oxide.Plugins.PlaytimeTracker.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00309] in <2c5c27894a2d4a1b8d91e7889f04880b>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <0fbce81d88d64454b3e7abb24df7026b>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <0fbce81d88d64454b3e7abb24df7026b>:0 

 

Thanks for any help

  • Administrator
Steenamaroo

Posted

Hi,

It's PlaytimeTracker, I'm afraid, looking up data in a null object.

  • Administrator
Steenamaroo

Posted

My pleasure. 😂

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.4m
Total downloads
Customers
10.8k
Customers served
Files Sold
155.8k
Marketplace sales
Payments
3.3m
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.