genbot.mac Generic Bot macro for any class. V9.3 with ini

A forum for you to dump all the macros you create, allowing users to use, modify, and comment on your work.

Moderator: MacroQuest Developers

DrMadd
a lesser mummy
a lesser mummy
Posts: 43
Joined: Tue Jun 03, 2003 1:03 pm

Post by DrMadd » Sat Jan 31, 2004 9:29 am

Couple of issues I'm having.


#1, Seems my "bot" is using same "big heal" on everyone, and not differentiating (sp?) between casters and tanks... Complete heals on Tanks, small heals on casters... But the Bot isn't doing that...


#2, /tell bot buff me = 4 buffs being cast, even though I have edited the Charname.ini file, and filled all 8 buff slots with the correct spell names. Whatever I put in the first 4 slots the bot will cast, no more than 4 though...


Ideas?

draco
a ghoul
a ghoul
Posts: 145
Joined: Thu Jan 29, 2004 7:06 pm
Contact:

Post by draco » Sat Jan 31, 2004 9:32 pm

Thanks, that did the trick. :D

draco
a ghoul
a ghoul
Posts: 145
Joined: Thu Jan 29, 2004 7:06 pm
Contact:

Puller

Post by draco » Mon Feb 02, 2004 10:27 am

I see the flag isPuller and have used the command to set it. Nothing seems to happen. But, I also haven't found any target acquistion code i.e GetTarget as found in the various hunter Macros.

My idea is to write a Puller/ farmer mode. Use isPuller to determine whether the bot should call this.
For Puller mode I would:
Find Mob
Use range attack
return to Anchor
engage

For Farmer mode:
Find Mob
engage
loot


Where would I hook these in. PersonalMain? or MainLoop? or does it already exist I just haven't found it yet?


Any ideas?

Blackstarr
decaying skeleton
decaying skeleton
Posts: 9
Joined: Mon Feb 09, 2004 3:00 am

Post by Blackstarr » Mon Feb 09, 2004 8:18 am

I'm having problems with this script I can get it to work great on my clr but when I run genbot.mac Generic Bot macro for any class. V9.2 with ini It only partly works. It will not sit stand follow or attack. But it will sent messages like Target resited so so spell.

I have test a few other scripts like the learn Lang script works great.

Anyhelp here would be great.

Blackstarr
Whats up Doc?

fishez
orc pawn
orc pawn
Posts: 19
Joined: Tue Dec 09, 2003 3:42 pm

Post by fishez » Mon Feb 09, 2004 10:16 am

Been using this scripts on several boxed characters for a while, since before V9.

All has been good, however, with the last couple of versions it seems that it is requiring much more resources to run and my system becomes almost unuseable when boxing 3 chars at once.

I've been boxing the same 3 chars with earlier version with no problems. Anyone else having anything like this happen? Ideas?

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

Post by legion » Tue Feb 10, 2004 11:21 am

yes I've noticed this, is this anything to do with advpath.inc I've been wandering. I havn't tried using it without yet.

louseman
decaying skeleton
decaying skeleton
Posts: 8
Joined: Mon Oct 27, 2003 4:16 pm

Post by louseman » Tue Feb 10, 2004 12:29 pm

I think the resources issue may be caused by #turbo. Try changing it to #turbo 40.

jumbotron
decaying skeleton
decaying skeleton
Posts: 6
Joined: Tue Feb 10, 2004 4:50 pm

Post by jumbotron » Tue Feb 10, 2004 4:54 pm

Hello my friends,

I just want to say that Genbot has made my EQ life 100% better, my cleric is a star now and my enchanter can tash/mez/slow with just a simple tell from, and I don't miss anything on my screen like I used to, when trying to 3 box manually. Thank you for your efforts in making this script a masterpiece of engineering.

I assume with the GoD expansion, there will need to be a patch to the MQ2 software? Is this ready to go live yet?

Thanks again,

Jumbotron - bigger than life!

ml2517
a grimling bloodguard
a grimling bloodguard
Posts: 1216
Joined: Wed Nov 12, 2003 1:12 am

Post by ml2517 » Tue Feb 10, 2004 5:57 pm

Doubtful it is advpath.inc. It should use very little cpu if you aren't following. louseman is probably onto the real solution. Try #turbo 40. If it doesn't work well just keep bumping it up by 10.

User avatar
lasher
a lesser mummy
a lesser mummy
Posts: 71
Joined: Thu Dec 18, 2003 4:09 pm

Post by lasher » Wed Feb 11, 2004 1:09 am

Yeah, I changed turbo due to advpath requesting max turbo. If ml2517 doesn't think it'll effect advpath too much, I'll change it back.

PhoenixZorn
Macro Czar
Posts: 127
Joined: Fri Dec 12, 2003 2:20 pm
Contact:

Clerics especially... and other casters too.

Post by PhoenixZorn » Wed Feb 11, 2004 10:20 am

I don't know if this issue is limited to clerics only, or if it is all casters, but if you are below level 60 or so, (>52 for sure) you will have errors running your bot. Allow me to explain.

