[b42]Attacking dream seed causes errors

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Zonk
Sher'Tul
Posts: 1067
Joined: Sat Mar 01, 2003 4:01 pm

[b42]Attacking dream seed causes errors

#1 Post by Zonk »

I can't kill dream seeds at all because of this bug. When I would damage them, I get this error in the log:

Code: Select all

LOG]	Dream seed's mind suffers #YELLOW#1 psi#LAST# damage from the attack.
[LOG]	The damage shield reflects 1 damage back to Dream seed!
stack traceback:
	[C]: in function 'error'
	/engine/interface/ActorTalents.lua:134: in function </engine/interface/ActorTalents.lua:125>
Lua Error: /engine/interface/ActorTalents.lua:142: /engine/interface/ActorTalents.lua:134: /mod/class/Actor.lua:1612: attempt to compare nil with number
stack traceback:
	/mod/class/Actor.lua:1612: in function 'onTakeHit'
	/mod/class/Player.lua:519: in function 'onTakeHit'
	/mod/class/interface/ActorLife.lua:31: in function 'takeHit'
	/mod/class/Actor.lua:2007: in function 'takeHit'
	/data/damage_types.lua:296: in function 'projector'
	/engine/interface/ActorProject.lua:196: in function 'project'
	/data/talents/psionic/discharge.lua:158: in function 'doBacklash'
	/mod/class/Actor.lua:1725: in function 'onTakeHit'
	/mod/class/NPC.lua:190: in function 'onTakeHit'
	/mod/class/interface/ActorLife.lua:31: in function 'takeHit'
	/mod/class/Actor.lua:2007: in function 'takeHit'
	...
	/mod/class/interface/ActorLife.lua:31: in function 'takeHit'
	/mod/class/Actor.lua:2007: in function 'takeHit'
	/data/damage_types.lua:296: in function 'projector'
	/mod/class/interface/Combat.lua:417: in function 'attackTargetWith'
	/data/talents/psionic/other.lua:127: in function 'do_tkautoattack'
	/mod/class/Actor.lua:324: in function 'useEnergy'
	/mod/class/interface/Combat.lua:190: in function 'attackTarget'
	/data/talents/misc/misc.lua:71: in function </data/talents/misc/misc.lua:51>
	[C]: in function 'xpcall'
	/engine/interface/ActorTalents.lua:130: in function </engine/interface/ActorTalents.lua:125>
	At [C]:-1 
	At [C]:-1 error
	At /engine/interface/ActorTalents.lua:142 bumpInto
	At /mod/class/Actor.lua:2505 attack
	At /engine/interface/ActorLife.lua:41 check
	At [string "return function(self, x, y, what, ...) local ..."]:1 checkAllEntities
	At /engine/Actor.lua:184 move
	At /mod/class/Actor.lua:932 move
	At /mod/class/Player.lua:203 moveDir
	At /mod/class/Game.lua:1268 
	At /engine/KeyBind.lua:224 
(I have mindslayer shields/auras on, if it's relevant)


Add: MORE nasty bugs upon getting Dreamscaped...apparently Mindslayers and dreams don't play well together :(
ToME online profile: http://te4.org/users/zonk
Addons (most likely obsolete): Wights, Trolls, Starting prodigy, Alternate save/resistance system

edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Re: [b42]Attacking dream seed causes errors

#2 Post by edge2054 »

This is actually a damage shield bug. One I believe darkgod already fixed in trunk.

Did you have the same errors in the dreamscape?

Zonk
Sher'Tul
Posts: 1067
Joined: Sat Mar 01, 2003 4:01 pm

Re: [b42]Attacking dream seed causes errors

#3 Post by Zonk »

I did have lots of errors, fairly likely some were indeed damage shield related.
ToME online profile: http://te4.org/users/zonk
Addons (most likely obsolete): Wights, Trolls, Starting prodigy, Alternate save/resistance system

edge2054
Retired Ninja
Posts: 3756
Joined: Fri May 28, 2010 4:38 pm

Re: [b42]Attacking dream seed causes errors

#4 Post by edge2054 »

More specifically...

/mod/class/Actor.lua:1612: attempt to compare nil with number
stack traceback:
/mod/class/Actor.lua:1612: in function 'onTakeHit'

Is the damage shield bug. Everything else in that traceback is just explaining how the stack got to that point.

You swung at it with your TK weapon, that triggered backlash, you didn't have a shield up but for some reason the game thought you did (the bug), you took a hit from backlash, the take hit function tried to compare your non-existent shield to a number, Lua errors ensued ;)

Were the dreamscape errors more Actor 1612 errors? I'm guessing the logs gone but if it's not and they're a different error I'd like to see them :)

Post Reply