|
|
LimbusHelper - Find the 5000 unit chest
Bahamut.Kaius
Server: Bahamut
Game: FFXI
Posts: 52
By Bahamut.Kaius 2026-04-04 23:50:25
My friend Claude and I built this addon so you guys can stop trying to remember which chests you've opened on Apollyon and Temenos and gotten 3000 units from.
This will automatically display a small HUD whenever you enter either zone, and it will display which treasure chests you've opened and received 3000 units from. When you open a chest and get 5000 units, it resets automatically.
No more jotting down notes on paper / notepad / excel or just trying to guess.
https://github.com/djlabbe/LimbusHelper
Asura.Sechs
Server: Asura
Game: FFXI
Posts: 11303
By Asura.Sechs 2026-04-05 04:59:13
Oh my, I'm loving this.
Thanks!
Server: Asura
Game: FFXI
Posts: 102
By Asura.Mcdoogle 2026-04-10 18:15:40
Can you give an option to mark the previous 5k location? Kinda used to doing rotations and wanna keep my spot. Awesome addon and ty!
By Tarage 2026-04-11 00:41:15
I hate to be that guy, but would someone mind checking that this doesn't do any weird packet shenanigans? Just to be safe.
Server: Phoenix
Game: FFXI
Posts: 248
By Phoenix.Enochroot 2026-04-11 00:56:57
It's not requiring the packets lib and looks like it's detecting chest opens by parsing chat log. Chest locations are hard-coded and it looks like it's figuring out which zone/sector you're in by figuring out the distance between you and the opened chest - or something like that. Seems fine.
[+]
By Tarage 2026-04-11 01:46:51
Phoenix.Enochroot said: »It's not requiring the packets lib and looks like it's detecting chest opens by parsing chat log. Chest locations are hard-coded and it looks like it's figuring out which zone/sector you're in by figuring out the distance between you and the opened chest - or something like that. Seems fine. Thanks. I don't know enough about the windower systems to make a good judgement call myself which is why I always ask.
Bahamut.Bojack
Server: Bahamut
Game: FFXI
Posts: 2212
By Bahamut.Bojack 2026-04-12 23:07:33
Been using this and grabbed the Temenos ??? just now. It counted it as me opening the chest in that area. Perhaps because it was in the same zone as the chest. It was even in the same room.
By MelioraXI 2026-04-13 03:01:33
Been using this and grabbed the Temenos ??? just now. It counted it as me opening the chest in that area. Perhaps because it was in the same zone as the chest. It was even in the same room.
Not used the addon myself and just skimmed the code, but my two guesses would be either it's or the game shows similar chat message when you pop the ??? or the hardcoded distance (20 yalms) is to big so it treated it as a chest open.
By YabbaSanjo 2026-04-13 07:02:04
The ??? was at C4's chest, so I'd guess that was why also.
[+]
Asura.Wotasu
Server: Asura
Game: FFXI
Posts: 394
By Asura.Wotasu 2026-04-16 12:12:39
FYI, if you open the Bonus box with capped Units the 5000 dont register for the addon since you only get 3000 Units.
[+]
Carbuncle.Nynja
Server: Carbuncle
Game: FFXI
Posts: 7344
By Carbuncle.Nynja 2026-04-16 14:27:19
Would be better to parse for double shard drop opposed to parsing chat log for 5000. The double shard only hits on HQ box, right?
By Meeble 2026-04-16 14:54:42
Would be better to parse for double shard drop opposed to parsing chat log for 5000. The double shard only hits on HQ box, right?
You could use shard quantity to confirm, but you'd still need the chat log parse or some other second factor(loss of temp items?) to make sure the shards came from a chest and not a trade.
Bahamut.Kaius
Server: Bahamut
Game: FFXI
Posts: 52
By Bahamut.Kaius 2026-04-16 15:46:08
Been using this and grabbed the Temenos ??? just now. It counted it as me opening the chest in that area. Perhaps because it was in the same zone as the chest. It was even in the same room.
Yea, it's just using distance from the chest locations to decide whether you opened a chest or a ???. I think I went like 10 yalms or something thinking that would be 'safe', but I guess the ??? can be pretty close to the chest. I will try shrinking down the distance a bit.
Edit - looking for the shard(s) in chat too is a good idea as well.
And yes the problem with tracking when hitting your cap is sort of a known issue at this point. Easy to use the console commands to track manually for now.
Also everything said about how it works is correct, pretty rudimentary stuff - just reading chat and using x,y,z world coordinates. "If you see the message '3000 units' and you are < 10 yalms from a chest location then you opened a chest" basically is the whole addon.
Bahamut.Kaius
Server: Bahamut
Game: FFXI
Posts: 52
By Bahamut.Kaius 2026-04-16 23:39:17
Github updated with new version:
1. Reduce the detection radius for opening a chest from 20 yalms to 7 yalms.
2. Any amount of units over 3000 is counted as a bonus chest instead of exactly 5000. (eg if you hit the cap when opening a 5000 chest and get 3234 units). I didnt want to start parsing for shards yet (what if inventory is full - you still have an edge case that isnt handled).
If something weird does come up like ??? on top of the chest, or you hit your cap and LH doesnt update correctly just use the //lh commands to adjust as needed.
Enjoy
Asura.Sechs
Server: Asura
Game: FFXI
Posts: 11303
By Asura.Sechs 2026-04-17 04:55:41
Thanks Kaius for the update, very much apreciated.
I think your last mod about "anything above 3k" reduces the amount of situations where it wouldn't count, but not all of them.
For instance, if you are 49800 units / 50k units, getting a rare chest will give you 3200 units instead of 5000.
Previously it wouldn't have counted, with your new change it will count as rare chest.
But if you have 50k/50k units, then the rare chest will give you exactly 3k (which is the same as a "normal" chest).
Your addon wouldn't recognize it as a rare chest.
To be fair I'm not sure what else one could use to recognize it because the chat message is the same for normal and rare chests. The only difference is the amount you get (and the number of drops you get).
Would be curious to see if someone can come up with a solution because I can't think of any.
Unless there's different packet IDs in the chat message, then you could parse that I suppose.
Would need to ask on the Windower Support discord though.
Bahamut.Kaius
Server: Bahamut
Game: FFXI
Posts: 52
By Bahamut.Kaius 2026-04-17 15:29:42
Yea, exactly Sechs, it's still possible to get exactly 3000 when you get the bonus chest, or less than 3000 because you're hitting a cap when opening either chest. Either way just by looking at the "You get xxx units" message we can't tell if it was the bonus chest. The idea of looking at the rest of the contents of the chest could work, I just didn't want to go that far yet. Very easy to manually update your tracking if you happen to run into this tho.
Carbuncle.Nynja
Server: Carbuncle
Game: FFXI
Posts: 7344
By Carbuncle.Nynja 2026-04-17 15:46:54
You cant get less than 3000. You are raising your cap by 3000 when you open the box, unless there is a hard cap on total units I am unaware of.
You probably hit a ??? and got less than 3000 and thats your memory of getting less than 3000.
Asura.Sechs
Server: Asura
Game: FFXI
Posts: 11303
By Asura.Sechs 2026-04-17 16:52:08
Was about to say! But yeah, exactly what Nynja wrote.
Carbuncle.Nynja
Server: Carbuncle
Game: FFXI
Posts: 7344
By Carbuncle.Nynja 2026-04-17 18:16:13
anyways, on my poorly coded limbushelper (that works and does exactly what I need to), I added a large warning that pops up when you gain units and you're near the a set threshold. ie: anytime someone gains units and theyre <10k from cap, a message will pop up on their screen for 20 seconds stating so. So next time I port to lobby, I can upgrade an accessory to burn units and never have to worry about wasting any.
Bahamut.Kaius
Server: Bahamut
Game: FFXI
Posts: 52
By Bahamut.Kaius 2026-04-18 21:37:02
You cant get less than 3000. You are raising your cap by 3000 when you open the box, unless there is a hard cap on total units I am unaware of.
You probably hit a ??? and got less than 3000 and thats your memory of getting less than 3000.
Ahhh indeed, excellent. Well then I think the only scenario not covered now is what you said, you are fully capped on units and open a 5k chest.
Bahamut.Kaius
Server: Bahamut
Game: FFXI
Posts: 52
By Bahamut.Kaius 2026-04-18 21:41:12
anyways, on my poorly coded limbushelper (that works and does exactly what I need to), I added a large warning that pops up when you gain units and you're near the a set threshold. ie: anytime someone gains units and theyre <10k from cap, a message will pop up on their screen for 20 seconds stating so. So next time I port to lobby, I can upgrade an accessory to burn units and never have to worry about wasting any.
Is there a way to get the player's cap / limit from in the lua? Or youre saying the user has to manually set the limit they want checked?
Asura.Sechs
Server: Asura
Game: FFXI
Posts: 11303
By Asura.Sechs 2026-04-19 03:02:48
If I were you I would inquire in the Support Channel on the Windower Discord server.
Some of the people there can help you see if the chat message packet ID is exactly the same for both messages (the 3k one and the 5k one), pretty confident it is exactly the same ID and there's nothing different between the 2 messages other than the "value" if the var holding the number of Units you get.
There might be some other factor you can use to discriminate there from IDs and not from simple chat message parsing.
I doubt there is, but it's worth a shot asking there!
The only thing I can think of is the content of that variable inside the "You receive XXX units from the chest". Does the server send the client the full value (i.e. 5k) and then the client displays only the amount you can "hold"? (which is gonna be a value between 3k and 5k according to how close you are to the cap).
If that's so, then you could totally catch the real value from packets and discriminate wether it's a 3k one or a 5k one.
If instead the amount you see in the chat is also the amount the server sends to you, then I'm afraid we're *** and there's no solution :-D
By MelioraXI 2026-04-19 05:15:36
anyways, on my poorly coded limbushelper (that works and does exactly what I need to), I added a large warning that pops up when you gain units and you're near the a set threshold. ie: anytime someone gains units and theyre <10k from cap, a message will pop up on their screen for 20 seconds stating so. So next time I port to lobby, I can upgrade an accessory to burn units and never have to worry about wasting any.
Is there a way to get the player's cap / limit from in the lua? Or youre saying the user has to manually set the limit they want checked?
I'm not sure about cap without doing some parsing from chat or if that data is in some packets. You can however get your current via the currency packets, in 0x118 and 0x115, look at Apollyon Units and Temenos Units.
A simple and dirty way is just parse the chatlog for /yourmaxValue and use that as a anchor point but ideally if there is a packet containing it's safer from a program perspective.
Bahamut.Kaius
Server: Bahamut
Game: FFXI
Posts: 52
By Bahamut.Kaius 2026-04-21 18:57:16
Cool thanks for some good ideas and info guys. I was also thinking of just doing something very simple like allowing user to set their cap manually with a // command. Then addon could increment the cap each time a chest is opened since its already detecting chest opens. Should only have to set your cap manually once and then be good unless/until you open a chest without addon running or lose your addon config.
edit: Oh yea, totally didnt register that the max units appears in the chat, and I could just parse that too.
Then with that, could add something to the HUD to just show current units / maximum units.
Asura.Sechs
Server: Asura
Game: FFXI
Posts: 11303
By Asura.Sechs 2026-04-22 04:06:06
If you do that, the only problem remaining is this very specific situation:
You are exactly at the cap before opening the chest, the message will display "3k units" obtained, wether it's a 5k chest or a 3k chest.
I think the Chat PacketID is the same, the only difference is the content of the message, and if I'm right there is no way you could understand if what you just got in the chat was a "real" 3k chest, or a 5k one displayed as 3k because you were at the cap.
That's why I suggested to discuss it on the #Support Channel in the Windower Discord, those guys might be able to think of something that I can't.
[+]
Carbuncle.Maletaru
Server: Carbuncle
Game: FFXI
Posts: 4179
By Carbuncle.Maletaru 2026-04-22 04:18:04
I know it's a lot to ask of the user who's already too lazy to create a 2 character txt file to track their limbus results, but...
The user could just type //lh 3 for a 3k, //lh 5 for a 5k, and you wouldn't have to *** with any of this.
Open the chest, count the shards, enter one command.
My friend Claude and I built this addon so you guys can stop trying to remember which chests you've opened on Apollyon and Temenos and gotten 3000 units from.
This will automatically display a small HUD whenever you enter either zone, and it will display which treasure chests you've opened and received 3000 units from. When you open a chest and get 5000 units, it resets automatically.
No more jotting down notes on paper / notepad / excel or just trying to guess.
https://github.com/djlabbe/LimbusHelper
|
|