Beastlord raising skill on warder, warder poofs in 5 hours!

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

Moderator: MacroQuest Developers

User avatar
Coraz
a lesser mummy
a lesser mummy
Posts: 41
Joined: Mon Sep 09, 2002 11:24 pm

Beastlord raising skill on warder, warder poofs in 5 hours!

Post by Coraz » Mon Sep 09, 2002 11:30 pm

Ok I've been just doing 5 hours as a time and i'm almost done with spell skills anyways but... narrr I won't give up til this works

Every time i cast 5 spells, then I *want* MQ to check if my target is my WARDER.. I've been trying to use /if n $target=FALSE (I have nothing on target) /call Warder -- summon my warder, delay, /target pet and contine the macro, HOWEVER! it tries to summon a warder every time and makes the actual macro almost 3x longer than it should normally take -_-

I have no idea what the correct command for checking the target would be.. I bet it's really simple and you're snickering inside :p but I figured out how to make some sloppy, ghetto macro's that work well enough, except for this one.. I also hope the

/if $gm==TRUE /call Crap

works too, hehe. (: Ok, here is what my entire macro includes:

edit : Rizwank doesnt feel like fixing code, but code brackets are fun
edit3 : sorry Riz the page says ! Error on page. and none of the emoticons or functions work for me heh. plus this should be in macro help :/


Code: Select all

#define maxiskill v1 
Sub Main 
/varcalc maxiskill $char(level)*5+5 
:Begin 
   
   /if n $char(skill,alteration)<$maxiskill /cast 1
   /if n $char(skill,alteration)<$maxiskill /delay 35 
   /if n $char(skill,evocation)<$maxiskill /cast 2 
   /if n $char(skill,evocation)<$maxiskill /delay 50 
   /if n $char(skill,conjuration)<$maxiskill /cast 3 
   /if n $char(skill,conjuration)<$maxiskill /delay 42 
   /if n $char(skill,divination)<$maxiskill /cast 4
   /if n $char(skill,divination)<$maxiskill /delay 38
   /if n $char(skill,abjuration)<$maxiskill /cast 5
   /if n $char(skill,abjuration)<$maxiskill /delay 55
   /if $gm==TRUE /call Crap  
   /if n $target==FALSE /call Warder
   /if n $char(mana,pct)<25 /cast 6 /delay 75
   /if n $char(mana,pct)<10 /sit 
   /if n $char(mana,pct)<10 /call meditate 
   /if n $char(skill,alteration)<$maxiskill /goto :begin 
   /if n $char(skill,evocation)<$maxiskill /goto :begin 
   /if n $char(skill,conjuration)<$maxiskill /goto :begin 
   /if n $char(skill,divination)<$maxiskill /goto :begin 
   /if n $char(skill,abjuration)<$maxiskill /goto :begin
 
Sub Crap 
   /cleanup
   /reply 1 sec.. laggy 
   /sit 
   /mqlog
   /delay 80
   /q 


        /sit 
        /camp 
/return 

Sub Warder
    /if n $target==TRUE /goto :begin<----- (this one changes a lot
                   and I have been messing with it.. this usually isn't in here.)
    /press 4
    /delay 180
    /target pet
    /delay 10
/return

Sub meditate 
:rest 
   /delay 10 
   /if n $char(mana,pct)<100 /goto :rest 
   /stand 
/return

cyberglitch
a lesser mummy
a lesser mummy
Posts: 42
Joined: Wed Jun 26, 2002 4:40 pm

Post by cyberglitch » Tue Sep 10, 2002 7:43 am

Best thing to do is. This will set a 4 hour timmer and when that expires to recast your pet. With beastlords as long as the pet is summoned (even if you already have one up) the timmer is reset so doing this every 4 hours will be fine.

Code: Select all

Sub Main 
/varcalc maxiskill $char(level)*5+5
/varset t0 4h



   /if $gm==TRUE /call Crap  
   /if n $t0==0 /call Warder

/return


Sub Warder  
    /varset t0 4h
    /press 4 
    /delay 180 
    /target pet 
    /delay 10 
/return 

Valerian
a grimling bloodguard
a grimling bloodguard
Posts: 709
Joined: Sun Jul 28, 2002 3:29 am

Post by Valerian » Tue Sep 10, 2002 9:14 am

Would this work?

Code: Select all

/if $target(name)!~"Warder" /call Warder

cyberglitch
a lesser mummy
a lesser mummy
Posts: 42
Joined: Wed Jun 26, 2002 4:40 pm

Post by cyberglitch » Tue Sep 10, 2002 12:36 pm

It should but any time your target is not your warder for what ever reason it will recast your pet.

Only thing I can see maybe causing a problem but have not checked is with the new coding where spells try to target your pet automatically. I am unsure if it clears your target for a split second then targets pet. If this is the case you will be casting your pet every round.

But try it out and see what it does, that should work though.

User avatar
Coraz
a lesser mummy
a lesser mummy
Posts: 41
Joined: Mon Sep 09, 2002 11:24 pm

Post by Coraz » Tue Sep 10, 2002 3:16 pm

Cyberglitch: The only time I want it to summon a warder is when my target changes. I'm using this when I'm AFK so I don't need to change targets. If (after 4 hours) I still have warder up, casting warder will give me message You can only have one pet at a time. The warder will not refresh, leaving it to die in 1 hour, and having a 3 hour gray area until the next 4th hour upon which it summons pet.

Edit: the

Code: Select all

/if $target(name)!~"Warder" /call Warder
works well for AFK spell macroing in case warder poof, just tested it, thank you!

cyberglitch
a lesser mummy
a lesser mummy
Posts: 42
Joined: Wed Jun 26, 2002 4:40 pm

Post by cyberglitch » Tue Sep 10, 2002 8:45 pm

Actually I play a beastlord. When you cast the pet it will give you the message you can only have 1 pet but it will refresh the pet timer. This is a good way to always keep a good pet up without loosing them. For example on very long raids (6+ hours) I can keep my fully buffed pet up by recasting my summon pet hotkey. It's a little trick that not a lot of beastlords know about.

Trust me on this one. My beastlord is now 55 and I've been doing this a long time. :lol:

User avatar
Coraz
a lesser mummy
a lesser mummy
Posts: 41
Joined: Mon Sep 09, 2002 11:24 pm

Post by Coraz » Tue Sep 10, 2002 9:39 pm

Oh yeah well..

:p

My beasty is 45 and can't cast a single abjure buff...

Also got a 60 shaman 8) both Vah..

cyberglitch
a lesser mummy
a lesser mummy
Posts: 42
Joined: Wed Jun 26, 2002 4:40 pm

Post by cyberglitch » Wed Sep 11, 2002 9:32 am

Lets not get into the battle of who has what. You will loose that battle.

Enjoy the beastlord though, although a unfinished class they are a lot of fun to play.

User avatar
Coraz
a lesser mummy
a lesser mummy
Posts: 41
Joined: Mon Sep 09, 2002 11:24 pm

Post by Coraz » Wed Sep 11, 2002 5:15 pm

Watch it or I'll use my ban sig on you :P