Just a small part of my current char's huge file. I hope that this contains the error (which it does mention a lua error).[LOG] Bill the Stone Troll hits Mr T for #aaaaaa#112.00 physical damage#LAST#.
[LOG] Mr T uses Gnaw.
USING table: 0B5215A8 Gnaw
[ATTACK] attacking with steel greatmaul
[ATTACK] to Bill the Stone Troll :: 101.49 2 0 :: 0.29166666666667
checkHit 53 5.95
=> chance to hit 95
[ATTACK] raw dam 101.49 versus 0 with APR 2
[ATTACK] after range 122
[PHYS CRIT %] 3.1
[ATTACK] after crit 122
[ATTACK] after mult 35.583333333333
[PROJECTOR] starting dam 35.583333333333
[PROJECTOR] after difficulty dam 35.583333333333
[PROJECTOR] res 0 1 on dam 35.583333333333
[PROJECTOR] final dam 35.583333333333
[LOG] Mr T hits Bill the Stone Troll for #aaaaaa#35.58 physical damage#LAST#.
checkHit 42 20
=> chance to hit 95
[LOG] Bill the Stone Troll is stunned!
addTmpVal stunned 1 :=: 1 1
Effect duration reduction < 5
Effect duration reduction > 4
[LOG] Mr T uses Stunning Blow.
USING table: 08B53760 Stunning Blow
86 ticks in 11.333 seconds = 7.58846 TPS
[ATTACK] to Bill the Stone Troll :: 101.49 2 0 :: 1.33
checkHit 53 5.95
=> chance to hit 95
[ATTACK] raw dam 101.49 versus 0 with APR 2
[ATTACK] after range 119
[PHYS CRIT %] 3.1
[ATTACK] after crit 119
[ATTACK] after mult 158.27
[PROJECTOR] starting dam 158.27
[PROJECTOR] after difficulty dam 158.27
[PROJECTOR] res 0 1 on dam 158.27
[PROJECTOR] final dam 158.27
[LOG] Mr T hits Bill the Stone Troll for #aaaaaa#158.27 physical damage#LAST#.
checkHit 65 20
=> chance to hit 95
removeTempVal stunned 1 :=: 1
delTmpVal stunned 1
[LOG] Bill the Stone Troll is stunned!
addTmpVal stunned 1 :=: 0 2
Effect duration reduction < 3.3
Effect duration reduction > 2.3
[ATTACK] attacking with steel greatmaul
[ATTACK] to Bill the Stone Troll :: 101.49 2 0 :: 1
checkHit 53 5.95
=> chance to hit 95
[ATTACK] raw dam 101.49 versus 0 with APR 2
[ATTACK] after range 148
[PHYS CRIT %] 3.1
[ATTACK] after crit 148
[ATTACK] after mult 148
[PROJECTOR] starting dam 148
[PROJECTOR] after difficulty dam 148
[PROJECTOR] res 0 1 on dam 148
[PROJECTOR] final dam 148
[LOG] Mr T hits Bill the Stone Troll for #aaaaaa#148.00 physical damage#LAST#.
334 frames in 10.026 seconds = 33.3134 FPS
[ATTACK] attacking with steel greatmaul
[ATTACK] to Bill the Stone Troll :: 101.49 2 0 :: 1
checkHit 53 5.95
=> chance to hit 95
[ATTACK] raw dam 101.49 versus 0 with APR 2
[ATTACK] after range 122
[PHYS CRIT %] 3.1
[ATTACK] after crit 122
[ATTACK] after mult 122
[PROJECTOR] starting dam 122
[PROJECTOR] after difficulty dam 122
[PROJECTOR] res 0 1 on dam 122
[PROJECTOR] final dam 122
[LOG] Mr T hits Bill the Stone Troll for #aaaaaa#122.00 physical damage#LAST#.
[LOG] Bill the Stone Troll is not stunned anymore.
removeTempVal stunned 1 :=: 2
delTmpVal stunned 1
[PATH STRING] for Bill the Stone Troll :=: return {can_pass={}}
[ATTACK] attacking with Bill's Tree Trunk
[ATTACK] to Mr T :: 75.5 7 14.3 :: 1
checkHit 33 4.7
=> chance to hit 95
[ATTACK] raw dam 75.5 versus 14.3 with APR 7
[ATTACK] after range 95
[PHYS CRIT %] 0.9
[ATTACK] after crit 95
[ATTACK] after mult 95
[PROJECTOR] starting dam 95
[PROJECTOR] after difficulty dam 95
[PROJECTOR] res 0 1 on dam 95
[PROJECTOR] final dam 95
[LOG] Bill the Stone Troll hits Mr T for #aaaaaa#95.00 physical damage#LAST#.
[PATH STRING] for Bill the Stone Troll :=: return {can_pass={}}
[ATTACK] attacking with Bill's Tree Trunk
[ATTACK] to Mr T :: 75.5 7 14.3 :: 1
checkHit 33 4.7
=> chance to hit 95
[ATTACK] raw dam 75.5 versus 14.3 with APR 7
[ATTACK] after range 90
[PHYS CRIT %] 0.9
[ATTACK] after crit 90
[ATTACK] after mult 90
[PROJECTOR] starting dam 90
[PROJECTOR] after difficulty dam 90
[PROJECTOR] res 0 1 on dam 90
[PROJECTOR] final dam 90
[LOG] Bill the Stone Troll hits Mr T for #aaaaaa#90.00 physical damage#LAST#.
[ATTACK] attacking with steel greatmaul
[ATTACK] to Bill the Stone Troll :: 101.49 2 0 :: 1
checkHit 53 5.95
=> chance to hit 95
[ATTACK] raw dam 101.49 versus 0 with APR 2
[ATTACK] after range 121
[PHYS CRIT %] 3.1
[ATTACK] after crit 121
[ATTACK] after mult 121
[PROJECTOR] starting dam 121
[PROJECTOR] after difficulty dam 121
[PROJECTOR] res 0 1 on dam 121
[PROJECTOR] final dam 121
[LOG] Mr T hits Bill the Stone Troll for #aaaaaa#121.00 physical damage#LAST#.
[LOG] Mr T killed Bill the Stone Troll!
Lua Error: /data/zones/trollshaws/npcs.lua:58: attempt to index field 'Quest' (a nil value)
At [C]:-1
At /data/zones/trollshaws/npcs.lua:58 check
At /engine/interface/ActorLife.lua:77 die
At /mod/class/Actor.lua:495 takeHit
At /data/damage_types.lua:59 projector
At /mod/class/interface/Combat.lua:287 attackTargetWith
At /mod/class/interface/Combat.lua:89 bumpInto
At /mod/class/Actor.lua:594 attack
At /engine/interface/ActorLife.lua:40 check
At /engine/Map.lua:526 checkAllEntities
At /engine/Actor.lua:96 move
At /mod/class/Actor.lua:208 move
At /mod/class/Player.lua:88 moveDir
At /mod/class/Game.lua:542 ?
At /engine/KeyBind.lua:177
[LOG] #00ff00#Talent Stunning Blow is ready to use.
stunning kills
Moderator: Moderator
stunning kills
I've been running some berserkers and when I use some stunning attack and then kill them, both Bill and the Shade of Angmar do not drop anything.
-The Bigfoot
I really do exist.
I really do exist.
Re: stunning kills
LOL@ Mr T for a beserker... Soz, can't help much with the lua/logfile...
My guess is that you've come to the trollshaws a bit later? Ie. You've completed some other quests? I dunno but maybe if you've completed the second "Go search the XX to see what lurks there and what treasures you can gain".
My guess is that you've come to the trollshaws a bit later? Ie. You've completed some other quests? I dunno but maybe if you've completed the second "Go search the XX to see what lurks there and what treasures you can gain".
Re: stunning kills
I am pretty certain the code to "unconstrict" all constricted victems of a constrictor should go in Actor.lua -> function _M:die(src)
But the problem is, in death there is a src, but not sure if there is a constriction victems... Ie. If the constrictor is constricting my summoned unit, and I kill it, I think it's easy to remove constrictions from myself, but removing it from the constrictee... might prove difficult.
You'll have to remember the target when you are constricting the guy (in timed_effects.lua)... Hmmm... tricksy...
I wanted to supply a patch, but I'm not comfortable with the code (engine) yet.
But I'll learn as I go along.
EDIT: Oops ... this is the wrong thread!
But the problem is, in death there is a src, but not sure if there is a constriction victems... Ie. If the constrictor is constricting my summoned unit, and I kill it, I think it's easy to remove constrictions from myself, but removing it from the constrictee... might prove difficult.
You'll have to remember the target when you are constricting the guy (in timed_effects.lua)... Hmmm... tricksy...

I wanted to supply a patch, but I'm not comfortable with the code (engine) yet.

EDIT: Oops ... this is the wrong thread!
Last edited by Canderel on Tue Jun 08, 2010 11:09 am, edited 1 time in total.
Re: stunning kills
I see why it borked, fixed.
About constriction I've fixed it already
About constriction I've fixed it already
[tome] joylove: You can't just release an expansion like one would release a Kraken XD
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
--
[tome] phantomfrettchen: your ability not to tease anyone is simply stunning
