Automated Lockstyle Addon?

Eorzea Time
 
 
 
言語: JP EN FR DE
日本語版のFFXIVPRO利用したい場合は、上記の"JP"を設定して、又はjp.ffxivpro.comを直接に利用してもいいです
users online
フォーラム » Windower » General » Automated lockstyle addon?
Automated lockstyle addon?
 Phoenix.Capuchin
Offline
サーバ: Phoenix
Game: FFXI
user: Anza
Posts: 3475
By Phoenix.Capuchin 2021-08-30 15:20:56  
Curious if this exists...

I love Banggugyangu's macrochanger addon, which switches to a defined macro book when you change jobs. Wondering if there is anything similar that will change into a predefined equipset, because I like to use job-specific /lockstyle sets for all of my jobs. Anybody know of something like that?
 Fenrir.Pirinolon
Offline
サーバ: Fenrir
Game: FFXI
user: Pirinolon
Posts: 75
By Fenrir.Pirinolon 2021-08-30 16:04:09  
Selindrile's LUAs have that function integrated


state.AutoLockstyle = M(true, 'AutoLockstyle Mode') --Set this to false if you don't want gearswap to automatically lockstyle on load and weapon change.


i dont know how to properly use the function thogh as i dont like it, i set it to "false"
 Leviathan.Boposhopo
Offline
サーバ: Leviathan
Game: FFXI
user: Boposhopo
Posts: 229
By Leviathan.Boposhopo 2021-08-30 16:26:02  
send_command('wait 6;input /lockstyleset 2')

That is at the top under the function job_setup() section of all my luas, just change the number to w/e lockstyle you want and it locks it when it loads your gearswap.
 Bahamut.Shozokui
Offline
サーバ: Bahamut
Game: FFXI
user: Shozokui
Posts: 460
By Bahamut.Shozokui 2021-08-30 16:44:07  
If you are using GearSwap, the best place to put this is in there.

If you're somewhat versed in lua you can find my implementations here. Should be pretty easy to transplant into any other profile that doesn't already have the functionality.
necroskull Necro Bump Detected! [78 days between previous and next post]
 Quetzalcoatl.Khajit
Offline
サーバ: Quetzalcoatl
Game: FFXI
user: Khajit
Posts: 413
By Quetzalcoatl.Khajit 2021-11-16 11:12:41  
A bit late of me to respond, but this is the code I use in my gearswaps.
It mostly only works with mote based ones, so I need to figure out how to transfer funtionality to my other gearswaps, but it works well enough on the jobs it can.
Code
    RandomLockstyleGenerator = 'true'
	    -- List of Equipment Sets created for Random Lockstyle Generator
    -- (If you want to have the same Lockstyle every time, reduce the list to a single Equipset #)
    random_lockstyle_list = {2,3,4,7,8,9,10,11,12,13,14,17,19,20,22,23,24,27}
	-- Random Lockstyle generator.
    if RandomLockstyleGenerator == 'true' then
        local randomLockstyle = random_lockstyle_list[math.random(1, #random_lockstyle_list)]
        send_command('@wait 5;input /lockstyleset '.. randomLockstyle)
    end