Bsthelper based off RH mac (Updated 7/06/05)

Post your completed (working) macros here. Only for macros using MQ2Data syntax!

Moderator: MacroQuest Developers

Merlin
a lesser mummy
a lesser mummy
Posts: 69
Joined: Tue Oct 26, 2004 2:33 am

Post by Merlin » Mon Apr 17, 2006 9:08 pm

yeah i think i'm using the old version before you rewrote it, sorry about that. I was too busy trying to fix the old one rather than notice the revision

r0tax
orc pawn
orc pawn
Posts: 10
Joined: Thu Feb 17, 2005 12:26 am

Autostick...sticking...

Post by r0tax » Thu May 18, 2006 7:44 pm

I'm having a couple issue..
Even when I disable autostick...its autosticking..
Even when i disable autoassist, its assisting..

Similar to what a couple others have had, except, /assist off has not fixed the autoassist issue.

And I simply can not figure out where its auto enabling / doing autostick . . even when I disable it ??

Can anyone give me some insite on this? I am using moveutils . . i have tried unloading it...yet autostick still is stuck "on" . .

EDIT: Some more info after tweaking w/ this most of last night. I got it down to where it at least will NOT auto stick (ie auto zerg targets), stripped a bunch of code out, but as of yet am not sure EXACTLY what needs to be removed..

Somewhere I was getting a "Do command '/stick ' " error (when I disabled MU I found this error).. yet I searched thru the whole macro for "/stick" and found no entries (I removed them all earlier) . .

Anyway...has NO ONE else run into this issue w/ sticking?? I'm sure most of you are using it for this feature anyway..but I use this simply for playing a single toon and do not need it to always autostick/autozerg things. :P

Please help if you have any input, would greatly appreciate it.

someoneorsomething
decaying skeleton
decaying skeleton
Posts: 2
Joined: Mon Mar 27, 2006 1:51 pm
Location: Mich

Post by someoneorsomething » Thu May 25, 2006 6:24 pm

Code: Select all

| ################# Checks for expired slow/debuff timers 

Sub CheckDebuffTimers 

   /declare i int local 1 

   /for i 1 to ${DebuffTimers.Size} 

      /if (${DebuffTimers[${i}]}) /if (!${Spawn[${DebuffTimers[${i}]}].ID} || ${Spawn[${DebuffTimers[${i}]}].State.Equal[DEAD]}) { 
         /if (${Defined[DebuffTimer${DebuffTimers[${i}]}]}) { 
            /deletevar DebuffTimer${DebuffTimers[${i}]} 
         } 

         /varset DebuffTimers[${i}] 0 

      } 

      /if (${DebuffTimers[${i}]}) /if (${Defined[DebuffTimer${DebuffTimers[${i}]}]}) /if (${DebuffTimer${DebuffTimers[${i}]}}<=6) { 
          
              /call checkCanCast "${SpellSlow}" gem${SpellSlowGem} 
              /if (!${Macro.Return}) /return 

         /squelch /stick off 
         /squelch /moveto off 
         /if (${Me.Combat}) /attack off 
    
         /target id ${DebuffTimers[${i}]} 
         /call Slow 

         /target id ${TargetArray[4]} 
         /attack on 

      } 

   /next i 

/return 


Sub SetDebuffTimer(int id,timer t) 

   /declare i int local 1 

   /for i 1 to ${DebuffTimers.Size} 
      /if (!${DebuffTimers[${i}]}) { 

         /varset DebuffTimers[${i}] ${id} 

         /if (!${Defined[DebuffTimer${DebuffTimers[${i}]}]}) { 
            /declare DebuffTimer${DebuffTimers[${i}]} timer outer ${t} 
         } else { 
            /varset DebuffTimer${DebuffTimers[${i}]} ${t} 
         } 
         /return 

      } 
   /next i 

/return 


Sub CheckSlowRadius 

   /declare s string local 

   /declare sID int local 

   /declare i int local 1 
   /declare g int local 1 
   /declare h int local 1 

   /for i 1 to 10 
       

