Lua Addon Ideas

言語: JP EN DE FR
2010-06-21
New Items
users online
フォーラム » Windower » General » Lua Addon Ideas
Lua Addon Ideas
First Page 2 3 ... 30 31
 Ragnarok.Shaedhen
Offline
サーバ: Ragnarok
Game: FFXI
user: Shadowwww
Posts: 22
By Ragnarok.Shaedhen 2024-08-14 06:19:44  
Asura.Sensarity said: »
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.
Offline
Posts: 132
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
Offline
サーバ: Asura
Game: FFXI
user: Yankke23
Posts: 58
By Asura.Zihi 2024-08-14 10:31:49  
LightningHelix said: »
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
Offline
サーバ: Carbuncle
Game: FFXI
user: NynJa
Posts: 3793
By Carbuncle.Nynja 2024-08-14 11:41:10  
LightningHelix said: »
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
Offline
サーバ: Ragnarok
Game: FFXI
user: Shadowwww
Posts: 22
By Ragnarok.Shaedhen 2024-08-16 03:01:23  
LightningHelix said: »
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
Offline
サーバ: Sylph
Game: FFXI
user: zsky
Posts: 72
By Sylph.Pve 2024-08-16 10:56:06  
Asura.Chiaia said: »
Shawtylo said: »
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?
Offline
Posts: 199
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
Offline
サーバ: Shiva
Game: FFXI
user: Rairin
Posts: 2746
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.
[+]
Offline
Posts: 199
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
Offline
サーバ: Shiva
Game: FFXI
user: Rairin
Posts: 2746
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.
[+]
Offline
Posts: 199
By Kaffy 2024-08-20 07:26:29  
Kudos, that is greatly appreciated, and fast too. Thank you!
 Shiva.Thorny
Offline
サーバ: Shiva
Game: FFXI
user: Rairin
Posts: 2746
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
Offline
サーバ: Sylph
Game: FFXI
user: zsky
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
Offline
サーバ: Lakshmi
Game: FFXI
user: Arde
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
Offline
サーバ: Sylph
Game: FFXI
user: zsky
Posts: 72
By Sylph.Pve 2024-08-20 10:18:15  
Lakshmi.Narces said: »
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
Offline
サーバ: Lakshmi
Game: FFXI
user: Arde
Posts: 2
By Lakshmi.Narces 2024-08-20 10:58:43  
Thank you, I have it sorted now.
Offline
Posts: 18
By Rankyaku 2024-08-20 15:38:18  
Be sweet to have an addon that automatically sets monthly quests
 Cerberus.Echohawk
Offline
サーバ: Cerberus
Game: FFXI
user: echohawk
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
Offline
サーバ: Carbuncle
Game: FFXI
user: NynJa
Posts: 3793
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
necroskull Necro Bump Detected! [58 days between previous and next post]
 Bismarck.Drakelth
Offline
サーバ: Bismarck
Game: FFXI
user: drakelth
Posts: 734
By Bismarck.Drakelth 2024-10-23 00:00:26  
A Gali tracker would be really nice
[+]
Offline
Posts: 679
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
Offline
サーバ: Carbuncle
Game: FFXI
user: NynJa
Posts: 3793
By Carbuncle.Nynja 2024-10-23 08:15:10  
Drayco said: »
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?
[+]
Offline
Posts: 679
By Drayco 2024-10-23 08:22:36  
Carbuncle.Nynja said: »
Drayco said: »
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!
First Page 2 3 ... 30 31
Log in to post.