Genbot v13.1.5 [Updated 07/11/2004] Invites and Events!

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

Moderator: MacroQuest Developers

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

Post by Vexix » Tue Jul 13, 2004 7:37 am

Nightshift,

Glad you're impressed with the current version of genbot. :) I've still got a lot more plans for it!

You're absolutely right about the healing priority. The code was already in there to handle it, but a typo kept it from working. Search and replace "AddCastCategory" with "AddCastInfo", and healing will take priority over buffing and player commands. ;) I'll fix it in the post next time I updated.

Mort, c'mon back. ;) I can always use feedback and suggestions.

--Vexix

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

Post by aChallenged1 » Tue Jul 13, 2004 8:15 am

Change is 2 parts same line in botspell.inc

Nightshift
a lesser mummy
a lesser mummy
Posts: 54
Joined: Mon Oct 13, 2003 8:52 am

Post by Nightshift » Tue Jul 13, 2004 10:32 am

Thanks, I'll find and correct those and give it a test as soon as I can.

NightShift

zigzags
decaying skeleton
decaying skeleton
Posts: 8
Joined: Sat Jul 10, 2004 3:23 pm

Post by zigzags » Tue Jul 13, 2004 12:38 pm

lovin this stuff!

anyways there are still issues with healing pets.......ny cleric keeps healing pet with 2 cheals very often, big waste of mana....

is there another place to maybe add 1 more health check for current target, maybe 1 more health check somewhere right before it casts the complete heal would help a little?

maybe some suggestions from some people on how i can fix my double pet cheal problem, i'm new at this stuff but i'm sure i can pick it any pointers

please keep up the good work, i look at this forum daily for updates to your scripts :)

sj_digriz
a lesser mummy
a lesser mummy
Posts: 40
Joined: Wed Jun 02, 2004 9:10 am
Contact:

autofollow

Post by sj_digriz » Wed Jul 14, 2004 9:16 am

hey vex,

I'm having 2 issues with autofollow:

#1: bot can't load spells while in AF mode because AF won't allow the bot to sit. I've tried a couple things to fix it but I only manage to break AF altogether. Is there a way to allow the bot to sit if not moving?

#2: For some reason I have a great deal of trouble keeping the bots following. They have a tendency to go the wrong way or go out of their way to get stuck on geometry that is no where near the path being taken. Then they go the wrong way trying to catch up.

I've pretty much quit using the genbot/advpath AF in favor of using the ingame AF even though it is restricted to ingroup(although you can cheat that somewhat). Not sure if anything can be done, but thought I'd ask.

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

Post by Vexix » Thu Jul 15, 2004 12:48 am

Heya, Sj

As for the problems you're having with following, those are usually related to lag on the second window. If you have only 1 window running, then advpath runs smooth as silk. It's the extra load that makes it rough. Try this kind of setting change:

If using Windows XP or 2000, multiple chars on one PC performs better if Processor Scheduling is set to Background Services. http://techrepublic.com.com/5100-6313-5034438.html

And see if that helps. You might also try bringing in the clipping plane as low as possible on the bot and decreasing the fps using /fps on bot and master.

I'll put something in for the spell casting in the next release. At this time, I thinking about just stopping the follow checks if bot is within 20 feet of master. This means following might be a bit rougher within this radius once the master starts moving again. For instance, if the master left through a door, and did a sharp turn all before leaving the 20 radius, the bot wouldn't capture this with advpath since it wouldn't be doing the polling on the master position. This means the bot would head directly for the master instead of following his path out the door. Is this change worth it to let the bot relax and cast and sit if within 20 feet?

Eventually, I will probably create a "leash" like function similar to roguehelper, which will do a better job of handling these things, but that's a ways off still.

In general, how do people want bots to react to following and spell casting? If the master commands a spell, should bot stop and cast immediately? What about buffs? Heals? Should bot automagically stop buffing and healing when following?

--Vexix

MrSmallie
a hill giant
a hill giant
Posts: 167
Joined: Fri Oct 11, 2002 11:18 am

Post by MrSmallie » Thu Jul 15, 2004 1:46 am

Follow should be follow. should have to issue a follow command anytime it's wanted. Any other command will cause follow to end until commanded to follow again.
My 2 cents.
Me
[img]http://home.comcast.net/~mrsmallie/ches.JPG[/img]

sj_digriz
a lesser mummy
a lesser mummy
Posts: 40
Joined: Wed Jun 02, 2004 9:10 am
Contact:

Post by sj_digriz » Thu Jul 15, 2004 9:48 am

Hi Vexix,

The main bots I'm having problems with runs on their on machines with full specs.

I bot cleric&chanter and drive a wizzy as master. If major CC is needed I'll sometimes jump to chanter and bot wizzy for a short bit.

Maybe I use genbot in different situations than most people. I rarely do static camps. I bot on raids or in LDoN where you are always moving. Hard LDoN are not so bad. Although we don't bother pulling anymore, we don't move so fast so sometimes its semi-ok to start and stop AF. Regular LDoN is practically a sprint now though which makes it very difficult when the AF gets wonky. For raids and normal LDoN the bots are on AF the entire time.

