Gearswap Support Thread

Language: JP EN DE FR
New Items
2023-11-19
users online
Forum » Windower » Support » Gearswap Support Thread
Gearswap Support Thread
First Page 2 3 ... 100 101 102 ... 180 181 182
 Ragnarok.Flippant
Offline
Server: Ragnarok
Game: FFXI
user: Enceladus
Posts: 658
By Ragnarok.Flippant 2016-05-30 22:29:00
Link | Quote | Reply
 
buffactive.whatever returns how many instances of 'whatever' are on you, not potency, so buffactive.haste == 2 works when you have both Geo-Haste and Haste (1 or 2). With just GearSwap, there's no way to differentiate between Haste 1 and Haste 2. You can track it using packet event, but it causes an unexpected problem with lag that I can't seem to resolve.

As for the updating, it's possible that the buffactive table is not yet updated by the time that the buff_change function is called, but testing it myself, it seems fine. Try adding a print statement within the function to check that it is at least calling the function when you expect it to, then you can try to figure out why it might be failing. (Also, you probably want to add Mighty Guard to the list of buffs that call the function.)
[+]
 Bismarck.Speedyjim
Offline
Server: Bismarck
Game: FFXI
user: speedyjim
Posts: 516
By Bismarck.Speedyjim 2016-05-30 22:59:59
Link | Quote | Reply
 
Ragnarok.Flippant said: »
(Also, you probably want to add Mighty Guard to the list of buffs that call the function.)
Like this?
if S{'haste','march','embrava','haste samba','mighty guard'}:contains(buff:lower())
 Quetzalcoatl.Orestes
Offline
Server: Quetzalcoatl
Game: FFXI
user: Orestes78
Posts: 430
By Quetzalcoatl.Orestes 2016-05-30 23:24:50
Link | Quote | Reply
 
edit: i'm slow... Flippant basically said the same thing

Bismarck.Speedyjim said: »
Thanks Orestes and Flippant for your help, it's all working now. Issue was indeed the haste == 2 part.

Edit: Issue appears to be it not auto-updating sets based on haste rules. I have to hit F12 everytime. Fix?

On-the-fly updates are triggered in job_buff_change(). Specifically, this piece of code is responsible.
Code
    if S{'haste','march','embrava','haste samba'}:contains(buff:lower()) then
        determine_haste_group()
        handle_equipping_gear(player.status)
    elseif state.Buff[buff] ~= nil then
        handle_equipping_gear(player.status)
    end


