No, not the 'if command ==' functions, the original self-command function:
Adjust with:Code:function self_command(command) sub_jobs_command(command) equip_elemental_magic_gear_command(command) end
Code:function self_command(command) add_to_chat(123,'self-command = '.. tostring(command)) sub_jobs_command(command) equip_elemental_magic_gear_command(command) end
i just tried that as well and it wont show when gs c is called
this is what i have
but in chat all i get from the 4 commands is this(from logger plugin)Code:function self_command(command) add_to_chat(123,'yes job')
thats the same even withCode:11:27:15]GearSwap (Debug Mode): Entering self_command [11:27:15]----- STAVES WILL CHANGE ----- [11:27:17]GearSwap (Debug Mode): Entering self_command [11:27:21]GearSwap (Debug Mode): Entering self_command [11:27:21]----- STEPS WILL STOP ----- [11:27:23]GearSwap (Debug Mode): Entering self_command
add_to_chat(123,'self-command = '.. tostring(command))
i even tried
print('self-command = '.. tostring(command))
to print to console but no luck
Dunno what's going on for you, but I just copied the four files you linked into my folder, loaded up pld, and all the self-commands seem to work fine.
Had a question about setting up Generic Weaponskill sets and specific sets. For instance:
Using //gs showswaps everything worked fine except for the generic weaponskills that were not defined. ex: Ukkos, Raging, Upheaval, Resolution swaps were shown but nothing happened with the other Weaponskills.Code:function precast(spell,act) if spell.type == 'Weaponskills' then equip(sets.WS[sets.WS.index[WS_index]]) elseif spell.english == "Ukko's Fury" or spell.english == "Raging Rush" then equip(sets.Ukko[sets.Ukko.index[Ukko_index]]) elseif spell.english == "Upheaval" then equip(sets.Upheav[sets.Upheav.index[Upheav_index]]) elseif spell.english == "Resolution" then equip(sets.Reso[sets.Reso.index[Reso_Index]]) end end
Since the syntax is not showing as an error; what am I missing here?
I don't see a "type" field for weaponskills in the resources right now. You might want to use an add_to_chat to make sure it's even getting inside that if statement.
spell.type for WS is "WeaponSkill" so the problem w/ yours might be case-sensitive
Ok, a couple quick questions regarding motes PLD.lua
I am having to edit it a bit for better use of ochain/aegis and I have two questions about sets. First I changed the defense sets from 'normal' and 'shield' to Ochain and Aegis. That is all working fine, my question is if I can make subsets for idle based on those defense sets. For example there is idle.town and idle.weak, how can I make idle.Ochain or idle.Aegis functional? I obviously created those sets with those names and they do not work. Are idle sets special in the fact that I can't make my own like that?
Second question is regarding the 'reraise' sets that are already in place in motes original PLD file. When i activate either PDT or MDT defense sets, then switch from PDT or MDT to 'reraise' the set that it equips is the sets.defense.reraise. Now there is already a sets.defense.MDT.reraise set built in his file but I cannot seem to get GS to activate/switch to it, it always seems to use the sets.defense.reraise set for either MDT or PDT modes. Am I missing something?
EDIT:
figured out my idle sets issue!
Did you add Ochain and Aegis to options.IdleModes?
And for sets.defense.MDT.Reraise, you need to adjust classes.CustomDefenseGroups. Add 'Reraise' to classes.CustomDefenseGroups and it will be tacked on to the end of searches for defense modes. It works the same way as all the other custom groups.
I think I was working on that last time I was messing with pld, but hadn't actually gotten it implemented yet.
Just came back to FFXI after a very long time and trying to work with gearswap for the first time.
I was wondering if there was a way to make it equip Oynos Knife in the offhand slot without haste buff then have it switch to a better dagger when haste procs from it. Any help would be appreciated.
(sorry if this was answered somewhere, tried search and didn't find anything.)
Was there a change to the sets.precast function for ranged attack? I'm using Kbeezie Rng Lua from main page and my preshot and midshot gear not changing, (using //gs show_swaps to check gear and nothing is changing). tried set.precast.Presot also set.precast."Ranged Attack" or set.preshot.Ranged, but nothing seems to work. got error or no gear changed, thx in advance.
sets.precast.RangedAttack = set_combine(sets.idle, {
head="Orion Beret +1",
body="Sylvan Caban +2",hands="Iuitl Wristbands +1",
waist="Impulse Belt",legs="Orion Braccae +1",feet="Orion Socks +1"})
Nevermind, after further testing, seems like its set.precast.RA to work lol
Been Bugtesting and working on sets for the SMN spellcast file of yours, and i've got a bit of an issue.
After bloodpact wards it switches to the non avatar idle. it should be switching to sets.idle.avatar, and not sets.idle.
i'm also unsure of how to trigger a bloodpact rage in one of the two modes present, sets.midcast.Pet.PhysicalBloodPactRage and sets.midcast.Pet.PhysicalBloodPactRage.acc.
It does not.
Thks for the reply.
<= a little sad inside
Anyone have a snippet of GS code I could use for equipping Tengu-no-Hane (http://www.ffxiah.com/item/21367/tengu-no-hane) during daytime?