Jump to content

SetupLoot Error

Closed 2.4.1 2.4.2

i had just changed the stacksize from -1 to 100

(22:48:11) | You've successfully pasted the structure
(22:48:23) | [Raidable Bases] SetupLoot ERROR: System.OutOfMemoryException: Out of memory
  at (wrapper managed-to-native) System.Object.__icall_wrapper_ves_icall_array_new_specific(intptr,int)
  at System.Collections.Generic.List`1[T].set_Capacity (System.Int32 value) [0x00021] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Collections.Generic.List`1[T].EnsureCapacity (System.Int32 min) [0x00036] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at System.Collections.Generic.List`1[T].Add (T item) [0x00010] in <eae584ce26bc40229c1b1aa476bfa589>:0 
  at Oxide.Plugins.RaidableBases+RaidableBase.GetStacks (System.Int32 amount, System.Int32 maxStack) [0x00010] in <279deac72eb34f21b94e90d284d07494>:0 
  at Oxide.Plugins.RaidableBases+RaidableBase.AddToLoot (System.Collections.Generic.List`1[T] source) [0x001c6] in <279deac72eb34f21b94e90d284d07494>:0 
  at Oxide.Plugins.RaidableBases+RaidableBase.PopulateLoot (System.Boolean unique) [0x00047] in <279deac72eb34f21b94e90d284d07494>:0 
  at Oxide.Plugins.RaidableBases+RaidableBase.SetupLoot () [0x00150] in <279deac72eb34f21b94e90d284d07494>:0 
  at Oxide.Plugins.RaidableBases+RaidableBase.TryInvokeMethod (System.Action action) [0x00000] in <279deac72eb34f21b94e90d284d07494>:0


longer explanation

I added some 'paper' (money, Atm mod, has cash skinid) to easy baseloot table. ive had this running before no problem. stacksize for paper is 1000, so i wanted to distribute the cash throughout the boxes, rather than have a single load in the TC. added paper to the TC Blacklist (nice ta) and set the baseloot stacksize for the paper to 100, (100% prob, 50 min-200 max to test)

/buyraid the base, find first box empty, stand around talking for a minute, /buyraid another base, and then the server fell over, 

ive set the baseloot stacksize back to -1 and its fine

Share this comment

Link to comment

apologies, i think it was this

    "shortname": "knife.bone",
    "name": null,
    "amount": 1,
    "skin": 0,
    "amountMin": 1206181124,
    "probability": 1.0,
    "stacksize": -1

pretty sure it was that.. misplaced skinid..

please close


Edited by Swedish Chef

Share this comment

Link to comment

ok, i'll go ahead and limit `stacksize` from creating too many stacks since this has happened a few times now lol

Share this comment

Link to comment


Total number of downloads.



Total customers served.


Files Sold

Total number of files sold.


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.