Anytime one of those buffs is gain or lost, your function that modifies CustomMeleeGroups is called. One reason it might not work, is if you were testing with Mighty Guard. (since it's not looking for that buff)

If you want it to function with mighty guard, then you'll need to add it to the list.
Code
    if S{'haste','march','embrava','haste samba', 'mighty guard'}:contains(buff:lower()) then
        determine_haste_group()
        handle_equipping_gear(player.status)
    elseif state.Buff[buff] ~= nil then
        handle_equipping_gear(player.status)
    end


Otherwise, I would (temporarily) add some output to determine_haste_group() so that you know when it's working.
Your function can be refactored to look like this:
Code
function determine_haste_group()
    classes.CustomMeleeGroups:clear()
     
    if ( ( buffactive.embrava and (buffactive.march == 2 or (buffactive.march and buffactive.haste)) ) or
         ( buffactive.march == 2 and buffactive.haste ) or
         ( buffactive['Mighty Guard'] and buffactive.haste )  ) then 
        add_to_chat(8, '-------------Max-Haste Mode Enabled--------------')
        classes.CustomMeleeGroups:append('MaxHaste')
    end
end

I wouldn't consider MG + Haste to be "max haste" but I'm just refactoring the logic, since you were setting the same value in each conditional.
[+]
 Asura.Psylo
Offline
Server: Asura
Game: FFXI
user: psylo
Posts: 446
By Asura.Psylo 2016-05-31 05:32:13
Link | Quote | Reply
 
Any of you have problem with ambuscade cape, i have both atm for my rdm.

i use this for example for the nuke one, i get it from gs export.
Code
gear.elecape={"Sucellos's Cape", augments={'INT+20','Mag. Acc.+20/Mag. Dmg.+20','"Mag.Atk.Bns."+10',}}


but when i call my nuke set from :
Code
sets.midcast['Elemental Magic'] = {
		main="Grioavolr",sub="Niobid Strap",ammo="Pemphredo Tathlum",
		head="Merlinic Hood",neck="Mizu. Kubikazari",ear1="Friomisi Earring",ear2="Strophadic Earring",
		body="Seidr Cotehardie" ,hands="amalric Gages",ring1="Shiva Ring +1",ring2="Shiva Ring +1",
		back=gear.elecape,waist="Yamabuki-no-Obi",legs="Merlinic shalwar",feet="Merlinic Crackows"}


the cape don't swap, any clue ?
 Fenrir.Brimstonefox
Offline
Server: Fenrir
Game: FFXI
user: Brimstone
Posts: 183
By Fenrir.Brimstonefox 2016-05-31 09:49:38
Link | Quote | Reply
 
Is there a way to do a sleep/wait command in lua?
 Quetzalcoatl.Orestes
Offline
Server: Quetzalcoatl
Game: FFXI
user: Orestes78
Posts: 430
By Quetzalcoatl.Orestes 2016-05-31 12:09:53
Link | Quote | Reply
 
Asura.Psylo said: »
Any of you have problem with ambuscade cape, i have both atm for my rdm.

i use this for example for the nuke one, i get it from gs export.
Code
gear.elecape={"Sucellos's Cape", augments={'INT+20','Mag. Acc.+20/Mag. Dmg.+20','"Mag.Atk.Bns."+10',}}


but when i call my nuke set from :
Code
sets.midcast['Elemental Magic'] = {
		main="Grioavolr",sub="Niobid Strap",ammo="Pemphredo Tathlum",
		head="Merlinic Hood",neck="Mizu. Kubikazari",ear1="Friomisi Earring",ear2="Strophadic Earring",
		body="Seidr Cotehardie" ,hands="amalric Gages",ring1="Shiva Ring +1",ring2="Shiva Ring +1",
		back=gear.elecape,waist="Yamabuki-no-Obi",legs="Merlinic shalwar",feet="Merlinic Crackows"}


the cape don't swap, any clue ?

Does your other cape work?
Where are you defining gear.elecape? Also, did you define a gear set for your other cape as well?

You might try //gs debugmode to make sure the gearset used is the one you expect.
 Asura.Kogasho
Offline
Server: Asura
Game: FFXI
user: kogasho
Posts: 50
By Asura.Kogasho 2016-05-31 16:10:51
Link | Quote | Reply
 
Code
sets.engaged = {main="none",sub="none",range="dunna",ammo="none",
        head={ name="Telchine cap", augments={'Accuracy +10','dbl. atk +2',}},neck="Clotharius Torque",ear1="Steelflash Earring",ear2="Bladeborn Earring",
        body="Onca suit",ring1="Rajas ring",ring2="K'ayres ring",back={ name="Nantosuelta's Cape", augments={'STR+20','Accuracy +20','Attack +20','"Dbl. Atk."+10',}},waist="Windbuffet belt +1"}


can anyone tell me why my back dd back cape for geo isn't equipping when its written like this? my geo mab cape works fine but its not reading this one for some reason? 4 augments?
 Asura.Krystela
Offline
Server: Asura
Game: FFXI
Posts: 334
By Asura.Krystela 2016-05-31 16:14:56
Link | Quote | Reply
 
Asura.Psylo said: »
Any of you have problem with ambuscade cape, i have both atm for my rdm.

i use this for example for the nuke one, i get it from gs export.
Code
gear.elecape={"Sucellos's Cape", augments={'INT+20','Mag. Acc.+20/Mag. Dmg.+20','"Mag.Atk.Bns."+10',}}


but when i call my nuke set from :
Code
sets.midcast['Elemental Magic'] = {
		main="Grioavolr",sub="Niobid Strap",ammo="Pemphredo Tathlum",
		head="Merlinic Hood",neck="Mizu. Kubikazari",ear1="Friomisi Earring",ear2="Strophadic Earring",
		body="Seidr Cotehardie" ,hands="amalric Gages",ring1="Shiva Ring +1",ring2="Shiva Ring +1",
		back=gear.elecape,waist="Yamabuki-no-Obi",legs="Merlinic shalwar",feet="Merlinic Crackows"}


the cape don't swap, any clue ?
Asura.Kogasho said: »
Code
sets.engaged = {main="none",sub="none",range="dunna",ammo="none",
        head={ name="Telchine cap", augments={'Accuracy +10','dbl. atk +2',}},neck="Clotharius Torque",ear1="Steelflash Earring",ear2="Bladeborn Earring",
        body="Onca suit",ring1="Rajas ring",ring2="K'ayres ring",back={ name="Nantosuelta's Cape", augments={'STR+20','Accuracy +20','Attack +20','"Dbl. Atk."+10',}},waist="Windbuffet belt +1"}


can anyone tell me why my back dd back cape for geo isn't equipping when its written like this? my geo mab cape works fine but its not reading this one for some reason? 4 augments?
Are both of you doing //gs export and the cape augment writing comes up as you wrote it?
 Asura.Kogasho
Offline
Server: Asura
Game: FFXI
user: kogasho
Posts: 50
By Asura.Kogasho 2016-05-31 16:24:17
Link | Quote | Reply
 
yeah i just //gs export an got the right way it should be written thank you lots an lots!
[+]
 Siren.Bloodlusty
Offline
Server: Siren
Game: FFXI
Posts: 101
By Siren.Bloodlusty 2016-06-01 13:16:55
Link | Quote | Reply
 
Hello. I am brand new to gearswap and am having some issues.

When i load my file it states an error fro unexpected symbol '=' and therefore does not load the file. I have adapted a file that was working prior to changing my gear. Can anyone help me and ultimately show me where my mistake lies

Thanks

sets.Idle = {}
-- Idle/Town Sets --
sets.Idle.Regen = {
ammo="Seeth. Bomblet +1",
head={name="Valorous Mask",augments={'Accuracy+38','Attack+33','Weapon skill damage +3%'}}}
neck="Lissome Necklace",
ear1="Zennaroi Earring",
ear2="Digni. Earring",
body={name="Valorous Mail",augments={'Accuracy+29','Attack+6','"Store TP+4"'}}}
hands={name="Valorous Mitts",augments={'Accuracy+30','"Store TP+7"'}}
ring1="Petrov Ring",
ring2="Rajas Ring",
back={name="Ankou's Mantle",augments={'DEX+20','Accuracy+20','Attack+20','"Store TP+10"'}}}}
waist="Kentarch Belt +1",
legs={name="Odyssean Cuisses",augments={'Accuracy+38','Attack+25','Phys.Dmg.Taken -2%'}}}
feet={name="Valorous Greaves",augments={'Accuracy+37','Attack +38','Crit hit rate +3%'}}})

