Windower: Help with Staff issues XML - Windower

Jump to content

Code Snippets

Please be courteous when asking for help on your XML and _DO_NOT_ paste the full XML into your paste.

1-6 lines is ok, but if you need to paste your full XML please go to Windower Pastebin and paste your full XML there, then give a link to the paste in your post.

Set the paste type to XML and length to 1 month.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Help with Staff issues XML

#1 User is offline   crazy123 

  • Script Kiddy
  • Group: Members
  • Posts: 9
  • Joined: 06-September 08

Posted 09 February 2010 - 12:31 AM

I can't figure it out, I can't get any of the staves to swap on the right elements. Ideally i want Terra in there in Idle gear. Please assist if you got a sec, ie. taking a dirt nap cause your Whm was not using spellcast....

http://paste.windower.net/m63aa73e7


Also any other erros please feel free.

On a final note, this XML is blatent cut and paste from some of the ones you gusy posed on here, (mostly Carpesaxum and Alitaru) with minor tweaks So thanks a bunch to those of you who worked hard to post yours.
0

#2 User is offline   tard 

  • Elite Member
  • PipPipPipPipPip
  • Group: Members
  • Posts: 217
  • Joined: 19-September 06
  • Gender:Male
  • Location:Ohio

Posted 09 February 2010 - 08:28 AM

View Postcrazy123, on 09 February 2010 - 12:31 AM, said:

I can't figure it out, I can't get any of the staves to swap on the right elements. Ideally i want Terra in there in Idle gear. Please assist if you got a sec, ie. taking a dirt nap cause your Whm was not using spellcast....

http://paste.windower.net/m63aa73e7


Also any other erros please feel free.

On a final note, this XML is blatent cut and paste from some of the ones you gusy posed on here, (mostly Carpesaxum and Alitaru) with minor tweaks So thanks a bunch to those of you who worked hard to post yours.


<variables>
<var name="IceStaff">Aquilo's Staff</var>
<var name="WindStaff">Auster's Staff</var>
<var name="EarthStaff">Terra's Staff</var>
<var name="ThunderStaff">Jupiter's Staff</var>
<var name="WaterStaff">Neptune's Staff</var>
<var name="FireStaff">Vulcan's Staff</var>
<var name="DarkStaff">Pluto's Staff</var>
<var name="LightStaff">Apollo's Staff</var>
</variables>

^^ Change the name to the staff's you have , those are all HQ Staves^^


In your base set ( Idle set ) put:


<main>$EarthStaff</main>

and In yourrules put:

<action type="equip" when="midcast">
<main>$%SpellElementStaff</main>
</action>
0

#3 User is offline   crazy123 

  • Script Kiddy
  • Group: Members
  • Posts: 9
  • Joined: 06-September 08

Posted 09 February 2010 - 11:47 AM

I currently have


<elseif Element="Fire" NotSpell="Barblizzar*|Barparalyze|Blaze Spikes">
<action type="equip" when="Precast" set="FireStaff" />
<action type="equip" when="midcast">
</action>
</elseif>
I also have:

  • <set name="FireStaff"><LI class=li1> <main>Fire Staff</main>
  • </set>
I am using Fire as an example because its one of my NQ. In the rest of my sets I have the appropriate names.

I will delete tonight and try your way. Question is this all i need for the right staff to equip, assuming I use the variables?

<action type="equip" when="midcast">
<main>$%SpellElementStaff</main>
</action>

Just curious how "$%SpellElementStaff" covers it all

FYI I am a total newb at this, just really trying to learn.





0

#4 User is offline   IneptVagrant 

  • Hacked the Gibson
  • PipPipPipPipPipPipPipPipPipPip
  • Group: +Power Members
  • Posts: 1,444
  • Joined: 01-August 05

Posted 09 February 2010 - 12:11 PM

Its covered on the spellcast wiki page under the heading Chaining Variables. Also there are quite a few threads on it, so many in fact that you'ld proably have trouble pinning down the useful ones.
0

#5 User is offline   crazy123 

  • Script Kiddy
  • Group: Members
  • Posts: 9
  • Joined: 06-September 08

Posted 09 February 2010 - 12:23 PM

View PostIneptVagrant, on 09 February 2010 - 12:11 PM, said:

Its covered on the spellcast wiki page under the heading Chaining Variables. Also there are quite a few threads on it, so many in fact that you'ld proably have trouble pinning down the useful ones.



Thanks, yeah I found it while scrolling. going to edit tonight.
0

#6 User is offline   crazy123 

  • Script Kiddy
  • Group: Members
  • Posts: 9
  • Joined: 06-September 08

Posted 10 February 2010 - 12:45 AM

Ok I tried the variable method. I even cut out my vert comands cause i thought it was causing the problem. Still can't get staves to swap. http://paste.windower.net/m1d4b8642 full XML

Relvant portion - did the variables for staves, then

<action type="equip" when="midcast">
<main>$%SpellElementStaff</main>
</action>

Still not working?

I hate to bother with what is a newb question but i spent over 2 hours trying to get this to work and i can't find my error.






0

#7 User is offline   IneptVagrant 

  • Hacked the Gibson
  • PipPipPipPipPipPipPipPipPipPip
  • Group: +Power Members
  • Posts: 1,444
  • Joined: 01-August 05

Posted 10 February 2010 - 07:16 AM

<if status="Engaged" TPGT="01">

If you have more than 1 TP, than you don't switch weapons. If you think that's not the problem, post a debug log and I'll figure it out.
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users