Back Disables But Changes On Thief

Eorzea Time
 
 
 
Language: JP EN FR DE
users online
Forum » Windower » Support » back disables but changes on thief
back disables but changes on thief
Offline
Posts: 88
By vpmarche 2019-01-12 23:57:59
Link | Quote | Reply
 
back disables but changes on thief, cannot put aptitude mantle +1 or it just keep changing to the gear.
Offline
Posts: 88
By vpmarche 2019-01-14 00:01:22
Link | Quote | Reply
 
theres a part in the lua that establishes the aptitude mantle +1 but for some reason I don't know how to get it to work.
 Asura.Cambion
Offline
Server: Asura
Game: FFXI
user: Cambion
Posts: 415
By Asura.Cambion 2019-01-14 00:18:24
Link | Quote | Reply
 
Window Key + C if its Arislans.
Without proving your lua, we're just taking shots in the dark.
Arislan sometimes only has the disable in one slot, so I've added it to both. More accurately, it's probably defaulted to the Meci...whatever mantle, and you need to put the right one in.

Just post your ***, so we can see it.
Offline
Posts: 88
By vpmarche 2019-01-14 14:33:47
Link | Quote | Reply
 
Code
function get_sets()
    mote_include_version = 2
    
    -- Load and initialize the include file.
    include('Mote-Include.lua')
	include('organizer-lib.lua')
end

-- Setup vars that are user-independent.  state.Buff vars initialized here will automatically be tracked.
function job_setup()
    state.Buff['Sneak Attack'] = buffactive['sneak attack'] or false
    state.Buff['Trick Attack'] = buffactive['trick attack'] or false
    state.Buff['Feint'] = buffactive['feint'] or false
    
    include('Mote-TreasureHunter')

    -- For th_action_check():
    -- JA IDs for actions that always have TH: Provoke, Animated Flourish
    info.default_ja_ids = S{35, 204}
    -- Unblinkable JA IDs for actions that always have TH: Quick/Box/Stutter Step, Desperate/Violent Flourish
    info.default_u_ja_ids = S{201, 202, 203, 205, 207}
end
function job_handle_equipping_gear(playerStatus, eventArgs)
    local lockables = T{'Mecisto. Mantle', 'Shobuhouou Kabuto', 'Aptitude Mantle', 'Nexus Cape', 'Aptitude Mantle +1', 'Warp Ring', 'Vocation Ring', 'Reraise Earring', 'Capacity Ring', 'Trizek Ring', 'Echad Ring', 'Facility Ring', 'Dim. Ring (Holla)', 'Dim. Ring (Dem)', 'Dim. Ring (Mea)'}
    local watch_slots = T{'ear1','ear2','ring1','ring2','back','head'}
 
    for _,v in pairs(watch_slots) do
        if lockables:contains(player.equipment[v]) then
            disable(v)
            if has_charges(player.equipment[v]) and (not is_enchant_ready(player.equipment[v])) then
                enable(v)
            end
        else
            enable(v)
        end
    end
end
Offline
Posts: 88
By vpmarche 2019-01-14 14:34:04
Link | Quote | Reply
 
this is the part about lockables
 Asura.Cambion
Offline
Server: Asura
Game: FFXI
user: Cambion
Posts: 415
By Asura.Cambion 2019-01-14 17:05:13
Link | Quote | Reply
 
I don't know when/if Arislan has altered their base Lua files as your version appears a bit more complex than what I've seen from Arislan, but what I use in Arislan's base is the following:
Code
	send_command('bind @c gs c toggle CP') --WindowKey'C'
	send_command('bind @r gs c toggle Warp') --Windowkey'R'

Code
state.CP = M(false, "Capacity Points Mode")
state.Warp = M(false, "Warp Mode")

Code
	sets.Warp = {ring1="Dim. Ring (Holla)",ring2="Warp Ring"}
    sets.CP = {back="Mecisto. Mantle"}

Code
function customize_idle_set(idleSet)
    if state.CP.current == 'on' then
        equip(sets.CP)
        disable('back')
    elseif state.Warp.current == 'on' then
		equip(sets.Warp)
		disable('ring1')
		disable('ring2')
	else
        enable('ring1')
		enable('ring2')
		enable('back')
    end

    return idleSet
end

function customize_melee_set(meleeSet)
    if state.Buff['Climactic Flourish'] then
		meleeSet = set_combine(meleeSet, sets.buff['Climactic Flourish'])
    end
    if state.ClosedPosition.value == true then
        meleeSet = set_combine(meleeSet, sets.buff['Closed Position'])
    end

	if state.CP.current == 'on' then
        equip(sets.CP)
        disable('back')
    elseif state.Warp.current == 'on' then
		equip(sets.Warp)
		disable('ring1')
		disable('ring2')
	else
        enable('ring1')
		enable('ring2')
		enable('back')
    end

    return meleeSet
end


This is what I currently use within Arislan's files and it has worked. Obviously you can customize it however you need. Yours appears to be a bit more in depth, so I don't know if this will help.
Offline
Posts: 88
By vpmarche 2019-01-14 20:48:56
Link | Quote | Reply
 
I did a -- to the back on engaged set, and added a line of back="Aptitude Mantle +1", and that seemed to work for now.