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

- Posts: 101
- Joined: Tue Feb 18, 2003 3:26 pm
-
Contact:
Post
by Shocks » Sun May 09, 2004 4:14 pm
Im running MQ2 Build 5-6-04. I have maded a Buffs SpellList and a Default Spell list. I start the macro and get this error "Don't know the spell Buffs so Failing to cast" the bots master. That is the last thing the bot ever does.
Anyone have an idea why?
Thanks
Shocks
-
Fuergrissa
- a grimling bloodguard

- Posts: 607
- Joined: Mon Dec 08, 2003 3:46 pm
- Location: UK
Post
by Fuergrissa » Sun May 09, 2004 4:49 pm
Im running MQ2 Build 5-6-04. I have maded a Buffs SpellList and a Default Spell list. I start the macro and get this error "Don't know the spell Buffs so Failing to cast" the bots master. That is the last thing the bot ever does.
Anyone have an idea why?
have you applied the
fix
2 pages back ?
-
Shocks
- a ghoul

- Posts: 101
- Joined: Tue Feb 18, 2003 3:26 pm
-
Contact:
Post
by Shocks » Sun May 09, 2004 5:47 pm
Ok these are the fixes I have added.
1. I added this line in botspell.ini under line 110. This line give me a Failed to parse /if command. Could not find Command to execute. I have tryed it with and with out the /return at the end.
Code: Select all
/declare ArgNum int local 1
[color=red]/If (${SelfBuffList.Equal[Buffs you wish to maintain of yourself sperated with |.]} || !${SelfBuffList.Length}) [/color]
:SelfBuffLoad
2. In botcore.ini I changed line 212 to this.
Code: Select all
[color=red]/ini ${IniFile} "${SectionName}" "${KeyName}" "${DefaultValue}" [/color]
Am I doing something wrong ? Or is there a way to fix it by making a self buff area in the ini. This new code change has left me totaly lost. Its gonna take me a bit to get the swing of things.
Thanks
Shocks
-
bob_the_builder
- a hill giant

- Posts: 275
- Joined: Tue Jul 22, 2003 1:22 pm
Post
by bob_the_builder » Sun May 09, 2004 8:19 pm
Still unable to use multiple massters.
I use /macro genbot <name1> <name2>
Couple folks talked about setting a TLO but seems its automatically in the latest build. I am using MQ2-20040506.zip for compile. Seem to have no other issues other then multiple masters using genbot.
If I use /echo ${MasterList} it will only display the first name used after genbot.
So I start with /deletevar * global , then check it with an /echo and recieve NULL. Then send genbot two master names and /echo shows the first one only.
Bob_just_wants_his_wife_to_be_a_bot_master_also
-
fez_ajer
- a ghoul

- Posts: 106
- Joined: Fri Apr 23, 2004 6:44 pm
- Location: If I was up your ass you'd know where I was...
Post
by fez_ajer » Sun May 09, 2004 10:55 pm
botcore.inc (862)
Code: Select all
/varset AnchorX ${Me.[color=red]X[/color]}
/varset AnchorY ${Me.[color=red]Y[/color]}
botcore.inc (869)
Code: Select all
/call ChatOut 5 ${MasterName} "Created anchor at Loc: ${Anchor[color=red]Y[/color]},${Anchor[color=red]X[/color]}."
botcore.inc (490)
Code: Select all
/face nolook loc ${Anchor[color=red]Y[/color]},${Anchor[color=red]X[/color]}
/if (${Math.Distance[${Anchor[color=red]Y[/color]},${Anchor[color=red]X[/color]}]}>${AnchorRadius}) /keypress FORWARD hold
/if (${Math.Distance[${Anchor[color=red]Y[/color]},${Anchor[color=red]X[/color]}]}<=${AnchorRadius}) {
/keypress FORWARD
/face away nolook loc ${Anchor[color=red]Y[/color]},${Anchor[color=red]X[/color]}
/return
}
botcore.inc (309)
Code: Select all
/if (${Math.Distance[${GenLast[color=red]Y[/color]Loc},${GenLast[color=red]X[/color]Loc},${Me.Z}:${Me.[color=red]Y[/color]},${Me.[color=red]X[/color]},${Me.Z}]}<10) /call Hitobst 5
-
helstar
- orc pawn

