Post your completed (working) macros here. Only for macros using MQ2Data syntax!
Moderator: MacroQuest Developers
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Fri May 07, 2004 3:59 pm
There is a huge flaw in your test. I don't just call the healing and event subs from the main loop. I call the heal loop tons of times within all of the other subs that are called from main. So what you end up having is something like this:
called debuff sub, it has a loop of say 3 mobs, within that is another loop of let say 3 debuff spells you have defined. The heal sub is called after every single one of the debuffs. Hence, just by calling the debuff sub I've called the heal sub 9 times during that one debuff sub call.
See what I mean by priority?
Edit:
I just re-read what you said and it sounds like you might understand, but it is necessary that I'm doing it the way it is. Its very important for healing to have priority in most cases. But anways, just change your heal check timer to 10 seconds or something if you are a "downtime" healer or whatever.
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Fri May 07, 2004 4:46 pm
Wishbringer wrote:Hm, following through Portalbooks doesn't work for me.
Bot doesn't seem to click on Book. He waits 5 secs, then clears target.
Not sure what the problem is with this for you. Are you on the latest version of advbot and advpath? It is working fine for me. If you are on the latest version you'd have to show me your INI file and also tell me what functions you have turned on at the time of the problem.
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Fri May 07, 2004 5:18 pm
Updated:
advbot.txt
advbot.mac
advbot.inc
Changed AnnounceChannel INI setting to take any channel you wish. Your previous 'group' or 'raid' setting will be auto-magically upgraded in your INI.
Examples:
AnnounceChannel=gsay
AnnounceChannel=rsay
AnnounceChannel=tell Johnny
AnnounceChannel=chat #mychannel
AnnounceChannel=1
Etc..
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Fri May 07, 2004 6:34 pm
Updated:
advbot.txt
advbot.mac
Extended the Announce function some more. You can now send to multiple channels that you define.
Examples:
This would send announcements to your group channel, raid channel, a tell to Johnny and in chat channel 'mychannel':
AnnounceChannel=gsay;rsay;tell Johnny;chat #mychannel
Just seperate each channel with a semicolon.
I would recommend not getting too nuts because you don't want to be too obvious.

-
jumpyfrog
- Macro Author

- Posts: 100
- Joined: Thu Dec 11, 2003 5:42 am
Post
by jumpyfrog » Fri May 07, 2004 8:18 pm
question about groupbuff:
Could it be changed so that groupbuff [X|all] <playername> will cast that single target OR group buff on that player? That way if it is a single target buff it will hit the player in question(or pet note) whether they are in group or not, and if it is a group buff it will cast the group spell on another group. Thinking of raid situations where you can have the shm buff each group with edu. or whatever. instead of using MGB.
EDIT:
Ok, I didnt know that you did that with heal but I understand why(so that it is consistantly checking if a heal is needed and not just once per main loop). I might just edit that out and have him play less of a healing roll in that case. Thank you
EDIT: I took out the lines checking for healing everywhere other than the main loops, and I got the results im looking for. Thank your help.
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Fri May 07, 2004 8:42 pm
Yes at some point I'll be extending the group buffs.
Yeah feel free to exclude calls if it suits your needs. You could probably just used the HealCheckTime and set it to 10s or whatever though.
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Fri May 07, 2004 8:55 pm
Updated:
advbot.txt
advbot.mac
advbot.inc
Added master reply functionality. There is a new INI setting in the Settings section called Reply. Set this to 1 to reply to commands sent via masters. 0 shuts it off.
I'll be adding in a toggle soon as well. I'm still debating whether or not to allow for channels other than tell for this. Let me know your stand on it, one way or the other.
-
Dulapore
- a lesser mummy

- Posts: 67
- Joined: Thu Feb 26, 2004 4:39 am
Post
by Dulapore » Fri May 07, 2004 9:11 pm
I'd love IRC support. In game tells are the devil.
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Fri May 07, 2004 9:19 pm
Yeah I think I'll make it a single customizable channel.
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Fri May 07, 2004 10:06 pm
Updated:
advbot.txt
advbot.mac
advbot.inc
Added 'reply' command to toggle replies on and off. To issue it use: /echo reply or from a master /tell botname reply
Added an INI entry ReplyChannel to the Settings section. This can be used to set a custom reply channel. This will only accept one reply channel. The format is like this:
This replies via tell to the master that sent the command. Notice the @ is used to tell it that it needs to replace the @ with the masters name during a reply.
ReplyChannel=tell @
This replies to the master via the msg channel:
ReplyChannel=msg @
This replies in group:
ReplyChannel=gsay
This replies in the chat channel 'mychannel':
ReplyChannel=chat #mychannel
-
Dulapore
- a lesser mummy

- Posts: 67
- Joined: Thu Feb 26, 2004 4:39 am
Post
by Dulapore » Fri May 07, 2004 10:24 pm
Looks great. Thank you so much. One small problem though. To have it use IRC this way, you have to put in ;
Which is no biggie. The issue comes in that apparently when you send the message you have an extra space in between the /i msg command and the master name. Tells will strip that out, but IRC apparently won't and returns an error "No Text to Send" when the bot tries to send it.
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Fri May 07, 2004 10:26 pm
Dulapore hop into IRC.
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Fri May 07, 2004 10:43 pm
Updated:
advbot.mac
advbot.inc
Fixed the extra space issue with replies. Give it a shot.
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Sat May 08, 2004 1:09 am
Updated:
advbot.txt
advbot.mac
advbot.inc
Added command 'buff' to buff targets outside of your group. Make sure you have your /tgb on, I'm not checking it. This command uses the buffs that are in your Group Buff slots.
Examples:
To buff Johnny with the spell you have in your group buffs slot 1.
/echo buff 1 Johnny
To buff Johnny with all group buffs you have defined.
/echo buff all Johnny
Made some changes to self/group/pet buffs. They will not be cast if there are 2 or more mobs in your tracking radius. This should help with the problem some were having with buffing while they should be debuffing.
Pleast let me know if this causes problems or if I should even change it down to 0 mobs in the area.
-
jumpyfrog
- Macro Author

- Posts: 100
- Joined: Thu Dec 11, 2003 5:42 am
Post
by jumpyfrog » Sat May 08, 2004 4:40 am
Could it be changed so that buff 1 <name>
name is not just a playername. I would like the bot to be able to single buff pets that are not his as I dont yes have pet affinity for my pet to absorb the group buffs yet

But it works great for characters out of group!
At the current point it says "Could not buff <pets name> Reason: Target Not in Zone or too far away"
-but the pet is within range and obviously in zone.
EDIT: I also changed it so that if there are 2+ mobs in the area and he does not cast the groupbuff, there is a generic statement output like "Too many mobs nearby" etc so that I realize the command got ignored without having to check.