staff of absorption bug

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Shoob
Reaper
Posts: 1535
Joined: Mon Jan 22, 2007 6:31 pm
Location: East of the sun, west of the moon

staff of absorption bug

#1 Post by Shoob »

I am playing the game to try to break it (why not) and so I gave the staff to the apprentice :P (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.

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 
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.
Oliphant am I, and I never lie.

darkgod
Master of Eyal
Posts: 10751
Joined: Wed Jul 24, 2002 9:26 pm
Location: Angolwen
Contact:

Re: staff of absorption bug

#2 Post by darkgod »

Nice catch, I have fixed it in a .. twisted way :)
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning ;)

Post Reply