Advbot.mac - Advanced Caster Bot - Heal/Debuff/Buff

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

Moderator: MacroQuest Developers

rasor
orc pawn
orc pawn
Posts: 15
Joined: Fri May 14, 2004 12:46 am

thanks

Post by rasor » Sat May 15, 2004 12:26 pm

thanks again man that worked.... you are the man.

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sat May 15, 2004 1:14 pm

Updated:
advbot.txt
advbot.inc
advbot2.inc

Added a new parameter that you can use with the 'pet' command. Usage is like so:

This will summon a pet:
/echo pet summon

/tell botname pet summon

There are two INI entries that were added to the Pet section called:
PetSummonSpell=
and
PetSummonMemToSlot=

The first is where you put the name of the spell and the other is what slot to mem it in, if it isn't already memmed.

I chose not to make pet summoning automatic because I can see it being more of a headache toggling it on/off when you are moving through zones etc. that you didn't want to summon a pet in.

User avatar
fearless
Not a Psychic
Posts: 2684
Joined: Wed Mar 10, 2004 3:52 pm

Alternate Buff Commands

Post by fearless » Sat May 15, 2004 4:52 pm

What do you think about an ini setting for alternate groupbuff names?

IE: In your INI you would have

Code: Select all

GroupBuff1=Temperance
GroupBuff1AlternateName=temp
Then instead of

Code: Select all

/tell bot buff 1 target 
you could have

Code: Select all

/tell bot buff temp target
and have it shortcut to buff 1. The master would not have to remember which spell is in which slot.

I know it would help me . . . I run 3 bots and I can never remember which buff is in which slot for which bot. It just get's a little confusing.

Thanks for the awesome work.

young_mquser01
decaying skeleton
decaying skeleton
Posts: 4
Joined: Wed May 05, 2004 12:11 pm

Post by young_mquser01 » Sun May 16, 2004 12:41 am

Love your work

Using it to steer a wizard and it seems not to cast on Bosses? Any reason? Most bosses from ToV up to Time and further seem somehow flagged immune to the bot hehe. Anything I need to change to make it work?

JimJohnson
a grimling bloodguard
a grimling bloodguard
Posts: 1299
Joined: Sat Oct 11, 2003 6:00 am

Post by JimJohnson » Sun May 16, 2004 1:25 am

your problem should be fixed if your using the 14th zip. 12th wasnt fiding all mobs in the search patern.

young_mquser01
decaying skeleton
decaying skeleton
Posts: 4
Joined: Wed May 05, 2004 12:11 pm

Post by young_mquser01 » Sun May 16, 2004 1:49 am

That's the version I'm running, just copy/pasted before I posted :)

Spanky_Monkey
a ghoul
a ghoul
Posts: 103
Joined: Wed Feb 19, 2003 3:10 pm

Wierd behavior

Post by Spanky_Monkey » Sun May 16, 2004 8:42 am

Welp, a wierd behavior.. my advbot now spams the mq2chat window trying to find a certian spawn ID number.. I have no watches set up, it is just acting wierd and looking for somethign that is not there, it does it on both cleric and chanter. I have checked that I am up to date on code, both MQ and ADVBOT and accompanying files. ANy thoughts on this?

Also the chanter tends to not do anythign now.. just sits there looking for a spawn that doesn't exist.. tank is set right, ini looks right, and I double checked JUST now that I had the proper code from first page...

Thanks,
Spanky
Last edited by Spanky_Monkey on Sun May 16, 2004 8:59 am, edited 1 time in total.

MQuser1202
decaying skeleton
decaying skeleton
Posts: 9
Joined: Wed May 05, 2004 5:07 pm

Post by MQuser1202 » Sun May 16, 2004 8:47 am

JimJohnson wrote:your problem should be fixed if your using the 14th zip. 12th wasnt fiding all mobs in the search patern.

Does this mean there is a way to get these files in a zip package so I do not have to do so much cut and paste? I looked for a link in the messages but did not find one.

