Something odd with /assist

Help section from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Something odd with /assist

Post by wassup » Wed Jul 16, 2003 1:56 pm

Working on a bot, here is a simple part but has a strange result:

Code: Select all

    /if "$arg(1,"$p2")"=="slow" { 
       /sit off
       /tar <roguename>
       /assist
       /cast "turgur's insects"
    }

The macro targets <roguename>, then /assist brings up his target, but when Turgur's Insect's is cast it hit's <roguename>

*edit*

Nevermind, it seems that this won't work, but if you simply use /assist <roguename> it works fine.

Kind of puzzling.

User avatar
Kint
a hill giant
a hill giant
Posts: 208
Joined: Thu Mar 13, 2003 3:36 am

Post by Kint » Wed Jul 16, 2003 4:12 pm

nt

YKW-28983
a hill giant
a hill giant
Posts: 252
Joined: Sun Dec 01, 2002 11:37 pm

Re: Something odd with /assist

Post by YKW-28983 » Wed Jul 16, 2003 7:27 pm

Wassup wrote:Working on a bot, here is a simple part but has a strange result:

Code: Select all

    /if "$arg(1,"$p2")"=="slow" { 
       /sit off
       /tar <roguename>
       /assist
       /cast "turgur's insects"
    }

The macro targets <roguename>, then /assist brings up his target, but when Turgur's Insect's is cast it hit's <roguename>

*edit*

Nevermind, it seems that this won't work, but if you simply use /assist <roguename> it works fine.

Kind of puzzling.

Try...

Code: Select all

    /if "$arg(1,"$p2")"=="slow" { 
       /sit off 
       /tar <roguename> 
       /assist 
       /delay 5
       /cast "turgur's insects" 
    } 
It will pause you for half a second before you start casting. you may not be giving the assist enough time to work =)

GoatFoot
a lesser mummy
a lesser mummy
Posts: 68
Joined: Fri Jan 17, 2003 1:48 am

Post by GoatFoot » Wed Jul 16, 2003 8:38 pm

Code: Select all

   /if "$arg(1,"$p2")"=="slow" {
       /sit off
       /target <roguename>
       
      :GetTarget   
       /if $target(name)==<roguename> {
          /assist  <roguename>
          /delay 3
          /goto :GetTarget
       } 
       
       /cast "turgur's insects"
    } 

wassup
Official Guardian and Writer of TFM
Official Guardian and Writer of TFM
Posts: 1487
Joined: Sat Oct 26, 2002 5:15 pm

Post by wassup » Thu Jul 17, 2003 3:57 am

GoatFoot wrote:

Code: Select all

   /if "$arg(1,"$p2")"=="slow" {
       /sit off
       /target <roguename>
       
      :GetTarget   
       /if $target(name)==<roguename> {
          /assist  <roguename>
          /delay 3
          /goto :GetTarget
       } 
       
       /cast "turgur's insects"
    } 
When I did the /assist, the rogue's target appeared in the target window, but the Turgur's Insects was being cast on the rogue.

What I found out after testing was that there needs to be some delays in there. It seems the server wasn't catching up with the client.

YKW-28983
a hill giant
a hill giant
Posts: 252
Joined: Sun Dec 01, 2002 11:37 pm

Re: Something odd with /assist

Post by YKW-28983 » Thu Jul 17, 2003 2:15 pm

YKW-28983 wrote:It will pause you for half a second before you start casting. you may not be giving the assist enough time to work =)

What I told you to do...

macrotoon
a ghoul
a ghoul
Posts: 106
Joined: Wed Sep 18, 2002 4:38 pm

Post by macrotoon » Thu Jul 17, 2003 5:05 pm

The delay isnt in there just for macroquest. It accounts for lag between server and client. For instance. The other day i made a hotkey to assist the puller. My hotkey looked like this

/assist puller_name
/g my target is %t lets bash its head.


I would often spam the group with

Toonhere tells the group" My target is target lets bash its head in.

after about an hour of being thrashed with that group say. I changed it to this:
/assist puller_name
/pause 5
/g my target is %t lets bash its head.

After that there were no problems what so ever with the simple hotkey