|
|
Vanity - Control your lockstyles
Valefor.Keylesta
Server: Valefor
Game: FFXI
Posts: 239
By Valefor.Keylesta 2025-01-04 22:25:05
Presenting: Vanity
Allows players to automatically set and manage lockstyles based on their current job and location (combat or town zones), plus other advanced conditions. Automatic lockstyle updates upon zoning, job changes, or after lockstyle mode gets disabled. Supports multiple lockstyle sets for the same conditions resulting in a random set chosen from the list.
Download from Github repo
Features
Designate lockstyles per job, per character.
Basic conditions can be modified via in-game commands.
○ Combat
○ Town
New in 3.0 Advanced conditions can be modified via the settings.xml file.
○ Custom Zones
○ Common endgame activities (Dynamis, Odyssey, Omen, Sortie, Vagary)
○ Specific Weapons (Tizona, Armageddon, Duban ,etc.)
○ Weapon Types (Sword, Marksmanship, Shield, etc.)
New in 2.0 Designating multiple lockstyles will allow for a random one to be selected.
Set lockstyle after job change, zoning, and getting disabled by an enemy.
○ Options to disable functionality for each of these individually
○ Options to adjust timing for each.
Necro Bump Detected!
[44 days between previous and next post]
Valefor.Keylesta
Server: Valefor
Game: FFXI
Posts: 239
By Valefor.Keylesta 2025-02-17 22:19:16
Updated to Version 2.0
Overhauled how lockstyles are saved. Instead of a single variable for each job+combat/town combination, now saved as a single string per job that contains both combat and town lockstyles.
Added the ability to designate multiple lockstyles per combat/town. Will choose a lockstyle at random when more than one lockstyle is designated.
Adjusted in-game commands to accomodate being able to save more than one lockstyle for combat/town. This removed the ability to specify which job to adjust combat/town for, commands will now only work on your current job. This was needed to keep the commands relatively simply with the addition of the add and remove sub-commands. You can still adjust all at once inside the Vanity/data/settings.xml file.
Asura.Sechs
Server: Asura
Game: FFXI
Posts: 11542
By Asura.Sechs 2025-02-18 01:28:50
I love this concept so much, thanks for releasing this!
[+]
Valefor.Keylesta
Server: Valefor
Game: FFXI
Posts: 239
By Valefor.Keylesta 2025-02-18 10:23:02
I love this concept so much, thanks for releasing this! Thanks for the comment! I'm glad you like it :D
Valefor.Keylesta
Server: Valefor
Game: FFXI
Posts: 239
By Valefor.Keylesta 2025-02-20 23:03:00
Updated to Version 3.0
Overhauled lockstyle conditions. No longer just Combat and Town.
Added new Zone condition. Will allow you to specify the name of a zone to designate lockstyles for.
Added common endgame activities Dynamis, Odyssey, Omen, Vagary, and Sortie as conditions to make them easier to setup. You can still technically use the Zone condition, but these are easier.
Added new Weapon conditions: main_name, main_skill, sub_name, sub_skill, range_name, and range_skill. Will allow you to designate lockstyles for specific weapons (Tizona, Armageddon, Duban ,etc.) or weapon types (Sword, Marksmanship, Shield, etc.).
Added a priority for which condition lockstyles to equip: Zone > (Dynamis, Odyssey, Omen, Sortie, Vagary) > Main Name > Main Skill > Sub Name > Sub Skill > Range Name > Range Skill > Combat > Town. Will equip based on current condition and which conditions have lockstyles designated, going from highest to lowest priority (Zone being the highest and Town the lowest). The only exception is while in town: Zone will still be prioritized first, then Town immediately after. This allows you to set a single lockstyle (Town) that will then be used for all conditions. This also fixes the "After Disable" lockstyle option from seeming to not work if you have Town lockstyles designated but no Combat lockstyles designated.
Added math.randomseed(os.time()) to ensure better randomization.
Fixed showing "(Chosen at random)" when only one lockstyle but the number is two digits.
Valefor.Keylesta
Server: Valefor
Game: FFXI
Posts: 239
By Valefor.Keylesta 2025-02-25 15:55:51
Updated to Version 3.1
Now with more Multi-boxer friendlierness!
Adjusted calls to save and a few other functions to be multi-box friendly. (Thanks GitHub user Mekaider!)
Adjusted Job Change Delay to use a timestamp instead of a countdown timer. Mostly just because it's cleaner and more reliable.
Fixed After Zone Delay not showing "Off" correctly in the help command if set to 0.
Fixed Mog House in Al Zahbi not being recognized as a "town" zone.
Removed a bunch of basically duplicate variables.
Fixed an issue with using the in-game commands to change disable/job change/zone timing settings which would then delete all per-character lockstyles. This change now makes it so changing those settings with the in-game commands will be saved per-character instead.
Phoenix.Capuchin
Server: Phoenix
Game: FFXI
Posts: 4105
By Phoenix.Capuchin 2025-02-25 16:06:20
Thrilled to have just learned about this. Keylesta, you're a hero - I've been wanting an addon that has this kind of functionality for years. Thank you!!
[+]
Ragnarok.Eotfofyl
Server: Ragnarok
Game: FFXI
Posts: 25
By Ragnarok.Eotfofyl 2025-02-25 18:02:44
[+]
Valefor.Keylesta
Server: Valefor
Game: FFXI
Posts: 239
By Valefor.Keylesta 2025-02-25 18:24:56
Thrilled to have just learned about this. Keylesta, you're a hero - I've been wanting an addon that has this kind of functionality for years. Thank you!! Ragnarok.Eotfofyl said: »Finally! Thank you. Aww shucks, you're welcome! ^^;
Thank you for using it :D
Necro Bump Detected!
[93 days between previous and next post]
Valefor.Keylesta
Server: Valefor
Game: FFXI
Posts: 239
By Valefor.Keylesta 2025-05-29 16:44:22
Updated to Version 4.0
Major version updated since it changes how the lockstyle data is stored. When you update to this new version, you will not need to redo all your lockstyle settings. Upon loading for the first time it will automatically migrate your previous lockstyles over to the new format/file. After that, you can safely delete the old lockstyles table in the settings file, or simply ignore it, it is no longer used.
Overhauled how lockstyle data is saved. No longer saved inside the settings file but instead in it's own data/lockstyles.lua file.
Added ability to specify main/sub and main/range combos by name or skill (ex. sword + sword, sword + shield, sword + gun, dagger + gun). (thanks Xenodeus!)
Necro Bump Detected!
[461 days between previous and next post]
Asura.Sechs
Server: Asura
Game: FFXI
Posts: 11542
By Asura.Sechs 2026-09-02 16:30:20
Keylesta I see in your addon you distinguish between three different situations, please correct me if I'm wrong.
These are situations that can trigger one of the selected lockstyles for the jobs in the list.
Combat: activates when you enter combat on one of the jobs of the list
Town: activates when you enter one of the zones in the "Towns" list, if on a job compiled on the list
Zone: similar to above but for a different, user defined set of zones
Is this correct? Is this the basic logic of your addon?
I wanted to make a slightly different use of it, how would I have to configure it to obtain it?
For the jobs that I compile, I want the related lockstyles to activate when I'm on that job. Regardless of me being in town, in combat or in any specific zone.
Whenever I jump to that specific job, ZANG, activate one of the lockstyles compiled for that job.
That's it.
How do I obtain this? °-°
[+]
Valefor.Keylesta
Server: Valefor
Game: FFXI
Posts: 239
By Valefor.Keylesta 2026-09-03 10:02:42
You are mostly correct yes (the 'combat' activates when you enter a combat zone, not when you enter combat). For your use case, simply set a single lockstyle number and it will set that lockstyle for everything.
The lockstyles.lua file that gets created has a help message at the top that describes various situations/conditions you can use.
Cheers!
[+]
Asura.Sechs
Server: Asura
Game: FFXI
Posts: 11542
By Asura.Sechs 2026-09-03 15:49:26
Keylesta I'm loving this, working wonders with the settings you suggested me.
One thing I want to ask about a potential future version.
Could you add a "Changelock On/Off" option?
Atm, if I have multiple lockstyles defined for the current job, a random one is (rightfully) selected each time I zone.
I would love to have an option to keep the current behaviour if I want to, or to have a different one, where the lockstyle is randomized and applied just once (when you swap to the related job) and that's it. No further changes each time you fulfill the conditions (on zoning, according to your addon's logic)
[+]
Valefor.Keylesta
Server: Valefor
Game: FFXI
Posts: 239
By Valefor.Keylesta 2026-09-03 16:59:41
[+]
Valefor.Keylesta
Server: Valefor
Game: FFXI
Posts: 239
By Valefor.Keylesta 2026-09-03 19:50:44
Updated to Version 4.1
Added `persist_random_selection` option. Every time Vanity attempts to set a lockstyle, if the previous table of lockstyle numbers to choose from is the same, it will reuse the previously selected lockstyle number. (thanks Asura.Sechs!)
[+]
Asura.Sechs
Server: Asura
Game: FFXI
Posts: 11542
By Asura.Sechs 2026-09-04 04:04:57
Omg I'm loving this new change Keylesta!
One thing you might want to notice:
If you have an old settings.xml from previous versions, the new option won't appear in the list.
You can put it there on your own of course but then the readme doesn't tell you how it works (is it true/false? is it on/off? etc.)
I solved it by deleting the xml and letting the addon create a new one.
This way I also got rid of the old List that got migrated into the new separate lua in 4.0.
[+]
By Blazed1979 2026-09-04 07:37:16
can't believe i'm only finding this now. this is great. especially for multi-boxing. 10/10 thank you for this.
[+]
Valefor.Keylesta
Server: Valefor
Game: FFXI
Posts: 239
By Valefor.Keylesta 2026-09-04 10:11:05
One thing you might want to notice:
If you have an old settings.xml from previous versions, the new option won't appear in the list. Good call, fixed. I actually had that functionality in Bars already too but forgot about it.
[+]
Asura.Sechs
Server: Asura
Game: FFXI
Posts: 11542
By Asura.Sechs 2026-09-04 10:47:55
Reporting an error:
Vanity: Lua runtime error: vanity/vanity.lua:269:
attempt to concatenate local 'selected' (a nil value)
Scenario:
I was in Mog House as COR/NIN with Vanity's lockstyle active.
Swapped my subjob to /BLM and lockstyle rightfully cancelled, after a few seconds Vanity presumably tried to reapply the lockstyle again but this error occurred.
Valefor.Keylesta
Server: Valefor
Game: FFXI
Posts: 239
By Valefor.Keylesta 2026-09-04 12:34:03
Updated, give that a shot.
I had it set to reset the previous lockstyle selection on job change, thinking new job = new selection, except forgot that also triggers on sub job change, which borked it when it tried to re-equip the previous lockstyle for the main job.
Presenting: Vanity
Allows players to automatically set and manage lockstyles based on their current job and location (combat or town zones), plus other advanced conditions. Automatic lockstyle updates upon zoning, job changes, or after lockstyle mode gets disabled. Supports multiple lockstyle sets for the same conditions resulting in a random set chosen from the list.
Download from Github repo
Features
Designate lockstyles per job, per character.
Basic conditions can be modified via in-game commands.
○ Combat
○ Town
New in 3.0 Advanced conditions can be modified via the settings.xml file.
○ Custom Zones
○ Common endgame activities (Dynamis, Odyssey, Omen, Sortie, Vagary)
○ Specific Weapons (Tizona, Armageddon, Duban ,etc.)
○ Weapon Types (Sword, Marksmanship, Shield, etc.)
New in 2.0 Designating multiple lockstyles will allow for a random one to be selected.
Set lockstyle after job change, zoning, and getting disabled by an enemy.
○ Options to disable functionality for each of these individually
○ Options to adjust timing for each.
|
|