Page 1 of 1

1.2.5 Not dieing when supposed to Infinite Loop

Posted: Thu Jan 01, 2015 7:16 pm
by tacobowl8
So, I was shuffling around the old forest, when I ended up at negative health sufficient to die, but that did not end up killing me. It seemed as though the act of dieing consumes your turn, thus allowing surrounding enemies to hit you again, which triggered the error again, and thus the infinite loop.

Below is the error message:

stack traceback:
[C]: in function 'error'
/engine/interface/ActorTalents.lua:153: in function </engine/interface/ActorTalents.lua:135>
Lua Error: /engine/interface/ActorTalents.lua:175: /engine/interface/ActorTalents.lua:153: /mod/addons/ashes-urhrok/superload/mod/class/Player.lua:24: attempt to call upvalue 'die' (a nil value)
stack traceback:
/mod/addons/ashes-urhrok/superload/mod/class/Player.lua:24: in function 'die'
/mod/class/interface/ActorLife.lua:31: in function 'takeHit'
/mod/class/Actor.lua:2720: in function 'takeHit'
/data/damage_types.lua:436: in function 'defaultProjector'
/data/damage_types.lua:703: in function 'projector'
/mod/class/interface/Combat.lua:528: in function 'attackTargetWith'
/mod/class/interface/Combat.lua:168: in function 'attackTarget'
/data/talents/gifts/venom-drake.lua:149: in function </data/talents/gifts/venom-drake.lua:140>
[C]: in function 'xpcall'
/engine/interface/ActorTalents.lua:148: in function </engine/interface/ActorTalents.lua:135>
At [C]:-1
At [C]:-1 error
At /engine/interface/ActorTalents.lua:175 useTalent
At /mod/ai//tactical.lua:395 runAI
At /mod/ai//tactical.lua:421 doAI
At /mod/class/NPC.lua:61 act
At /engine/GameEnergyBased.lua:126 tickLevel
At /engine/GameEnergyBased.lua:62 tick
At /engine/GameTurnBased.lua:46 tick
At /mod/class/Game.lua:1181
---------------- Stack Dump ----------------
--------------- Stack Dump Finished ---------------

I am running the following mods for this character: bazaar, ashes-urhrok, stone-wardens, marson-awol, items-vault

I am also keeping a backup of the log incase there are more questions.

Thanks!

Re: 1.2.5 Not dieing when supposed to Infinite Loop

Posted: Thu Jan 01, 2015 7:27 pm
by tacobowl8
And I just managed to trigger it again with the same character... this time in the Urkis area from a storm drake breath.

stack traceback:
[C]: in function 'error'
/engine/interface/ActorTalents.lua:153: in function </engine/interface/ActorTalents.lua:135>
Lua Error: /engine/interface/ActorTalents.lua:175: /engine/interface/ActorTalents.lua:153: /mod/addons/ashes-urhrok/superload/mod/class/Player.lua:24: attempt to call upvalue 'die' (a nil value)
stack traceback:
/mod/addons/ashes-urhrok/superload/mod/class/Player.lua:24: in function 'die'
/mod/class/interface/ActorLife.lua:31: in function 'takeHit'
/mod/class/Actor.lua:2720: in function 'takeHit'
/data/damage_types.lua:436: in function 'defaultProjector'
/data/damage_types.lua:691: in function 'projector'
/data/damage_types.lua:1261: in function 'projector'
/engine/interface/ActorProject.lua:198: in function 'project'
/data/talents/spells/air.lua:42: in function </data/talents/spells/air.lua:37>
[C]: in function 'xpcall'
/engine/interface/ActorTalents.lua:148: in function </engine/interface/ActorTalents.lua:135>
At [C]:-1
At [C]:-1 error
At /engine/interface/ActorTalents.lua:175 useTalent
At /engine/ai//talented.lua:52 runAI
At /engine/ai//talented.lua:61 doAI
At /mod/class/NPC.lua:61 act
At /engine/GameEnergyBased.lua:126 tickLevel
At /engine/GameEnergyBased.lua:62 tick
At /engine/GameTurnBased.lua:46 tick
At /mod/class/Game.lua:1181
---------------- Stack Dump ----------------
--------------- Stack Dump Finished ---------------

Re: 1.2.5 Not dieing when supposed to Infinite Loop

Posted: Thu Jan 01, 2015 7:34 pm
by Zireael
A similar bug is reported in another thread. Seems some addons are incompatible with Ashes. Marson IIRC doesn't touch the die function, so I'd create another character without the Bazaar addon.

Re: 1.2.5 Not dieing when supposed to Infinite Loop

Posted: Fri Jan 02, 2015 10:57 pm
by Dao Zeti
If it is indeed Bazaar related (the only addon you are running), I'd wish to find out why to help come up with a solution, but the addon doesn't touch any functions besides the room generator (Roomer.lua) in a few selected maps (and not in the Urkis zone).