Lua Addon Ideas

Eorzea Time
 
 
 
Language: JP EN FR DE
users online
Forum » Windower » General » Lua Addon Ideas
Lua Addon Ideas
First Page 2 3 ... 29 30 31
Offline
Posts: 464
By drakefs 2024-04-21 04:01:42
Link | Quote | Reply
 
I know that this is late but

Carbuncle.Nynja said: »
Respectfully,
*** you Drakefs, go gaslight someone else

Signed,
Best functional troll ever



I'll see how clevel works and see what I can do to implement it in pointwatch. Thank you Lili.

Um that reply was to Lili...

At no point where you mentioned in the post.

Unfortunately the FFXIAH forum truncated the image. If you open the image in a new tab, you can what I highlighted, which was that the code was published an hour before I made said post.

So calm down, take a deep breath and keep on playing.

Lili did the best functional troll ever, not you.

Lili said: »
(In fairness, I didn't publish the code until like 1min before posting my post)

Yes I tried to point that out but FFXIAH shut me down...
 Asura.Dexprozius
Offline
Server: Asura
Game: FFXI
Posts: 445
By Asura.Dexprozius 2024-04-21 09:40:19
Link | Quote | Reply
 
Fenrir.Positron said: »
Done. Here's the pull request, no idea when it will go live but you can download the two changed files to get the functionality right now. https://github.com/Windower/Lua/pull/2351

What a legend! Thank you, cant wait to play with it tomorrow when I can get on.
[+]
 Fenrir.Positron
Offline
Server: Fenrir
Game: FFXI
user: Positron
Posts: 181
By Fenrir.Positron 2024-04-21 14:56:34
Link | Quote | Reply
 
Fenrir.Positron said: »
Carbuncle.Nynja said: »
How difficult / annoying would it be for pointwatch to report the true ML? Right now, ep.master_level reports the ML based on your character's information, but under level sync all your character information gets updated to that synced level. Couldnt there just be an array added with all the XP needed and their levels, and cross reference ep.tnml to that array to report the true ML?

Here's a super hacky implementation. This is not a good way to do it, but it technically works. I'm posting this now because I don't expect to have a real update ready in the immediate future, but if you're impatient you can make this change.

https://github.com/posimagi/Lua/commit/470baf2ceff88623aa64fc1c2f5ed22bedb91c2c

One more on pointwatch, since I know a lot of people only care about EP: I've added a format string called "ep" in this version (again, not live in Windower yet, but you can manually download it) which only tracks EP and uses the new true-ML functionality. There's currently no logic for automatically enabling it but you can replace <default> with it in the settings file if you only want to see EP.

https://github.com/Windower/Lua/pull/2350
[+]
 Bismarck.Xurion
Offline
Server: Bismarck
Game: FFXI
user: Xurion
Posts: 694
By Bismarck.Xurion 2024-04-22 01:23:41
Link | Quote | Reply
 
Asura.Dexprozius said: »
Fenrir.Positron said: »
Done. Here's the pull request, no idea when it will go live but you can download the two changed files to get the functionality right now. https://github.com/Windower/Lua/pull/2351

What a legend! Thank you, cant wait to play with it tomorrow when I can get on.

Nice! I use to have mount music blocking in MR, but got rid of it because muzzle was already a thing.
Offline
By Dodik 2024-04-22 08:26:18
Link | Quote | Reply
 
Fenrir.Positron said: »
One more on pointwatch

For anyone looking to use this (note the PR is not merged yet), here is an edited default string that shows true ML at the end.
Code
<default>string.format(&apos;%d/%dXP %sMerits XP/hr:%.1fk %sJP CP/hr:%.1fk %d/%dEP EP/hr:%.1fk ML:%d&apos;,xp.current,xp.tnl,max_color(&apos;%5.2f&apos;:format(math.floor(lp.current/lp.tnm*100)/100+lp.number_of_merits),lp.current/lp.tnm+lp.number_of_merits,lp.maximum_merits,58,147,191),math.floor(xp.rate/100)/10,max_color(&apos;%6.2f&apos;:format(math.floor(cp.current/cp.tnjp*100)/100+cp.number_of_job_points),cp.current/cp.tnjp+cp.number_of_job_points,500,58,147,191),math.floor(cp.rate/100)/10,ep.current,ep.tnml,math.floor(ep.rate/100)/10,ep.true_master_level)</default>


Put in settings.xml replacing the <default> section.

Would also suggest making this the default in pointwatch to always show true ML.
 Fenrir.Positron
Offline
Server: Fenrir
Game: FFXI
user: Positron
Posts: 181
By Fenrir.Positron 2024-04-28 16:11:49
Link | Quote | Reply
 
FYI we have agreed to make ep.master_level show the true ML and ep.synced_master_level show the synced one just in case people still want it. So once the changes do get merged anyone who's currently using ep.master_level should see the true value.
[+]
 Carbuncle.Nynja
Offline
Server: Carbuncle
Game: FFXI
user: NynJa
Posts: 3942
By Carbuncle.Nynja 2024-05-02 11:05:48
Link | Quote | Reply
 
I have no idea how to edit ***on github, but theres an issue at ML33

[395691] = 33,
should be
[395651] = 33,

I've updated the ML page on wiki as well, since thats likely where the typo comes from.
Offline
Posts: 14524
By Pantafernando 2024-05-02 11:16:33
Link | Quote | Reply
 
Pull a request
 Carbuncle.Nynja
Offline
Server: Carbuncle
Game: FFXI
user: NynJa
Posts: 3942
By Carbuncle.Nynja 2024-05-02 11:29:25
Link | Quote | Reply
 
 
Offline
Posts:
By 2024-05-02 11:58:39
 Undelete | Edit  | Link | Quote | Reply
 
Post deleted by User.
Offline
Posts: 169
By IGDC 2024-05-02 12:26:52
Link | Quote | Reply
 
Beau said: »
Can someone make an addon to continuously emote using /dance1 thru /dance4 motion at random.

do you want it to display the text or just the the animation of each dance?

edit:

I was bored and my daughter loves Bluey.
Code
_addon.name = 'Dancemode'
_addon.author = 'Bluey'
_addon.version = '1.0'
_addon.command = 'dancemode'

require('luau')

local dances = {"/dance1 motion", "/dance2 motion", "/dance3 motion", "/dance4 motion"}

local function getRandomDance()
    return dances[math.random(#dances)]
end

local function sendDanceCommand(command)
    windower.send_command('input ' .. command)
end

local function performDances()
    local startTime = os.time()
    local endTime = startTime + 600 -- 10 minutes
    while os.time() < endTime do
        local danceCommand = getRandomDance()
        sendDanceCommand(danceCommand)
        coroutine.sleep(1)
    end
end

windower.register_event('chat message', function(message)
    if string.lower(message) == "dancemode" then
        performDances()
    end
end)


now your friends can tag you to dance anytime they want.
[+]
 Fenrir.Positron
Offline
Server: Fenrir
Game: FFXI
user: Positron
Posts: 181
By Fenrir.Positron 2024-05-02 13:41:07
Link | Quote | Reply
 
Carbuncle.Nynja said: »
I have no idea how to edit ***on github, but theres an issue at ML33

[395691] = 33,
should be
[395651] = 33,

I've updated the ML page on wiki as well, since thats likely where the typo comes from.

I'll put in the fix. BTW you didn't change the delta, which was also wrong, though the cumulative still being correct suggests you are correct about it just being a typo.
 Carbuncle.Nynja
Offline
Server: Carbuncle
Game: FFXI
user: NynJa
Posts: 3942
By Carbuncle.Nynja 2024-05-02 15:24:51
Link | Quote | Reply
 
I was lazy ¯\_(ツ)_/¯


I got curious, but more confirmation that it was merely a typo.
Heres the edit where the 395,691 was added in, along with the cumulative amount. 395,691 + 3,377,803 = 3,773,494, but they listed the correct amount of 3,773,454. Also the delta is based on the non-typo amount.

I was worried that all the cumulative numbers were wrong and I didnt want to go through that effort to fix them all. It was a minor thing that likely wouldnt affect anyone, whereas the incorrect TNML has affected something.
 Fenrir.Positron
Offline
Server: Fenrir
Game: FFXI
user: Positron
Posts: 181
By Fenrir.Positron 2024-05-03 00:05:36
Link | Quote | Reply
 
Yeah, it seems pretty likely. In any case, the fix is already merged into Windower so it will be included the next time Windower updates go live.
 
Offline
Posts:
By 2024-05-03 05:44:24
 Undelete | Edit  | Link | Quote | Reply
 
Post deleted by User.
Offline
Posts: 169
By IGDC 2024-05-03 07:10:20
Link | Quote | Reply
 
Beau said: »
Can't get dancemode to work for me; not sure how to start it after trying multiple things, but love the effort put in!

Aside from AnsweringMachine which I do not currently use nor know if it still works, is there a similar addon for centralizing missed /tells from multiple running instances (instead of going back thru a chat log to see missed tells)?

hey sorry i never tested it. this code works (just sends a random dance from 1-4 whenever you see the word dancemode, in say, tell, yell, etc)

just //lua l dancemode

then anytime that dancemode comes on screen, you do a random dance from 1-4
Code
_addon.name = 'Dancemode'
_addon.author = 'Bluey'
_addon.version = '1.1'

local player_name = windower.ffxi.get_player().name

local function send_random_dance()
    local random_dance = math.random(1, 4)
    windower.send_command('input /dance' .. random_dance .. ' motion')
end

windower.register_event('incoming text', function(original, modified, mode, blocked)
    local sender, message = original:match('(%a+)%s*:%s*(.+)')
    if sender == player_name and message:lower() == "dancemode" then
        send_random_dance()
    end
end)
 Cerberus.Echohawk
Offline
Server: Cerberus
Game: FFXI
user: echohawk
Posts: 91
By Cerberus.Echohawk 2024-05-03 07:13:46
Link | Quote | Reply
 
Lili said: »
Are you *sure* you checked *all* of the most famous repos? Sure sure?

Where are some places outside windower's desktop list that I could find some addons?
 Cerberus.Echohawk
Offline
Server: Cerberus
Game: FFXI
user: echohawk
Posts: 91
By Cerberus.Echohawk 2024-05-03 07:13:50
Link | Quote | Reply
 
Lili said: »
Are you *sure* you checked *all* of the most famous repos? Sure sure?

Where are some places outside windower's desktop list that I could find some addons?
 Fenrir.Niflheim
VIP
Offline
Server: Fenrir
Game: FFXI
user: Tesahade
Posts: 724
By Fenrir.Niflheim 2024-05-03 09:08:31
Link | Quote | Reply
 
IGDC said: »
just sends a random dance from 1-4 whenever you see the word dancemode, in say, tell, yell, etc
I just want every afk bazzar to be running this now, so people can just make the areas in jeuno look like a rave
[+]
Offline
Posts: 169
By IGDC 2024-05-03 13:51:10
Link | Quote | Reply
 
Fenrir.Niflheim said: »
IGDC said: »
just sends a random dance from 1-4 whenever you see the word dancemode, in say, tell, yell, etc
I just want every afk bazzar to be running this now, so people can just make the areas in jeuno look like a rave

that would be epic!
[+]
 
Offline
Posts:
By 2024-05-04 14:07:31
 Undelete | Edit  | Link | Quote | Reply
 
Post deleted by User.
 Bismarck.Snprphnx
Offline
Server: Bismarck
Game: FFXI
user: Snprphnx
Posts: 2707
By Bismarck.Snprphnx 2024-05-04 14:16:58
Link | Quote | Reply
 
Beau said: »
How difficult would it be to make an addon to buy items from a conquest points NPC (like the sparks addon buy feature)? I want it to buy an item like the Musketeer's Gun from Bastok (Bastok has to be in first place) for 16K CP each (NPCs for a bit over 16K).

It’s not. Something like that already exists, for buying and selling Acheron Shield and Prize Powders, and then auto sell them. It’s just a matter of changing the code for the current NPC and item.
 
Offline
Posts:
By 2024-05-04 14:19:58
 Undelete | Edit  | Link | Quote | Reply
 
Post deleted by User.
 Shiva.Thorny
Offline
Server: Shiva
Game: FFXI
user: Rairin
Posts: 2815
By Shiva.Thorny 2024-05-05 09:27:59
Link | Quote | Reply
 
It's not the same as sparks/accolades, because you can only buy one item per interaction(it forcefully kicks you out of the menu). This means you have to stand there for hours spamming the NPC, and since the NPC can only talk to a couple people at a time it's not in anyone's interest to share it. Once there are 3 people spamming it, the NPC is basically inaccessible to anyone else.

I'm sure eventually someone will be stupid enough to give out an addon for it, then it'll get spammed for 6 months until people complain, then it'll get patched like sparks.
[+]
 Asura.Sensarity
Offline
Server: Asura
Game: FFXI
user: Meeeeeep
Posts: 156
By Asura.Sensarity 2024-05-05 16:37:22
Link | Quote | Reply
 
I also would like too see this addon made. Way too many conquest points that I'd like to unload.
There's enough conquest NPCs also that people can share.
[+]
 Carbuncle.Nynja
Offline
Server: Carbuncle
Game: FFXI
user: NynJa
Posts: 3942
By Carbuncle.Nynja 2024-05-05 16:57:26
Link | Quote | Reply
 
If you were truly so inclined to dump conquest pts, you could go old school and make a huge windower setkey script.
 Quetzalcoatl.Khajit
Offline
Server: Quetzalcoatl
Game: FFXI
user: Khajit
Posts: 440
By Quetzalcoatl.Khajit 2024-05-13 15:33:47
Link | Quote | Reply
 
IGDC said: »
Beau said: »
Can someone make an addon to continuously emote using /dance1 thru /dance4 motion at random.

do you want it to display the text or just the the animation of each dance?

edit:

I was bored and my daughter loves Bluey.


now your friends can tag you to dance anytime they want.
Have you considered mixing things up with fireworks and job emote usage. Eg rdm sam or geo emotes. SE disabled hiding the emotes with motion so unfortunately it's a danger to chatlogs if it was something other than a 0.00001% chance of activating.
Offline
By Shichishito 2024-05-14 14:02:34
Link | Quote | Reply
 
something like a bazaar blacklist for those who try to sell singles for stack prices.
necroskull Necro Bump Detected! [91 days between previous and next post]
Offline
Posts: 2
By Shawtylo 2024-08-14 00:00:59
Link | Quote | Reply
 
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.
 Asura.Chiaia
VIP
Offline
Server: Asura
Game: FFXI
user: Demmis
Posts: 1656
By Asura.Chiaia 2024-08-14 01:07:00
Link | Quote | Reply
 
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.
[+]
First Page 2 3 ... 29 30 31