Lua Errors

言語: JP EN DE FR
2010-06-21
New Items
users online
フォーラム » Windower » Support » Lua errors
Lua errors
 Lakshmi.Pud
Offline
サーバ: Lakshmi
Game: FFXI
user: Pud
Posts: 91
By Lakshmi.Pud 2013-04-23 04:47:52  
Hi all,

I'm having an issue with lua add-ons not working correctly, I've tested with a few and get similar results.

With Scan for example I get the following every time my target changes:

Lua -- C:\Program Files (x86)\Windower4\\addons\scan\scan.lua:35: attempt to call global 'get_mob_by_target_id' (a table value)

I have my doubts that the double backslash is correct before addons in the file path, but I don't see anywhere to change that.

Can anyone point me in the right direction?
 Leviathan.Arcon
VIP
Offline
サーバ: Leviathan
Game: FFXI
user: Zaphor
Posts: 660
By Leviathan.Arcon 2013-04-23 07:45:19  
It's because get_mob_by_target_id was accidentally broken when it was deprecated. It's now get_mob_by_index. Replace all of the entities of the former with the latter, then it should work.

Also, that's not an "official" addon in that sense, so normally you couldn't get help with it, since people can't see its code. In such cases, try asking whoever you got it from (or whoever created it, if you know).
Log in to post.