Chaosforge Forum

DoomRL => Bug Reports => Topic started by: White Rider on May 08, 2013, 17:30

Title: Deimos Lab Cache Error
Post by: White Rider on May 08, 2013, 17:30
I was actually playing on the Evolstuff module when this happened. After looking at what the game was yelling at me for, I think this is a bug related to the base game.

One of the shamblers died just a few spaces from me, while the other one died while standing on acid, erasing its corpse.
The result: The game yelling at me with an error, the cache opening up, and the upper-right and lower-left items not appearing. Deimos Lab's cache has four items, yes?

And no, I didn't just pick up two items and called it an error. >_>

(https://dl.dropboxusercontent.com/u/15160542/Pictures/dlabcache.png)
----------------------------------------------------------------------
Timestamp   : 5/8/2013 16:25:43
Error level : ERROR
Message     : Lua call OnKillAll caught ELuaException!

Call path     : levels.deimos_lab.OnKillAll
Call params   : ()
Error message : Call(levels.deimos_lab.OnKillAll) Lua error : lua\levels\\deimoslab.lua:179: attempt to index local 'special1' (a nil value)
----------------------------------------------------------------------
Title: Re: Deimos Lab Cache Error
Post by: shark20061 on May 09, 2013, 01:32
This bug is related to the module.  The issue here is that the module sets all of the exotic mods weight's to 0.  The items that are chosen in those two spots are chosen from the exotic mods.  Because all the weights are 0, nothing is picked, and then the game attempts to place a null item (there's the error).