Hunter Macro (v1.3 UPDATED 06-07-2004 12:51pm PST)

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

Moderator: MacroQuest Developers

Phox
orc pawn
orc pawn
Posts: 29
Joined: Fri Mar 19, 2004 6:44 am

Post by Phox » Thu Jul 01, 2004 2:05 pm

wrangler wrote:already is

Code: Select all

|What is the minimum Z Value of mobs I should target?
   |------------------------------------------------------------
   /declare RV_MinZRange        int outer  -1000
   |------------------------------------------------------------
   |What is the maximum Z Value of mobs I should target?
   |------------------------------------------------------------
   /declare RV_MaxZRange        int outer  1000 

That still doesnt solve the problem of creatures at the same height as you but are outside the zone boundry.

the_horror
a lesser mummy
a lesser mummy
Posts: 36
Joined: Mon May 31, 2004 2:42 pm

huner.mac

Post by the_horror » Mon Jul 12, 2004 12:17 pm

fixed this question next one
Last edited by the_horror on Mon Jul 12, 2004 1:41 pm, edited 1 time in total.

the_horror
a lesser mummy
a lesser mummy
Posts: 36
Joined: Mon May 31, 2004 2:42 pm

Post by the_horror » Mon Jul 12, 2004 1:40 pm

getting an error

uparseable calculation "|"
in line 183
:MovementLoop

/if ((!${RV_Fighting})&&(!${RV_TargetDead})&&(${Target.PctHPs}<100)) {
/echo Mob not at full health, picking another...
/varset RV_InvalidTargetID ${Target.ID}
/varset RV_HasTarget 0
/call ResetSub
/return

theafkxper
a hill giant
a hill giant
Posts: 207
Joined: Sun Sep 08, 2002 6:41 pm

Post by theafkxper » Mon Jul 12, 2004 2:01 pm

does "&|t" look like mq2 code?

lets have a look at the announcements forum sir!

http://macroquest2.com/phpBB2/viewtopic.php?t=8058

that is all.

-afk

Salvinger
orc pawn
orc pawn
Posts: 12
Joined: Fri Jul 16, 2004 10:21 pm

hmm

Post by Salvinger » Fri Jul 16, 2004 10:26 pm

im wondering since Mob1=Spider would only target a mob specifically named spider would Mob1~Spider target mobs with the word spider in it?

ISpy
orc pawn
orc pawn
Posts: 17
Joined: Thu Jun 17, 2004 7:21 pm

Post by ISpy » Fri Jul 16, 2004 11:25 pm

It will go after any mob with the letters 'spider' in it in that order and grouping.

'wolf' for instance in WK will go after the Werewolf and get your low-level pelt farmer kilt.
Ispy Withmylittleeye

Salvinger
orc pawn
orc pawn
Posts: 12
Joined: Fri Jul 16, 2004 10:21 pm

re

Post by Salvinger » Fri Jul 16, 2004 11:30 pm

ok thats what i thought thanks

Nightcrawler7514
orc pawn
orc pawn
Posts: 25
Joined: Mon Oct 27, 2003 6:43 pm
Location: Denmark

Post by Nightcrawler7514 » Sun Jul 18, 2004 6:52 am

Very cool macro, but there was a couple of items I didnt like so I make some modifications to it.

First I combined the 2 ini-files into 1, and added a BattleSkill system for Kick, Taunt and the like to be placed inside the ini-file. Im currently working on a buff and healing addition that also will be placed inside the ini-file.

If anyone want it, let me know and I will post the code.

Nightcrawler7514

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Sun Jul 18, 2004 6:54 am

Post it, but make it its own thread, and be sure to give credit where due. :D
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

Salvinger
orc pawn
orc pawn
Posts: 12
Joined: Fri Jul 16, 2004 10:21 pm

re

Post by Salvinger » Sun Jul 18, 2004 3:00 pm

when i tried this i got an error that said the subroutine main wasnt found all i did to the code was changed the &lt to < and &gt to >

User avatar
Stults
a lesser mummy
a lesser mummy
Posts: 52
Joined: Tue May 25, 2004 11:47 pm

Re:

Post by Stults » Sun Jul 18, 2004 3:03 pm

Did you make sure to take out the ; ? Cause the error was < and >

Salvinger
orc pawn
orc pawn
Posts: 12
Joined: Fri Jul 16, 2004 10:21 pm

need help

Post by Salvinger » Sun Jul 18, 2004 10:18 pm

not sure what im doing wrong but when i load up the macro i get the error from the code

"Mob Array Creation Error, Ending Macro"
and this is what my ini looks like

[Eastern Plains of Karana]
Mob1=Spider
Mob2=Lion
Mob3=Griffawn

[East Commonlands]
Mob1=Spiderling

[The Feerrott]
Mob1=Spider

and thats exactly what it says to do

Pickled
a lesser mummy
a lesser mummy
Posts: 34
Joined: Tue Sep 16, 2003 11:29 am

Post by Pickled » Mon Jul 19, 2004 3:41 pm

First of all to say thank you RobDawg for this truly amazing piece of work!

Ok this is probably pushing it a bit, anyone know a basic way to get me started on writing some code that checks if a higher level mob is in the area (with range of x) eg. Mr Tarbul Earthstrider! on EK - so it will re-consider moving within his radius, due to aggro - and keep waiting until he moves outwith a certain radius of aggro?

Awaits flames! :)

tesla212
decaying skeleton
decaying skeleton
Posts: 1
Joined: Sun Jun 27, 2004 12:42 am

Post by tesla212 » Wed Jul 21, 2004 12:55 am

Yea, this macro is awesome. I just have a small problem. For some reason i keep gettin kicked for being inactive while running this bot for long periods. Is there any type of code i can add to move the mouse cursor every hour or so to prevent it from being kicked? Thx and again great macro!=)

JL
decaying skeleton
decaying skeleton
Posts: 3
Joined: Wed Jul 21, 2004 6:30 pm

Post by JL » Wed Jul 21, 2004 6:46 pm

this is a great macro, especiall for beginners to learn from. one problem you do have is that the macro does not read and compare names with commas (,) correctly, and i havent been able to fix it. Like, say you want to autohunt in Natimbi, The Broken Shores. It don't work. it halts and freezes (the macro itself).... now, if you customize the macro just for that zone by replacing all instances of "Zone.Name" with "Natimbi", and then just make headers of [Natimbi] in the .ini files it works great. many props, and if you search for posts by me, i have stated im raping your code and genbots to write an sk fear kiting macro.