Genbot v13.2.1 [Updated 07/23/2004] Defend, Guard, Protect!

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

Moderator: MacroQuest Developers

User avatar
aChallenged1
a grimling bloodguard
a grimling bloodguard
Posts: 1804
Joined: Mon Jun 28, 2004 10:12 pm

Post by aChallenged1 » Mon Jul 26, 2004 2:27 pm

1. you should go back and edit to turn off smilies (see the check box below the edit window).
2. You should go back and edit it and place it in CODE brackets. Just highlight the entire code section and press the Code button. Optionally, since you want to make changes show in red, you could use Quote instead. Code won't allow colors thorough unless you use pure HTML, which you have to enable in your profile. Quote does allow use of colors without changes to your profile.

I am waiting to a response that answers your question on targeting pet for buffs. It might be /target [Me.pet] for all I know.
Fuck writing MQ2 macros. Go with IS scripts; IS Rules!

javelinl
a lesser mummy
a lesser mummy
Posts: 70
Joined: Thu Mar 11, 2004 12:40 pm

suggestions

Post by javelinl » Mon Jul 26, 2004 9:19 pm

I can certainly see the issues with the smiley's etc, and I'll make sure to disable them in the future. It looks like it just replaced D 's with grinning smileys.

Targeting a pet isn't too much of a problem, but how to make Addcast do it is my question.

The syntax in self buff is
/call AddCast "${CommandParam}" "${Me.Name}" b-0

The only problem with using name is the ${Me.Pet.Name} tends to return a name like Gober00. I've tried the clean version, but you still have the chance to target another user with the same pet name. Hopefully, Venix can tell me the switch to make addcast use ID

frabtik
a ghoul
a ghoul
Posts: 114
Joined: Sat Feb 21, 2004 10:07 am

Post by frabtik » Tue Jul 27, 2004 2:42 am

Anyone else having major issues with the following in latest code? Seems to me if I have bot following he trys to stay following while fighting which just doesn't work very well to have the bot spinning circles attacking mob and facing master etc. Works great using an anchor or not following though. Been using the older version but it has follow issues too, if using follow on it while in combat, if the mob starts to run off at end of fight bot just never stops moving forward when it dies. I been working on it for awhile but not getting anywhere on fixing it. Any help would be appretiated, thanks.

javelinl
a lesser mummy
a lesser mummy
Posts: 70
Joined: Thu Mar 11, 2004 12:40 pm

No problems here

Post by javelinl » Tue Jul 27, 2004 8:35 am

I haven't had any problems so far with the latest code.

Vexix
Genbot Janitor
Posts: 245
Joined: Sat Apr 17, 2004 10:10 am

Post by Vexix » Tue Jul 27, 2004 11:16 am

Hey guys,

I'm still working through a major code rewrite. I should have it done within a day or two. I think you'll like it. ;) It streamlines quite a bit of the init subs, and I've also reorganized the filenames for more ease of use. Will mostly assist the people who look at the code or make their own personal.inc files, but hopefully others will notice a bit of improved speed as well, since all of the arrays have been exorcised. :D

Goober00 actually is a unique identifier for a pet, so you can use that if you like. It gets cleaned up before output in Cast sub anyway. Another way to approach it would be "id {Me.Pet.ID}"

Frabtik -- I think protect is working ok. 3 things that might stop it from firing -- toggle is turned off, there's another NPC between you and the hostile, or ProtectOrDefendCheckRadius is set too small in .ini. Can you check those things? Anyone else tried to use protect in this last version? Er, update. I think it might be caused by a upper/lower caps issue. Will be solved in next release.

Mackster -- I did change /irc to /i say. Does that have any relation to your problem? I don't use IRC, so can't help you much there. See if you can test the commands using normal chat channels, and have the same problem.

--Vexix

Oskar
orc pawn
orc pawn
Posts: 12
Joined: Sun Nov 30, 2003 2:01 pm

Post by Oskar » Tue Jul 27, 2004 11:32 am

I am new to this script and have not been able to get it to work. It is looking for advpath.inc. I have searched for this on the boards and only found messages that claim to have the file but are blank instead.

Any help would be appreciated. Thanks in advance.

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Tue Jul 27, 2004 1:23 pm

