hey im not sure what i would use pretarget or prerender to my function tocheck if is a valid target an is monster and check my invo to see if the to be used it in the bag or not .
heres what i have so far
Posted 10 July 2015 - 12:42 PM
hey im not sure what i would use pretarget or prerender to my function tocheck if is a valid target an is monster and check my invo to see if the to be used it in the bag or not .
heres what i have so far
Posted 25 July 2015 - 08:38 AM
Sorry for the late reply, I was on vacation. This should do:
windower.register_event('target change', function(target_index) local target = windower.ffxi.get_mob_by_nidex(target_index) if not target or target.name ~= "Sturdy Pyxis" then return end windower.chat.input("/item \"Forbidden Key\" <t>") end)
Posted 25 July 2015 - 05:12 PM
i wonder if there is a way to tell if the box is open or not??
Posted 28 July 2015 - 05:36 PM
i wonder if there is a way to tell if the box is open or not??
i havent had access for it since im on new char no days i think to 'check' to see if its open or not it would be someting like this
Posted 29 July 2015 - 01:03 AM
i havent had access for it since im on new char no days i think to 'check' to see if its open or not it would be someting like this
windower.register_event('target change', target_change)windower.register_event('incoming text', function(old,new,color,newcolor)if proc ~= 0 thenlocal play = windower.ffxi.get_player()if play and string.find(old,(play.name).. '\'sopens the chest%p') then -- idk the real text that owuld pop after opening the chestlocal targ = windower.ffxi.get_mob_by_target('t')local ltarg = windower.ffxi.get_mob_by_target('lastst')if targ thenfor k, v in ipairs(openned) doif v == targ.id and ltarg thentarg = ltargendendelseif ltarg thentarg = ltargendtable.insert(openned, targ.id)target_change()windower.send_ipc_message('add'..targ.id)endwelcome back acron hope you had fun on your vacation
i was thinking about there being something in windower.ffxi.get_mob_by_index(target_index) that might have the whether its locked or unlocked
im not saying it cant be done watching incoming chat but then you you would have to remove things from a table as the chests disappears
mind you i have not looked at windower.ffxi.get_mob_by_index(target_index) when opening boxes in aby
Posted 03 August 2015 - 05:44 PM
Sorry for the late reply, I was on vacation. This should do:
windower.register_event('target change', function(target_index) local target = windower.ffxi.get_mob_by_nidex(target_index) if not target or target.name ~= "Sturdy Pyxis" then return end windower.chat.input("/item \"Forbidden Key\" <t>") end)ahhh yes lol i finally got to test this out acron it works like a charm!!!
Posted 23 August 2015 - 06:13 AM
There isn't. You also can't just watch the chatlog, since you won't know which chest the message belongs to. You'll have to look for packets and watch the animation change.
Posted 27 August 2015 - 04:37 AM
any suggestions on some developer tools for doing that i've some programming injava and C/C++ but dealing with packets is stillpretty new
Posted 28 August 2015 - 05:02 AM
Arcon has a PacketViewer addon for this kind of thing. It has quite a few features; logging to file, scanning for known values, nice color-coded on-screen hex dump for known packet types, etc. If you need help using it you'll probably be best served by asking Arcon directly on IRC, but if you'd like to try and figure it out yourself, the command handler starts on line 603.
0 members, 1 guests, 0 anonymous users