Jump to content


Photo

Spellcast: Gear swaps not working anymore


    7 replies to this topic

    #1 Gukai

    Gukai

      Advanced Member

    • Members
    • PipPipPip
    • 95 posts

      Posted 30 September 2013 - 09:58 AM

      Hello

      My thf xml has a defined idle hands and feet and variables for them when engaged.  When engaged, the hands/feet initially go into thf gear, and a false spell is activated.  After the spell is 'complete', dd hands/feet are equipped in the aftercast.  It's always worked, until recently.  Im not sure if something changed with spellcast that I wasnt aware of.  Please give a look.  I even edited it to showgearswaps=true and it displayed the gears it was changing to... but when I looked at the actual gear equipped it was wrong.  I've attached the screen shot of the gear swap and also the xml. Attached File  thf.JPG   55.12K   22 downloads

       

      Attached File  gukai_thf.xml   10.56K   3 downloads



      #2 Gukai

      Gukai

        Advanced Member

      • Members
      • PipPipPip
      • 95 posts

        Posted 30 September 2013 - 03:13 PM

        I forgot to mention... instead of going to thf gear, like the showgearswaps said it was doing... what was actually equipped was garden bangles and iuitl gaiters... and then when the spell 'finished' casting, the gaiters were still there and the iuitl wristbands were equipped.  None of the TH gear got equipped even though the showgearswaps said it was.



        #3 d3vious

        d3vious

          Advanced Member

        • Members
        • PipPipPip
        • 39 posts
        • LocationJersey

        Posted 01 October 2013 - 05:40 PM

        Someone correct me if I'm wrong but, On your idle status var cmd u have ' instead of " this should solve your problem.

        Change:

         

                <elseif status="idle">
                    <var cmd='set hands $THhands' />
                    <var cmd='set hands $THfeet' />
                    <var cmd='set lear $Evasionlear' />
                    <equip when="idle|aftercast" set="Idle" />
                </elseif>
         

         

        To:

         

                <elseif status="idle">
                    <var cmd="set hands $THhands" />
                    <var cmd="set hands $THfeet" />
                    <var cmd="set lear $Evasionlear" />
                    <equip when="idle|aftercast" set="Idle" />
                </elseif>
         


        #4 Arcon

        Arcon

          Advanced Member

        • Windower Staff
        • 1189 posts
        • LocationMunich, Germany

        Posted 01 October 2013 - 06:33 PM

        That should make no difference, single quotes are supported as well (it's often used in advanced tags).



        #5 Gukai

        Gukai

          Advanced Member

        • Members
        • PipPipPip
        • 95 posts

          Posted 11 October 2013 - 06:18 AM

          I think I see the problem, but need help on a fix

           

          So when I engage, it's supposed to do a spell, and in the rules of that spell it changes the variables for my hand gear to dd equipment.  That timer for the casting of the spell is long enough for me to tap the enemy and get TH on it, then the spell finishes and the DD gear is equiped.  With my xml set to show the gear swaps, I should see the casting going on "precast, midcast, aftercast"... But I dont.  

           

          I dont think the input of the spell is being done by my xml.  Can you please review my rules for it?  The input is line 191, and the rules of it is line 222ish.

           

          So lets look at why my fake spell isnt being initiated upon engaging.  Thank you. 



          #6 Gukai

          Gukai

            Advanced Member

          • Members
          • PipPipPip
          • 95 posts

            Posted 23 November 2013 - 06:31 PM

            can someone look at the input line for the spell i use?  lines involved are 191 and 222ish, i am fairly confident the issue starts there, maybe something broke in an update



            #7 Arcon

            Arcon

              Advanced Member

            • Windower Staff
            • 1189 posts
            • LocationMunich, Germany

            Posted 23 November 2013 - 06:48 PM

            I'm not even sure if I'm understanding the problem correctly. Can you tell me a) what action you're performing, B) what result you are expecting and c) what result you are getting?



            #8 Gukai

            Gukai

              Advanced Member

            • Members
            • PipPipPip
            • 95 posts

              Posted 23 November 2013 - 08:07 PM

              This was working, so I'll start by stating that.  

               

              Hands/Feet are governed by variables...except at idle.  When status is at idle the variable inputs TH hands/feet.

               

              When engaged, hands/feet switch to what the variable is defined as, which should always be TH hands/feet.

               

              When engaged, the spell aeroga4 is cast, this is done with an input command.  The spell doesnt exist, so its a 'fake' spell.  however, it a casting timer still exist.  When the spell is cast, the variable for hands/feet is changed to DD gear.

               

              Upon engagement, the hands/feet gear swap out to TH gear.  The aftercast of the fake spell changes gear to the status... since the status is engaged, and the variables were changed to DD gear, the DD gear should then equip.

               

              The purpose of all this is to give TH gear enough time to be equipped to get TH on the mob then swap to DD gear.

               

              Problem::

              The variables are not working.  I'll be in Idle gear and when I engaged the TH gear doesnt come on.  Sometimes I'll get th feet and the regen hands stay on instead of th hands.  Sometimes the DD feet come on.  

               

              thus I think there's something up with the setting of the variables, and maybe the input of the fake spell isnt working for some reason now.






              1 user(s) are reading this topic

              0 members, 1 guests, 0 anonymous users