staff of absorption bug
Posted: Tue Aug 10, 2010 4:50 am
I am playing the game to try to break it (why not) and so I gave the staff to the apprentice
(saving first of course so I can continue to break it after I tested my idea out)
and of course I got the lua error when I tried to talk to the elder and give him the staff that I already gave away, hehehe.
But, just for completeness here is the error, though the solution is pretty evident in this case, I would also put asserts in the remove item code just to make sure it wont happen again.
btw, my stdout is 247,443 lines long and 15.7 Mb :/ (all that is from is me entering tol falas up to me talking to the elder ok, ok, it really is from me starting the game to the elder, but I went down to tol falas right away (my level was still 0% of lvl 1))
it also seemed strange that I survived the ambush at lvl 15 or 17 or so with 1 potion of invisibility and 4 potions of healing and not much else (no AoE effects either) :S I do have a high AC and DF though. I suppose I did "hack" my character (max stats for the lvl, not 60), but still most of the options I used would still be equivalent to a normal pc of the same lvl (maybe less health, but that is really it)
and hmm, I also noticed that if *you* rush an enemy and there is a dark square in between you and them and you miss, you get the something misses the enemy message rather than the you miss the enemy message.

and of course I got the lua error when I tried to talk to the elder and give him the staff that I already gave away, hehehe.
But, just for completeness here is the error, though the solution is pretty evident in this case, I would also put asserts in the remove item code just to make sure it wont happen again.
Code: Select all
Lua Error: /engine/interface/ActorInventory.lua:138: attempt to index local 'inven' (a nil value)
At [C]:-1
At /engine/interface/ActorInventory.lua:138 removeObject
At /data/chats/minas-tirith-elder.lua:46 action
At /engine/dialogs/Chat.lua:72 use
At /engine/dialogs/Chat.lua:48 ?
At /engine/KeyBind.lua:198
it also seemed strange that I survived the ambush at lvl 15 or 17 or so with 1 potion of invisibility and 4 potions of healing and not much else (no AoE effects either) :S I do have a high AC and DF though. I suppose I did "hack" my character (max stats for the lvl, not 60), but still most of the options I used would still be equivalent to a normal pc of the same lvl (maybe less health, but that is really it)
and hmm, I also noticed that if *you* rush an enemy and there is a dark square in between you and them and you miss, you get the something misses the enemy message rather than the you miss the enemy message.