Jump to content


Photo

Cancel plugin/Addon not working with utsusemi?


Best Answer Gukai , 16 September 2014 - 12:53 AM

got it figured out... I have cancel plugin but not addon... which makes since now re-reading your stuff.  Didnt realize they were different!  derp!

Go to the full post


    11 replies to this topic

    #1 ph2003

    ph2003

      Member

    • Members
    • PipPip
    • 17 posts

      Posted 26 February 2014 - 10:10 PM

      ive tried 'cancel Copy Image' with cancel addon and 'cancel 66' for cancel plugin, both is not working ;/

      tested with spellcast and gearswap result is same.

       

      but 'cancel sneal' 'cancel stoneskin' or 'cancel 71' cancel 37' works just find?

      any idea only utsu not working?



      #2 Arcon

      Arcon

        Advanced Member

      • Windower Staff
      • 1189 posts
      • LocationMunich, Germany

      Posted 26 February 2014 - 11:49 PM

      There are various Utsu-related buffs, depending on how many shadows you have left. If you have three shadows left, you need to cancel "Copy Image (3)", if you have 2 left "Copy Image (2)" and if you have only one left just "Copy Image".

       

      If you want to cancel all of them, you need to either use "Copy Image*" for the addon, or use several separate cancel commands for the plugin ("cancel 66; cancel 444; cancel 445"). I recommend you use the addon.



      #3 Kari

      Kari

        Newbie

      • Members
      • Pip
      • 3 posts

        Posted 28 February 2014 - 01:13 AM

        To further clarify what Arcon said:

        Copy Image*

        The asterisk is needed for the wildcard.



        #4 ph2003

        ph2003

          Member

        • Members
        • PipPip
        • 17 posts

          Posted 28 February 2014 - 04:48 PM

          hi thx for in suggestion, but 'cancel Copy Image' stil doesnt works when it has 3 shadows ;/ duno why, i used "cancel 66; cancel 444; cancel 445" and it works so im happy!

          #5 Arcon

          Arcon

            Advanced Member

          • Windower Staff
          • 1189 posts
          • LocationMunich, Germany

          Posted 28 February 2014 - 07:22 PM

          Read Kari's post above yours. You're missing the asterisk *.

           

          This:

          cancel copy image*

           

          Not this:

          cancel copy image


          #6 ph2003

          ph2003

            Member

          • Members
          • PipPip
          • 17 posts

            Posted 01 March 2014 - 07:01 PM

            oh!! damn i didnt think thats '*' is needed >< thx!!

            #7 Gukai

            Gukai

              Advanced Member

            • Members
            • PipPipPip
            • 95 posts

              Posted 15 September 2014 - 08:53 AM

              I have this:

              function midcast(spell,action)
              	if spell.type:endswith('Magic') or spell.type == 'Ninjutsu' then
              		if string.find(spell.english,'Utsusemi') then
              			if spell.english == 'Utsusemi: Ichi' and (buffactive['Copy Image'] or buffactive['Copy Image (2)']) then -- Cancel Copy Image 1 & 2 For Utsusemi: Ichi --
              				send_command('@wait 1.7;cancel Copy Image*')
              			end
              

              and it was something I pulled from example lua's and I found that it didnt cancel properly.  I had a single copy image left on my Ni spell, and casted a fresh Ichi spell, but it didnt cancel properly and i got a 'no effect' for the Ichi spell  :(

              It wasnt instant-cast either

               

              Can I get a look-over to see if something is wrong?



              #8 Arcon

              Arcon

                Advanced Member

              • Windower Staff
              • 1189 posts
              • LocationMunich, Germany

              Posted 15 September 2014 - 02:50 PM

              It looks right, but only the addon will do what you want. The Cancel plugin needs an ID to cancel, not a name.



              #9 Gukai

              Gukai

                Advanced Member

              • Members
              • PipPipPip
              • 95 posts

                Posted 15 September 2014 - 03:54 PM

                Hi Arcon

                Are you talking about cancel 66; cancel 444; cancel 445?  I'm thinking you mean something else, because on an earlier post above you recommended canceling via the addon, which I thought my rule was doing.

                 

                Much appreciated for the continued help :)



                #10 Arcon

                Arcon

                  Advanced Member

                • Windower Staff
                • 1189 posts
                • LocationMunich, Germany

                Posted 15 September 2014 - 07:20 PM

                No, that's what I meant, but I didn't tell you to use the plugin, but only to make sure you were using the addon. So you're saying you're using the addon but "cancel copy image*" doesn't work? Did you try doing that in the chat log, just //cancel copy image* ? If that works, but your script doesn't, then cancel isn't the problem but your rule.



                #11 Gukai

                Gukai

                  Advanced Member

                • Members
                • PipPipPip
                • 95 posts

                  Posted 15 September 2014 - 07:48 PM

                  I'll try the chat log approach later tonight when I am home from work.  Thanks for your help and knowledge!



                  #12 Gukai

                  Gukai

                    Advanced Member

                  • Members
                  • PipPipPip
                  • 95 posts

                    Posted 16 September 2014 - 12:53 AM   Best Answer

                    got it figured out... I have cancel plugin but not addon... which makes since now re-reading your stuff.  Didnt realize they were different!  derp!






                    1 user(s) are reading this topic

                    0 members, 1 guests, 0 anonymous users