Cleric/Druid/Generic for Dual/Hydra?

Macro depository for macros written before the user variable changes that broke all of them.

Moderator: MacroQuest Developers

ReK2
decaying skeleton
decaying skeleton
Posts: 6
Joined: Wed Sep 11, 2002 3:39 pm

Cleric/Druid/Generic for Dual/Hydra?

Post by ReK2 » Tue Aug 12, 2003 12:44 pm

Can someone post or modify those cleric or druid scripts (or even the fighting macros) so they work for those of us who can't or don't want to GROUP with the bot? I would like to run around on my Monk and have my HL druid just follow me around like a puppy dog keeping me healed and buffed.
The best solution I see so far is to run the druid and use the fighting macro on the Monk's PC. Then I can tell the Monk what to do and pull while I manually heal him and buff him.. but still, it'd be nice to be able to just have my druid follow me around.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

/agree

Post by EqMule » Tue Aug 12, 2003 2:27 pm

im gonna jump in here, and post a support for this guys suggestion before he gets flamed lol, ok I actually want to see this as well, I cant write macros, I suck at writing macros, I have to freaking copy and paste my macros from others, so... if anyone feel inclined, please make thoose mentioned scripts work even if you are not grouped.
Last edited by EqMule on Tue Aug 12, 2003 8:13 pm, edited 1 time in total.
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.

MacroFiend
a grimling bloodguard
a grimling bloodguard
Posts: 662
Joined: Mon Jul 28, 2003 2:47 am

How I dual box my cleric w/ melee

Post by MacroFiend » Tue Aug 12, 2003 4:15 pm

