[B19] Game breaking bug in Shadow Crypt

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Dekar
Spiderkin
Posts: 559
Joined: Wed Jan 26, 2011 3:47 pm

[B19] Game breaking bug in Shadow Crypt

#1 Post by Dekar »

I entered the Shadow Crypt and now my character cant do anything except using items. I cant advance the time to escape with the Rod of Recall though, as I cant move or use skills or rest/wait.
If any user interaction is responsible for this bug: I tried to go back to the world map immediately after entering, but there are no stairs and I think I thus clicked resting instead. The resting dialog didnt disappear so I clicked it away. At this point it seemed to be bugged already.

The stdout.txt has some energy based errors that I can imagine are responsible for this:

Code: Select all

[ENGINE] Setting requested FPS to 30 (33 ms)
2 frames in 4.327 seconds = 0.462214 FPS (1334 keyframes)
checkHit	13.5	7
=> chance to hit	71.748394421391
Loading tile	tactical_friend.png
Updating zone name	Shadow Crypt (1)
Lua Error: /mod/ai//target.lua:30: bad argument #1 to 'max' (number expected, got nil)
	At [C]:-1 
	At [C]:-1 max
	At /mod/ai//target.lua:30 
	At (tail call):-1 
	At /mod/ai//target.lua:66 
	At (tail call):-1 
	At /engine/ai//talented.lua:56 
	At (tail call):-1 
	At (tail call):-1 
	At /mod/class/NPC.lua:47 act
	At /engine/GameEnergyBased.lua:73 tick
	At /engine/GameTurnBased.lua:44 tick
	At /mod/class/Game.lua:622 
120 ticks  in 31.998 seconds = 3.75023 TPS
Loading tile	border_7.png
Loading tile	border_9.png
Loading tile	border_1.png
Loading tile	border_3.png
Loading tile	border_8.png
Loading tile	border_4.png
23 frames in 1.039 seconds = 22.1367 FPS (1493 keyframes)
Lua Error: /mod/ai//target.lua:30: bad argument #1 to 'max' (number expected, got nil)
	At [C]:-1 
	At [C]:-1 max
	At /mod/ai//target.lua:30 
	At (tail call):-1 
	At /mod/ai//target.lua:66 
	At (tail call):-1 
	At /engine/ai//talented.lua:56 
	At (tail call):-1 
	At (tail call):-1 
	At /mod/class/NPC.lua:47 act
	At /engine/GameEnergyBased.lua:73 tick
	At /engine/GameTurnBased.lua:44 tick
	At /mod/class/Game.lua:622 


I would appreciate if someone could help me fixing my save. I removed most zone files to reduce size: http://dl.dropbox.com/u/1069548/TOME/Dekar.rar
Attachments
stdout.txt
(209.48 KiB) Downloaded 255 times
Last edited by Dekar on Sat Jan 29, 2011 5:29 pm, edited 1 time in total.

Lekon
Low Yeek
Posts: 6
Joined: Wed Jan 26, 2011 11:10 pm

Re: [B19] Game breaking bug

#2 Post by Lekon »

Exact same thing just happened to me. Was so stoked to finally go fight/beat my shade, walked in... stopped. Can't do a damn thing, Can't use skills, move, advance time, (Resting says it advanced a turn, but nothing happens) can't even use the rod, as the time never advances to charge it.

Is there any way to un-screw my poor Berserker?

Dekar
Spiderkin
Posts: 559
Joined: Wed Jan 26, 2011 3:47 pm

Re: [B19] Game breaking bug

#3 Post by Dekar »

Here is a quickfix to get out of a dungeon by editing tome/ai/target.lua line 30

from

Code: Select all

local sqsense = math.max(self.lite, self.infravision or 0, self.heightened_senses or 0)
to

Code: Select all

local sqsense = math.max(self.lite or 0, self.infravision or 0, self.heightened_senses or 0)

martinuzz
Archmage
Posts: 399
Joined: Tue Dec 01, 2009 12:38 pm
Location: Netherlands

Re: [B19] Game breaking bug

#4 Post by martinuzz »

if you can use items, can you equip/de-equip armor to advance time maybe?

Lekon
Low Yeek
Posts: 6
Joined: Wed Jan 26, 2011 11:10 pm

Re: [B19] Game breaking bug

#5 Post by Lekon »

Equipping/de equipping, even dropping/picking up items works fine, but somehow doesn't advance time at all. Very strange.

Lekon
Low Yeek
Posts: 6
Joined: Wed Jan 26, 2011 11:10 pm

Re: [B19] Game breaking bug

#6 Post by Lekon »

Dekar wrote:Here is a quickfix to get out of a dungeon by editing tome/ai/target.lua line 30

from

Code: Select all

local sqsense = math.max(self.lite, self.infravision or 0, self.heightened_senses or 0)
to

Code: Select all

local sqsense = math.max(self.lite or 0, self.infravision or 0, self.heightened_senses or 0)

That worked. I had to reinstall T engine afterwards, in order to get my profile back online instead of having a version mis-match, but THANK YOU.

(Quick edit: Doomed Class Unlock! Woohoo!)

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

Re: [B19] Game breaking bug

#7 Post by darkgod »

fixed
[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 ;)

brianros
Posts: 1
Joined: Sat Jan 29, 2011 3:44 am

Re: [B19] Game breaking bug

#8 Post by brianros »

Would anyone be kind enough as to explain me how to solve this issue?

thanks in advance

Iniqui
Wayist
Posts: 15
Joined: Fri Oct 09, 2009 12:53 pm

Re: [B19] Game breaking bug in Shadow Crypt

#9 Post by Iniqui »

Deleted

Post Reply