Sparks.lua

Language: JP EN DE FR
New Items
2023-11-19
users online
Forum » Windower » Support » sparks.lua
sparks.lua
Offline
Posts: 121
By hamany9 2017-01-22 00:30:18
Link | Quote | Reply
 
my sparks to acheron shield lua not working, not sure why it used to work fine.
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)


Directory for file: Windower>Addon>sparks
Offline
Posts: 121
By hamany9 2017-01-22 01:10:09
Link | Quote | Reply
 
update: I also tried the other script where you have sparks folder and within it you have sparks and map lua. it loads fine but when i do the command //sparks buy acheron shield nothing happens.
 Sylph.Staleyx
Offline
Server: Sylph
Game: FFXI
user: Staleyx
Posts: 269
By Sylph.Staleyx 2017-01-22 01:36:17
Link | Quote | Reply
 
Hey just be careful using this. One person was banned using this. Now that they changed how menu works its not such a headache.
 Quetzalcoatl.Excalin
Offline
Server: Quetzalcoatl
Game: FFXI
user: Excalin
Posts: 118
By Quetzalcoatl.Excalin 2017-01-22 01:56:39
Link | Quote | Reply
 
Sylph.Staleyx said: »
Hey just be careful using this. One person was banned using this. Now that they changed how menu works its not such a headache.

As I haven't heard of a mass banning due to it, something tells me there is more to the story.
Offline
Posts: 410
By Kodaijin 2017-01-22 07:59:56
Link | Quote | Reply
 
You don't really need it anymore. The ability to buy the same thing over and over kinda makes it useless.
 Sylph.Staleyx
Offline
Server: Sylph
Game: FFXI
user: Staleyx
Posts: 269
By Sylph.Staleyx 2017-01-22 16:40:26
Link | Quote | Reply
 
Yes I think the player was using s form of the lua and was able to purchase spark items from the wrong npc.
Log in to post.