LUA Error After Every Action After Dying On Tempest Peak

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Sanctus57
Posts: 1
Joined: Wed Jan 15, 2014 8:53 pm

LUA Error After Every Action After Dying On Tempest Peak

#1 Post by Sanctus57 »

As a level 16 Alchemist, I died twice on Tempest Peak and after this I was unable to move without getting a LUA error. I submitted the bug report, but wanted to post it here as well. I tried editing the save file under "mod.class.partymember" as was recommended by a thread on steam, but the save file was updated the original version every time I reloaded the character.

My layman's guess is that this bug has something to do with the status effects on my golem, which I was unable to resummon because the "Refit Golem" skill was interrupted by the errors.

Thanks for listening

parcel700
Posts: 3
Joined: Fri Jan 24, 2014 7:45 am

Re: LUA Error After Every Action After Dying On Tempest Peak

#2 Post by parcel700 »

I got same problem on npc.lua 138 line, error in #3 functions parameter "tx" is nil.

My character is ruined in harddisk, not dungeon XD

parcel700
Posts: 3
Joined: Fri Jan 24, 2014 7:45 am

Re: LUA Error After Every Action After Dying On Tempest Peak

#3 Post by parcel700 »

I have same problem and my character also cannot refit it.

Code: Select all

Lua Error: /mod/class/NPC.lua:139: bad argument #3 to 'distance' (number expected, got nil)
	At [C]:-1 
	At [C]:-1 distance
	At /mod/class/NPC.lua:139 lineFOV
	At /engine/interface/ActorProject.lua:68 project
	At /data/timed_effects/magical.lua:855 on_timeout
	At /engine/interface/ActorTemporaryEffects.lua:78 timedEffects
	At /mod/class/NPC.lua:298 timedEffects
	At /mod/class/Actor.lua:476 actBase
	At /engine/GameEnergyBased.lua:116 tickLevel
	At /engine/GameEnergyBased.lua:62 tick
	At /engine/GameTurnBased.lua:46 tick
	At /mod/class/Game.lua:1144 
 ----------------  Stack Dump ----------------
2: table // 805ed8
1: table // 805ed8
--------------- Stack Dump Finished ---------------

Sicnarf
Posts: 1
Joined: Wed Feb 12, 2014 3:27 am

Re: LUA Error After Every Action After Dying On Tempest Peak

#4 Post by Sicnarf »

Hi
Same problem here.
Level 16 Alchemist on tempest peak, got killed once, sent myself straight back and now every time I do any action.

LUA error: /mod/class/NPC.lua138: Bad argument

This does not happen on the world map, rod of recall out and lots of ignore errors to get there.

It appears the game thinks my Golem is still alive even though it's very very dead. The golem icon in the top left is there and if I skip enough turns it gains life as it regens. Entering an area that is not the world map just causes the errors to start happening again. Did a Lifesteal (don't know what you call it, new to game) on my golem to try and kill it, reduced it's life to 0% but it still keeps slowing gaining life if I skip enough turns. To be clear, moving to a new level does not have my golem appear beside me. Cannot use golem refit as every turn it is interrupted by the error.

I am using the free version, non steam so far. Is there any way to modify my save to "delete/Kill" my golem?

Fextina
Low Yeek
Posts: 8
Joined: Mon Aug 18, 2014 6:04 am

Re: LUA Error After Every Action After Dying On Tempest Peak

#5 Post by Fextina »

I'm getting this exact error on steam. Is there any fix for this or workaround?!!!! I can't play, is there a way to kill the golem forcibly?!!

Tunse80
Yeek
Posts: 11
Joined: Sat Dec 20, 2014 10:43 pm
Location: Sweden

Re: LUA Error After Every Action After Dying On Tempest Peak

#6 Post by Tunse80 »

Same here. Can't play character after dieing on Tempest Peak. Golem icon still visible. Can't summon it back, can walk on world map but getting error as soon as I take a single step in any other map.
Last edited by Tunse80 on Sun Oct 18, 2015 9:02 pm, edited 1 time in total.

Kemayo
Posts: 1
Joined: Thu Mar 26, 2015 4:28 am

Re: LUA Error After Every Action After Dying On Tempest Peak

#7 Post by Kemayo »

Bit late, but: I just ran into this problem. On my very first character, too, so it's been a nice little learning experience.

Near as I can tell it's because my golem was killed, but still has the lightning-burst damage effect from the boss on it while it's dead, which causes some sort of problem in NPC.lua when you try to rez it.

I've fixed it, but all my fixes do involve using the debug console. So, turn that on.

Then open the lua console, and do:

Code: Select all

game.player.alchemy_golem.removeAllEffects(game.player.alchemy_golem)
Nothing will appear to happen, but after you do this you'll be able to revive the golem. So all's well that ends well.

(The tab-completion in the console: was my savior here.)

Hagith
Posts: 1
Joined: Sat Apr 18, 2015 9:45 am

Re: LUA Error After Every Action After Dying On Tempest Peak

#8 Post by Hagith »

Just got this error the other day as well.

Code: Select all

Lua Error: /mod/class/NPC.lua:153: bad argument #3 to 'distance' (number expected, got nil)
	At [C]:-1 
	At [C]:-1 distance
	At /mod/class/NPC.lua:153 lineFOV
	At /engine/interface/ActorProject.lua:69 project
	At /data/timed_effects/magical.lua:914 on_timeout
	At /engine/interface/ActorTemporaryEffects.lua:83 timedEffects
	At /mod/class/NPC.lua:320 timedEffects
	At /mod/class/Actor.lua:549 actBase
	At /engine/GameEnergyBased.lua:116 tickLevel
	At /engine/GameEnergyBased.lua:62 tick
	At /engine/GameTurnBased.lua:46 tick
	At /mod/class/Game.lua:1255
 ----------------  Stack Dump ----------------
--------------- Stack Dump Finished ---------------

Von Krieger
Low Yeek
Posts: 7
Joined: Mon Jul 06, 2015 2:59 pm

Re: LUA Error After Every Action After Dying On Tempest Peak

#9 Post by Von Krieger »

Yup, still a thing and it happened to me as well just now on Tempest Peak. Corrected it via the LUA editor method, as somehow my save had become invalidated anyway.

Post Reply