Thread the needle hits twice with lua error.

Where bugs go to lie down and rest

Moderator: Moderator

Post Reply
Message
Author
Tyren
Halfling
Posts: 112
Joined: Sun Mar 04, 2012 2:04 am

Thread the needle hits twice with lua error.

#1 Post by Tyren »

v1.3.1, i edited threaded-combat.lua as in http://git.net-core.org/tome/t-engine4/ ... quests/274

A rare temporal warden used thread the needle a turn before the error. Thread the needle projectile was in mid flight when i killed the rare with invoke darkness.

Code: Select all

[LOG]	Ivynne the elven guard casts Thread the Needle.
[ARCHERY ACQUIRE TARGETS WITH]	swiftstrike dragonbone longbow	psychokinetic quiver of dragonbone arrows of daylight
[PROJECTILE SPEED] ::	12
[SHOOT] speed	0.7	=>	700
[SHOOT WITH]	swiftstrike dragonbone longbow	psychokinetic quiver of dragonbone arrows of daylight
Adding entity	117966	after	108052
[LOG]	
Deleting shader 68 (is clone 1)
[LOG]	Azsaly casts Invoke Darkness.
[LOG]	Azsaly casts Rune: Shielding.
[LOG]	A shield forms around Azsaly.
Cloned shader 76
[SHADER] setting reset param	tick_start	6932633
[LOG]	Azsaly uses Infusion: Wild.
[LOG]	Azsaly lessens the pain.
[USERCHAT] channel serial data	ziogigas	tome	648
[LOG]	Azsaly casts Invoke Darkness.
[SPELL CRIT %]	18
[LOG]	#00ffff#Welcome to level 26 [Azsaly].
[LOG]	Azsaly has 3 stat point(s), 1 class talent point(s), 1 generic talent point(s) to spend. Press p to use them.
[ONLINE PROFILE] current character 	Azsaly the level 26 Yeek Necromancer
Loading tile from tileset	/data/gfx/shockbolt/object/arrow_ash.png
[SOUND] loading from	/data/sound/actions/levelup.ogg	:=:	sound "/data/sound/actions/levelup.ogg" : <static>
[LOG]	#UID:2714:0##fbd578#Azsaly#LAST# hits Ivynne the elven guard for #GREY#188 darkness#LAST# damage.
[LOG]	#{bold}##UID:2714:0##fbd578#Azsaly#LAST# killed Ivynne the elven guard!#{normal}#
[ATTACK ARCHERY] to 	Azsaly	 :: 	162.73901278356	18	21	::	2.4738995596476
checkHit	80.6	21.15
=> chance to hit	100
[ATTACK ARCHERY] raw dam	162.73901278356	versus	21	with APR	18
[ATTACK ARCHERY] after armor	159.73901278356
[ATTACK ARCHERY] after range	192
[ATTACK] after inc by type	192
[PHYS CRIT %] axe accuracy bonus	80.6	21.15	=	10
[PHYS CRIT %]	24.463368806888
[ATTACK ARCHERY] after crit	192
[ATTACK ARCHERY] after mult	474.98871545235
[ATTACK ARCHERY] after hook	474.98871545235
[LOG]	Your shield crumbles under the damage!
[LOG]	The shield around Azsaly crumbles.
[TAKE HIT] after flat damage cap	53.96
[TAKE HIT] after flat damage cap	23.24
[TAKE HIT] after flat damage cap	8.5822
[TAKE HIT] after flat damage cap	3.2536
Added unique	mod.class.NPC/Ivynne the elven guard	::	36[/spoiler]
stack traceback:
	[C]: in function 'error'
	/engine/interface/ActorTalents.lua:248: in function </engine/interface/ActorTalents.lua:232>