sets.Idle.Regen.Liberator = set_combine(sets.Idle.Regen,{
main="Liberator"})
sets.Idle.Regen.Ragnarok = set_combine(sets.Idle.Regen,{
main="Ragnarok"})
sets.Idle.Regen.Apocalypse = set_combine(sets.Idle.Regen,{
main="Apocalypse"})
 Ragnarok.Flippant
Offline
Server: Ragnarok
Game: FFXI
user: Enceladus
Posts: 658
By Ragnarok.Flippant 2016-06-01 13:51:30
Link | Quote | Reply
 
You have a ton of extra end-braces in your sets.Idle.Regen set.
Code
sets.Idle.Regen = {
		ammo="Seeth. Bomblet +1",
		head={name="Valorous Mask",augments={'Accuracy+38','Attack+33','Weapon skill damage +3%'}}
		neck="Lissome Necklace",
		ear1="Zennaroi Earring",
		ear2="Digni. Earring",
		body={name="Valorous Mail",augments={'Accuracy+29','Attack+6','"Store TP+4"'}}
		hands={name="Valorous Mitts",augments={'Accuracy+30','"Store TP+7"'}}
		ring1="Petrov Ring",
		ring2="Rajas Ring",
		back={name="Ankou's Mantle",augments={'DEX+20','Accuracy+20','Attack+20','"Store TP+10"'}}
		waist="Kentarch Belt +1",
		legs={name="Odyssean Cuisses",augments={'Accuracy+38','Attack+25','Phys.Dmg.Taken -2%'}}
		feet={name="Valorous Greaves",augments={'Accuracy+37','Attack +38','Crit hit rate +3%'}}
	})
 Siren.Bloodlusty
Offline
Server: Siren
Game: FFXI
Posts: 101
By Siren.Bloodlusty 2016-06-01 13:54:16
Link | Quote | Reply
 
do i need to put a comma at the end of the end brace also?
Offline
Posts: 194
By Gruknor 2016-06-01 14:12:40
Link | Quote | Reply
 
The way Flippant has it typed out should work. If you are still having problems, then keep asking questions.
 Ragnarok.Flippant
Offline
Server: Ragnarok
Game: FFXI
user: Enceladus
Posts: 658
By Ragnarok.Flippant 2016-06-01 14:18:43
Link | Quote | Reply
 
You're right, didn't add the commas. Also had a stray end-parenthesis.
Code
sets.Idle.Regen = {
        ammo="Seeth. Bomblet +1",
        head={name="Valorous Mask",augments={'Accuracy+38','Attack+33','Weapon skill damage +3%'}},
        neck="Lissome Necklace",
        ear1="Zennaroi Earring",
        ear2="Digni. Earring",
        body={name="Valorous Mail",augments={'Accuracy+29','Attack+6','"Store TP+4"'}},
        hands={name="Valorous Mitts",augments={'Accuracy+30','"Store TP+7"'}},
        ring1="Petrov Ring",
        ring2="Rajas Ring",
        back={name="Ankou's Mantle",augments={'DEX+20','Accuracy+20','Attack+20','"Store TP+10"'}},
        waist="Kentarch Belt +1",
        legs={name="Odyssean Cuisses",augments={'Accuracy+38','Attack+25','Phys.Dmg.Taken -2%'}},
        feet={name="Valorous Greaves",augments={'Accuracy+37','Attack +38','Crit hit rate +3%'}}
    }