JimJohnson
a grimling bloodguard
a grimling bloodguard
Posts: 1299
Joined: Sat Oct 11, 2003 6:00 am

Post by JimJohnson » Sun May 16, 2004 9:32 am

MQuser1202 wrote: Does this mean there is a way to get these files in a zip package so I do not have to do so much cut and paste? I looked for a link in the messages but did not find one.

zip was refering to MQ not advbot. Anyways just highligh the first thing in each section then double click it to auto highlight the code section that it is in. not hard takes like 20 seconds to copy and past all 5 files. he even posts what files are updated in first thread so you can see if you need new ones at a glance

RudeBoy
orc pawn
orc pawn
Posts: 23
Joined: Wed Mar 24, 2004 7:04 am

Post by RudeBoy » Sun May 16, 2004 9:42 am

Thank you for wonderufull macro and Inc:s.

I wonder if it is possible to get the bot to not start debuff before a AA is useable. So he will only start debuff if AA ability is ready?

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sun May 16, 2004 10:02 am

RudeBoy wrote:Thank you for wonderufull macro and Inc:s.

I wonder if it is possible to get the bot to not start debuff before a AA is useable. So he will only start debuff if AA ability is ready?
No there isn't a way in there for that. You'd have to throw that in there yourself.

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sun May 16, 2004 12:32 pm

Updated:
advbot.txt
advbot.mac
advbot.inc
advbot2.inc

Put in some work arounds to get around the current /target flakeyness in MQ. I'm squelching the /target feedback and changed a current problem where you can't target yourself via ID any longer.

Added:
SelfBuff and GroupBuff aliases.

These are new INI items called SelfBuffAliasNamex= and GroupBuffAliasNamex=. You use these to give nicknames to your spells so that you can buff without knowing the slot numbers.

Before you'd have to do this (Assuming you had invisibility in your first SelfBuff slot):

/echo selfbuff 1

Now you can do this (Assuming your nickname for SelfBuff slot 1 is called: invis)

/echo selfbuff invis

The groupbuff command can use the aliases you have defined for the GroupBuff spells as well. (Since the 'buff' command, which is used to buff people outside of your group, uses your groupbuff spells it can use these nicknames as well.)

Examples, If you had an alias called cadeau:

This would put whatever cadeau is aliased to on all group members:
/echo groupbuff cadeau

This would put whatever cadeau is aliased to on Johnny:
/echo groupbuff cadeau Johnny

This would put whatever cadeau is aliased to on the 2nd person in your group:
/echo groupbuff cadeau 2


If you used the buff function with the same alias:

This would put whatever cadeau is aliased to on Johnny (If he is in your group or not):
/echo buff cadeau Johnny



Please let me know if you run into any problems with with the current version. If you aren't up to date with MQ2 or all of the advbot, spellcast and advpath modules. Don't bother posting.

Braxius
decaying skeleton
decaying skeleton
Posts: 6
Joined: Tue May 04, 2004 12:16 am

Post by Braxius » Sun May 16, 2004 8:50 pm

The summon pet code returns an error and ends the macro if your pet spell is not previously memorized. It will memorize the spell, wait a short period of time, return an error, and end the macro.

If the spell is previouly memorized, everything runs fine.

I tracked down the error to here

Code: Select all

            /if (${Macro.Return.Equal["CAST_TOOK2LONG"]}) { 
                /echo -(( Cast took too long, aborting. ))- 
                /varset Reason Cast Took Too Long 
                /goto :ErrorSummon 
            } 
MQ returns: /varset failed, variable 'Reason' not found.

My fix to the problem was:

Code: Select all

           
            /if (${Macro.Return.Equal["CAST_TOOK2LONG"]}) { 
                /echo -(( Cast took too long, retrying. ))- 
                /goto :ContinueSummon 
            } 

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sun May 16, 2004 10:33 pm

Sorry about that I forgot to finish that sub =).

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Sun May 16, 2004 10:33 pm

Updated:
advbot.inc

Finished the pet summon coding that was causing problems. Please let me know if it is working properly for you now.