Page 1 of 1

[1.4.1] [Resolved] sling.lua talents no longer work

Posted: Wed Jan 27, 2016 2:10 am
by minmay
To reproduce:
- start an archer
- learn Eye Shot
- get this error on every single frame:

Code: Select all

Lua Error: /data/talents/techniques/sling.lua:57: attempt to call upvalue 'archerPreUse' (a nil value)
	At [C]:-1 archerPreUse
	At /data/talents/techniques/sling.lua:57 on_pre_use
	At /mod/class/Actor.lua:4825 preUseTalent
	At /engine/HotkeysIconsDisplay.lua:194 display
	At /engine/HotkeysIconsDisplay.lua:285 toScreen
	At /mod/class/uiset/Minimalist.lua:1761 displayHotkeys
	At /mod/class/uiset/Minimalist.lua:2002 display
	At /mod/class/Game.lua:1584
Also happens if an NPC has Eye Shot, Intertial Shot, or Multishot, though in that case the errors will only occur a few times every time they act, rather than every frame.

Re: [1.4.1] sling.lua talents no longer work, cause error sp

Posted: Wed Jan 27, 2016 9:24 am
by darkgod
Using addons by any chance ?

Re: [1.4.1] sling.lua talents no longer work, cause error sp

Posted: Wed Jan 27, 2016 11:23 am
by minmay
My mistake. I could swear I reproduced this with no addons, but I must have forgotten. Sorry about the mess...