a macro to camp Dyllin Starsine [Request Fulfilled]

Macro requests from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

User avatar
Fippy
a snow griffon
a snow griffon
Posts: 499
Joined: Tue Jul 16, 2002 10:42 am

Post by Fippy » Sat Sep 21, 2002 3:06 am

look at the lootnodrop command, cant remember the switch but one of em stops the dialog box from comming up and spoiling your macro.

Fippy

drastic ape
a lesser mummy
a lesser mummy
Posts: 30
Joined: Fri Aug 23, 2002 4:43 am

Post by drastic ape » Sat Sep 21, 2002 5:14 am

/lootnodrop never
That will stop the dialog box from popping up. To turn it back on ... /lootnodrop always
It seems like its backwards kinda to my way of thinking. I turned it off after farming gnoll fangs for faction, that little box gets very annoying.

Meh
a lesser mummy
a lesser mummy
Posts: 32
Joined: Wed Sep 04, 2002 8:55 pm

Post by Meh » Sat Sep 21, 2002 6:18 pm

thanks 8)

Meh
a lesser mummy
a lesser mummy
Posts: 32
Joined: Wed Sep 04, 2002 8:55 pm

Post by Meh » Sat Sep 21, 2002 7:57 pm

ok the i think i have perfected it (at least as much as my limited skills can)

edit : code brackets are fun, try them and see

Code: Select all

|Dyllin.mac 
#include Routines.mac 

Sub Main
/alert clear 1 
/alert add 1 npc Dyllin Starsine 
/if "$alert(1)"=="TRUE" /beep 
/Delay 10
/alert add 1 radius 150 "s smuggler" 
/target Dyllin 
/varset v90 $target(id) 
/face 
/cast 4
/delay 8s
/cast 3
/delay 11s
/cast 2
/delay 12s
/cast 4
/delay 11s
/cast 2
/delay 12s
/attack on
/varset t0 5m 
   :CloserAF 
/if "$target(id)"!="$v90" /goto :EndAF 
/if n $target(distance)>14 /call AutoRun 1 
/if n $target(distance)<7 /call AutoRun 0 
/if n $t0==0 /press esc 
/if n $char(hp,pct)<30 /press esc 
/face 
/doevents 
/goto :CloserAF 

   :EndAF 
     /call AutoRun 0 
     /attack off 
/delay 2s
/cast 1
/delay 13s
     /goto :AutoLoot 

:AutoLoot 

     /attack off 
     /target corpse 
     /face 
     /click right auto 
     /delay 3s 
     /mouseto corpse 0 
     /delay 1s 
     /click right 
     /mouseto corpse 1 
     /delay 1s 
     /click right 
     /mouseto corpse 2 
     /delay 1s 
     /click right 
     /delay 1s 
     /press esc esc esc 

/call Main 

Sub AutoRun 
   /if $p0==$v80 /return 
   /varset v80 $p0 
   /if $p0==1 /sendkey down up 
   /if $p0==0 /sendkey up up 
/return

remember if im wrong about anything please correct me!

Meh
a lesser mummy
a lesser mummy
Posts: 32
Joined: Wed Sep 04, 2002 8:55 pm

woot!

Post by Meh » Mon Sep 23, 2002 1:23 pm

i got my tov last night 8)

karanadruid
orc pawn
orc pawn
Posts: 12
Joined: Wed Sep 18, 2002 11:09 pm

Post by karanadruid » Tue Sep 24, 2002 11:05 pm

Ahh ok.. that explains it. Thanks ap50 :)
Last edited by karanadruid on Fri Sep 27, 2002 2:40 am, edited 1 time in total.

User avatar
ap50
a snow griffon
a snow griffon
Posts: 425
Joined: Sun Aug 18, 2002 2:29 pm

Who is that masked man?

Post by ap50 » Wed Sep 25, 2002 3:30 am

Dylin Starshine is a pain the arse mob who spawns every 10 hours as the bottleneck mob in the Testament of Venearquest for lowbies.

Unfortunately, there are a number of 'guard type' bandits that path near him, one of which is a level 50ish if my memory serves me well, so you've got to time your attack when they're not in agro range.
[color=yellow][size=92][b]Just because you're paranoid, it doesn't mean everyone isn't out to get you![/b][/size][/color]