Edit: Might want to also consider just making variables so you don't have to deal with all the braces.
Code
some_head = {name="Valorous Mask",augments={'Accuracy+38','Attack+33','Weapon skill damage +3%'}}
some_body = {name="Valorous Mail",augments={'Accuracy+29','Attack+6','"Store TP+4"'}}
some_hands = {name="Valorous Mitts",augments={'Accuracy+30','"Store TP+7"'}}
some_back = {name="Ankou's Mantle",augments={'DEX+20','Accuracy+20','Attack+20','"Store TP+10"'}}
some_legs = {name="Odyssean Cuisses",augments={'Accuracy+38','Attack+25','Phys.Dmg.Taken -2%'}}
some_feet = {name="Valorous Greaves",augments={'Accuracy+37','Attack +38','Crit hit rate +3%'}}

sets.Idle.Regen = {
        ammo="Seeth. Bomblet +1",
        head=some_head,
        neck="Lissome Necklace",
        ear1="Zennaroi Earring",
        ear2="Digni. Earring",
        body=some_body,
        hands=some_hands,
        ring1="Petrov Ring",
        ring2="Rajas Ring",
        back=some_back,
        waist="Kentarch Belt +1",
        legs=some_legs,
        feet=some_feet
    }
 Siren.Bloodlusty
Offline
Server: Siren
Game: FFXI
Posts: 101
By Siren.Bloodlusty 2016-06-01 14:50:49
Link | Quote | Reply
 
I just want to stick with the file tha's been created so i cant mess it up to much. I will look at variables when i understand it more

I am now getting and error at line 48 ')' expected (to close '(' at line 48) near 'sets'

sets.Idle.Regen.Liberator = set_combine(sets.Idle.Regen,{
main="Liberator"})
sets.Idle.Regen.Ragnarok = set_combine(sets.Idle.Regen,{
main="Ragnarok"})
sets.Idle.Regen.Apocalypse = set_combine(sets.Idle.Regen,{
main="Apocalypse"})
sets.Idle.Movement = set_combine(sets.Idle.Regen,{
ammo="Seeth. Bomblet +1",
head={name="Valorous Mask",augments={'Accuracy+38','Attack+33','Weapon skill damage +3%'}},
neck="Lissome Necklace",
ear1="Zennaroi Earring",
ear2="Digni. Earring",
body={name="Valorous Mail",augments={'Accuracy+29','Attack+6','"Store TP+4"'}},
hands={name="Valorous Mitts",augments={'Accuracy+30','"Store TP+7"'}},
ring1="Petrov Ring",
ring2="Rajas Ring",
back={name="Ankou's Mantle",augments={'DEX+20','Accuracy+20','Attack+20','"Store TP+10"'}},
waist="Kentarch Belt +1",
legs={name="Odyssean Cuisses",augments={'Accuracy+38','Attack+25','Phys.Dmg.Taken -2%'}},
feet={name="Valorous Greaves",augments={'Accuracy+37','Attack +38','Crit hit rate +3%'}}
}

p.ps how do you post in notepad format?
 Ragnarok.Flippant
Offline
Server: Ragnarok
Game: FFXI
user: Enceladus
Posts: 658
By Ragnarok.Flippant 2016-06-01 14:59:21
Link | Quote | Reply
 
This time, you're missing the end-parenthesis at the very end, in order to complete the set_combine function.

[ code ]blahblah[ /code ] without the spaces.
 Cerberus.Shadowmeld
Offline
Server: Cerberus
Game: FFXI
Posts: 1649
By Cerberus.Shadowmeld 2016-06-01 15:00:33
Link | Quote | Reply
 
All you need to do is literally throw on a ")" at the end of the code that you posted. You called the set_combine method and didn't close the parameters.
 Siren.Bloodlusty
Offline
Server: Siren
Game: FFXI
Posts: 101
By Siren.Bloodlusty 2016-06-01 15:55:28
Link | Quote | Reply
 
Thanks :)
 Asura.Keja
Offline
Server: Asura
Game: FFXI
user: Cleric
Posts: 50
By Asura.Keja 2016-06-02 18:11:22
Link | Quote | Reply
 
