Jump to content

Crate timer broken

Closed 1.1.7

Hello, Thank you for your fine work however;

 

After loading, timers were at 140 minutes, I change the config to 5 mins, now the crates unlock without any timer at all.. suggestions?

 "Crates timer(in seconds)": 300,

Share this comment


Link to comment

When the cargo plane drops the load. "event starts"... I have the crates timers set to 5 minutes (300 seconds), once I click to "Hack" the crate.. the timer shows 5 minutes for a second, then immediately jumps to 0.00, thus not counting down from 5 minutes.

 

Attached is my config file.

 

Keep in mind, prior to your recent update, I had no problems with anything. 

AirfieldEvent.json

Share this comment


Link to comment

Please set the default timer to 900 seconds first and check.  it is also possible that third-party plugins affect this, try checking without them

Share this comment


Link to comment

I certainly did reload it, I do have server config set a timer limit on all hackable crates to 300. 

 

hackablelockedcrate.requiredhackseconds 300

Share this comment


Link to comment

seems to be working fine, while it is set at 900 seconds, it is still counting down from 300 seconds (5 min) if you are happy with that, then yes close the ticket

Share this comment


Link to comment

here is the latest error

 

[AirfieldEvent] Event started
[AirfieldEvent] Next event will start in 3900 seconds
Failed to run a 3.00 timer in 'AirfieldEvent v1.1.7' (ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index)
at System.ThrowHelper.ThrowArgumentOutOfRangeException (System.ExceptionArgument argument, System.ExceptionResource resource) [0x00029] in <fb001e01371b4adca20013e0ac763896>:0
at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <fb001e01371b4adca20013e0ac763896>:0
at Oxide.Plugins.AirfieldEvent.NpcAI (BaseEntity npc) [0x00324] in <7d0869e36fe44c9ca9144cd761af5708>:0
at Oxide.Plugins.AirfieldEvent+<SpawnDrop>c__AnonStorey2.<>m__1 () [0x00010] in <7d0869e36fe44c9ca9144cd761af5708>:0
at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <d5f57e12edfe4fa0b5c5dbdd9b51eff8>:0

Share this comment


Link to comment

This timer error is not related to the crate timer, it is related to the npc, is there any way you can test on a clean server without other plugins? I need to understand what exactly causes the error

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

80.8k

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.