Jump to content

ArgumentOutOfRangeException

Not a Bug 2.0.1

| Failed to run a 5.00 timer in 'CustomRecycle v2.0.1' (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 <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at Oxide.Plugins.CustomRecycle+<OnServerInitialized>c__AnonStorey0.<>m__0 () [0x000fd] in <80ae4107eef94e268ce082c788adccdc>:0 
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <50629aa0e75d4126b345d8d9d64da28d>:0

I'm seeing this spam on server load. Was there anything I needed to change with this update or backup/wipe the config?

Share this comment


Link to comment
3 hours ago, thepiercedweirdo said:
| Failed to run a 5.00 timer in 'CustomRecycle v2.0.1' (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 <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.ThrowHelper.ThrowArgumentOutOfRangeException () [0x00000] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at Oxide.Plugins.CustomRecycle+<OnServerInitialized>c__AnonStorey0.<>m__0 () [0x000fd] in <80ae4107eef94e268ce082c788adccdc>:0 
  at Oxide.Core.Libraries.Timer+TimerInstance.FireCallback () [0x00018] in <50629aa0e75d4126b345d8d9d64da28d>:0

I'm seeing this spam on server load. Was there anything I needed to change with this update or backup/wipe the config?

Hmmm not sure. Can you send me your config, please?

Share this comment


Link to comment

I've studied your config and you have enabled levels ("Recycler Levels - Enable": true) but there is no levels setup. ("Recycler Levels": []).
If you want  the template of how level should look like you need to copy-paste this part from template config or make an backup of your config and generate new one.
But if you don't want the levels just set "Recycler Levels - Enable": false.

The plugin tries to setup the recyclers from first level, but it is missing. This is why the error appears.

Edited by ThePitereq

Share this comment


Link to comment

Thank you for your response. And understood. I don't remember setting that. I'll change it to false then.
While a nice option, I'm running a skill/xp plugin where the players can increase recycler speeds.
So it would kind of break the immersion to remove a leveling aspect from the main plugin to run it in another.

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.6k

Customers

Total customers served.

81.9k

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.