A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.
Moderator: MacroQuest Developers
-
grimjack
- Macro Author

- Posts: 525
- Joined: Thu Nov 07, 2002 6:51 am
-
Contact:
Post
by grimjack » Thu Dec 04, 2003 12:53 am
Example of PersonalMain moded for JBB. Please check my spelling on the item name before using.
Currently if autoblast is on and you call assist with this it will wait till mob is down to whatever BlastPct is set to, click jbb until mob is down to 10 pct, then stop.
Code: Select all
Sub PersonalMain
/if n @ReportLom==1 /call CheckMana
/if n @AutoBehind==1 {
/if n @Combatstatus==1 {
/if $target()==TRUE {
/if n $distance($calc($target(y)-$cos($target(heading))*10),$calc($target(x)-$sin($target(heading))*10))>6 {
/call Do-behind
}
}
}
}
/if n @Supportstatus==1 {
/if "$target(name,clean)"=="@FollowTarget" {
/varset Supportstatus 0
/return
}
/if n @AutoBlast==1 {
/if "$target()"=="TRUE" {
/if n $target(hp,pct)<=@BlastPct {
/if n $target(hp,pct)>=10 {
/if "$char(casting)"=="FALSE" {
/call ChatOut 5 @MasterName "Blasting %t. with Jaundice Bone Bracer."
/cast item "Jaundice Bone Bracer"
}
}
}
}
}
}
/return
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
-
grimjack
- Macro Author

- Posts: 525
- Joined: Thu Nov 07, 2002 6:51 am
-
Contact:
Post
by grimjack » Thu Dec 04, 2003 1:09 am
uglyshaman wrote:
Was thinking it would be neat if it could be triggered with a autoblast command from the "master" and then ended in the same fashion with a tell, in the event the bot is needed for another reason (heal, etc).
The can auto nuke and auto heal at the same time. Of cource, if it is in the middle of casting jbb it will have to wait until it is finished to start the heal. If you want to stop the chain cast of jbb just toggle autoblast off.
Other than that I would need to have a shaman to tweak it any more and even then your play style and my play style would be different(I'm the type of player who would not bother with a JBB as a shaman.)
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
-
bob_the_builder
- a hill giant

- Posts: 275
- Joined: Tue Jul 22, 2003 1:22 pm
Post
by bob_the_builder » Thu Dec 04, 2003 11:33 am
I've been getting a Can not parse "message listed in Big Heal" for each of the INI file additions. Must be the spells, cause i added a "/g Casting spell on soandso" to my personal.inc and they get parse errors also.
So in the genbot_name.ini there are messages like:
HealTankMsg=Big Healing ~~( %t )~~
When the bot casts the Big Heal he gets a Can not parse /g Big Healing ~~( %t )~~
Anything I can do to get more information for you or that I can try to debug myself, please let me know.
Running
|botspell.inc
|Bot spell module.
|Version 8.7
|Date:12/01/2003 7:00am
Thanks in Advance,
Bob
-
inorpo
- a lesser mummy

- Posts: 31
- Joined: Sat Nov 29, 2003 1:44 pm
Post
by inorpo » Thu Dec 04, 2003 1:23 pm
I was fixed this by replaceing all /g with /gsay
-
uglyshaman
Post
by uglyshaman » Thu Dec 04, 2003 1:40 pm
Wow thanks Grimjack. You are the man.
-
Guest
Post
by Guest » Thu Dec 04, 2003 6:54 pm
Assuming I am not the only one having script hangs, this should prove usefull for someone.
Code: Select all
/call SpellSub "@BuffSpell1"
[color=red]/delay $calc($spell("@BuffSpell1",casttime)+3)s[/color]
/if "@BuffSpell2"~~"Name of Buff" /got :EndBuffs
/call SpellSub "@BuffSpell2"
Repeat for all eight slots, and enjoy
P.S. I know it's a dirty hack, but didn't feel like digging into the spell script
-
Cash42
- orc pawn

- Posts: 23
- Joined: Sat Nov 22, 2003 1:38 pm
Post
by Cash42 » Thu Dec 04, 2003 6:56 pm
Not sure why, but /afollow gets a response from the bots but they don't actually follow me. Tried using /follow and /afollow but neither of them allowed the bots to break from follow when the assist commaqnd was given. Perhaps I am doing something wrong?
If some of you have time, could you test this and tell me if you are having the same problems?
-
Achy Wrists
- a lesser mummy

- Posts: 36
- Joined: Wed Aug 27, 2003 4:17 pm
Post
by Achy Wrists » Thu Dec 04, 2003 9:50 pm
Grim, incredible macro. Just awesome! Thanks for all the hard work, it's very appreciated.
Now a question :) Any way to make the whole thing go through a little faster? I'm running a cleric in a raid group with a few watchtargets turned on and it seems to only check those outside targets once every 10 seconds or so. Is there any way to make it check watchtargets more often?
-
grimjack
- Macro Author

