Page 1 of 1

[1.6.6] Game becomes unplayable when enemy acts

Posted: Mon Jan 13, 2020 5:34 am
by whitelion
When this randboss that generated in Sandworm Lair acts, the game becomes unplayable. No keyboard or mouse commands do anything, and no talents can be used. Attempted to quit to the main menu briefly flashes a LUA error, but the whole game crashes before I can copy or send it.

I took some screenshots of the enemy in question.

This is the second time this has happened. Another time it happened with another randboss in Heart of Gloom. In both cases, the game become unplayable, and I couldn't figure out any way to get things unstuck. Force quitting can reset to the start of the area, but the bug always happens once this enemy acts, and so at best on this character Sandworm Lair is permanently unplayable.

Re: [1.6.6] Game becomes unplayable when enemy acts

Posted: Mon Jan 13, 2020 12:44 pm
by Dervic
Did you find anything in the te4.log file? If it an infinite loop sort of issue it probably logs it.

Re: [1.6.6] Game becomes unplayable when enemy acts

Posted: Mon Jan 13, 2020 6:27 pm
by whitelion
I forced the error again and attached the te4.log and character log. It does look like there is an error in the te4.log, but I don't know what it means. I had to compress the logs to get under the file size limit.

Re: [1.6.6] Game becomes unplayable when enemy acts

Posted: Mon Jan 13, 2020 10:28 pm
by Dervic
Some bug with Flamethrower, can't really tell what specifically.

Code: Select all

[ARCHERY ACQUIRE TARGETS WITH]	strafer's dwarven-steel steamgun of tinkering (#STATBONUS#)	pouch of dwarven-steel shots of crippling	overgrown dwarven-steel steamgun	nil
[SHOOT] speed	1	=>	1000
[SOUND] loading from	/data/sound/talents/rocket_pod.ogg	:=: unknown file
[ARCHERY SHOOT]	Gonne the gigantic sandworm tunneler	426497	using weapon:	strafer's dwarven-steel steamgun of tinkering (#STATBONUS#)	ammo:	pouch of dwarven-steel shots of crippling	offweapon:	overgrown dwarven-steel steamgun	pf_weapon:	nil
[ARCHERY SHOOT dofire] Shooting weapon:	strafer's dwarven-steel steamgun of tinkering (#STATBONUS#)	to:	318	11
Adding entity	1076192	after	426497
[ARCHERY SHOOT dofire] Shooting weapon:	overgrown dwarven-steel steamgun	to:	318	11
Adding entity	1076193	after	426497
[Actor:move]	674014	huge sandworm burrower	move from	205	8	to	206	8
[target_simple AI]	426497	Gonne the gigantic sandworm tunneler	selecting NEW TARGET	318	11	5619	Mindthief
[use_tactical AI] === Action Selected:	426497	Gonne the gigantic sandworm tunneler	attack	 talent:T_HW_FLAMETHROWER
[LOG]	Gonne the gigantic sandworm tunneler activates #{bold}##ORANGE#Flamethrower#LAST#.
[ARCHERY ACQUIRE TARGETS WITH]	strafer's dwarven-steel steamgun of tinkering (#STATBONUS#)	pouch of dwarven-steel shots of crippling	overgrown dwarven-steel steamgun	nil
[SHOOT] speed	1	=>	1000
##Use Talent Lua Error##	T_HW_FLAMETHROWER	Actor:	426497	Gonne the gigantic sandworm tunneler
Lua Error: /engine/interface/ActorTalents.lua:329: /engine/interface/ActorTalents.lua:302: /engine/interface/ActorTalents.lua:197: /data-orcs/talents/steam/heavy-weapons.lua:198: attempt to index a nil value
stack traceback:
	/data-orcs/talents/steam/heavy-weapons.lua:198: in function 'fire_flamethrower'
	/data-orcs/talents/steam/heavy-weapons.lua:105: in function </data-orcs/talents/steam/heavy-weapons.lua:103>
	[C]: in function 'xpcall'
	/engine/interface/ActorTalents.lua:196: in function </engine/interface/ActorTalents.lua:184>
	At [C]:-1 
	At [C]:-1 error
	At /engine/interface/ActorTalents.lua:329 
	At /mod/ai//improved_tactical.lua:1081 
	At /mod/class/interface/ActorAI.lua:70 runAI
	At /mod/ai//improved_tactical.lua:1142 
	At /mod/class/interface/ActorAI.lua:70 doAI
	At /mod/class/NPC.lua:77 act
	At /engine/GameEnergyBased.lua:129 tickLevel
	At /engine/GameEnergyBased.lua:64 tick
	At /engine/GameTurnBased.lua:51 tick
	At /mod/class/Game.lua:1534 
 ----------------  Stack Dump ----------------

Re: [1.6.6] Game becomes unplayable when enemy acts

Posted: Mon Jan 13, 2020 11:44 pm
by GlassGo
I guess it's the same bug that make my Anni unplayable, as it can't shoot now. Happened when met some tinker-based mobs in HoG.

Re: [1.6.6] Game becomes unplayable when enemy acts

Posted: Tue Jan 14, 2020 9:55 am
by whitelion
This appears to be a general problem with the game for me at least. Happened for a third time with Sandworm Queen.

Code: Select all