I've found it very simple to use the generic bot scripts and just hotkey certain commands. When I use the cleric bot, I have a hotkey set to tell the bot to heal me, another for HoT and a pair for my pet. I also have a root and nuke hotkey since my main can't root. The only time I have issues is with getting the bot to follow me (though that just needs to have the macro rewritten to use MQ follow routines instead of the EQ /follow command.

AlphaBeta
a ghoul
a ghoul
Posts: 126
Joined: Sat Nov 09, 2002 12:35 am

Post by AlphaBeta » Tue Aug 12, 2003 5:25 pm

I tried to use grimjack's druid script here: http://macroquest2.com/phpBB2/viewtopic.php?t=2428

but I can't seem to get it to target right *sigh*.. I too would love a working script. I can't program a macro to save my life.

User avatar
grimjack
Macro Author
Macro Author
Posts: 525
Joined: Thu Nov 07, 2002 6:51 am
Contact:

Bot scripts

Post by grimjack » Wed Aug 13, 2003 12:15 am

None of my bot macros require you to be grouped. It takes tells for all commands. I would use the genbot macro and modify it for specific classes. It should be pretty easy to modify the macro to get what you want (I marked what needs changed for the most part.) If you have any problems with the macro post your problems and I will be glad to help figure them out.

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

As for the person who used the old druid macro, if you post what type of target problems you have I may be able to fix them. However, I would try switching to the genbot instead. Anything that it does not do currently I can help you get working.

You will want to remove the #include and command lines that you do not need.

Code: Select all

|Core commands and subs:
#include botcore.inc

|Spell commands and subs:
#include botspell.inc

|Combat commands and subs:
#include botcombat.inc

|Healer commands and subs:
#include bothealer.inc 

Code: Select all

|||Commands in botcore.inc
   /varset a(1,0) afk
   /varset a(1,1) accept
   /varset a(1,2) reject
   /varset a(1,3) invite
   /varset a(1,4) follow
   /varset a(1,5) stop
   /varset a(1,6) moveto
   /varset a(1,7) sit
   /varset a(1,8) stand
   /varset a(1,9) camp
   /varset a(1,10) duck
   /varset a(1,11) run
   /varset a(1,12) say
   /varset a(1,13) tell
   /varset a(1,14) group
   /varset a(1,15) cmds
   /varset a(1,16) target
   /varset a(1,17) notarget
   /varset a(1,18) assist
   /varset a(1,19) saytarget
|||Commands in botcombat.inc
   /varset a(1,20) attack
   /varset a(1,21) noattack
|||Commands in botspell.inc
   /varset a(1,22) sn
   /varset a(1,23) mana
   /varset a(1,24) evac
   /varset a(1,25) aftercastsit
   /varset a(1,26) loadlist
|||Commands in botheal.inc
   /varset a(1,27) autoheal 
Also, if you remove any commands make sure you update the array index numbers to be in order. Example if you remove evac, aftercastsit would become (1,24) and loadlist would become (1,25) ect ect.

thanks
GrimJack
When they come to me, they're in trouble, or they want some. I bust people out of prison, hunt down vampires, fight alien gods -- All the fun jobs people are too squeamish or too polite to do themselves.

Call me a mercenary. Call me an assassin. Call me a villain. I am all that and more.

My name's John Gaunt, but out on the streets of Cynosure, I am called...
GrimJack

boredom
a lesser mummy
a lesser mummy
Posts: 49
Joined: Thu Jun 19, 2003 3:45 pm

Problems with not being in the group

Post by boredom » Wed Aug 13, 2003 4:02 pm

On creating my Cleric Macro, I've found a very annoying problem with monitoring health outside the group. You do not recieve hitpoint updates from anything outside the group (and maybe outside the raid) if you do not have it targeted. So monitoring one persons health isn't so bad as long as that's all you are doing, but casting spells on anyone else or otherwise switching targets is a problem. I once created a script to cycle through my watches targeting each one to monitor their health, and shortly after deleting the macro so that I would not go insane. Long story short, here's what you have to do: use my cleric bot at http://macroquest2.com/phpBB2/viewtopic.php?t=2754

then do this to it:

after the rotation code

Code: Select all

 /if n $a(2,0)>=1 /target id $a(2,1)
also change one of the NAME s in event_chat to your monk name
and change the #defines at the top to your spell names (being a druid you woun't have any of those)

to turn him on:
/mac cleric 1
1 turns autosit on

from your monk:
/tell bot autoheal on
/tell bot addw me
let me know if I'm totally messed in the head

/Bored

P.S. a better follow sub could be writen using Grimjack's Rangesub checking if you are in range of MONKNAME to cast most spells on them ie 100 and if not, move to them.

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

Post by macrotoon » Sat Aug 23, 2003 1:36 pm

Seems like it would be possible to add names of characters you want to monitor to an array. Then you could do some thing like this

/if n $spawn(<ID#>,hp)<50 /call healbot


you would have to store the spawn id numbers in an array. then cycle them through like you would a group. just an idea.

maybe add a command to the gembot autoheal on <char_name>

this would then cause the bot to find the spawn id of that character and store it in the array.

Draekz
a hill giant
a hill giant
Posts: 263
Joined: Thu Aug 01, 2002 6:07 pm
Location: Winnipeg, Manitoba, Canada

Post by Draekz » Sat Aug 23, 2003 6:09 pm

What i havent seen yet, but would like (thats mentioned in this script). Is how to get the autofollow script implemented into one of these, i've tried doing it so many times with complete failure.

Im not sure why this hasnt been done in ANY script yet, you'd think with all the PL scripts out there that there would be one that doesnt require you to be grouped!!

I think its one of the things this guy wants also, i know its something I want :P

Anyway, take it easy

Draekz

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

Post by macrotoon » Sat Aug 23, 2003 9:16 pm

grimjack has autofollow in his genbot.mac i think.

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

Post by macrotoon » Sat Aug 23, 2003 9:17 pm

maybe im wrong!

Draekz
a hill giant
a hill giant
Posts: 263
Joined: Thu Aug 01, 2002 6:07 pm
Location: Winnipeg, Manitoba, Canada

Post by Draekz » Sun Aug 24, 2003 8:27 am

Nay, although grimjacks are some of the best scripts out there, he has yet to fill an autofollow /ungrouped in one :P (but dont get me wrong, i still luv em :P

I use all of his scripts come to think of it (all the non tradeskill ones anyway)..rogue, cleric, genbot and i think he made the warpet (not sure, sorry if wrong hehe).

Anyway..dont remember what this post was about, just got off work (i do midnights) and am tired..
nighters

Draekz

User avatar
grimjack
Macro Author
Macro Author
Posts: 525
Joined: Thu Nov 07, 2002 6:51 am
Contact:

Auto Follow

Post by grimjack » Sun Aug 24, 2003 8:12 pm

I just added a new command to genbot.mac for this. The command afollow should grant the ability to follow people that are not in the group. I have no way to test this so if someone could test it and let me know how it works I would really appriciate it. The stop command that already exsisted will stop the bot from auto following now as well as the other things it stops.

Thanks
GrimJack
When they come to me, they're in trouble, or they want some. I bust people out of prison, hunt down vampires, fight alien gods -- All the fun jobs people are too squeamish or too polite to do themselves.

Call me a mercenary. Call me an assassin. Call me a villain. I am all that and more.

My name's John Gaunt, but out on the streets of Cynosure, I am called...
GrimJack