RNG Spellcast Help |
||
RNG Spellcast Help
Leviathan.Celebrindal
Offline
good info, and good critique of reasons for/against it. Thanks!
I knocked together an AutoFire/AutoWS Spellcast for my mules RNG when I was levelling it, it has no gear swaps but the entire thing can be copied into another one without any conflict (or at least, it shouldn't have any).
http://pastebin.com/sFE5DA59 It won't unquiver arrows atm though (I never got to the point where I needed it to >_>;;) finally got around to re-writing my rng xml, but i have a question. Im still in the process of writing my rules atm and havent tested anything yet, but i forsee a problem with what im trying to do.
Code <if Equipmain="Hellfire"> <if status = "engaged"> <if commandprefix ="/range"> <if buffactive ="barrage"> <castdelay delay="0.2"/> <midcastdelay delay ="0.5"/> <equip when = "precast|midcast|aftercast" set ="barrage"/> </if> <elseif subjob = "/sam"> <castdelay delay="0.2"/> <midcastdelay delay ="0.5"/> <equip when = "precast" set ="pre_shot"/> <equip when = "midcast|aftercast" set ="gun_tp"/> </elseif> <elseif> <castdelay delay="0.2"/> <midcastdelay delay ="0.5"/> <equip when = "precast" set = "pre_shot"/> <equip when = "midcast|aftercast" set = "engaged"/> </elseif> </if> </if> Basically want to know if the part with /sam would work or not. or how i would handle that rule. Are you wanting to keep your Barrage set on after you've fired off a shot with Barrage active?
If not, try: Code xml <if Equipmain="Hellfire"> <if status = "engaged"> <if commandprefix ="/range"> <if buffactive ="barrage"> <castdelay delay="0.2"/> <midcastdelay delay ="0.5"/> <equip when = "precast" set ="barrage"/> </if> <elseif notbuffactive="Barrage"> <if subjob = "/sam"> <castdelay delay="0.2"/> <midcastdelay delay ="0.5"/> <equip when = "precast" set ="pre_shot"/> <equip when = "midcast|aftercast" set ="gun_tp"/> </if> <else> <castdelay delay="0.2"/> <midcastdelay delay ="0.5"/> <equip when = "precast" set = "pre_shot"/> <equip when = "midcast|aftercast" set = "engaged"/> </else> </elseif> </if> </if> This one will: >Check to see if Barrage is up - Equipping Barrage gear (precast only) if needed >If Barrage isn't active - swap to gear depending on SJ (/SAM or not) If you were looking for it to change Barrage gear depending on SJ, try: Code xml <if Equipmain="Hellfire"> <if status = "engaged"> <if commandprefix ="/range"> <if buffactive ="barrage"> <castdelay delay="0.2"/> <midcastdelay delay ="0.5"/> <equip when = "precast|midcast" set ="barrage"/> <if subjob = "/sam"> <castdelay delay="0.2"/> <midcastdelay delay ="0.5"/> <equip when = "aftercast" set ="gun_tp"/> </if> <else> <castdelay delay="0.2"/> <midcastdelay delay ="0.5"/> <equip when = "aftercast" set = "engaged"/> </else> </if> </if> </if> This one will only check SJ's and change aftercast gear depending, if Barrage is up. (I don't know when Barrage gear has to be equipped, so change the equip times appropriately >_>;) Thanks, that seems to be exactly what i need. ill apply it and see how it works. No worries. I wasn't too sure what you were looking for it to do though, so I might've missed the mark >_>;
If it doesn't do what you want, let me know and I'll see what else I can come up with~ basically what i wanted it to do was when i /ra with my gun equiped for it to check my sub and if i was /sam use the gun_tp set (to keep my xhit) and if i were /war to use my regular engaged set.
Ive had the barrage thing down for a while now with my old xml, just wanted to throw in the entire section to give a better picture of the code itself ok i finished my xml...but its not loading and im stumped. i keep getting a parsing error: line 122 - error reading attributes. ive tried everything but nothing fixes it. ive even deleted the section thats supposedly causing the error and still nothing
this is the entire xml. Missed a "=" on Line 122:
<set name="guntp" baseset="engaged"> Sylph.Hitetsu said: » Missed a "=" on Line 122: <set name="guntp" baseset="engaged"> dont u hate when ur looking for something, and its right infront of u...u know its right in front of u, but u cant see it.... Was looking for some advice on how to setup a Barrage set using AE and Spellcast.
First I thought of writing it like this. Code <if spell="Netherspikes"> <if spell="Barrage"> <castdelay delay="0.3" /> <equip when="precast" set="Barrage" /> </if> <cancelspell /> </if> Then using AE. Code <register event="gainbuff_Barrage|losebuff_Barrage" silent="true">input /weaponskill "Netherspikes" <t></register> This does not seem to work as it would never switch to Barrage set when Barrage was used. Also was wondering if there would be a way to lock set when idle/engaged. Not sure also how to write it so when you do /range that it wouldn't revert back to snapshot gear. Any suggestions would be apprciated. The problem is, you're not using "Barrage", you're using "Netherspikes". At the moment, it'll only check Barrage if you're casting Netherspikes aswell (which, I'm sure you know, is impossible).
Code xml <if spell="Netherspikes"> <castdelay delay="0.3" /> <if buffactive="Barrage"> <equip when="precast" set="Barrage" /> </if> <elseif notbuffactive="Barrage"> <equip when="precast" set="Whatever" /> </elseif> <cancelspell /> </if> That'll put your Barrage set on. Alternatively, Code xml <if mode="and" status="Idle|engaged" buffactive="Barrage"> <equip set="Barrage" when="Idle|Engaged|Precast|Midcast" /> </if> <if mode="or" buffactive="Barrage" spell="Barrage"> <if spell="Ranged"> <equip when="precast" set="Barrage" /> </if> </if> Whoops, I actually did have it set like this.
Code <if spell="Netherspikes"> <if spell="Barrage"> <equip when="precast" set="Barrage" /> </if> <cancelspell /> </if> But I will try out what you posted above later on.
Necro Bump Detected!
[69 days between previous and next post]
Go necro!
Looking for a kind person to double check my first ever spellcast. Particular attention to ws/ja rules and delays on ranged attack/ws. Was testing in rolanberry but its hard to tell since you kill everything in one shot and disengage triggering idle set. Thanks in advance. http://pastebin.com/WKCU1eBy I have a pretty simple one located here, it checks subjob, weapon, and last weaponskill used to determine its TP set, macros JA pieces and locks barrage gear.
|
||
All FFXI content and images © 2002-2024 SQUARE ENIX CO., LTD. FINAL
FANTASY is a registered trademark of Square Enix Co., Ltd.
|