- Posts: 21
- Joined: Sat Jan 24, 2004 6:23 pm
Post
by helstar » Sun May 09, 2004 11:31 pm
anybody else haveing problems with the anchor function. i can get the bot to set anchor and got to target just fine. but when the target is dead and it goes back to the anchor it goes crazy.
i went into my ini. and changed the values and that didnt seem to do anything for it.
I think i fixed the problem. this is what i changed.
Code: Select all
Sub Detectobst
/if (${Math.Distance[${GenLastXLoc},${GenLastYLoc},${Me.Z}:${Me.X},${Me.Y},${Me.Z}]}<10) /call Hitobst 5
/varset GenLastXLoc ${Me.X}
/varset GenLastYLoc ${Me.Y}
/return
from that to this:
Code: Select all
Sub Detectobst
/if (${Math.Distance[${GenLastXLoc},${GenLastYLoc},${Me.Z}:${Me.X},${Me.Y},${Me.Z}]}<1) /call Hitobst 5
/varset GenLastXLoc ${Me.X}
/varset GenLastYLoc ${Me.Y}
/return
-
Nightshift
- a lesser mummy

- Posts: 54
- Joined: Mon Oct 13, 2003 8:52 am
Post
by Nightshift » Mon May 10, 2004 9:06 am
Shocks wrote:Ok these are the fixes I have added.
1. I added this line in botspell.ini under line 110. This line give me a Failed to parse /if command. Could not find Command to execute. I have tryed it with and with out the /return at the end.
Code: Select all
/declare ArgNum int local 1
[color=red]/If (${SelfBuffList.Equal[Buffs you wish to maintain of yourself sperated with |.]} || !${SelfBuffList.Length}) [/color]
:SelfBuffLoad
2. In botcore.ini I changed line 212 to this.
Code: Select all
[color=red]/ini ${IniFile} "${SectionName}" "${KeyName}" "${DefaultValue}" [/color]
Am I doing something wrong ? Or is there a way to fix it by making a self buff area in the ini. This new code change has left me totaly lost. Its gonna take me a bit to get the swing of things.
Thanks
Shocks
Shocks,
Look back a page or two, there is a mesage from me detailing what I did with
/If (${SelfBuffList.Equal[Buffs you wish to maintain of yourself sperated with |.]} || !${SelfBuffList.Length}) /Return .
I also edited the typo "Buffs you wish to maintain
on yourself seperated with a |." If you decide to fix the typo, make sure you change it in the ini text as well.
And don't forget the
/return at the end of the line.
NightShift
-
LordGiddion
- a snow griffon

- Posts: 352
- Joined: Sat Sep 13, 2003 6:12 pm
-
Contact:
Post
by LordGiddion » Mon May 10, 2004 12:21 pm
Fix for multiple masters requires MQ2Latest.zip newer then may 7 2004
07 May 2004 by Lax:
- Added "Lax/Blech" support to custom events. The Blech system allows much easier parsing of
incoming chat. Custom events will now support more parameters that are automatically
parsed based on the match text.
- Fixed up EQ's handling of spawn captions (name above their head). Only the nearest 35 spawn
captions will be updated by default (and even then, only those close enough that you'd see
their name). EQ itself constantly updates the name of every spawn in the zone, even though
only a small portion of those are displayed.
- Added an option to /caption command
Usage: /caption <list|type <value>|update #>
"/caption update #" will set the number of nearest spawns for MQ2 to update the name of
each pass. By default, this is 35. If you have performance issues after this update,
please post about it on the forums. Find a happy update number and let us know.
- Added marked NPC and assist target leadership stuff to default captions, also put guilds on
the line below the name. The defaults should mostly look like EQ's now.
- Fixed macro.Params
- Fixed invslot names
- Added/Changed MQ2Data Members:
spawn character.TargetOfTarget: Target of target (moved to character type)
bool spawn.Assist: Current Raid or Group assist target?
int spawn.Mark: Current Raid or Group marked npc mark number (raid first)
spawn character.RaidAssistTarget[n]: Current raid assist target (1-3)
spawn character.GroupAssistTarget: Current group assist target
spawn character.RaidMarkNPC[n]: Current raid marked NPC (1-3)
spawn character.GroupMarkNPC[n]: Current group marked NPC (1-3)
I'll try to get an update with everyone's fixes posted on wednesday - have way to much going on to do it sooner.
-
fez_ajer
- a ghoul

