Page 1 of 1

[git] Archer can't shoot

Posted: Fri Oct 25, 2013 1:03 am
by saladfork
commit 36263a0e6dbd43f948b4e4fa992783428bf2e3a9

I created an archer and got him to level 2 in Trollmire. At one point I ran out of ammo and then after that could no longer shoot, even after reloading fully. The game acted like I was shooting but no damage was happening and my ammo didn't go down.

I restarted the game and now get this backtrace when trying to shoot:

Code: Select all

stack traceback:
	/engine/interface/ActorTalents.lua: in function 'getTarget'
	/engine/interface/ActorTalents.lua:244: in function 'useTalentMessage'
	/mod/class/Actor.lua:3796: in function 'preUseTalent'
	/engine/interface/ActorTalents.lua:139: in function </engine/interface/ActorTalents.lua:134>
Lua Error: /engine/interface/ActorTalents.lua:174: /engine/interface/ActorTalents.lua:145: attempt to index upvalue 'force_target' (a nil value)
	At [C]:-1 
	At [C]:-1 error
	At /engine/interface/ActorTalents.lua:174 useTalent
	At /engine/interface/PlayerHotkeys.lua:169 
	At /engine/interface/PlayerHotkeys.lua:161 activateHotkey
	At /mod/class/Game.lua:1866 f
	At /mod/class/Game.lua:1463 fct
	At /engine/interface/PlayerHotkeys.lua:316 
	At /engine/KeyBind.lua:229 
If a save file or something would help please let me know.

Re: [git] Archer can't shoot

Posted: Mon Oct 28, 2013 10:13 am
by darkgod
Hum did you create this char in that git commit or did you upgrade inbetween ?
Can you reproduce it ?
And yes savefile would be good

Re: [git] Archer can't shoot

Posted: Mon Oct 28, 2013 3:36 pm
by saladfork
Sorry yeah I did pull master to see if the problem was fixed. I'll try to reproduce in current master from scratch.

Re: [git] Archer can't shoot

Posted: Fri Nov 01, 2013 10:46 pm
by darkgod
no news?

Re: [git] Archer can't shoot

Posted: Sun Nov 03, 2013 2:33 pm
by saladfork
Can't repro in my last couple of builds. Sorry for the bad report.

If it happens again I'll be more careful preserving the crime scene.