[git version] Targeting Error

All development conversation and discussion takes place here

Moderator: Moderator

Post Reply
Message
Author
Razakai
Uruivellas
Posts: 889
Joined: Tue May 14, 2013 3:45 pm

[git version] Targeting Error

#1 Post by Razakai »

I'm working on pushing an update for the main git version, but despite a certain talent working as an addon, when I made direct changes to the git it now fails with the following error:

==============================================
[LOG] Player casts Drain.
[SPELL CRIT %] 1
stack traceback:
[C]: in function 'error'
/engine/interface/ActorTalents.lua:153: in function </engine/interface/ActorTalents.lua:135>
Lua Error: /engine/interface/GameTargeting.lua:118: /engine/interface/ActorTalents.lua:153: /engine/Entity.lua:133: Entity definition has a closure: Entity closure checker: value[info] has upvalue info
stack traceback:
[C]: in function 'error'
/engine/Entity.lua:133: in function 'init'
/engine/Projectile.lua:37: in function 'init'
/mod/class/Projectile.lua:29: in function 'init'
/engine/class.lua:97: in function 'new'
/engine/Projectile.lua:288: in function 'makeProject'
/engine/interface/ActorProject.lua:321: in function 'projectile'
/data/talents/corruptions/sanguisuge.lua:36: in function </data/talents/corruptions/sanguisuge.lua:32>
[C]: in function 'xpcall'
/engine/interface/ActorTalents.lua:148: in function </engine/interface/ActorTalents.lua:135>
At [C]:-1
At [C]:-1 error
At /engine/interface/GameTargeting.lua:118 fct
At /engine/interface/GameTargeting.lua:124 targetMode
At /engine/interface/GameTargeting.lua:253 targetMouse
At /mod/class/Game.lua:2019 fct
At /engine/Mouse.lua:56

This appears to occur whenever I try and target a spell. The above was from casting Drain, and the below happened on a Necromancer when I cast Invoke Darkness:

Lua Error: /engine/interface/GameTargeting.lua:118: /engine/interface/ActorTalents.lua:153: /engine/Entity.lua:133: Entity definition has a closure: Entity closure checker: value[target] has upvalue isFF

Not sure where to even begin here, any ideas?

grayswandir
Uruivellas
Posts: 708
Joined: Wed Apr 30, 2008 5:55 pm

Re: [git version] Targeting Error

#2 Post by grayswandir »

That's kinda my fault. I put some stricter checks for upvalues in. There's a fix that darkgod hasn't accepted yet.

It should work fine if you turn debug mode off, though.
Addons: Arcane Blade Tweaks, Fallen Race, Monk Class, Weapons Pack
Currently working on Elementals. It's a big project, so any help would be appreciated. :)

Razakai
Uruivellas
Posts: 889
Joined: Tue May 14, 2013 3:45 pm

Re: [git version] Targeting Error

#3 Post by Razakai »

Good to know! I'll just wait till that fix goes in and push my changes then, thanks.

Post Reply