- Posts: 106
- Joined: Fri Apr 23, 2004 6:44 pm
- Location: If I was up your ass you'd know where I was...
Post
by fez_ajer » Mon May 10, 2004 12:47 pm
Helstar: Please see the post right before yours. It describes everything needed to fix Anchor... The real problem was that X/Y coords were being reversed and the bot was trying to run across zone. The fixes address that and make sure that output loc's match EQ's backward-ass system of listing coords Y,X,Z.
-
MacroFiend
- a grimling bloodguard

- Posts: 662
- Joined: Mon Jul 28, 2003 2:47 am
Post
by MacroFiend » Mon May 10, 2004 2:18 pm
This discussion happened in the dev forum a while back ... but for clarification, EQ's coordinate system really isn't backwards ... they use the cartographical notations (Latitude, Longitute, Altitude) for the position which is Y, X, Z in a coordinate system. The person/people who first tried to decipher the system decided to use the coordinate system and it stuck. Then when the maps/etc came out, it all seemed backwards.
-
xander
- a lesser mummy

- Posts: 33
- Joined: Thu Apr 22, 2004 11:40 pm
Post
by xander » Mon May 10, 2004 2:56 pm
At this point, self buffs are working fine for me. Buffs will cast, and the timer never seems to give me errors, but they never get recast. Also, the bot tells me that certain spells don't exist when they do. Currently, this has happened with these spells:
- Superior Camouflage
- Improved Superior Camouflage
- Cure Disease
- Counteract Disease
-
fez_ajer
- a ghoul

- Posts: 106
- Joined: Fri Apr 23, 2004 6:44 pm
- Location: If I was up your ass you'd know where I was...
Post
by fez_ajer » Mon May 10, 2004 6:05 pm
Gid,
Currently, code to check if a spell is resisted is not working. Something like this:
Code: Select all
/if (${String[${Me.Class.ShortName}].Equal[NEC]}) {
| Wait for a sec or two...
/call Delay 20
:NECOpener
| Check if mob is undead
/if (${String[${Target.Body.Name}].Equal[Undead]}) {
/call ChatOut 1 ${MasterName} "Casting undead slow %T..."
/call SpellSub "Shackle of Spirit"
} else {
/call ChatOut 1 ${MasterName} "Dooming darkness on %T"
/call SpellSub "Dooming Darkness"
}
/if (${Macro.Return}==1) {
/call ChatOut 1 ${MasterName} "%T resist..."
/if (${OpenerRetries}<2) {
/varset OpenerRetries ${Math.Calc[${OpenerRetries}+1]}
/goto :NECOpener
}
}
will yield 3 back to back immediate resist messages on a single resist. I think inserting the following before the final line of the SpellSub will fix it:
Code: Select all
[color=red] /varset CTimer 0[/color]
/return 1
as I think CTimer is left positive (but small) after a resisted cast, causing the subsequent re-cast to immediately bail out.
-
fez_ajer
- a ghoul

- Posts: 106
- Joined: Fri Apr 23, 2004 6:44 pm
- Location: If I was up your ass you'd know where I was...
Post
by fez_ajer » Mon May 10, 2004 6:15 pm
Xander: Try this mod:
botspell.inc (approx line 580):
Code: Select all
/call AddSelfBuff [color=red]"[/color]${CommandParam}[color=red]"[/color]
and if that doesn't work, try this:
botspell.inc (approx line 431):
Code: Select all
/varset SelfBuff[${SelfBuffCount}] ${[color=red]Param0[/color]}
-
helstar
- orc pawn

- Posts: 21
- Joined: Sat Jan 24, 2004 6:23 pm
Post
by helstar » Mon May 10, 2004 7:53 pm
thanks frenz didnt even see your post, Was wondering why half the code was one way and that was the other way.
-
omper
- a ghoul

- Posts: 110
- Joined: Sat Dec 06, 2003 10:46 pm
Post
by omper » Tue May 11, 2004 2:00 am
I am getting this with self buffs.. and i did the fixes posted..
bot tells you, 'Don't know the spell protection of the cabbage so failing to cast'
over and over and over..
anyhelp woule be helpfull..
also there not keeping up with rebuffs..