- Posts: 525
- Joined: Thu Nov 07, 2002 6:51 am
-
Contact:
Post
by grimjack » Fri Dec 05, 2003 12:31 am
Cash42 wrote:Not sure why, but /afollow gets a response from the bots but they don't actually follow me. Tried using /follow and /afollow but neither of them allowed the bots to break from follow when the assist commaqnd was given. Perhaps I am doing something wrong?
If some of you have time, could you test this and tell me if you are having the same problems?
I'm not real sure how you tried to run this or where you ran it. All commands to the bot are sent through tell/group/irc/chan and none of them have a /.
From the master:
/msg botname afollow
or
/msg botname afollow billy
Is what I think you need. If you try to do it using group make sure afollow isn't on the group ignore list in your ini.
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 » Fri Dec 05, 2003 12:33 am
Achy Wrists wrote:Grim, incredible macro. Just awesome! Thanks for all the hard work, it's very appreciated.
Now a question :) Any way to make the whole thing go through a little faster? I'm running a cleric in a raid group with a few watchtargets turned on and it seems to only check those outside targets once every 10 seconds or so. Is there any way to make it check watchtargets more often?
You can up the turbo.
#turbo 75 might do the trick.
Other than that I'm not sure.
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
-
loadingpleasewait
- a snow griffon

- Posts: 332
- Joined: Sat Sep 14, 2002 8:46 am
Post
by loadingpleasewait » Sun Dec 07, 2003 11:29 am
Awesome macro, I find it unbelievable all the function that is built into this..
Question: Using on a cleric bot, /tell cleric buff me
in the Ini Temperance is one of the buffs, however I ran out of dots so the macro got stuck.. any way to prevent this? Thanks in advance
-
Undies
- a ghoul

- Posts: 94
- Joined: Mon Oct 20, 2003 9:12 pm
Post
by Undies » Sun Dec 07, 2003 8:29 pm
Yeah great macro.
I'm not sure about how the puller stuff works though.
It seems it would not be too hard to adapt this into a hunter script with anchor. ie. toon goes out and pulls mob back to anchor spot and kills it... heals and repeats...
The hunter script in another thread is fine for low greens but when fighting say low blues an anchor point would be very nice... as would code to detect nearby mobs before aggroing (ie. trying to single pull).
So I am not sure which routine would be best to get stuck into for this.... genbot or hunter. I'll give hunter a shot at first but if genbot can already almost do this type of thing please say so.
-
Achy Wrists
- a lesser mummy

- Posts: 36
- Joined: Wed Aug 27, 2003 4:17 pm
Post
by Achy Wrists » Mon Dec 08, 2003 7:38 am
Found it!
In bothealer.inc you have..
Code: Select all
/if n [color=red]@WatchWaitCount>10 [/color]{
/if n @WatchTargetCount>0 {
/for tempvar 1 to @WatchTargetCount
/varadd HealCount 1
/varset HealTargets(@HealCount) @WatchTargetIDs(@tempvar)
/next tempvar
/varset WatchWaitCount 0
}
}
Decrease the number from 10 to say 4 or so. What that does is every time it goes through the group health check it adds a number to the watch counter. Once the number is more than 10 it actually checks the watched targets. So as the default is written, it'll check your group's health 10 times before it checks your watched targets. Which on my machine is roughly every 15 seconds. Dropping the number to 4 brings it down to about once every 4 - 5 seconds, which is perfect for me.
:)
-
Draekz
- a hill giant

- Posts: 263
- Joined: Thu Aug 01, 2002 6:07 pm
- Location: Winnipeg, Manitoba, Canada
Post
by Draekz » Wed Dec 10, 2003 2:16 pm
Hmm I was wondering, for the autopuller command..im using a ranger to auto pull (or trying to).. I set anchor and i set him to puller but when i /tell him attack <mobname> it just runs to the mob and fights it without coming back to the anchor...AFTER the battle he runs to the anchor but for some reason during it he wont..
Any ideas?? i've set anchor radius to 20 (to test it) but still no luck..he just doesnt move back anywhere after engaging the mob...
Any help would be appreciated..thanks!
I looked through the first 10 pages and didnt find anything that helped so figured i'd send a note on here..
Thanks!
Draekz