ToME: the Tales of Maj'Eyal

Everything about ToME
It is currently Tue Sep 18, 2018 3:36 pm

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Black Mesh bug.
PostPosted: Fri Jul 20, 2018 10:43 am 
Offline
Wayist

Joined: Sat Jun 30, 2018 8:50 am
Posts: 27
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:
Code:
[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.


Top
 Profile  
 
 Post subject: Re: Black Mesh bug.
PostPosted: Fri Jul 20, 2018 11:57 am 
Offline
Perspiring Physicist

Joined: Sun Sep 09, 2012 7:43 am
Posts: 5752
It appears that the Black Mesh isn't checking if the source of the damage it blocked was an Actor. Its a common mistake.

_________________
My feedback meter decays into coding. Give me feedback and I make mods.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group