Jump to content

Failed to call hook 'GetPlayTime'

Pending 2.1.7

Tanki

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

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

80.7k

Files Sold

Total number of files sold.

1.6m

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.