kozz
orc pawn
orc pawn
Posts: 27
Joined: Wed Sep 04, 2002 9:11 pm

Post by kozz » Sat Sep 28, 2002 1:12 pm

Put the code in with the delay included..what does it do if the MOB isn't up? That piece of code is missing~~

kozz
orc pawn
orc pawn
Posts: 27
Joined: Wed Sep 04, 2002 9:11 pm

Post by kozz » Sun Sep 29, 2002 7:32 pm

Dosen't work. If the mob isn't up then it won't work. There is no loop or what ever for it to go to if the mob isn't up heh broken record~. Someone please pose the code with the delay for the mob to pop in it please? I don't know how to make loops.

User avatar
Fippy
a snow griffon
a snow griffon
Posts: 499
Joined: Tue Jul 16, 2002 10:42 am

Post by Fippy » Sun Sep 29, 2002 7:48 pm

If you read this thread you will see I posted the code to do this already.

Fippy

kozz
orc pawn
orc pawn
Posts: 27
Joined: Wed Sep 04, 2002 9:11 pm

Post by kozz » Sun Sep 29, 2002 8:13 pm

:Wait
/Target Dylin
/delay1
/if n $target(id)=0 /goto :Wait

You mean that? Iv'e placed that in the macro but nothing...I probaly put it in the macro wrong. Could you please place the entire code here?

Magnus
a ghoul
a ghoul
Posts: 85
Joined: Sun Aug 11, 2002 3:50 pm

Post by Magnus » Sun Sep 29, 2002 8:19 pm

/if n $target(id)!=TRUE /goto :Wait


Mag

kozz
orc pawn
orc pawn
Posts: 27
Joined: Wed Sep 04, 2002 9:11 pm

Post by kozz » Sun Sep 29, 2002 9:00 pm

Ahh cool. So if the target isnt true then it goes to :wait and loops it over and over again? But what if the target is true. How does the script know what to do then? And it wouldnt really matter what spot of the macro I place that would it?
Im a newbie but learning! thanks magnus!

kozz
orc pawn
orc pawn
Posts: 27
Joined: Wed Sep 04, 2002 9:11 pm

Post by kozz » Sun Sep 29, 2002 9:04 pm

Would this be ok? EDIT : tried in game dose'nt loop =/

Code: Select all

 Dyllin.mac 
#include Routines.mac 

Sub Main 
/alert clear 1 
/alert add 1 npc Dyllin Starsine 
/if "$alert(1)"=="TRUE" /beep 
/Delay 10 
/alert add 1 radius 150 "s smuggler" 
/target Dyllin 
/varset v90 $target(id) 

:Wait 
  /Target Dylin 
  /delay1 
  /if n $target(id)!=TRUE /goto :Wait 


/face 
/cast 4 
/delay 8s 
/cast 3 
/delay 11s 
/cast 2 
/delay 12s 
/cast 4 
/delay 11s 
/cast 2 
/delay 12s 
/attack on 
/varset t0 5m 
   :CloserAF 
/if "$target(id)"!="$v90" /goto :EndAF 
/if n $target(distance)>14 /call AutoRun 1 
/if n $target(distance)<7 /call AutoRun 0 
/if n $t0==0 /press esc 
/if n $char(hp,pct)<30 /press esc 
/face 
/doevents 
/goto :CloserAF 

   :EndAF 
     /call AutoRun 0 
     /attack off 
/delay 2s 
/cast 1 
/delay 13s 
     /goto :AutoLoot 

:AutoLoot 

     /attack off 
     /target corpse 
     /face 
     /click right auto 
     /delay 3s 
     /mouseto corpse 0 
     /delay 1s 
     /click right 
     /mouseto corpse 1 
     /delay 1s 
     /click right 
     /mouseto corpse 2 
     /delay 1s 
     /click right 
     /delay 1s 
     /press esc esc esc 

/call Main 

Sub AutoRun 
   /if $p0==$v80 /return 
   /varset v80 $p0 
   /if $p0==1 /sendkey down up 
   /if $p0==0 /sendkey up up 
/return