- Cleric heal spells are set as:
  • Default Heal == Remedy
    Tank Heal == Complete Healing
    Caster Heal == Remedy
    Patch Heal == Celestial Healing
    Pet Heal == Complete Healing
With this set of spells, you will notice that your cleric is casting Remedy just about every time you tell the bot to heal someone. The problem with this is that it often takes 3-5 casts of Remedy to keep the MT alive while he's on a mob, effectively wasting a shitload of mana... and after 5 casts, you have effectively screwwed your self with mana:time ratio being that it takes 175 mana and 3 seconds to cast Remedy, compared to 400 mana and 10 seconds for Complete Heal. You'll also notice that /tell bot autoheal and /tell bot autohealpets, while they cause the bot to report back that he will indeed autoheal, he won't heal anything until you tell it to heal target or what have you.

So, with that, I asked Lasher for a fix, and while I read a bunch of posts before I started writing this, I don't know if Lasher posted the fix yet, so I'll do it here.

In your genbot_charname.ini file, you will find linesthat read:

Code: Select all

ReportLom=1
LomPct=20
LomMsg=I'm getting LOM
The easy and temporary fix for this, considering my level 52 cleric is never below 86 mana unless I tell him to nuke, is just to change the 1 to a 0. Lasher is doing a permanent fix for it, but until that time, this will work wondersfor your below 65 clerics, druids, and shamans.

JimJohnson
a grimling bloodguard
a grimling bloodguard
Posts: 1299
Joined: Sat Oct 11, 2003 6:00 am

Post by JimJohnson » Wed Feb 11, 2004 11:42 am

if your ini is set up like this you wont have to cast SR 3-5 times on your tank as long as your grouped with him... if NOT grouped just do the watchtarget command and use CH. Use genbot for druid and cleric as healers works great 98% of the time.
make sure IsHealer=1... if your casters just take minimal dmg you could do Heal over time.
[Core]
RangeMin=10
RangeMax=12
FastRange=14
FastMin=6
Relaytells=1
ListenGroup=1
ListenChat=1
ListenChan=Bot
AttackOnAssist=0
BehindOnAssist=0
PetOnAssist=0
Verbosity=9
ChatIn=channel
IgnoreInGroup=duck|say|tell|group|cmds|trade|run|backstab|taunt|evade|slam|bash|kick|flyingkick|disarm|traps|puller||
DelayBeforeSit=3s
AnchorRadius=6
[Spell]
SitAfterCast=0
DefaultSpellSet=default
EvacSpell=NONE
[Combat]
DoBackstab=0
DoTaunt=0
DoEvade=0
DoSlam=0
DoBash=0
DoKick=0
DoFlyingKick=0
DoDisarm=0
DoTraps=0
DoArchery=0
Aggressive=0
AutoEngage=0
[Healer]
IsHealer=1
IsPally=0
ReportAutoHeal=1
CasterHealIsHot=0
HotDelay=60
HealPets=0
PatchHealer=1
TankSpell="Complete Healing"
CasterSpell="Remedy"
DefaultHealSpell="Remedy"
PetSpell=Remedy
PatchSpell=Remedy
HealCasterMsg="Remedy on %t"
HealTankMsg="Complete Heal on %t"
HealPetMsg=Healing %t
PalHealMsg=Healing %t
PatchHealMsg=Patch Healing %t
PallyGroupSpell=Name of Pally Group Heal Spell
PallyHealSpell=Name of Pally Heal Spell
CasterPctHeal=40
TankPctHeal=71
PalGrpPct=81
PetPctHeal=51
PalHealPct=81
TankList=Warrior|Shadow Knight|Paladin|Monk|Beastlord|Ranger|Shaman
CasterList=Necromancer|Wizard|Enchanter|Magician|Rogue|Druid|Cleric|Bard

PhoenixZorn
Macro Czar
Posts: 127
Joined: Fri Dec 12, 2003 2:20 pm
Contact:

Post by PhoenixZorn » Wed Feb 11, 2004 2:08 pm

that's exactly what mine has... I'm only stating the facts when I say that it will work flawlessly if you tell it to not report lom... which was giving me timing issues among other things, even when I was at 100mana... so, yeah... that's all. =)

w00tz0r
orc pawn
orc pawn
Posts: 18
Joined: Sun Dec 14, 2003 2:37 am

Im sure it will be fixed..

Post by w00tz0r » Wed Feb 11, 2004 9:22 pm

Just curious, i have used the newest offsets and compiled MQ2 with no errors.

Genbot seems to run fine on all my characters, except auto backstab auto taunt etc dont seem to work.

If i manually type /doability backstab it works. So im unsure wherein the problem lies.

It could be that there are incorrect offsets or i missed something. But if anyone has an idea of what i can check would appreciate it

rzmonk76
a hill giant
a hill giant
Posts: 165
Joined: Sat Jan 31, 2004 1:37 pm
Contact:

problems casting

Post by rzmonk76 » Sat Feb 14, 2004 7:22 am

nm i figured it out