Picking up a gladius barrel from a chest doesn't give you one.
Edit: I was just killing hordes of Cyberdemons when this error popped up. I have made a minor change to the chests so maybe it's my fault. I commented out 2 items from ArtifactList (chest, line 90) and the same 2 items from BuildArtifactList (gc_events line 382).
I've had this change done for quite a while and never had an issue, the chests properly don't spawn said items. It's only now on this particular level. Like I said there are hordes of chests dropping and I guess it can't find a valid item to drop since I have everything.
I did notice something though. On ArtifactList in chest.txt, "StridersLantern" is missing a comma after it.
Edit2: Okay, I managed to get the same crash on an unmodified 3.3. Here's the kicker though. I'm opening tons of chests and all is fine. I decide to open the store and buy 3 gladius barrels (since the chest drop doesn't actually give you any as noted above). The very next chest I open the game crashes. I guess the reason I've never had any problems before is because I've never actually bought any gladius barrels so the chest always had a valid drop option.
Turns out the reason for the crashing now is because I fixed the gladius barrel issue which was just a simple typo. Since I don't know how to fix the deferred list issue I just commented out
Code: Select all
// else if(ValidDeferredDrops.Size())
// {
// A_SpawnItemEx(ValidDeferredDrops[random(0,ValidArtifactDrops.Size()-1)].."Bringer",0,0,0,0,0,10);
// }
and it doesn't crash now.
Edit3: I did eventually get it to crash again but instead of an error message I got a very fatal error, so I'm not sure it's the mod's fault this time.