A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.
Moderator: MacroQuest Developers
-
Rassilon
- a lesser mummy

- Posts: 73
- Joined: Thu Sep 04, 2003 6:34 pm
Post
by Rassilon » Wed Nov 12, 2003 12:09 am
If you need help with this personal command I can write it for you.
Please thank you.
Thanks,
Rass
-
grimjack
- Macro Author

- Posts: 525
- Joined: Thu Nov 07, 2002 6:51 am
-
Contact:
Post
by grimjack » Wed Nov 12, 2003 12:26 am
Anonymous wrote:There appears to still be an issue with being mounted and playing healer. It keeps spamming TRUE although the character is sitting perfectly still.
Switched to no mount and sitting after casting and it works great. Just an FYI.
I never removed the moving check. I just pointed out where it was. If you want to remove it from your version you are welcome to. The problem is with the MQ variable $char(ismoving) while mounted. Your best bet is to post a bug report.
Thanks
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
-
Guest
Post
by Guest » Wed Nov 12, 2003 1:09 am
Ahhh.. I see. I thought you meant a bug in your macro instead of MQ itself. Thanks.
-
crisdan
- a ghoul

- Posts: 126
- Joined: Mon Mar 24, 2003 1:56 pm
Post
by crisdan » Wed Nov 12, 2003 3:10 pm
Edited after boredoms comment in this forum:
I know how to compile and install MQ and have been using rogue-assist.mac successfully. However, my simple question is for my trio shaman , warrior and mage; Can someone provide me with some basic operating instructions (using the shaman as the master) so I would know how to mem demem spells, tank autoattack, rebuff on a timer, etc using the genbot and any suggestions on the setup?
I have a simple shaman and warrior combo I use to run with the shaman botted using MCS and xylobot. Reading and preliminary usage of MQ makes this genbot look awesome.
Can someone briefly explain if I wanted to use my Shaman, Warrior, and Mage in this combo ....utilizing genbot what are the setup steps I would need to use.?
As I have read throught his forum specifically I am finding it hard to understand initial setup using the latest release of MQ and I have 3 separate systems to run this on. Can someone draw up a quickie how to? I will expand it as I get it setup if Grim wants to include it as a formal doc for later usage for use first time users.
Last edited by
crisdan on Thu Nov 13, 2003 9:04 am, edited 1 time in total.
-
boredom
- a lesser mummy

- Posts: 49
- Joined: Thu Jun 19, 2003 3:45 pm
Post
by boredom » Wed Nov 12, 2003 4:42 pm
If you're looking for help with setting up MacroQuest, look
here. If you have MQ running, but don't know how to use genbot, take a look at the /mac command in the manual.
/Bored
EDIT: /tell <botname> cmds
replace <botname> with the name of the toon being boted
Last edited by
boredom on Fri Nov 14, 2003 10:37 pm, edited 1 time in total.
-
GeoffreyF67
- a lesser mummy

- Posts: 70
- Joined: Tue Nov 04, 2003 6:07 pm
Post
by GeoffreyF67 » Wed Nov 12, 2003 7:56 pm
Kept wondering why watchtarget wasn't working...I didn't send a target :) This might help others who make the same mistake. Additional line in red:
Code: Select all
Sub Do-watchtarget
/if $defined(Param1)==FALSE {
[color=red] /call ChatOut 3 @MasterName "What did you want me to target?"[/color]
/return
}
G-Man
-
GeoffreyF67
- a lesser mummy

- Posts: 70
- Joined: Tue Nov 04, 2003 6:07 pm
Post
by GeoffreyF67 » Wed Nov 12, 2003 8:27 pm
Trying to understand genbot more...shouldn't the /g portion in red be using ChatOut or do I misunderstand how this is working?
Code: Select all
Sub CasterHeal
/declare BadTarget local
/varset BadTarget 0
:CasterHealTarget
/if n @Param0==$char(id) {
/if @Param0!=$target(id) /target myself
}
/if @Param0!=$char(id) {
/if $target(id)!=@Param0 /target id @Param0
}
/delay 1
/if $target(id)!=@Param0 {
/if n BadTarget<10 {
/varadd BadTarget 1
/goto :CasterHealTarget
}
}
/if $target(id)!=@Param0 /return
/if n @CasterHealIsHot==1 {
/if n @HOTWait>0 {
/if n @Param0==@HealedId /return
}
}
/stand
/if n @CastMsgTimer2<=0 {
/if n @ReportAutoHeal==1 [color=red]/g @HealCasterMsg [/color]
/varset CastMsgTimer2 50
}
/call SpellSub "@CasterSpell"
/varset HealedId @Param0
/varset HOTWait @HotDelay
/if n @SitAfterCast==1 /varset SitTimer @DelayBeforeSit
/press esc
/return
G-Man
-
GeoffreyF67
- a lesser mummy

