|
Lua Addon Ideas
By drakefs 2024-04-21 04:01:42
I know that this is late but
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.
(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
Game: FFXI
Posts: 441
By Asura.Dexprozius 2024-04-21 09:40:19
What a legend! Thank you, cant wait to play with it tomorrow when I can get on.
[+]
サーバ: Fenrir
Game: FFXI
Posts: 181
By Fenrir.Positron 2024-04-21 14:56:34
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
サーバ: Bismarck
Game: FFXI
Posts: 694
By Bismarck.Xurion 2024-04-22 01:23:41
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.
By Dodik 2024-04-22 08:26:18
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('%d/%dXP %sMerits XP/hr:%.1fk %sJP CP/hr:%.1fk %d/%dEP EP/hr:%.1fk ML:%d',xp.current,xp.tnl,max_color('%5.2f':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('%6.2f':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
Game: FFXI
Posts: 181
By Fenrir.Positron 2024-04-28 16:11:49
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
サーバ: Carbuncle
Game: FFXI
Posts: 3919
By Carbuncle.Nynja 2024-05-02 11:05:48
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.
By Pantafernando 2024-05-02 11:16:33
Pull a request
Carbuncle.Nynja
サーバ: Carbuncle
Game: FFXI
Posts: 3919
By Carbuncle.Nynja 2024-05-02 11:29:25
By IGDC 2024-05-02 12:26:52
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
Game: FFXI
Posts: 181
By Fenrir.Positron 2024-05-02 13:41:07
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
サーバ: Carbuncle
Game: FFXI
Posts: 3919
By Carbuncle.Nynja 2024-05-02 15:24:51
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
Game: FFXI
Posts: 181
By Fenrir.Positron 2024-05-03 00:05:36
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.
By IGDC 2024-05-03 07:10:20
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
サーバ: Cerberus
Game: FFXI
Posts: 91
By Cerberus.Echohawk 2024-05-03 07:13:46
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
サーバ: Cerberus
Game: FFXI
Posts: 91
By Cerberus.Echohawk 2024-05-03 07:13:50
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?
VIP
サーバ: Fenrir
Game: FFXI
Posts: 719
By Fenrir.Niflheim 2024-05-03 09:08:31
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
[+]
By IGDC 2024-05-03 13:51:10
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!
[+]
Bismarck.Snprphnx
サーバ: Bismarck
Game: FFXI
Posts: 2707
By Bismarck.Snprphnx 2024-05-04 14:16:58
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.
Shiva.Thorny
サーバ: Shiva
Game: FFXI
Posts: 2801
By Shiva.Thorny 2024-05-05 09:27:59
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
Game: FFXI
Posts: 155
By Asura.Sensarity 2024-05-05 16:37:22
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
サーバ: Carbuncle
Game: FFXI
Posts: 3919
By Carbuncle.Nynja 2024-05-05 16:57:26
If you were truly so inclined to dump conquest pts, you could go old school and make a huge windower setkey script.
Quetzalcoatl.Khajit
サーバ: Quetzalcoatl
Game: FFXI
Posts: 440
By Quetzalcoatl.Khajit 2024-05-13 15:33:47
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.
By Shichishito 2024-05-14 14:02:34
something like a bazaar blacklist for those who try to sell singles for stack prices.
Necro Bump Detected!
[91 days between previous and next post]
By Shawtylo 2024-08-14 00:00:59
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
サーバ: Asura
Game: FFXI
Posts: 1656
By Asura.Chiaia 2024-08-14 01:07:00
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.
[+]
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.
|
|