:CheckSlowRadiusLoop1 

      /varset s ${Me.NearestSpawn[${i},npc].ID} 

      /if (${Spawn[${s}].Distance}>${Spell[${SpellSlow}].Range}) /next i 
      /if ((${Me.CurrentMana}<${Spell[${SpellSlow}].Mana})) /next i 

      /call CheckAttacking ${Spawn[${s}].ID} 

         /if (${Target.Type.Equal[NPC]} && ${Macro.Return}) { 



      /for g 0 to ${Math.Calc[${Group.Members}+${otherBuffees.Size}]} 

    /if (${g}<=${Group.Members}) { 
       /varset sID ${Group.Member[${g}].ID} 
    } else { 
       /varset sID ${Spawn[${otherBuffees[${Math.Calc[${g}-${Group.Members}]}]}].ID} 
    } 

            /if (${Spawn[${sID}].ID}) /if (${Math.Distance[${Spawn[${s}].X},${Spawn[${s}].Y}:${Spawn[${sID}].X},${Spawn[${sID}].Y}]} <= 50) { 

               /for h 1 to ${DebuffTimers.Size} 

                  /if (${DebuffTimers[${h}]}==${s}) { 
                     /varset i ${Math.Calc[${i}+1]} 
                     /if (${i}>10) /return 
                     /goto :CheckSlowRadiusLoop1 
                  |   /next i 
                  } 

               /next h 


               |/if (${LineOfSight[${Me.Y},${Me.X},${Me.Z}:${Spawn[${s}].Y},${Spawn[${s}].X},${Spawn[${s}].Z}]}) { 
               |   /if (${LineOfSight[${Spawn[${sID}].Y},${Spawn[${sID}].X},${Spawn[${sID}].Z}:${Spawn[${s}].Y},${Spawn[${s}].X},${Spawn[${s}].Z}]}) { 

       
                          /call checkCanCast "${SpellSlow}" gem${SpellSlowGem} 
                          /if (!${Macro.Return}) /return 


                     /squelch /stick off 
                     /squelch /moveto off 

                     /if (${Me.Combat}) /attack off 
    
                     /target id ${s} 

                     /delay 5 

                     |/if (${DoMalo} && ${Target.Type.Equal[NPC]}) { 
                     |   /call DeBuff 
                     |} 

                     /if (${DoSlow} && ${Target.Type.Equal[NPC]}) { 

                        /call Slow 

                     } 

                     /target id ${TargetArray[4]} 
                     /attack on 

                     /if (${tookAction}) /return 
               |   } 
               |} 
            } 
          
         /next g 
      } 
   /next i 

/return 



xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Bsthelper based off RH mac (Updated 7/06/05)

Post by xyilla » Sun May 04, 2025 8:30 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Bsthelper based off RH mac (Updated 7/06/05)

Post by xyilla » Sun May 04, 2025 8:32 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Bsthelper based off RH mac (Updated 7/06/05)

Post by xyilla » Sun May 04, 2025 8:33 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Bsthelper based off RH mac (Updated 7/06/05)

Post by xyilla » Sun May 04, 2025 9:09 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Bsthelper based off RH mac (Updated 7/06/05)

Post by xyilla » Sun May 04, 2025 9:10 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Bsthelper based off RH mac (Updated 7/06/05)

Post by xyilla » Sun May 04, 2025 9:46 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Bsthelper based off RH mac (Updated 7/06/05)

Post by xyilla » Sun May 04, 2025 9:47 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Bsthelper based off RH mac (Updated 7/06/05)

Post by xyilla » Sun May 04, 2025 9:48 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Bsthelper based off RH mac (Updated 7/06/05)

Post by xyilla » Sun May 04, 2025 9:50 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Bsthelper based off RH mac (Updated 7/06/05)

Post by xyilla » Sun May 04, 2025 9:51 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Bsthelper based off RH mac (Updated 7/06/05)

Post by xyilla » Sun May 04, 2025 9:52 pm


xyilla
naggy
naggy
Posts: 29514
Joined: Sun Feb 23, 2025 5:36 am

Re: Bsthelper based off RH mac (Updated 7/06/05)

Post by xyilla » Sun May 04, 2025 9:54 pm