BTW, I don't have a problem with the way it ignores casting tells if in motion right now. Reload and autobuff are a problem because the bot tries to do these while following and can't. But the actual not casting is NOT a problem.

Also, is there a way to have it manually drop AF if the keyboard is touched on the bot PC like the regular AF does? One of the hardest parts is when the bot gets lost its very difficult to just reach over and correct because you fight the AF. The stop command doesn't work real well in this situation for some reason. I have to actually stop genbot to regain control.

This is a lot of typing for minor issues. So don't blow this up into a huge dealy. I'm very happy with the extra help this util gives me. I'm just trying to tweak down a few things. And right now AF is my biggest gotcha.

sj_digriz
a lesser mummy
a lesser mummy
Posts: 40
Joined: Wed Jun 02, 2004 9:10 am
Contact:

Post by sj_digriz » Thu Jul 15, 2004 10:03 am

LOL, I forgot to comment on the leash part.

YES PLEASE...heheh

Leash should be part of the AF though. And somehow do a "We aren't moving" check on the master if possible. Not sure how that would work. I was basically trying to do that when I was breaking AF myself.

Here is my personal choice of most imporant to least.

Moving - Need a way to clear autofollow
In-Range check - need to NOT run all the way to the mob/pc and back
Healing
Debuff
Nuke
Buff
load needed spell - need to be able to sit while in AF mode
Reload needed spell - need to be able to sit while in AF mode
rebuff

If anything higher up is happening, don't do whats below until everything from above is gone.

legion
orc pawn
orc pawn
Posts: 17
Joined: Tue Jan 06, 2004 10:30 am

Post by legion » Thu Jul 15, 2004 12:44 pm

I was jsut wandering what happened to the docs?

bob_the_builder
a hill giant
a hill giant
Posts: 275
Joined: Tue Jul 22, 2003 1:22 pm

Post by bob_the_builder » Thu Jul 15, 2004 1:06 pm

legion wrote:I was jsut wandering what happened to the docs?
GenbotDoc.txt 12.38

http://macroquest2.com/phpBB2/viewtopic.php?t=7720

It's pretty constant as not much has changed to the commands or functions of the commands. Shortcuts are still the same, make sure to use "on NameS" though if you use buffs / snt.

Bob

Cash42
orc pawn
orc pawn
Posts: 23
Joined: Sat Nov 22, 2003 1:38 pm

Post by Cash42 » Sat Jul 17, 2004 11:20 pm

Got a new issue, the Door command is broken, saying it is not targeting a door. Other than that, GB is running perfectly. No issues with heals, buffs, or anything.
Cash42

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 » Sat Jul 17, 2004 11:28 pm

Just started playing around with Genbot today, and I noticed there doesn't seem to be any support for Alt Abilities. Would this work:

Code: Select all

sn Spirit of the Wood
In the doc there's an example of

Code: Select all

uberaa=/alt activate 33
But it doesn't work when I put my AA number in it's place.
[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]

zanomo
a hill giant
a hill giant
Posts: 285
Joined: Thu Jun 24, 2004 11:21 pm

Post by zanomo » Mon Jul 19, 2004 1:12 am

zigzags wrote:lovin this stuff!

anyways there are still issues with healing pets.......ny cleric keeps healing pet with 2 cheals very often, big waste of mana....
I had similar issue with my heal routine and then I realized that after healing the target and if the second alteration of heal checks is done too quickly, there is a gap between realizing the heal being already casted and accquiring the target which causes the healer to think that the target has not been healed yet.

I modified my code such that the target will not be checked unless the same heal spell is ready to be casted, since it is no sense trying to heal if the heal spell is not ready. Worked for me....

As for the genbot, my suggestion (for the pet heal section ONLY) would be to modify it from:

Code: Select all

      /if (${HealPets} && ${Spawn[${QuickID}].Class.PetClass} && ${Spawn[${QuickID}].Pet.ID}) { 
         /if (${Spawn[${QuickID}].Pet.PctHPs}<${PetPctHeal}) { 
            /call CastHeal ${Spawn[${QuickID}].Pet.ID} "${PetSpell}" "${HealPetMsg}" 
         } 
      } 
to:

Code: Select all

      /if (${HealPets} && ${Spawn[${QuickID}].Class.PetClass} && ${Spawn[${QuickID}].Pet.ID}) { 
         /if (${Spawn[${QuickID}].Pet.PctHPs}<${PetPctHeal} && ${Me.SpellReady["${PetSpell}"]) { 
            /call CastHeal ${Spawn[${QuickID}].Pet.ID} "${PetSpell}" "${HealPetMsg}" 
         } 
      } 
Just adding the spell ready checks as a condition to cast the heal. May need a bit of rework to fit properly. hope this helps. :smile:

mackster
a ghoul
a ghoul
Posts: 95
Joined: Mon Sep 09, 2002 3:02 pm

Post by mackster » Mon Jul 19, 2004 10:44 am

If you want to use IRC instead of tells or chat channels, you need to change this line in botcore for the bot to reply in your IRC channel:

Code: Select all

/irc ${ChatText} 
to:

Code: Select all

/i say ${ChatText}