Automated Lockstyle Addon?

Language: JP EN DE FR
users online
Forum » Windower » General » Automated lockstyle addon?
Automated lockstyle addon?
 Phoenix.Capuchin
Offline
Server: Phoenix
Game: FFXI
user: Anza
Posts: 3,742
By Phoenix.Capuchin 2021-08-30 15:20:56
Link | Quote | Reply
 
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
Server: Fenrir
Game: FFXI
user: Pirinolon
Posts: 75
By Fenrir.Pirinolon 2021-08-30 16:04:09
Link | Quote | Reply
 
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
Server: Leviathan
Game: FFXI
user: Boposhopo
Posts: 229
By Leviathan.Boposhopo 2021-08-30 16:26:02
Link | Quote | Reply
 
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.
 
Offline
Posts: 0
By 2021-08-30 16:44:07
 Undelete | Edit  | Link | Quote | Reply
 
Post deleted by User.
necroskull Necro Bump Detected! [78 days between previous and next post]
 Quetzalcoatl.Khajit
Offline
Server: Quetzalcoatl
Game: FFXI
user: Khajit
Posts: 446
By Quetzalcoatl.Khajit 2021-11-16 11:12:41
Link | Quote | Reply
 
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
Log in to post.