[LOG]	Sandworm Queen uses #{bold}##YELLOW#Pheromones.#{normal}##LAST#
##Use Talent Lua Error##	T_SUMMON_CONTROL	Actor:	465925	Sandworm Queen
Lua Error: /engine/interface/ActorTalents.lua:329: /engine/interface/ActorTalents.lua:302: /engine/interface/ActorTalents.lua:164: /data/talents/gifts/summon-utility.lua:381: attempt to call field 'getDur' (a nil value)
stack traceback:
	/data/talents/gifts/summon-utility.lua:381: in function </data/talents/gifts/summon-utility.lua:375>
	[C]: in function 'xpcall'
	/engine/interface/ActorTalents.lua:162: in function </engine/interface/ActorTalents.lua:151>
	At [C]:-1 
	At [C]:-1 error
	At /engine/interface/ActorTalents.lua:329 
	At /mod/ai//improved_tactical.lua:1081 
	At /mod/class/interface/ActorAI.lua:70 runAI
	At /mod/ai//improved_tactical.lua:1142 
	At /mod/class/interface/ActorAI.lua:70 doAI
	At /mod/class/NPC.lua:77 act
	At /engine/GameEnergyBased.lua:129 tickLevel
	At /engine/GameEnergyBased.lua:64 tick
	At /engine/GameTurnBased.lua:51 tick
	At /mod/class/Game.lua:1534 
 ----------------  Stack Dump ----------------
--------------- Stack Dump Finished ---------------
FROM 	/mod/addons/cults/superload/engine/dialogs/ShowErrorStack.lua	loading previous!
Lua Error: /engine/dialogs/ShowErrorStack.lua:43: attempt to index field 'author' (a nil value)
	At [C]:-1 __index
	At /engine/dialogs/ShowErrorStack.lua:43 init
	At /engine/class.lua:147 new
	At /engine/Game.lua:287 tick
	At /engine/GameEnergyBased.lua:60 tick
	At /engine/GameTurnBased.lua:51 tick
	At /mod/class/Game.lua:1534 
 ----------------  Stack Dump ----------------
--------------- Stack Dump Finished ---------------
Lua Error: /engine/dialogs/ShowErrorStack.lua:43: attempt to index field 'author' (a nil value)
	At [C]:-1 __index
	At /engine/dialogs/ShowErrorStack.lua:43 init
	At /engine/class.lua:147 new
	At /engine/Game.lua:287 tick
	At /engine/GameEnergyBased.lua:60 tick
	At /engine/GameTurnBased.lua:51 tick
	At /mod/class/Game.lua:1534 
 ----------------  Stack Dump ----------------
--------------- Stack Dump Finished ---------------
Lua Error: /engine/dialogs/ShowErrorStack.lua:43: attempt to index field 'author' (a nil value)
	At [C]:-1 __index
	At /engine/dialogs/ShowErrorStack.lua:43 init
	At /engine/class.lua:147 new
	At /engine/Game.lua:287 tick
	At /engine/GameEnergyBased.lua:60 tick
	At /engine/GameTurnBased.lua:51 tick
	At /mod/class/Game.lua:1534 
 ----------------  Stack Dump ----------------
--------------- Stack Dump Finished ---------------
Lua Error: /engine/dialogs/ShowErrorStack.lua:43: attempt to index field 'author' (a nil value)
	At [C]:-1 __index
	At /engine/dialogs/ShowErrorStack.lua:43 init
	At /engine/class.lua:147 new
	At /engine/Game.lua:287 tick
	At /engine/GameEnergyBased.lua:60 tick
	At /engine/GameTurnBased.lua:51 tick
	At /mod/class/Game.lua:1534 
This has ended my last 3 runs, so I think I'm going to stop playing until it is addressed. If I'm the only one experiencing this I guess it could be a problem with my install, but I didn't change anything and it started with 1.6.6.

Re: [1.6.6] Game becomes unplayable when enemy acts

Posted: Tue Jan 14, 2020 10:14 am
by HousePet
That is a different bug. So you may not have won the game, but you caught two bugs. :)

Re: [1.6.6] Game becomes unplayable when enemy acts

Posted: Tue Jan 14, 2020 3:54 pm
by whitelion
HousePet wrote:That is a different bug. So you may not have won the game, but you caught two bugs. :)
Wow I guess I hit the jackpot then haha. Either way, the behavior of this one as far as the user experience was about the same. Can't input commands and the game greatly slows down and crashes if you push the issue.

Re: [1.6.6] Game becomes unplayable when enemy acts

Posted: Sun Jan 19, 2020 10:01 pm
by Sorien
Just experienced the same bug and fixed it for myself.

File: tome.team -> \data\talents\gifts\summon-utility.lua

Line 381 and Line 389: t.getDur should be t.getDuration

Re: [1.6.6] Game becomes unplayable when enemy acts

Posted: Sun Jan 26, 2020 9:36 pm
by whitelion
Confirm that does fix the second bug I reported.

However, if you do this you can't play online because your module hash is invalid.

Re: [1.6.6] Game becomes unplayable when enemy acts

Posted: Sun Mar 01, 2020 2:16 am
by shijin
Have the same error however it occurs for me whenever I mouse over the 4th talent in the Summoner tree under Wild-gift/Summoning(utility).