fledaquality

Voidwatch LUA

Aug 15th, 2016
594
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.65 KB | None | 0 0
  1. <<<<<<<<<<<THIS FIRST ONE WORKS, IS FOR REFERENCE ONLY.>>>>>>>>>>>
  2. require 'pack'
  3. require 'lists'
  4.  
  5. windower.register_event('outgoing chunk',function(id,org)
  6. if id == 0x5B then
  7. local name = (windower.ffxi.get_mob_by_id(org:unpack('I',5)) or {}).name
  8. if L{'Voidwatch Officer','Gushing Spring','Hildegard','Kieren','Owain','Camille'}:contains(name) then
  9. local outstr = org:sub(1,8)
  10. local choice = org:unpack('I',9)
  11. if choice == 0 or choice == 0x40000000 then
  12. return outstr..string.char(2,0,(2+(768 % 256)),math.floor(768/256))..org:sub(13) -- Rubicund Cell
  13. end
  14. end
  15. end
  16. end)
  17.  
  18.  
  19.  
  20. <<<<<<<<<FIRST OUT OF TWO THAT NEED HELP. THIS IS FOR PHASE DISPLACER BUYING.>>>>>>>>>>
  21. require 'pack'
  22. require 'lists'
  23.  
  24. windower.register_event('outgoing chunk',function(id,org)
  25. if id == 0x5B then
  26. local name = (windower.ffxi.get_mob_by_id(org:unpack('I',5)) or {}).name
  27. if L{'Ardrick'}:contains(name) then
  28. local outstr = org:sub(1,8)
  29. local choice = org:unpack('I',9)
  30. if choice == 0 or choice == 0x40000000 then
  31. return outstr..string.char(0,0,05,0)..org:sub(13) -- trying to acquire phase displacers from Ardrick. The menu goes as follows: Purchase phase displacers/other options below this (picking Purchase phase displacers, the first option) --> 5 for 5000 gil (also the first option) --> Yes (also the first option, but it puts your cursor on the second option if that makes any difference). Then it should buy 5 phase displacers.
  32. end
  33. end
  34. end
  35. end)
  36.  
  37.  
  38.  
  39. <<<<<<<<<<<<<SECOND OUT OF TWO THAT NEED HELP. THIS IS FOR PLANAR RIFT SPAWNING.>>>>>>>>>>>>>
  40. require 'pack'
  41. require 'lists'
  42.  
  43. windower.register_event('outgoing chunk',function(id,org)
  44. if id == 0x5B then
  45. local name = (windower.ffxi.get_mob_by_id(org:unpack('I',5)) or {}).name
  46. if L{'Planar Rift'}:contains(name) then
  47. local outstr = org:sub(1,8)
  48. local choice = org:unpack('I',9)
  49. if choice == 0 or choice == 0x40000000 then
  50. return outstr..string.char(2,0,5,0)..org:sub(13) -- trying to get Planar rift to instantly pop my mob using the 5 void clusters I traded it previously. The menu goes as follows: Nothing/Initiate Voidwatch Operation/etc. (picking the second option: Initiate VW operation) --> Yes, use with void clusters/other options below this (picking first option: Yes, use with void clusters) --> None/One/Two/Three/Four/Five (picking Five, the sixth option). With these selections in game it pops the mob. End comment.
  51. end
  52. end
  53. end
  54. end)
Add Comment
Please, Sign In to add comment