How do I add an aftercast delay of say, 2seconds, for a spell? so my gear doesn't swap right away.
 Ragnarok.Flippant
Offline
Server: Ragnarok
Game: FFXI
user: Enceladus
Posts: 658
By Ragnarok.Flippant 2016-06-02 18:19:54
Link | Quote | Reply
 
Why do you want to do that?
 Asura.Keja
Offline
Server: Asura
Game: FFXI
user: Cleric
Posts: 50
By Asura.Keja 2016-06-02 18:21:08
Link | Quote | Reply
 
Ragnarok.Flippant said: »
Why do you want to do that?

Private server with old cast times of absorb spells :|
 Ragnarok.Flippant
Offline
Server: Ragnarok
Game: FFXI
user: Enceladus
Posts: 658
By Ragnarok.Flippant 2016-06-02 18:29:41
Link | Quote | Reply
 
I don't quite understand. The aftercast function is called when the client receives the packet from the server that says you are done casting the spell; it is not based off of resources. Are you saying that this server is prematurely sending you that packet when it comes to absorb spells?
 Asura.Keja
Offline
Server: Asura
Game: FFXI
user: Cleric
Posts: 50
By Asura.Keja 2016-06-02 18:34:11
Link | Quote | Reply
 
The server runs of of the old retail values set in 2008. cast time, mp cost, recast time. example, stone does not cost 4mp, it cost 9 etc,.

i figured it out those. windower4/res/spells and change cast times <_<
 Bismarck.Dunigs
Offline
Server: Bismarck
Game: FFXI
user: Dunigs
Posts: 83
By Bismarck.Dunigs 2016-06-02 18:37:15
Link | Quote | Reply
 
Flippant's point is it shouldn't matter, resources do not directly effect when GearSwap decides to change your gear. If they changed Absorb spells to take 2 minutes cast-time tomorrow GearSwap would know based on the packets, even if the resource file still said 0.5 seconds.

In other words, it waits for the actual server to say "OK, you're done", not "lets look up this spell and start an internal timer and I'll tell myself I'm done when it's up". If you're having problems it's entirely possible the makeup of the action packet has changed over-time, in which case adjusting resources still shouldn't help anything.
 Asura.Keja
Offline
Server: Asura
Game: FFXI
user: Cleric
Posts: 50
By Asura.Keja 2016-06-02 18:41:02
Link | Quote | Reply
 
It has to do with the way the private server is set up. But I figured it out, editing the res/spells.lua solved the issue.
 Siren.Bloodlusty
Offline
Server: Siren
Game: FFXI
Posts: 101
By Siren.Bloodlusty 2016-06-03 11:36:55
Link | Quote | Reply
 
Hello. I have made some progress with understanding gearswap better since my last post. The file now loads correctly and works however my gear its getting muddled up after I use a weaponskill. My gear for head, hands, back, legs, feet change to a mixture of PDT and will not change back to my TP set, or change for my next WS

My main ws of choice is insurgency due to liberator

