Npc Menus

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
users online
フォーラム » Windower » Support » npc menus
npc menus
Offline
Posts: 634
By zaxtiss 2015-06-16 08:04:54  
hey i was wondering if there was way to use lua to shortcut thro the menus of coalions quests kinda like this sparks one here


Code:
require 'pack'
require 'lists'

windower.register_event('outgoing chunk',function(id,org)
if id == 0x5B then
local name = (windower.ffxi.get_mob_by_id(org:unpack('I',5)) or {}).name
if L{'Eternal Flame','Rolandienne','Isakoth','Fhelm Jobeizat'}:contains(name) then
local outstr = org:sub(1,8)
local choice = org:unpack('I',9)
if choice == 0 or choice == 0x40000000 then
return outstr..string.char(9,0,0x29,0)..org:sub(13) -- Archeron Shield
end
end
end
end)


found this online wonder if there was something like this for coalations