Crashing in Halfling ruins
Moderator: Moderator
Crashing in Halfling ruins
So, I went in once at level 10. Got my ass handed to me a few times, then went back out. I'm going in from the Yeek side, by the way. So now, at level 11 I go in and if I do anything at all(move, use an ability, etc) the game instantly crashes. Any ideas?
Re: Crashing in Halfling ruins
If the problem is reproducible and you are not getting any Lua errors in the stdout log (not sure which OS you are using) then you can have a look at this page: http://te4.org/wiki/tome4-running-tome-gdb
Basically we need more information.
Basically we need more information.

<DarkGod> lets say it's intended
Re: Crashing in Halfling ruins
I'm using Vista 32 bit. I'll look into the gdb thing and get back.
Re: Crashing in Halfling ruins
Is the Windows build compiled with -g? I remember trying to debug a crash a few days ago in MSVC and there didn't appear to be any debugging symbols in the stack trace.
Re: Crashing in Halfling ruins (UPDATED with log)
From stdout...
AI took for target 3139 Subject Z :: 674 Gleek 10 < 0
============================== TACTICAL AI Subject Z
Subject Z 3139 tactical ai talents can use Infusion: Wild T_INFUSION:_WILD_2 defend
Tactical ai report for Subject Z
============================== TACTICAL AI armoured skeleton warrior
armoured skeleton warrior 2794 tactical ai talents can use Rune: Shielding T_RUNE:_SHIELDING_1 defend
Tactical ai report for armoured skeleton warrior
============================== TACTICAL AI armoured skeleton warrior
armoured skeleton warrior 3095 tactical ai talents can use Rune: Shielding T_RUNE:_SHIELDING_1 defend
Tactical ai report for armoured skeleton warrior
============================== TACTICAL AI armoured skeleton warrior
armoured skeleton warrior 2780 tactical ai talents can use Rune: Manasurge T_RUNE:_MANASURGE_1 mana
Tactical ai report for armoured skeleton warrior
Lua Error: /data/talents/cursed/darkness.lua:70: attempt to index upvalue 'target' (a nil value)
At [C]:-1
At /data/talents/cursed/darkness.lua:70 act
At /engine/GameEnergyBased.lua:73 tick
At /engine/GameTurnBased.lua:44 tick
At /mod/class/Game.lua:635
---------------- Stack Dump ----------------
--------------- Stack Dump Finished ---------------
---------------- Stack Dump ----------------
So it seems to be some problem with Subject Z?
AI took for target 3139 Subject Z :: 674 Gleek 10 < 0
============================== TACTICAL AI Subject Z
Subject Z 3139 tactical ai talents can use Infusion: Wild T_INFUSION:_WILD_2 defend
Tactical ai report for Subject Z
============================== TACTICAL AI armoured skeleton warrior
armoured skeleton warrior 2794 tactical ai talents can use Rune: Shielding T_RUNE:_SHIELDING_1 defend
Tactical ai report for armoured skeleton warrior
============================== TACTICAL AI armoured skeleton warrior
armoured skeleton warrior 3095 tactical ai talents can use Rune: Shielding T_RUNE:_SHIELDING_1 defend
Tactical ai report for armoured skeleton warrior
============================== TACTICAL AI armoured skeleton warrior
armoured skeleton warrior 2780 tactical ai talents can use Rune: Manasurge T_RUNE:_MANASURGE_1 mana
Tactical ai report for armoured skeleton warrior
Lua Error: /data/talents/cursed/darkness.lua:70: attempt to index upvalue 'target' (a nil value)
At [C]:-1
At /data/talents/cursed/darkness.lua:70 act
At /engine/GameEnergyBased.lua:73 tick
At /engine/GameTurnBased.lua:44 tick
At /mod/class/Game.lua:635
---------------- Stack Dump ----------------
--------------- Stack Dump Finished ---------------
---------------- Stack Dump ----------------
So it seems to be some problem with Subject Z?
Re: Crashing in Halfling ruins
Found the bug, and attached a patch, thanks.
- Attachments
-
- creeping_darkness_upvalue.txt
- (1.02 KiB) Downloaded 101 times
<DarkGod> lets say it's intended
Re: Crashing in Halfling ruins
Er..thank you? I have no idea what to do with this though. :p
Re: Crashing in Halfling ruins
it's for me, not you 

[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
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning

Re: Crashing in Halfling ruins
ohh, good good. I was feeling a bit dumb there for a bit, like everyone knew how to do this but me. :p
Re: Crashing in Halfling ruins
Hehe, no worries mrdvant. I can tell you how to apply the patch, but generally speaking you don't want to since it will stop ToME from uploading your character to the website (it just detects that files have changed, so you could be cheating, etc). The bug will be fixed in the next beta, though.
<DarkGod> lets say it's intended
Re: Crashing in Halfling ruins
So...is this a sometimes bug or all the time? I don't want to go through the effort of getting another yeek strong enough to get there if it's going to happen every time until it's fixed.