I switched all the TP / idle sets with my current tp set and switched all the WS sets to my ws set to make things simple. I can make advanced changes to my gearswap once they are working (refresh necklace, movement speed items etc

What am i doing wrong here?

Code
  -- Liberator(AM3 Up) TP Sets --
    sets.TP.Liberator.AM3 = set_combine(sets.TP.Liberator,{
            head={name="Valorous Mask",augments={'Accuracy+38'}},
            ear1="Zennaroi Earring",
            ear2="Digni. Earring",
            body={name="Valorous Mail",augments={'Accuracy+29'}}
			})
			
    sets.TP.Liberator.MidACC.AM3 = set_combine(sets.TP.Liberator.AM3,{
            neck="Lissome Necklace",
            ear1="Zennaroi Earring",
            ear2="Digni. Earring",
            body={name="Valorous Mail",augments={'Accuracy+29'}},
            hands={name="Valorous Mitts",augments={'Accuracy+30','"Store TP+7"'}},
            back={name="Ankou's Mantle",augments={'DEX+20'}},
            waist="Kentarch Belt +1",
            legs={name="Odyssean Cuisses",augments={'Accuracy+38'}},
            feet={name="Valorous Greaves",augments={'Accuracy+37'}}
			})
			
    sets.TP.Liberator.HighACC.AM3 = set_combine(sets.TP.Liberator.MidACC.AM3,{
            body={name="Valorous Mail",augments={'Accuracy+29'}},
            ring1="Mars's Ring"})
 Siren.Bloodlusty
Offline
Server: Siren
Game: FFXI
Posts: 101
By Siren.Bloodlusty 2016-06-03 11:39:04
Link | Quote | Reply
 
This is my ws set and PDT set. I want 4 basic sets to start

1. My TP set
2. My WS set
3. My PDT set
4. My Dark Magic set





Code
  -- PDT/MDT Sets --
    sets.PDT = {
            ammo="Seeth. Bomblet +1",
			head="Sulevia's Mask +1",
			neck="Loricate Torque",
			ear1="Digni. Earring",
			ear2="Ethereal Earring",
			body="Sulevia's Plate. +1",
			hands="Sulev. Gauntlets +1",
			ring1="Rajas Ring",
			ring2="Archon Ring",
			back="Shadow Mantle",
			waist="Zoran's Belt",
			legs="Sulevi. Cuisses +1",
			feet="Sulev. Leggings +1"
			}
 
    sets.MDT = set_combine(sets.PDT,{
			ammo="Seeth. Bomblet +1",
			head="Sulevia's Mask +1",
			neck="Loricate Torque",
			ear1="Digni. Earring",
			ear2="Ethereal Earring",
			body="Sulevia's Plate. +1",
			hands="Sulev. Gauntlets +1",
			ring1="Rajas Ring",
			ring2="Archon Ring",
			back="Shadow Mantle",
			waist="Zoran's Belt",
			legs="Sulevi. Cuisses +1",
			feet="Sulev. Leggings +1"
			})
           			
 
    -- Hybrid Set --
    sets.TP.Hybrid = set_combine(sets.PDT,{
            ammo="Seeth. Bomblet +1",
			head="Sulevia's Mask +1",
			neck="Loricate Torque",
			ear1="Digni. Earring",
			ear2="Ethereal Earring",
			body="Sulevia's Plate. +1",
			hands="Sulev. Gauntlets +1",
			ring1="Rajas Ring",
			ring2="Archon Ring",
			back="Shadow Mantle",
			waist="Zoran's Belt",
			legs="Sulevi. Cuisses +1",
			feet="Sulev. Leggings +1"
			})
			
    sets.TP.Hybrid.MidACC = set_combine(sets.TP.Hybrid,{})
    sets.TP.Hybrid.HighACC = set_combine(sets.TP.Hybrid.MidACC,{})
 
    -- WS Base Set --
    sets.WS = {
			ammo="Seeth. Bomblet +1",
			head={name="Valorous Mask",augments={'Accuracy+38'}},
			neck="Fotia Gorget",
			ear1="Ishvara Earring",
            ear2={name="Moonshade Earring",augments={'Accuracy+4'}},
			body={name="Odyss. Chestplate",augments={'DEX+5'}},
			hands={name="Odyssean Gauntlets",augments={'VIT+5'}},
			ring1="Petrov Ring",
			ring2="Rajas Ring",
			back={name="Ankou's Mantle",augments={'STR+20'}},
			waist="Fotia Belt",
			legs={name="Odyssean Cuisses",augments={'Accuracy+38'}},
			feet="Sulev. Leggings +1"}

            
     
    -- Torcleaver Sets --
     
    sets.WS.Torcleaver = {
            ammo="Seeth. Bomblet +1",
            head={name="Valorous Mask",augments={'Accuracy+38','Attack+33','Weapon skill damage +3%'}},
            neck="Lissome Necklace",
            ear1="Zennaroi Earring",
            ear2="Digni. Earring",
            body={name="Valorous Mail",augments={'Accuracy+29','Attack+6','"Store TP+4"'}},
            hands={name="Valorous Mitts",augments={'Accuracy+30','"Store TP+7"'}},
            ring1="Petrov Ring",
            ring2="Rajas Ring",
            back={name="Ankou's Mantle",augments={'DEX+20','Accuracy+20','Attack+20','"Store TP+10"'}},
            waist="Kentarch Belt +1",
            legs={name="Odyssean Cuisses",augments={'Accuracy+38','Attack+25','Phys.Dmg.Taken -2%'}},
            feet={name="Valorous Greaves",augments={'Accuracy+37','Attack +38','Crit hit rate +3%'}}
			}
 
    -- Resolution Sets --
    sets.WS.Resolution = {
            ammo="Seeth. Bomblet +1",
            head={name="Valorous Mask",augments={'Accuracy+38','Attack+33','Weapon skill damage +3%'}},
            neck="Lissome Necklace",
            ear1="Zennaroi Earring",
            ear2="Digni. Earring",
            body={name="Valorous Mail",augments={'Accuracy+29','Attack+6','"Store TP+4"'}},
            hands={name="Valorous Mitts",augments={'Accuracy+30','"Store TP+7"'}},
            ring1="Petrov Ring",
            ring2="Rajas Ring",
            back={name="Ankou's Mantle",augments={'DEX+20','Accuracy+20','Attack+20','"Store TP+10"'}},
            waist="Kentarch Belt +1",
            legs={name="Odyssean Cuisses",augments={'Accuracy+38','Attack+25','Phys.Dmg.Taken -2%'}},
            feet={name="Valorous Greaves",augments={'Accuracy+37','Attack +38','Crit hit rate +3%'}}
			}
			
    sets.WS.Resolution.MidACC = set_combine(sets.WS.Resolution,{
            ear1={name="Moonshade Earring",augments={'Accuracy+4','TP Bonus +250'}},
            ring1="Petrov Ring"})
    sets.WS.Resolution.HighACC = set_combine(sets.WS.Resolution.MidACC,{})
 
    -- Resolution(Attack) Set --
    sets.WS.Resolution.ATT = set_combine(sets.WS.Resolution,{})
 
    -- Catastrophe Sets --
    sets.WS.Catastrophe = {
            ammo="Seeth. Bomblet +1",
			head={name="Valorous Mask",augments={'Accuracy+38','Attack+33','Weapon skill damage +3%'}},
			neck="Fotia Gorget",
			ear1="Digni. Earring",
			ear2="Zennaroi Earring",
			body={name="Odyss. Chestplate",augments={'DEX+5','Accuracy+20','Weapon skill damage +5%'}},
			hands={name="Odyssean Gauntlets",augments={'VIT+5','Accuracy+34','Attack+25','Weapon skill damage +2%'}},
			ring1="Petrov Ring",
			ring2="Rajas Ring",
	        back={name="Ankou's Mantle",augments={'STR+20','Accuracy+20','Attack+20','Weapon skill damage +10%'}},
			waist="Fotia Belt",
			legs={name="Odyssean Cuisses",augments={'Accuracy+38','Attack+33','Weapon skill damage +3%'}},
			feet="Sulev. Leggings +1"}
    sets.WS.Catastrophe.MidACC = set_combine(sets.WS.Catastrophe,{
            ear1={name="Moonshade Earring",augments={'Accuracy+4','TP Bonus +250'}},
            ring1="Petrov Ring"})
    sets.WS.Catastrophe.HighACC = set_combine(sets.WS.Catastrophe.MidACC,{})
 
    -- Catastrophe(Attack) Set --
    sets.WS.Catastrophe.ATT = set_combine(sets.WS.Catastrophe,{})
 
    -- Entropy Sets --
    sets.WS.Entropy = {
            ammo="Seeth. Bomblet +1",
			head={name="Valorous Mask",augments={'Accuracy+38','Attack+33','Weapon skill damage +3%'}},
			neck="Fotia Gorget",
			ear1="Digni. Earring",
			ear2="Zennaroi Earring",
			body={name="Odyss. Chestplate",augments={'DEX+5','Accuracy+20','Weapon skill damage +5%'}},
			hands={name="Odyssean Gauntlets",augments={'VIT+5','Accuracy+34','Attack+25','Weapon skill damage +2%'}},
			ring1="Petrov Ring",
			ring2="Rajas Ring",
	        back={name="Ankou's Mantle",augments={'STR+20','Accuracy+20','Attack+20','Weapon skill damage +10%'}},
			waist="Fotia Belt",
			legs={name="Odyssean Cuisses",augments={'Accuracy+38','Attack+33','Weapon skill damage +3%'}},
			feet="Sulev. Leggings +1"
			}
			
    sets.WS.Entropy.MidACC = set_combine(sets.WS.Entropy,{
            ear1={name="Moonshade Earring",augments={'Accuracy+4','TP Bonus +250'}},
            ring1="Petrov Ring"})
    sets.WS.Entropy.HighACC = set_combine(sets.WS.Entropy.MidACC,{})
 
    -- Entropy(Attack) Set --
    sets.WS.Entropy.ATT = set_combine(sets.WS.Entropy,{})
     
    -- Quietus Sets --
    sets.WS.Quietus = {
            ammo="Seeth. Bomblet +1",
			head={name="Valorous Mask",augments={'Accuracy+38','Attack+33','Weapon skill damage +3%'}},
			neck="Fotia Gorget",
			ear1="Digni. Earring",
			ear2="Zennaroi Earring",
			body={name="Odyss. Chestplate",augments={'DEX+5','Accuracy+20','Weapon skill damage +5%'}},
			hands={name="Odyssean Gauntlets",augments={'VIT+5','Accuracy+34','Attack+25','Weapon skill damage +2%'}},
			ring1="Petrov Ring",
			ring2="Rajas Ring",
	        back={name="Ankou's Mantle",augments={'STR+20','Accuracy+20','Attack+20','Weapon skill damage +10%'}},
			waist="Fotia Belt",
			legs={name="Odyssean Cuisses",augments={'Accuracy+38','Attack+33','Weapon skill damage +3%'}},
			feet="Sulev. Leggings +1"
			}
			
    sets.WS.Quietus.MidACC = set_combine(sets.WS.Quietus,{
            ear1={name="Moonshade Earring",augments={'Accuracy+4','TP Bonus +250'}},
            ring1="Petrov Ring"})
    sets.WS.Quietus.HighACC = set_combine(sets.WS.Quietus.MidACC,{})        
 
    -- Insurgency Sets --
    sets.WS.Insurgency = {
            ammo="Seeth. Bomblet +1",
			head={name="Valorous Mask",augments={'Accuracy+38'}},
			neck="Fotia Gorget",
			ear1={name="Moonshade Earring",augments={'Accuracy+4'}},
			ear2="Ishvara Earring",
			body={name="Odyss. Chestplate",augments={'DEX+5'}},
			hands={name="Odyssean Gauntlets",augments={'VIT+5'}},
			ring1="Petrov Ring",
			ring2="Rajas Ring",
			back={name="Ankou's Mantle",augments={'STR+20'}},
			waist="Fotia Belt",
			legs={name="Odyssean Cuisses",augments={'Accuracy+38'}},
			feet="Sulev. Leggings +1"
			}
			
    sets.WS.Insurgency.MidACC = set_combine(sets.WS.Insurgency,{
            ear1={name="Moonshade Earring",augments={'Accuracy+4'}},
            ring1="Petrov Ring"})
    sets.WS.Insurgency.HighACC = set_combine(sets.WS.Insurgency.MidACC,{})
 
 Quetzalcoatl.Orestes
Offline
Server: Quetzalcoatl
Game: FFXI
user: Orestes78
Posts: 430
By Quetzalcoatl.Orestes 2016-06-03 12:21:42
Link | Quote | Reply
 
Siren.Bloodlusty said: »
Hello. I have made some progress with understanding gearswap better since my last post. The file now loads correctly and works however my gear its getting muddled up after I use a weaponskill. My gear for head, hands, back, legs, feet change to a mixture of PDT and will not change back to my TP set, or change for my next WS

My main ws of choice is insurgency due to liberator

I switched all the TP / idle sets with my current tp set and switched all the WS sets to my ws set to make things simple. I can make advanced changes to my gearswap once they are working (refresh necklace, movement speed items etc

What am i doing wrong here?


Just glacing at your sets is not really enough to go on here. Post your whole DRK.lua and I'll take a look. You can pastebin it, or post it. (can wrap it in code + spoiler tags)

One thing I notice is you're referencing a Valorous Mask that has Accuracy+38 as it's only augment, but in another place you seem to have one augmented with Accuracy+38, Attack+33, WSD+3%. Is that correct?

This is just my opinion, but I wouldn't ever specify augments for equipment in my lua unless I had two pieces of the same gear. I realize you probably used gs export, but If you only have one Valorous Mail, then use body="Valorous Mail" in your sets, etc. This will simplify the syntax (which reduces the chance of errors), and it will never break should you re-augment and forget to update your lua.

You can also make things easier on yourself by using variables for augmented equipment. You can see an example in my DRK.lua

shameless plug... my DRK.lua was built around Liberator, as that's pretty much all I use besides Apoc. The standard sets.engaged = {} set is for Lib. sets.engaged.AM3 is obviously Lib's AM3 set. It has support for Apoc + Ragnarok (with relic AM sets), or any greatsword you add to gsList = {}, as well as a ton of other crap that I added for myself. Just note if you snag it, make sure a copy of my User-Globals.lua is copied into the same folder. (wouldn't hurt to read the comments in DRK.lua either)
 Siren.Bloodlusty
Offline
Server: Siren
Game: FFXI
Posts: 101
By Siren.Bloodlusty 2016-06-03 12:40:29
Link | Quote | Reply
 
I just ran //gs export and it came back with +25 and +13 to make the 38. I will try that first
 Fenrir.Nightfyre
Offline
Server: Fenrir
Game: FFXI
user: Nightfyre
Posts: 11680
By Fenrir.Nightfyre 2016-06-03 12:44:51
Link | Quote | Reply
 
Code
if spell.english=='Warp' and player.sub_job~='BLM' then
		windower.send_command('input /equip ring1 "Warp Ring"; wait 9; input /item "Warp Ring" <me>;')
		cancel_spell()
		return


Best I can tell this code will never return true, presumably due to however Gearswap handles spells you can't actually cast. Is there an alternative way I could write this that would work?
First Page 2 3 ... 100 101 102 ... 180 181 182
Log in to post.