ToME: the Tales of Maj'Eyal

Black Mesh bug.
Page 1 of 1

Author:  jammer312 [ Fri Jul 20, 2018 10:43 am ]
Post subject:  Black Mesh bug.

About Black Mesh (art shield): I fought rare sapper, had Black Mesh equipped. I'm not sure what certainly happened (sadly I have no logs of this happening), but it seems he threw some trap at me, it tried to damage me, I blocked damage and triggered Black Mesh on-block effect, which tried to grab trap and pull it to me and constrict it, and probably at that step it failed horribly and threw lua error.

I realized that terminal log contains all is needed, so here the logs:
[LOG]   Rogue sapper activates a prepared device.
Trap Placement for   rogue sapper   T_BEAR_TRAP   11   9
[PHYS CRIT %]   0.93906440675
Using trap instant trigger for    T_BEAR_TRAP
[LOG]   #ORCHID#Black tendrils from #UID:4755:0##fbd578#Deathslinger#LAST# grab Rogue sapper's bear trap!
##Use Talent Lua Error##   T_BEAR_TRAP   Actor:   47495   rogue sapper
Lua Error: /engine/interface/ActorTalents.lua:322: /engine/interface/ActorTalents.lua:295: /engine/interface/ActorTalents.lua:162: /data/general/objects/world-artifacts.lua:550: attempt to call method 'canBe' (a nil value)
stack traceback:
   /data/general/objects/world-artifacts.lua:550: in function 'fct'
   /data/timed_effects/physical.lua:2221: in function 'do_block'
   /data/damage_types.lua:187: in function 'defaultProjector'
   /data/damage_types.lua:703: in function 'projector'
   /engine/interface/ActorProject.lua:219: in function 'project'
   /data/talents/cunning/traps.lua:962: in function 'triggered'
   /data/talents/cunning/traps.lua:975: in function </data/talents/cunning/traps.lua:948>
   [C]: in function 'xpcall'
   /engine/interface/ActorTalents.lua:160: in function </engine/interface/ActorTalents.lua:149>
   At [C]:-1
   At [C]:-1 error
   At /engine/interface/ActorTalents.lua:322 useTalent
   At /mod/ai//tactical.lua:418 runAI
   At /mod/ai//tactical.lua:446 doAI
   At /mod/class/NPC.lua:75 act
   At /engine/GameEnergyBased.lua:129 tickLevel
   At /engine/GameEnergyBased.lua:64 tick
   At /engine/GameTurnBased.lua:51 tick
   At /mod/class/Game.lua:1489

It seems it really tries to grab trap and fails.

Author:  HousePet [ Fri Jul 20, 2018 11:57 am ]
Post subject:  Re: Black Mesh bug.

It appears that the Black Mesh isn't checking if the source of the damage it blocked was an Actor. Its a common mistake.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group