Lua Error: /engine/interface/ActorTalents.lua:271: /engine/interface/ActorTalents.lua:248: /engine/interface/ActorTalents.lua:148: /mod/class/NPC.lua:153: bad argument #1 to 'distance' (number expected, got nil)
stack traceback:
	[C]: in function 'distance'
	/mod/class/NPC.lua:153: in function 'lineFOV'
	/engine/interface/ActorProject.lua:253: in function 'canProject'
	/data/talents/misc/misc.lua:59: in function </data/talents/misc/misc.lua:54>
	[C]: in function 'xpcall'
	/engine/interface/ActorTalents.lua:145: in function </engine/interface/ActorTalents.lua:138>
	At [C]:-1 
	At [C]:-1 error
	At /engine/interface/ActorTalents.lua:271 useTalent
	At /engine/interface/ActorTalents.lua:329 forceUseTalent
	At /mod/class/Actor.lua:5258 forceUseTalent
	At /data/talents/chronomancy/threaded-combat.lua:299 check
	At /mod/class/Actor.lua:6279 check
	At /engine/Zone.lua:715 addEntity
	At /data/talents/chronomancy/threaded-combat.lua:323 callTalent
	At /mod/class/Actor.lua:4909 fireTalentCheck
	At /mod/class/interface/Archery.lua:458 damtype
	At /engine/interface/ActorProject.lua:396 projectDoAct
	At /engine/interface/ActorProject.lua:484 projectDoStop
	At /engine/Projectile.lua:228 act
	At /engine/GameEnergyBased.lua:126 tickLevel
	At /engine/GameEnergyBased.lua:62 tick
	At /engine/GameTurnBased.lua:46 tick
	At /mod/class/Game.lua:1255 
Deleting shader 76 (is clone 1)
 ----------------  Stack Dump ----------------
--------------- Stack Dump Finished ---------------
[ATTACK ARCHERY] to 	Azsaly	 :: 	162.73901278356	18	21	::	2.4738995596476
checkHit	80.6	21.15
=> chance to hit	100
[ATTACK ARCHERY] raw dam	162.73901278356	versus	21	with APR	18
[ATTACK ARCHERY] after armor	159.73901278356
[ATTACK ARCHERY] after range	173
[ATTACK] after inc by type	173
[PHYS CRIT %] axe accuracy bonus	80.6	21.15	=	10
[PHYS CRIT %]	24.463368806888
[ATTACK ARCHERY] after crit	173
[ATTACK ARCHERY] after mult	427.98462381904
[ATTACK ARCHERY] after hook	427.98462381904
[TAKE HIT] after flat damage cap	53.96
[TAKE HIT] after flat damage cap	23.24
[TAKE HIT] after flat damage cap	8.5822
[TAKE HIT] after flat damage cap	3.2536
[LOG]	Ivynne the elven guard's Thread the Needle hits #fbd578#Azsaly#LAST# for #SLATE#(254 absorbed)#LAST#, #LIGHT_GREY#(7 resilience)#LAST#, #aaaaaa#54 physical#LAST#, #aaaaaa#23 physical#LAST#, #YELLOW#9 light#LAST#, #LIGHT_RED#3 fire#LAST#, #LIGHT_GREY#(230 resilience)#LAST#, #aaaaaa#54 physical#LAST#, #aaaaaa#23 physical#LAST#, #YELLOW#9 light#LAST#, #LIGHT_RED#3 fire#LAST# (178 total damage).

Radon26
Sher'Tul
Posts: 1439
Joined: Mon Jun 23, 2014 11:50 am

Re: Thread the needle hits twice with lua error.

#2 Post by Radon26 »

what?! first infinite damage, now DOUBLE infinite damage?!
this spell has some problems.

HousePet
Perspiring Physicist
Posts: 6215
Joined: Sun Sep 09, 2012 7:43 am

Re: Thread the needle hits twice with lua error.

#3 Post by HousePet »

I think the problem was actually Warden's Call triggering from a dead actor, not Thread the Needle.
My feedback meter decays into coding. Give me feedback and I make mods.

Isotope-X
Thalore
Posts: 129
Joined: Tue May 28, 2013 1:34 pm

Re: Thread the needle hits twice with lua error.

#4 Post by Isotope-X »

Radon26 wrote:what?! first infinite damage, now DOUBLE infinite damage?!
this spell has some problems.
I'd be happy if it did double infinite damage when I use it. Sadly, such is not the case.

Post Reply