Jump to content

Failed to run a 3.00 timer

Closed 2.4.0 2.5.0-beta2

Alshamsi
Alshamsi

Posted

i keep geting this error is this normal ? what i need to do to fix this ?

(12:25:06) | Failed to run a 3.00 timer in 'SmartWarnings v2.4.1' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.SmartWarnings.DisplayUnAcknowledgedWarnings (Oxide.Core.Libraries.Covalence.IPlayer player) [0x000a4] in <b70db65e77b54f60a677bd40ea4d7a6d>:0 
  at Oxide.Plugins.SmartWarnings+<OnPlayerSleepEnded>c__AnonStorey2.<>m__0 () [0x00010] in <b70db65e77b54f60a677bd40ea4d7a6d>:0 
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <bae5f1223fce49c493b01571c99dce02>:0

RepeatPete

Posted (edited)

I'm getting the same error 34 times in console after a restart

17/09 11:08:56 | Failed to run a 3.00 timer in 'SmartWarnings v2.4.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.SmartWarnings.DisplayUnAcknowledgedWarnings (Oxide.Core.Libraries.Covalence.IPlayer player) [0x000a4] in <4546e1cd981145a5be06bb3249134ab0>:0
at Oxide.Plugins.SmartWarnings+<OnPlayerSleepEnded>c__AnonStorey2.<>m__0 () [0x00010] in <4546e1cd981145a5be06bb3249134ab0>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <bae5f1223fce49c493b01571c99dce02>:0

17/09 11:08:56 | Failed to run a 3.00 timer in 'SmartWarnings v2.4.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.SmartWarnings.DisplayUnAcknowledgedWarnings (Oxide.Core.Libraries.Covalence.IPlayer player) [0x000a4] in <4546e1cd981145a5be06bb3249134ab0>:0
at Oxide.Plugins.SmartWarnings+<OnPlayerSleepEnded>c__AnonStorey2.<>m__0 () [0x00010] in <4546e1cd981145a5be06bb3249134ab0>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <bae5f1223fce49c493b01571c99dce02>:0

Only myself and another admin have used it. There should be no warnings on a logged out/sleeping player.

Edited by RepeatPete
FakeNinja

Posted

Hi,

Thanks for reporting this I'm working on a fix!

FakeNinja

Posted

Hi, I've now released a new version that should resolve the above issue.

Please try it and confirm 🙂

FakeNinja

Posted

Changed Status from Pending to Work in Progress

Changed Fixed In to 2.4.2

Alshamsi

Posted

i did update cs file only , i didnt change the config and data , and the problem is still there 

Failed to run a 3.00 timer in 'SmartWarnings v2.4.2' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.SmartWarnings.DisplayUnAcknowledgedWarnings (Oxide.Core.Libraries.Covalence.IPlayer player) [0x000b4] in <7cedc64554d04edca3c00b6b74ac4406>:0 
  at Oxide.Plugins.SmartWarnings+<OnPlayerSleepEnded>c__AnonStorey2.<>m__0 () [0x00010] in <7cedc64554d04edca3c00b6b74ac4406>:0 
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <bae5f1223fce49c493b01571c99dce02>:0


new thing happen when i did update the plugin when i give warning to player i cant give more warnings 

 Failed to call hook 'cmdWarnGUI' on plugin 'SmartWarnings v2.4.2' (ArgumentException: An item with the same key has already been added. Key: 3)
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x000c1] in <fb001e01371b4adca20013e0ac763896>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <fb001e01371b4adca20013e0ac763896>:0 
  at Oxide.Plugins.SmartWarnings.WarnPlayer (Oxide.Core.Libraries.Covalence.IPlayer targetPlayer, Oxide.Core.Libraries.Covalence.IPlayer adminPlayer, System.String preset) [0x001d2] in <e886f86cad4d4ff1a5d41a4ba278e405>:0 
  at Oxide.Plugins.SmartWarnings.cmdWarnGUI (Oxide.Core.Libraries.Covalence.IPlayer player, System.String cmd, System.String[] args) [0x002b2] in <e886f86cad4d4ff1a5d41a4ba278e405>:0 
  at Oxide.Plugins.SmartWarnings.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x004b4] in <e886f86cad4d4ff1a5d41a4ba278e405>:0 
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <09575a60985045248bcb43b20faeeb99>:0 
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <bae5f1223fce49c493b01571c99dce02>:0 
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <bae5f1223fce49c493b01571c99dce02>:0

FakeNinja

Posted

Hi, thanks for sharing this info.

It is recommended to wipe the warning data file for the new version. I will check these issues.

RepeatPete

Posted

I had completely wiped our test server, installed SmartWarnings and on startup I am getting the 3 minute timer errors in console. 

Failed to run a 3.00 timer in 'SmartWarnings v2.4.2' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.SmartWarnings.DisplayUnAcknowledgedWarnings (Oxide.Core.Libraries.Covalence.IPlayer player) [0x000b4] in <57c3d2c03b7d4a2a8a718456f46c9f07>:0 
  at Oxide.Plugins.SmartWarnings+<OnPlayerSleepEnded>c__AnonStorey2.<>m__0 () [0x00010] in <57c3d2c03b7d4a2a8a718456f46c9f07>:0 
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <bae5f1223fce49c493b01571c99dce02>:0  
(Filename: ./Runtime/Export/Debug/Debug.bindings.h Line: 35)

 

FakeNinja

Posted

Ok, thanks for confirming it still appears. So it only appears once if I understand? Does it appear only on start up?

Trying to pin this bug down.

RepeatPete

Posted

For me it's always on startup. I see it happen twice a day on our main server since they have it rebooting at noon & midnight. 

Ondraasek

Posted

hey I have it on startup and sometimes during the day:

10/28 11:58:07 | Failed to run a 3.00 timer in 'SmartWarnings v2.4.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.SmartWarnings.DisplayUnAcknowledgedWarnings (Oxide.Core.Libraries.Covalence.IPlayer player) [0x000b4] in <75cb0c5174e14e27a8664a64a69728a1>:0
at Oxide.Plugins.SmartWarnings+<OnPlayerSleepEnded>c__AnonStorey2.<>m__0 () [0x00010] in <75cb0c5174e14e27a8664a64a69728a1>:0
at Oxide.Core.Libraries.Timer+TimerInsta

FakeNinja

Posted

Changed Status from Work in Progress to Closed

Changed Fixed In from 2.4.2 to 2.5.0-beta2

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.9k
Customers served
Files Sold
156.5k
Marketplace 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.