Look in Snippets Oskar, it's there in the appropriately named post. I'll dig up the link for you momentarily.
[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

A_Druid_00
Macro Maker Extraordinaire
Posts: 2378
Joined: Tue Jul 13, 2004 12:45 pm
Location: Rolling on the Lawn Farting

Post by A_Druid_00 » Tue Jul 27, 2004 1:32 pm

[quote]<DigitalMocking> man, A_Druid_00 really does love those long ass if statements
<dont_know_at_all> i don't use his macro because i'm frightened of it[/quote]
[quote][12:45] <dont_know_at_all> never use a macro when you can really fuck up things with a plugin[/quote]

javelinl
a lesser mummy
a lesser mummy
Posts: 70
Joined: Thu Mar 11, 2004 12:40 pm

confirmation

Post by javelinl » Tue Jul 27, 2004 2:34 pm

Looking at the your post it seems that to change addcast to use ID the syntax would be

/call AddCast "${CommandParam}" "id {Me.Pet.ID}" b-0

?

theafkxper
a hill giant
a hill giant
Posts: 207
Joined: Sun Sep 08, 2002 6:41 pm

Post by theafkxper » Tue Jul 27, 2004 4:04 pm

Love Genbot, havent had any problems with latest release at all, but ive got a feature request if ya run out of stuff to do Vex :lol:

I always use IRC for botting, and it dosent have a simple way to specify a private message to a bot, so i was thinking, could we add ${Me.Name} as an optional prefix to commands?

For Example, I have a Shaman named Bob (no not really), and a Cleric named Sam, A rogue named Peter and a ranger named Gimpy.
In the present state, maybe i want the rogue to get behind the mob, and the ranger to stay where he's at. if i was to say "getbehind" in the irc channel as it is, all the bots would run behind the mob. This could be a problem. My proposed idea would be allowing me to specify via his name, so i could say "Peter getbehind" and only Peter would interperate the command.

Understand that this is an example, and unrelated to getbehind specificlly, checking mana, using follow, lootup/all, could all be used as examples.

thanks,
/afk

frabtik
a ghoul
a ghoul
Posts: 114
Joined: Sat Feb 21, 2004 10:07 am

Post by frabtik » Tue Jul 27, 2004 6:23 pm

Use shortcuts. There are countless examples of doing this posted.

Vexix
Genbot Janitor
Posts: 245
Joined: Sat Apr 17, 2004 10:10 am

Post by Vexix » Tue Jul 27, 2004 8:33 pm

Theafk -- From genbotdoc.txt:
COMMUNICATION:
checkname - if set to true, bot will only respond to commands in group or chat if the command is preceeded with <botname>
Let me know if that doesn't handle it.

Javelinl -- Yup, , "/call AddCast "${CommandParam}" "id {Me.Pet.ID}" b-0 " will add the buff to the castqueue. Let me know how it goes!

--Vexix

theafkxper
a hill giant
a hill giant
Posts: 207
Joined: Sun Sep 08, 2002 6:41 pm

Post by theafkxper » Tue Jul 27, 2004 8:38 pm

yeah, that'll do it, but then only commands with their name in it work, I was just suggesting that if a bots name was said, it would interpret it as if checknames was on.

Vexix
Genbot Janitor
Posts: 245
Joined: Sat Apr 17, 2004 10:10 am

Post by Vexix » Tue Jul 27, 2004 9:23 pm

Ah. Interesting. Ok, in botcore.inc change:

Code: Select all

      /if (${CheckName} && ${ChatText.Arg[1].NotEqual[${Me.CleanName}]}) /return 
      /if (${CheckName}) { 
to:

Code: Select all

      /if (${CheckName} && ${ChatText.Arg[1].NotEqual[${Me.CleanName}]}) /return 
      /if (${ChatText.Arg[1].Equal[${Me.CleanName}) { 
Lemme know if that works.

Hmm. . . Color tags still don't work in

Code: Select all

?

--Vexix

Oskar
orc pawn
orc pawn
Posts: 12
Joined: Sun Nov 30, 2003 2:01 pm

Post by Oskar » Wed Jul 28, 2004 9:37 am

Thanks A_Druid_00. I'm not sure why my searches didn't turn that up, but I appreciate it.