Gearswap Support Thread |
||
Gearswap Support Thread
Thanks, updated original post to avoid giving bad info.
Quote: if player.status =='Engaged' then disable('main','sub') end IDK if that was to me but I tried it, still doesn't work. That was meant for Selindrile. I'm not really sure how to handle the toggles with gearswap yet, still working through this as well.
Ahh ok, well the DD/ACC toggle does work in mine, its the PDT/DD toggle that does not, idk if that would help you at all in learning it.
You have 2 'function self_command' sections, which is basically re-defining the entire function, instead of adding onto it.
Do something like this: http://pastebin.com/PDUM3jqL see if that helps. Yes it is working better then before which is an improvement, now i can at least change into my PDT set, the the problem that still remains is if I am in ACC I can not change to PDT and if I am in PDT I can not change to ACC, which with an extra macro push I can technically work around, im just worried in the midst of a battle it will mess me up. I do GREATLY appreciate the help Snozeberry.
Spacing and duplication of effort bugged me, so I modified it a bit more.
http://pastebin.com/vwQmKAvL Thank you so much, works perfect now, thank you again!
There is a mistake in the first 'elseif' statement
Change: equip(sets.aftercast.TP) to sets.aftercast.TP = sets.TP.DD Lakshmi.Byrth said: » Conagh: Code if string.find(spell.english,'Cur') or string.find(spell.english, 'lyna') then It's doable however it's very messy, using a T table is a little easier and I find works better, but good to know ~ so, if that works for Utsusemi (and thank you) will:
Code if spell.english == 'Spectral Jig' and (buffactive['Sneak']) then send_command('cancel 71') end Work for Spectral Jig? Should, or if you are using the cancel addon instead of plugin, you can do 'cancel sneak' instead
i have some problem with this part of mine :
Code sets.midcast.EnhancingMagic = { main="Secespita",sub="Beatific Shield", head="Atrophy Chapeau +1",ear1="Estoqueur's Earring",ear2="Loquacious Earring", body="Duelist's Tabard +2",hands="Duelist's Gloves +2",ring1="Sheltered Ring", back="Estoqueur's Cape",waist="Siegel Sash",legs="Shedir Seraweels",feet="Estoqueur's Houseaux +2"} sets.midcast.stoneskin = set_combine(sets.midcast.EnhancingMagic,{ neck="Stone Gorge", ear1="Earthcry Earring", hands="Carapacho Cuffs"}) i disable blinkmenot, but when i cast stoneskin, i didn't see stone gorget or hands equip. any idea ? Well, "Stone Gorge" does not exist.
I don't know why you are midcasting in Carapacho, but set names are case sensitive -- if you were using sets.midcast[spell.english], you'd need sets.midcast.Stoneskin Use the gs show_swaps() command when you're testing instead of turning off blinkmenot. It's much easier to see the swaps in the log.
... stone gorget ...
and yep your right, carapacho should be in precast (like in my spellcast) So i have to do 2 thing : Code sets.precast.FC = { head="Atrophy Chapeau +1",ear1="Estoqueur's Earring",ear2="Loquacious Earring", body="Duelist's Tabard +2",hands="Gendewitha Gages", back="Swith Cape",waist="Phasmida Belt",legs="Orvail Pants +1",feet="Chelona Boots"} sets.midcast.EnhancingMagic = { main="Secespita",sub="Beatific Shield", head="Atrophy Chapeau +1",ear1="Estoqueur's Earring",ear2="Loquacious Earring", body="Duelist's Tabard +2",hands="Duelist's Gloves +2",ring1="Sheltered Ring", back="Estoqueur's Cape",waist="Siegel Sash",legs="Shedir Seraweels",feet="Estoqueur's Houseaux +2"} sets.precast.stoneskin = set_combine(sets.precast.FC,{ hands="Carapacho Cuffs" }) sets.midcast.stoneskin = set_combine(sets.midcast.EnhancingMagic,{ neck="Stone Gorget", ear1="Earthcry Earring"}) But if i do a chainspell or instant cast, i will stonskin in precast.fc so ? Instant cast spells will still get their midcast gear applied properly. This has been tested with Apocolypse atma and brd Nightingale. There's no longer any need to treat potential instant cast conditions as special.
Also, you're still naming the set "stoneskin" instead of "Stoneskin". You didn't provide the rules for how you're equipping the sets, though, so that may or may not be ok. Fenrir.Motenten said: » Instant cast spells will still get their midcast gear applied properly. This has been tested with Apocolypse atma and brd Nightingale. There's no longer any need to treat potential instant cast conditions as special. To expand upon this, I precast Bard buff songs with Impatiens now and my Daurd songs still go through fine. Asura.Psylo said: » Hmm gearswap crash pol >< Can you please post the contents of your autoload.txt file? ( windower/scripts/autoload/autoload.txt ) Perhaps it is some combination of addons that are causing the problem. Phoenix.Suji said: » Phoenix.Chomeymatt said: » What file would you paste that into? Don't follow that completely... but I'd like the functionality of it blocking spam attempts because I am a masher, how would I merge that with the current functions as I'm using other people's Lua files at the moment, could you give me an example of what it might look like and I'll see if I can logic it out? Edit: I think I got the spam cancel working by just sliding it into the precast definition above the sets. I got Spectral Jig working in precast, but have tried Utsusemi in precast and midcast, no dice so far. Code function midcast(spell,action) if spell.english == 'Utsusemi: Ichi' and (buffactive['Copy Image'] or buffactive['Copy Image (2)']) then send_command('@wait 3.1; cancel 66; cancel 444') end end Lakshmi.Byrth said: » Asura.Psylo said: » Hmm gearswap crash pol >< Can you please post the contents of your autoload.txt file? ( windower/scripts/autoload/autoload.txt ) Perhaps it is some combination of addons that are causing the problem. yep : wait 5; load UpdateResources; load LuaCore; load Attainment; load AutoExec; load BlinkMeNot; load BoxHelper; load Cancel; load ConsoleBG; load Distance; load DrawDistance; load InfoBar; load LightLuggage; load Logger; load Silence; load Spellcast; load SSOrganizer; load Timers; load Timestamp; load TParty; lua load battlemod; lua load chars; lua load gearswap; exec init.txt; Update: After a lot of futzing I've finally gotten it to work with this:
Code function midcast(spell,action) if spell.english == 'Utsusemi: Ichi' then send_command('@wait 2.7; cancel copy image') end end It's not recognizing utsusemi ni's buff as copy image or copy image (2), either for the if nor the cancel, you can put utsusemi ni on yourself and try //cancel 66 and //cancel 444, it will tell you that copy image isn't found, perhaps buff numbers have changed? At any rate that works well enough for the time being with the cancel addon. Utsu has 4-5 buff id's depending on how many shadows you have up.
66 1 444 2 445 3 446 4+ Code <b id="66" duration="0" fr="Réplique" de="Kopiebild" jp="分身" enLog="Copy Image">Copy Image</b> <b id="444" duration="0" fr="Réplique (2)" de="Kopiebild (2)" jp="分身(2)" enLog="Copy Image (2)">Copy Image (2)</b> <b id="445" duration="0" fr="Réplique (3)" de="Kopiebild (3)" jp="分身(3)" enLog="Copy Image (3)">Copy Image (3)</b> <b id="446" duration="0" fr="Réplique (4+)" de="Kopiebild (4+)" jp="分身(4+)" enLog="Copy Image (4+)">Copy Image (4+)</b> Edit: I guess it'd help to have the buff name as well. Added. Ragnarok.Sekundes said: » Utsu has 4-5 buff id's depending on how many shadows you have up. 66 1 444 2 445 3 446 4+ Ah, thank you, that helps immensely and explains a lot. I try something in my rdm.lua, but didn't work, any advice ?
Code function midcast(spell,action) if spell.english == 'Stoneskin' then send_command('cancel 37;') end end i use : include('Mote-Include.lua') init_include() maybe that ? If you're using my Include, the Include handles the call to midcast(). Any code you want to do during midcast in the job file should be in the job_midcast() function. Check the Template.lua file for a list of all the user file functions my Include calls, with their parameters.
I have another issue with your include (and nice job !)
as RDM/BLM when i try to cast sleepga (maccro or magic menu) i have a message => Psylo can't cast sleepga |
||
All FFXI content and images © 2002-2024 SQUARE ENIX CO., LTD. FINAL
FANTASY is a registered trademark of Square Enix Co., Ltd.
|