Page 1 of 2

Skeleton Master Archer game Freeze

Posted: Sun Aug 01, 2010 3:54 pm
by Zaive
After I managed to kill a skeleton master archer with my own archer, my character was stuck in place with a / above him. He couldn't move or attack, but he could rest for only 1 turn at a time, use potions and save game. I'm assuming that the / mark is a projectile from the skeleton archer, and it won't hit because he's already dead.....? Something like that.

Re: Skeleton Master Archer game Freeze

Posted: Sun Aug 01, 2010 4:01 pm
by Taxorgian
Were you pinned? If so, just drop some junk and pick it up to burn through turns until you unpin.

Re: Skeleton Master Archer game Freeze

Posted: Sun Aug 01, 2010 4:01 pm
by darkgod
Hummm log file please

Re: Skeleton Master Archer game Freeze

Posted: Sun Aug 01, 2010 6:44 pm
by Zaive
How do I get the log file...? :oops:
And how can I take a screenshot?

Re: Skeleton Master Archer game Freeze

Posted: Sun Aug 01, 2010 6:53 pm
by darkgod
The log is a file named "stdout.txt" in the directory of T-Engine.
For a screenshot, I have no idea under windows :/

Re: Skeleton Master Archer game Freeze

Posted: Sun Aug 01, 2010 7:17 pm
by madmonk
Use <ALT>+<Print Screen> or <CTRL>+<Print Screen>

<ALT> gives the active Window, <CTRL> gives the entire screen.

Re: Skeleton Master Archer game Freeze

Posted: Sun Aug 01, 2010 7:42 pm
by Zaive
Well, I started another character so the log files got replaced....

And I can't find where the stupid screenshots are saved. >.<

Edit: nevermind, I think I figured it out...
Image
Not exactly sure what is going on... but that's what it looks like

Re: Skeleton Master Archer game Freeze

Posted: Tue Aug 03, 2010 1:54 am
by Zaive
Sorry for the double post... but It happened again... so, Log?

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 /mod/class/interface/Combat.lua:174 damtype
	At /engine/interface/ActorProject.lua:217 projectDoAct
	At /engine/interface/ActorProject.lua:269 projectDoStop
	At /engine/Projectile.lua:147 act
	At /engine/GameEnergyBased.lua:72 tick
	At /engine/GameTurnBased.lua:45 tick
	At /mod/class/Game.lua:369 
Not sure if that is the right section, but it has this repeated like 30 times at the end of the log.

Re: Skeleton Master Archer game Freeze

Posted: Tue Aug 03, 2010 2:00 am
by Dr Who
I just had the same bug. Fortunately, I just saved on entering this level.

Code: Select all

[LOG]	Skeleton archer shoots!
USING	table: 09592660	Shoot
[SHOOT WITH]	ash longbow	ash arrow
Adding entity	66481	after	64019
[SHOOT] speed	1	=>	1000
Total encumbrance	73.52
[COMBAT DAMAGE] power(1.317139) totstat(42.100000) talent_mod(2.140175)
[ATTACK] to 	skeleton archer	 :: 	79.117377997172	7	5	::	1
checkHit	81.5	11.85
=> chance to hit	95
[ATTACK] raw dam	79.117377997172	versus	5	with APR	7
[ATTACK] after range	90
[PHYS CRIT %]	1.8
[ATTACK] after crit	90
[ATTACK] after mult	90
[PROJECTOR] starting dam	90
[PROJECTOR] after difficulty dam	90
[PROJECTOR] res	0	1	 on dam	97.2
[PROJECTOR] final dam	97.2
[LOG]	David Tennant hits skeleton archer for #aaaaaa#97.20 physical damage#LAST#.
[LOG]	David Tennant killed skeleton archer!
785	***
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 /mod/class/interface/Combat.lua:174 damtype
	At /engine/interface/ActorProject.lua:217 projectDoAct
	At /engine/interface/ActorProject.lua:269 projectDoStop
	At /engine/Projectile.lua:147 act
	At /engine/GameEnergyBased.lua:72 tick
	At /engine/GameTurnBased.lua:45 tick
	At /mod/class/Game.lua:369 
EDIT: Zaive beat me to it. Also, I can use scrolls of phase door, but it doesn't fix the bug.

Re: Skeleton Master Archer game Freeze

Posted: Tue Aug 03, 2010 8:25 am
by darkgod
Ohhh damned.

Did you save & reload while the projectile was travelling by any chances ?

Re: Skeleton Master Archer game Freeze

Posted: Tue Aug 03, 2010 11:55 am
by Zaive
Before the bug happened? No.

After it happened I did save and reload, and it's still there.

I still think it has something to do with killing the archer before the projectile reaches you.

Re: Skeleton Master Archer game Freeze

Posted: Thu Aug 05, 2010 10:04 pm
by Gwai
I don't know if this bug is fixed or not, but if you need another example for the purposes of error finding, I have one. Same sort of image as the one above (person standing on a /) but different error repeated over and over:

Lua Error: /mod/class/interface/Combat.lua:168: attempt to index upvalue 'params' (a nil value)
At [C]:-1
At /mod/class/interface/Combat.lua:168 damtype
At /engine/interface/ActorProject.lua:217 projectDoAct
At /engine/interface/ActorProject.lua:269 projectDoStop
At /engine/Projectile.lua:147 act
At /engine/GameEnergyBased.lua:72 tick
At /engine/GameTurnBased.lua:45 tick
At /mod/class/Game.lua:369

I'm only 80% sure that's the right error though, because I was also testing whether I could run a sun pally in beta8. Discovered I could and went back to my archer only to find him stuck.

Re: Skeleton Master Archer game Freeze

Posted: Thu Aug 05, 2010 10:31 pm
by yufra
I need an excuse to dive into the Projectile code anyway, so I'll look at this too. This is still open DG, right?

Re: Skeleton Master Archer game Freeze

Posted: Fri Aug 06, 2010 1:02 am
by darkgod
Yeah

But you'll die with blood pooring from your eyes ;)

Re: Skeleton Master Archer game Freeze

Posted: Fri Aug 06, 2010 6:30 am
by yufra
Haha, I believe you after spending a bit of time looking at it. I'll look at it a bit more and see if I cannot suggest some miraculously simply and elegant way to change how archeryShoot, ActorProject and Projectile work together. So see you in... say a week? :D