|
Lua Addon Ideas
Ragnarok.Shaedhen
サーバ: Ragnarok
Game: FFXI
Posts: 22
By Ragnarok.Shaedhen 2024-08-14 06:19:44
There's enough conquest NPCs also that people can share.
Not really, because everyone would go only to Bastok thanks to the musketeer gun which is definitely the very very best option timewise.
(But Windurst is the only place where you can target both a conquest npc and a vendor npc without having to move so this might be interesting for some...)
It limits a lot the number of available npcs. It also limits when you can do it because Bastok is almost always last in tally unless you go somewhere else than Asura.
Two people at the same npc will already mess it up. With 4-5, it would be pretty much completely broken.
By LightningHelix 2024-08-14 08:06:16
Ragnarok.Shaedhen said: »Not really, because everyone would go only to Bastok thanks to the musketeer gun which is definitely the very very best option timewise. Is there an actually accurate list of NPC price by item for conquest items? Like how do you know it's this gun in particular?
Asura.Zihi
サーバ: Asura
Game: FFXI
Posts: 58
By Asura.Zihi 2024-08-14 10:31:49
Ragnarok.Shaedhen said: »Not really, because everyone would go only to Bastok thanks to the musketeer gun which is definitely the very very best option timewise. Is there an actually accurate list of NPC price by item for conquest items? Like how do you know it's this gun in particular? Probably the guy did his leg work and find out is the best only option points/gil wise...?
Carbuncle.Nynja
サーバ: Carbuncle
Game: FFXI
Posts: 3919
By Carbuncle.Nynja 2024-08-14 11:41:10
Ragnarok.Shaedhen said: »Not really, because everyone would go only to Bastok thanks to the musketeer gun which is definitely the very very best option timewise. Is there an actually accurate list of NPC price by item for conquest items? Like how do you know it's this gun in particular? Old wiki usually lists NPC sell value.
Ragnarok.Shaedhen
サーバ: Ragnarok
Game: FFXI
Posts: 22
By Ragnarok.Shaedhen 2024-08-16 03:01:23
Is there an actually accurate list of NPC price by item for conquest items? Like how do you know it's this gun in particular?
Like Nynja said, it's mostly from ffxiclopedia, or just tried to self random things myself (in case some values weren't up to date for some reason).
Bastok is the best one because you can get roughly 1:1 value on a 16k item. For windurst and San d'oria it's a 4k item that give you the 1:1 if I remember right.
Of course you can still get and sell some other things from windy/sandy for less profit per item.
Sylph.Pve
サーバ: Sylph
Game: FFXI
Posts: 72
By Sylph.Pve 2024-08-16 10:56:06
Someone needs to make this already, or update Superwarp, the eagle guy that made Superwarp talked about updating it then a few months ago he just stopped talking about it, I hope he didn't die. Lets get motivated and get this done, multi-boxing Sortie is a pain without something like this, especially in certain places like when the bitzer is in the big rectangular rooms i.e. the vampire room in G. Last I knew he quit FFXI, zone warp packets are easy as pie but getting access and paying to do so seems meh. I can go into how to view/log them using the packetviewer addon if you're willing to put in some work. PM me on here if you'd like to work on it. I'll help you with the code if you get the data points.
Really need this to happen. I'm happy to contribute however I can. GitHub https://github.com/AkadenTK/superwarp/issues/37 has the datasets that eaglejs left off, but I have no clue what work is left to be done?
By Kaffy 2024-08-20 00:03:36
Is it possible to make an addon to hide spells/abilities/trusts from the menu? In particular I would love to not have to scroll through page after page of unused trust and I do use the existing trusts addon, but visually it would be nice not to have to see the ones I'll never use.
[+]
Shiva.Thorny
サーバ: Shiva
Game: FFXI
Posts: 2801
By Shiva.Thorny 2024-08-20 05:28:52
Easiest way to do that would be to alter the incoming spell packet (0x0AA) which has a 128 byte bitfield where each bit corresponds to a spell by ID[spell list goes 0-1023]. If you set the bits for trusts you don't want to see to 0, the client will not be aware you know those trusts and they won't show up. Downside to this method is that if you do decide you want to cast them, the client won't even let you do it by typed command(though gearswap might, depending how their safety checks are set up). You'd need to zone after unloading the addon to get them back unless you're on a job that can force a spell list update ([un]equipping twilight/crep cloak or marsyas or daybreak will do this).
Writing the bitfield in memory is possible too, but writing memory with a windower addon is a pain in the *** and requires building external tools. Ashita can do it much easier. But, if you never need to reenable and it's on autoload, a short addon can do it the way I described very easily.
[+]
By Kaffy 2024-08-20 06:15:43
I know how to find the spell IDs in windower/res/spells.lua (they are 896-1019) but that's as far as I go. I imagine you could make a settings file to enable or hide each spell based on personal preference? This would be amazing if anyone is inclined to help out.
Shiva.Thorny
サーバ: Shiva
Game: FFXI
Posts: 2801
By Shiva.Thorny 2024-08-20 07:21:15
Code
_addon.name = 'SpellBlock'
_addon.author = 'Thorny';
_addon.version = '1.0'
local bit = require('bit');
local res = require('resources');
require('table');
local blockedSpells = T{ 'Naji', 'Curilla', 'Zeid', 'Lion' };
local blockedIds = {};
for i = 0,1023 do
local spell = res.spells[i];
if spell and blockedSpells:contains(spell.en) then
blockedIds[i] = true;
end
end
local function HandleByte(byte, byteIndex)
if byteIndex < 5 then
return byte;
end
local offset = (byteIndex - 5) * 8;
local validBits = 0xFF;
for i = 0,7 do
if blockedIds[offset + i] then
validBits = validBits - math.pow(2, i);
end
end
local initialValue = string.byte(byte);
local newValue = bit.band(initialValue, validBits);
return string.char(newValue);
end
windower.register_event('incoming chunk', function(id, data)
if (id == 0x0AA) then
local byteIndex = 0;
return string.gsub(data, "(.)", function(byte)
byteIndex = byteIndex + 1;
return HandleByte(byte, byteIndex);
end);
end
end);
I didn't add a settings file, but you can alter the blockedSpells table to customize which spells you want to block. Just save the file as 'spellblock.lua' in windower/addons/spellblock.
There's probably a cleaner way to set the appropriate bits, but windower4 doesn't have ffi and I'm not really aware of all possible workarounds for it. This won't do anything wrong, just looks ugly.
[+]
By Kaffy 2024-08-20 07:26:29
Kudos, that is greatly appreciated, and fast too. Thank you!
Shiva.Thorny
サーバ: Shiva
Game: FFXI
Posts: 2801
By Shiva.Thorny 2024-08-20 07:50:11
realized you also asked about abilities, so i added some other categories, renamed it to hideactions, and gave it a git repo:
https://github.com/ThornyFFXI/HideActions
this version works for windower4 and ashita4, you would edit 'hidelist.lua' to change what gets blocked
[+]
Sylph.Pve
サーバ: Sylph
Game: FFXI
Posts: 72
By Sylph.Pve 2024-08-20 09:33:51
It is marketed as "UnlearnDiaga" addon, 20 years too late.
Either way, thanks for the contribution! @Thorny
Lakshmi.Narces
サーバ: Lakshmi
Game: FFXI
Posts: 2
By Lakshmi.Narces 2024-08-20 10:07:20
I'm hoping there is something available and I'm just being dumb. Is there an addon that can attempt to lot items from the treasure pool at regular intervals? i.e. rare item which you can only hold one of at a given time which can be auto-lotted as the existing rare item is crafted/removed from your inventory. Thanks
Sylph.Pve
サーバ: Sylph
Game: FFXI
Posts: 72
By Sylph.Pve 2024-08-20 10:18:15
I'm hoping there is something available and I'm just being dumb. Is there an addon that can attempt to lot items from the treasure pool at regular intervals? i.e. rare item which you can only hold one of at a given time which can be auto-lotted as the existing rare item is crafted/removed from your inventory. Thanks
There isn't a specific addon that will do what you are asking for, persay.
However, for windower, we do have a few addons that will carry out those actions. Look into "craft", "treasury" and "onevent" addons.
That said, this is crossing the line into botting territory and this talk won't be encouraged. I would leave it at that.
[+]
Lakshmi.Narces
サーバ: Lakshmi
Game: FFXI
Posts: 2
By Lakshmi.Narces 2024-08-20 10:58:43
Thank you, I have it sorted now.
By Rankyaku 2024-08-20 15:38:18
Be sweet to have an addon that automatically sets monthly quests
Cerberus.Echohawk
サーバ: Cerberus
Game: FFXI
Posts: 91
By Cerberus.Echohawk 2024-08-20 15:52:35
If you mean records of eminence you can at least get the aman and ambu ones reset by the ROE addon. The monthly for deeds is only "bad" if you really multi box
Carbuncle.Nynja
サーバ: Carbuncle
Game: FFXI
Posts: 3919
By Carbuncle.Nynja 2024-08-26 11:58:11
3779=GobbieBox 3782=CboRace 3785=WoE
3780=GrowHarv 3783=XPChain 3786=Wanted 3788=HighTier
3781=MogGarden 3784=Coalition 3787=Delve
What you do with this information is up to you
Necro Bump Detected!
[58 days between previous and next post]
Bismarck.Drakelth
サーバ: Bismarck
Game: FFXI
Posts: 734
By Bismarck.Drakelth 2024-10-23 00:00:26
A Gali tracker would be really nice
[+]
By Drayco 2024-10-23 05:18:00
I would love to see a Record of Eminence addon. Something to turn on dailys, Ambuscade, AMAN trove, stuff like that.
It would be amazing to just //roe ambuscade to turn on all vol 1 and 2 kills as well as weekly seal objectives.
Or //roe unity Vedrfolnir to activate a unity NM.
Carbuncle.Nynja
サーバ: Carbuncle
Game: FFXI
Posts: 3919
By Carbuncle.Nynja 2024-10-23 08:15:10
It would be amazing to just //roe ambuscade to turn on all vol 1 and 2 kills as well as weekly seal objectives. Is this a joke?
[+]
By Drayco 2024-10-23 08:22:36
It would be amazing to just //roe ambuscade to turn on all vol 1 and 2 kills as well as weekly seal objectives. Is this a joke?
Nope. Legit did not know this existed lol.
Bravo for developing that so quickly. Gonna load it up tonight!
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.
|
|