- Posts: 70
- Joined: Tue Nov 04, 2003 6:07 pm
Post
by GeoffreyF67 » Wed Nov 12, 2003 9:11 pm
Ok. I'm stumped. I've looked at the source and still can't figure out what's going on. Maybe someone else will have an idea. Here's my setup:
2 computers
Bot: Bob
Master: Sue
Start bot with /macro genbot Sue
Sue sends commands:
/tell Bob watchtarget Sue
At this point Bob starts to target Sue and then untarget...repeatedly. I added debug code in and as far as I can tell the SpellSub routine is getting called but Sue is never healed and "Superior Healing" is never cast.
If anyone has any ideas I'd greatly appreciate it.
G-Man
Edit: I've tracked it down to the $char(book,"@SpellName") command which doesn't always return the ID for the spell you want. Not sure why. Ideas?
Last edited by
GeoffreyF67 on Wed Nov 12, 2003 9:51 pm, edited 1 time in total.
-
ml2517
- a grimling bloodguard

- Posts: 1216
- Joined: Wed Nov 12, 2003 1:12 am
Post
by ml2517 » Wed Nov 12, 2003 9:11 pm

FYI -- The problem with the bot not healing while on a mount isn't really due to a bug in MQ. I didn't realize it til I used the new MQ UI that shows the location in real time.
What happens is that while on a horse you sway a little from side to side just enough to actually change the loc a tiny bit. The only thing I can think of is if there can be some sort of threshold set to allow up to .1 /loc stray + or - from your current loc.
-
GeoffreyF67
- a lesser mummy

- Posts: 70
- Joined: Tue Nov 04, 2003 6:07 pm
Post
by GeoffreyF67 » Thu Nov 13, 2003 1:29 am
Problem solved...There was a bug in MQ where it wouldn't look past the first 250 spells in the spell book. Thanks to DKAA for walking me through using WinDbg to help find the problem.
G-Man
-
DontShoot
- a lesser mummy

- Posts: 58
- Joined: Thu Jun 20, 2002 11:20 am
Post
by DontShoot » Thu Nov 13, 2003 6:58 am
a readme for this killer macro would be fantastic, and I think that's what the poster a couple replies up was basically asking for.
-
GeoffreyF67
- a lesser mummy

- Posts: 70
- Joined: Tue Nov 04, 2003 6:07 pm
Post
by GeoffreyF67 » Thu Nov 13, 2003 12:47 pm
Just got this error from MQ when running GenBot:
Code: Select all
botcore.inc
"$arg(1,"@param2")"=="@Commands(1,@tempvar)" {
bothealer.inc@275(CheckGrpHealth): }
genbot.mac@65(Main): /call CheckGrpHealth
G-Man
-
grimjack
- Macro Author

- Posts: 525
- Joined: Thu Nov 07, 2002 6:51 am
-
Contact:
Post
by grimjack » Thu Nov 13, 2003 4:04 pm
ml2517 wrote::shock: FYI -- The problem with the bot not healing while on a mount isn't really due to a bug in MQ. I didn't realize it til I used the new MQ UI that shows the location in real time.
What happens is that while on a horse you sway a little from side to side just enough to actually change the loc a tiny bit. The only thing I can think of is if there can be some sort of threshold set to allow up to .1 /loc stray + or - from your current loc.
I use the var $char(ismoving).
It either returns true or false. I may look for an alternative in the near future but atm it is needed for casting in combat or while following someone.
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
-
grimjack
- Macro Author

- Posts: 525
- Joined: Thu Nov 07, 2002 6:51 am
-
Contact:
Post
by grimjack » Thu Nov 13, 2003 4:07 pm
GeoffreyF67 wrote:Just got this error from MQ when running GenBot:
Code: Select all
botcore.inc
"$arg(1,"@param2")"=="@Commands(1,@tempvar)" {
bothealer.inc@275(CheckGrpHealth): }
genbot.mac@65(Main): /call CheckGrpHealth
G-Man
Not really enough to go on. I'll look at the code to see if I see anything.
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
-
crisdan
- a ghoul

- Posts: 126
- Joined: Mon Mar 24, 2003 1:56 pm
Post
by crisdan » Thu Nov 13, 2003 4:31 pm
Think we can come up with a readme for genbot Grim ?
You da man....Grim