Jump to content

Error

Not a Bug 1.2.8

BetterDeadThanZed
BetterDeadThanZed

Posted

I just checked my console and found this error spamming:

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.FurnaceLevels+FurnaceUpgrades.Cook () [0x000ff] in <d3ff9f0b07be47879bf29a78cca7f10f>:0 
  at InvokeHandlerBase`1[T].DoTick () [0x000be] in <07ad3b21c6e0454082d03e7cc78ba962>:0 
  at InvokeHandlerBase`1[T].LateUpdate () [0x0000c] in <07ad3b21c6e0454082d03e7cc78ba962>:0 
 
(Filename: <eae584ce26bc40229c1b1aa476bfa589> Line: 0)

It's non-stop and disabling my server's console.

David

Posted

19 minutes ago, BetterDeadThanZed said:

I just checked my console and found this error spamming:

Please send me your config and data file.

David

Posted (edited)

11 minutes ago, BetterDeadThanZed said:

Furnace with net id "21555286" has speed fuel upgrade lvl 6 while you have listed only 5 levels in config.
Ps. levels in data file are counted from 0 so 5 in data file equals to 6.

Edited by David
David

Posted

Changed Status from Pending to Not a Bug

BetterDeadThanZed

Posted

  "21555286": {
    "Speed": 5,
    "Fuel": 5,
    "Output": 5
  },

I don't see 6....

David

Posted (edited)

6 minutes ago, David said:

Ps. levels in data file are counted from 0 so 5 in data file equals to 6.

This

so change Fuel value to 4 (level 5 in-game). 
Btw did say speed but I meant fuel. Unload plugin, change data file and load plugin again. 

Edited by David
BetterDeadThanZed

Posted (edited)

I'm unable to unload it because of the error. It's spamming so fast the reload command isn't working. How could that level been upgraded to level 6? Also, anything that says "5" is level 6? I see lots of entries that say "5".

Edited by BetterDeadThanZed
BetterDeadThanZed

Posted

Ok, I got it fixed but how could they have upgraded to a level that doesn't exist?

David

Posted

2 minutes ago, BetterDeadThanZed said:

I'm unable to unload it because of the error. It's spamming so fast the reload command isn't working

Wether it spams or not commands should work. You can still remove plugin from folder. 

 

3 minutes ago, BetterDeadThanZed said:

How could that level been upgraded to level 6? 

Did you change your config recently? 

 

3 minutes ago, BetterDeadThanZed said:

Also, anything that says "5" is level 6? I see lots of entries that say "5".

Correct, level 1 in game is 0 in data. There is only one furnace with Fuel value above 5.

BetterDeadThanZed

Posted

I haven't changed my config. I did notice that for fuel there were 6 levels for price but only 5 levels for the modifier. I guess this allowed them to upgrade to a level that didn't exist.

David

Posted (edited)

2 minutes ago, BetterDeadThanZed said:

I haven't changed my config. I did notice that for fuel there were 6 levels for price but only 5 levels for the modifier. I guess this allowed them to upgrade to a level that didn't exist.

Possibly, anyway in next version I have function where upgraded furnaces above config value get automatic downgrade so this wont be issue in future even if you decide to change config mid wipe.

Edited by David
1.4m

Downloads

Total number of downloads.

6.9k

Customers

Total customers served.

102.2k

Files Sold

Total number of files sold.

2m

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.