|
Lua Addon Ideas
By Nyarlko 2018-06-23 18:33:41
I actually managed to finish my addon. \o/ Had to use some dirty/ugly methods since I don't understand yet how to properly implement cleaner code, but everything actually works perfectly. :D
EasyNuke, readme contents: EasyNuke provides universal commands for casting single target and area of effect BLM and GEO nukes.
Commands:
element #
* Changes current element mode to #.
** EX: //ez element ice <<<< Sets mode to ice.
** Macro usage: /con ez element #
** Valid arguments: Fire, Wind, Thunder, Light, Ice, Water, Earth, Dark, Drain, Aspir, Absorb
*** Drain and Aspir Mode: Aspir, Aspir II, Aspir III, Drain, Drain II, Drain III
*** Absorb Mode: Absorb-Acc, Absorb-TP, Absorb-Attri, Absorb-STR, Absorb-DEX, Absorb-VIT, Absorb-AGI, Absorb-INT, Absorb-MND, Absorb-CHR
*** EX: //ez element absorb >>> //ez boom 4 <<<< Casts Absorb-STR
cycle
* Cycles through element modes in the following order: Fire, Wind, Thunder, Light, Ice, Water, Earth, Dark
** EX: //ez cycle <<<< If you were in Light mode, then you will change to Ice mode.
** Macro usage: /con ez cycle
cycleback
* Same as "cycle", but goes in right-to-left order.
** EX: //ez cycleback <<<< If you were in Light mode, then you will change to Thunder mode.
** Macro usage: /con ez cycleback
cycledark
* Cycles through element modes in the following order: Ice, Water, Earth, Dark
** EX: //ez cycle <<<< If you were in Light mode, then you will change to Ice mode.
** Macro usage: /con ez cycle
cyclelight
* Cycles through element modes in the following order: Fire, Wind, Thunder, Light
** EX: //ez cycle <<<< If you were in Light mode, then you will change to Ice mode.
** Macro usage: /con ez cycle
target #
* Changes targeting mode to #. This sets what's between the < > brackets used for targeting in macros.
** EX: //ez target bt <<<< Spells will be cast using <bt>.
*** There are no failsafes for this. Any given argument will be accepted, even if it does not function as a targeting argument.
*** If no argument is given, then will cycle through target modes in the following order: t, bt, stnpc
** Macro usage: /con ez target # OR /con ez target
showcurrent
* Echoes the current elemental and targeting modes in the chat log.
** EX: //ez showcurrent
** Macro usage: /con ez showcurrent
boom #
* Casts a single target tier# nuke of the current element, and using the current targeting mode.
** EX: //ez boom 4 <<<< If in "fire" mode, and mode is "t", will cast Fire IV on your current target.
** Macro usage: /con ez boom #
boomga #
* Casts an area of effect nuke of tier#. BLM nukes are 1-4, GEO's -ra line is 5-7.
** EX: //ez boomga 4 <<<< If in "ice" mode, and mode is "t", will cast Blizzaja on your current target.
** Macro usage: /con ez boomga #
Works like a charm now, especially when working in concert with my homebrew BLM include which handles spell degradation. I can now control all nuking behavior from ~7x macros total. (That covers T1-T6, AOEs, and changing element and targeting modes.)
Thanks to those who helped steer me in the right direction, especially Xurion. ^^
... Now to learn how to submit it to the windower github @_@;;
[+]
Bismarck.Xurion
サーバ: Bismarck
Game: FFXI
Posts: 694
By Bismarck.Xurion 2018-06-25 07:37:22
Ha nice, good job! Do you have a link to your github?
By Nyarlko 2018-06-25 15:47:01
Ha nice, good job! Do you have a link to your github?
Thanks muchly to Nekseus who walked me thru setting the GitHub up. :3
https://github.com/deadman80/Lua/tree/dev/addons/EasyNuke
Constructive feedback is welcome. I'm not sure I even qualify as an amateur at coding yet, so please be gentle when insulting my code. orz
サーバ: Odin
Game: FFXI
Posts: 3816
By Odin.Drakenv 2018-06-25 15:48:07
Ha nice, good job! Do you have a link to your github?
Thanks muchly to Nekseus who walked me thru setting the GitHub up. :3
https://github.com/deadman80/Lua/tree/dev/addons/EasyNuke
Constructive feedback is welcome. I'm not sure I even qualify as an amateur at coding yet, so please be gentle when insulting my code. orz I insult nothing. Fantastic job the end!
[+]
By Jetackuu 2018-06-26 13:46:10
Just a nte: fairly certain you can't copyright to a name that's derived from trademarked work. Also as it's something in lua, may as well just throw it up under gpl.
By Nyarlko 2018-06-26 13:58:11
Just a nte: fairly certain you can't copyright to a name that's derived from trademarked work. Also as it's something in lua, may as well just throw it up under gpl.
The usage license is the one specifically required for all Windower addons.
[+]
Bismarck.Xurion
サーバ: Bismarck
Game: FFXI
Posts: 694
By Bismarck.Xurion 2018-06-26 17:06:45
Just a nte: fairly certain you can't copyright to a name that's derived from trademarked work. Also as it's something in lua, may as well just throw it up under gpl.
The usage license is the one specifically required for all Windower addons.
This. iirc the Windower folks won't accept it unless it has that specific comment at the top.
By Jetackuu 2018-06-26 17:10:37
Very interesting
Quetzalcoatl.Xilkk
サーバ: Quetzalcoatl
Game: FFXI
Posts: 1419
By Quetzalcoatl.Xilkk 2018-07-06 13:05:38
Not a hard addon to make, because there are several other addons that auto buy/sell and move stuff, but it would be nice to have an addon which replenishes item stock from curio moogle.
I like to keep all my consumables in my mog satchel.
echo drops
remedy
Holy water
Panacea
Food
Ninja Tools
Ammo
etc
It would be nice to just run a //restock
command and have it fill up the previously determined list of consumables stock i want to keep.
Example: I like to keep 2 stacks of Holy Water, 1 stack of Remedy, 2 stacks of Echo Drops, 1 stack of each of 3 types of food.
I'm running by curio, and I don't stop to check inventory cuz I'm getting to my event after finishing last one. I don't want to stop and count how much of each to buy.
but if I have those amounts in my setup file, and the location designated as 'Satchel'
the restock command buys 5 akamochi, 12 Holy Waters, 7 Remedy, 1 Vile Elixer, 2 Bream Sushi...
and puts it all in my Satchel.
I really like the way the temps addon does this for reisenjima temp items. Having one for General items would be rather nice.
サーバ: Ragnarok
Game: FFXI
Posts: 91
By Ragnarok.Neyochimaru 2018-07-15 20:20:00
An addon that takes a single command and uses whatever -na spell is required on the target - saving a ***load of macro space.
e.g. It checks target and sees they have paralyze, so it uses paralyna, etc. Guessing it would need to prioritise to remove certain debuffs based on the job they are. For example, a mage's order would be:
1. Silena
2. Stona
3. Paralyna
4. ...etc
And it would be different from other jobs. I'm gonna look and see if the debuff list of your target is easily available.
Afaik you can only directly access main party members via incoming 0x076 packets, which is sent every time buffs change for any member. If you multi-box it shouldn't be difficult to write something to track between boxes even if those characters aren't in the same party. Furthering that, you could exchange buff tables between them if you park each of your characters in separate parties, giving more alliance coverage (so if your WHM mule is in party 1 and you're playing WAR in party 2, WHM could still have full knowledge of both party 1 and party 2)
the addon STNA already does it between multi-boxes, but I was hoping for something for just the single character player
Let me get this straight. You want somethin that would send command to a mule to heal debuffs when you recieve them automatically ya?
I wrote some stuff into my blu gearswap that catches debuffs based on buffid. Gain triggers a send command to all mules for doom, and certain ones for other debuffs. Then on loss lets me know on screen. Priority is determined by order of listings in gearswap.
I mean, it could be made into an add-on I guess. But I'm a noob at coding and wouldn't even know where to begin.
By Tomlaps 2018-08-03 04:04:57
Would it be possible to change job in mog garden, and pair organizer with another new .lua addon to trade in/out stuffs to porter moggle slips?
Those AF/relic reforge killed my inventory !!
and probably empy stuffs incoming...
Thanks.
Bahamut.Dannyl
サーバ: Bahamut
Game: FFXI
Posts: 1550
By Bahamut.Dannyl 2018-08-15 07:34:58
Is there a lua that unlocks survival books similar to how there's a Homepoint lua that allows you to teleport without previously touching them?
[+]
Quetzalcoatl.Xilkk
サーバ: Quetzalcoatl
Game: FFXI
Posts: 1419
By Quetzalcoatl.Xilkk 2018-08-28 09:36:53
locks survival books similar to how there's a Homepoint lua that allows you to teleport without previously touching them? yes
SurvivalGuide was made by same person who made Homepoint and you can find it in the same place.
[+]
By DaneBlood 2018-08-28 12:29:35
//Defrag
Moves split stacks around so they combine to full stack and save inventory.
//Defrag storage
Moves split stacks around so they combine to full stack and save inventory.
Moves storage items to inventory
- seals/crest
- crystal cluster
- chapters
- skirmish stones
- fern tuape/pel stones
- Alexandrite
- Salvage plans
[+]
Ragnarok.Martel
サーバ: Ragnarok
Game: FFXI
Posts: 2954
By Ragnarok.Martel 2018-08-28 12:43:43
I'd like a similar feature for findall. Something that searches for multiple incomplete stacks of items across all characters/mules inventories, and tells you what and where they are. Then you'd find out you have 4 partial stacks of whatever across multiple characters. <,<;;
[+]
Bismarck.Faelar
サーバ: Bismarck
Game: FFXI
Posts: 4108
By Bismarck.Faelar 2018-08-28 12:55:03
An addon that I configure to display any currency I choose on-screen so I don't have to stop and look it up in the menus every time.
[+]
サーバ: Asura
Game: FFXI
Posts: 1544
By Asura.Vienner 2018-09-09 06:02:54
An addon that keeps track of all gil on all characters.
Bismarck.Xurion
サーバ: Bismarck
Game: FFXI
Posts: 694
By Bismarck.Xurion 2018-09-12 05:43:40
An addon that keeps track of all gil on all characters. Ask and you shall receive.
https://github.com/xurion/ffxi-gil-ledger
Asura.Suteru
サーバ: Asura
Game: FFXI
Posts: 508
By Asura.Suteru 2018-09-12 05:56:55
I made a quick addon to detect whether the ship you're on has a Pirate attack or not. Useful for if you're afk/not paying attention when the zone loads.
https://github.com/KitF/yarr
Bahamut.Ivebian
サーバ: Bahamut
Game: FFXI
Posts: 39
By Bahamut.Ivebian 2018-09-12 06:48:02
AssistMe
Findall does track gil, the command just doesn't work
Necro Bump Detected!
[179 days between previous and next post]
サーバ: Ragnarok
Game: FFXI
Posts: 18
By Ragnarok.Blackcoffee 2019-03-10 13:56:30
Is there any addon like temps to buy KI from gobbie and warp to quetz for domain invasion?
Kinda in the same situation, is there any addon like superwarp to move between nodes in reisinjima? Just trying to cut down on menu time multiboxing.
サーバ: Leviathan
Game: FFXI
Posts: 6052
By Leviathan.Comeatmebro 2019-03-10 14:00:39
Ragnarok.Blackcoffee said: »I can almost bot my beads in domain invasion, just missing all the hardest parts. Anyone got them? Pretty sure there was a crappy keypress lua floating around to bot quetz. Haven't used it so not sure how well it works, and didn't save a copy, but someone prolly has it.
サーバ: Asura
Game: FFXI
Posts: 25
By Asura.Azzariah 2019-03-10 14:01:04
Ragnarok.Blackcoffee said: »Is there any addon like temps to buy KI from gobbie and warp to quetz for domain invasion?
Kinda in the same situation, is there any addon like superwarp to move between nodes in reisinjima? Just trying to cut down on menu time multiboxing.
For portal hopping Your text to link here...
サーバ: Ragnarok
Game: FFXI
Posts: 18
By Ragnarok.Blackcoffee 2019-03-10 14:56:24
Nice! Thanks for the escha port. That'll help a ton.
Just trying to set something up I can use the send addon with, the less tabbing between screens the better.
By Zyla 2019-03-20 05:13:09
Being that guildwork is pretty much a lost project at this point would it be possible to make an add-on like the shout feature it had?
Would really like to see shouts outside of towns so I could see possible PUGs for events while I'm out and about doing solo stuff.
Maybe some of the other guildwork functions like the bazaar one as well.
Bismarck.Xurion
サーバ: Bismarck
Game: FFXI
Posts: 694
By Bismarck.Xurion 2019-03-20 12:51:46
The issue with Lua is it's open source and easily exploitable without a layer of authentication. An addon that makes a request to a server could be very quickly backwards engineered to send deliberately incorrect data.
Guildwork had a DLL and it also authenticated with your GW account, so manipulating it was a lot more difficult (I won't say impossible).
Technically speaking, an addon that used a hosted service similar to Guildwork with authentication and data collection etc. would be possible. The user session would need to have auto expiry (not sure if GW had that) and need to refresh the session on game login.
The costs of this would not just be developer time, but the service would have ongoing hosting costs. Also the host cost can increase depending on how many users sign up to it. GW covered these costs (I assume) with their premium account service.
Necro Bump Detected!
[46 days between previous and next post]
サーバ: Asura
Game: FFXI
Posts: 583
By Asura.Meliorah 2019-05-05 23:40:13
Would it be possible to create an addon that would hide PC names but display NPC?
I feel like this game is much more pleasing to look at without the clutter of nametags floating around everywhere but its an inconvenience to turn off and on depending on content you're doing so you know what exactly you're fighting by name rather identifying the model.
[+]
Necro Bump Detected!
[54 days between previous and next post]
By skyinvader 2019-06-29 01:13:21
Is there an addon to auto pop Unity NMs?
[+]
Hello everyone!
With the exposed action packet come a much larger range of potential Lua addons that windower users can create. Because FFXIAH has a up-voting system and this handy subforum, I think making a thread here for people to post their plugin ideas in (and get voted on) would be useful.
For more information on what is possible with Lua, see the wiki:
https://github.com/Windower/Lua/wiki
Lua can use all the information obtained from Input Interface Functions to react at times defined by Events in ways limited to the Output Interface Functions.
For instance, I am currently writing an addition to battlemod that will allow it to display skillchain damage even when the skillchain is blocked by blinking. I do this using "event_action" for the closing weapon skill, which contains the skillchain information that is sometimes blocked. I then output this to the chat log using the output interface function "add_to_chat" and block the original message (if it would have displayed) using the "event_incoming_text".
When making posts in this thread, don't worry too much about going through the wiki and making sure something is possible before you suggest it. Just throw the idea out there and see how many votes it gets. However, be aware that some things are impossible because your client does not receive the required information.
Please limit yourself to one idea per post so that it is possible to vote on your ideas.
|
|