Genbot Version 12 Ready

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

Moderator: MacroQuest Developers

User avatar
Fuergrissa
a grimling bloodguard
a grimling bloodguard
Posts: 607
Joined: Mon Dec 08, 2003 3:46 pm
Location: UK

Post by Fuergrissa » Sat May 08, 2004 12:38 pm

the last 5 posts address this very issue !

eqaussie
a ghoul
a ghoul
Posts: 124
Joined: Tue Mar 16, 2004 5:58 am

Post by eqaussie » Sat May 08, 2004 12:58 pm

Ran into an interesting situation last night :)

I was 3 boxing in PoE, master was my SK, was controlling my enc and wiz via genbot.

I had my wiz setup to follow my enc, which was working fine... until...

Things got a bit dicey, so had to evac.. The evac left the enc behind, and died.

As soon as we rezoned, the wiz made a beline for the corpse, and then died too :)

Would be helpful if follow got halted on zone, or if the target they were following became a corpse :)

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

Post by Nightshift » Sat May 08, 2004 7:31 pm

LG,

I took your line of code and put it in a different spot that seems to work like you wanted it to.

Code: Select all

sub CheckSelfBuffs
   /declare counter int local
   /varset SelfBuffPass 0
  [color=red] /if (${SelfBuffList.Equal[Buffs you wish to maintain on yourself sperated with |.]} || !${SelfBuffList.Length}) /return[/color]
   /for counter 1 to ${SelfBuffCount}
      /if (!${Me.Buff[${SelfBuff[${counter}]}].ID} && ${SelfBuffInt[${counter},1]}<1) {
         /target myself
         /call SpellSub "${SelfBuff[${counter}]}"
         /if (${Macro.Return}==1 && ${SelfBuffInt[${counter},2]}<6) {
            /varset SelfBuffInt[${counter},1] 5
            /varset SelfBuffInt[${counter},2] ${SelfBuffInt[${counter},2]}+1
         }
         /if (${Macro.Return}==1 && ${SelfBuffInt[${counter},2]}>=6) {
            /varset SelfBuffInt[${counter},1] 900
            /varset SelfBuffInt[${counter},2] 0
         }
      }
   /next counter
/return
Added the red line of code that LG posted earlier at this spot instead of the suggested spot in the code. This seems to work like he wanted.

No spamming now, casts the buff when it runs out, works for all targets types.

NightShift

xander
a lesser mummy
a lesser mummy
Posts: 33
Joined: Thu Apr 22, 2004 11:40 pm

Post by xander » Sat May 08, 2004 11:34 pm

Self Buffs are working for me as well now, but I'm not sitting after casting a self buff. Need to add the check in Sub CheckSelfBuffs? Not sure where to put it actually.
Xander

User avatar
Slice
a hill giant
a hill giant
Posts: 189
Joined: Wed Oct 30, 2002 2:52 pm

Post by Slice » Sun May 09, 2004 12:55 am

Has anyone else used autoheal with a pet?

Using current versions of Genbot as of this post. Everything is set in my .ini and the only way I could get it to autoheal my pet was by using watchtarget.

autohealed me fine.
Slice

Groo Bait
Contributing Member
Contributing Member
Posts: 14
Joined: Tue Jan 27, 2004 12:58 am

Post by Groo Bait » Sun May 09, 2004 1:46 am

Slice wrote:Has anyone else used autoheal with a pet?
Damn, I thought I'd screwtup my ini. My lil cleric bot hasn't been autohealing my pets either. This also with the new version of genbot.

apollo5145
orc pawn
orc pawn
Posts: 26
Joined: Wed Feb 25, 2004 8:14 pm

Post by apollo5145 » Sun May 09, 2004 1:54 am

Anyone got some bard commands already done by chance so I don't have to code em? If so please pm to me or post in snipetts section.

Groo Bait
Contributing Member
Contributing Member
Posts: 14
Joined: Tue Jan 27, 2004 12:58 am

Wake up my Bot

Post by Groo Bait » Sun May 09, 2004 2:48 am

Well, having deleted my GenBot_Botname.ini file because I thought I had screwed it up I then proceded to recreate it after using the bugfixes above to make sure it wrote the new one correctly.

Now the lil bot-dummy is ignoring my commands. He doesn't follow, doesn't buff on command, just stands there blinking at me. He DOES auto-cast the self buffs specified in the ini, and relays tells. Have I screwed up something after discovering that I hadn't? Is this karma recieved for having let him die and running like the elfinnadress I am?


Code: Select all

[CORE]
RangeMin=10
RangeMax=12
FastRange=14
FastMin=6
Relaytells=1
ListenGroup=0
ListenChat=1
ListenChan=1
AttackOnAssist=0
BehindOnAssist=0
PetOnAssist=0
Verbosity=9
ChatIn=Tell
ChatInChannel=NotMyChannelButWouldBeIfIHadn'tEditedIt
MountItem=White Rope Bridle
AnchorRadius=6
IgnGroupList=duck|say|tell|group|cmds|trade|run|backstab|taunt|evade|slam|bash|kick|flyingkick|disarm|traps|puller||
FollowMode=1
MoveToMode=1
CheckName=0
[advpath]
FaceFast=1
SpeedSense=15
FollowDistance=20
SilentFlag=1
[Combat]
DoBackstab=0
DoTaunt=0
DoEvade=0
DoFrenzy=0
DoSlam=0
DoBash=0
DoKick=0
DoFlyingKick=0
DoDisarm=0
DoTraps=0
DoArchery=0
AutoEngage=0
AutoBehind=1
DoIncite=0
[Spell]
DelayBeforeSit=3s
SpellGem=8
SitAfterCast=0
DefaultSpellSet=2Box
EvacSpell=Gate
ReportLom=0
LomMsg=Warning I'm running low on Mana.
CanniSpell=Canniblize
DoCanni=0
YaulpSpell=yaulp
DoYaulp=0
ChainStun=Your Chain Stun Spells sperated with |.
ChainNuke=Your Chain Nuke Spells sperated with |.
SelfBuffList=Blessing of Faith|Armor of the Faithful
IsBard=0
Remem=0
[Healer]
IsHealer=1
IsPally=0
ReportAutoHeal=1
HealPets=1
PatchHealer=0
TankSpell=Complete Healing
CasterSpell=Superior Healing
DefaultHealSpell=Superior Healing
PetSpell=Complete Healing
PatchSpell=Superior Healing
HealCasterMsg=Healing %t
HealTankMsg=Big Heal on %t
HealPetMsg=Healing %t
PatchHealMsg=Patch Healing %t
PallyHealSpell=Name of Pally Heal Spell
PalHealMsg=Healing %t
PallyGroupSpell=Name of Pally Group Heal Spell
CasterPctHeal=70
TankPctHeal=41
PetPctHeal=31
PalGrpPct=81
PalHealPct=81
TankList=Warrior|Shadow Knight|Paladin|Monk|Beastlord|Ranger|Shaman|Berserker
CasterList=Necromancer|Wizard|Enchanter|Magician|Rogue|Druid|Cleric|Bard

apollo5145
orc pawn
orc pawn
Posts: 26
Joined: Wed Feb 25, 2004 8:14 pm

Post by apollo5145 » Sun May 09, 2004 4:54 am

I noticed the chain stun command just wanted to say you might wanna remove the wait til 1second left thing. Problem with it is, you get fizzle on a chain stun and u wipe if you're waiting that long. Usually when ya chain stun it's for ae and you actually want to chain it without any delay. Perhaps a seperate command like aestun would be good that way chain stun would work good for cleric/paladin type stuns and ae for enc's ae stuns?

LordGiddion
a snow griffon
a snow griffon
Posts: 352
Joined: Sat Sep 13, 2003 6:12 pm
Contact:

Post by LordGiddion » Sun May 09, 2004 8:32 am

apollo5145: It waits because that was what my chanter friend asked for for being AE groups, reduced Down time and prevented running OOM during the middle of the fight. - I'll add code so it recasts right away if the spell doesn't cast.

Rassilon
a lesser mummy
a lesser mummy
Posts: 73
Joined: Thu Sep 04, 2003 6:34 pm

Post by Rassilon » Sun May 09, 2004 8:47 am

I notice two things:
1. The bot doesn't 'autoengage' unless you either /tell it to or if you click attack first. Before it would attack the mob attacking it on its own.

2. 'anchor' is off. I've tried 'moveto' 0 1 2 and all of them make the bot run all over the place before getting back to his anchor spot. He used to just /face his anchor, then run to it. It seems that it backing up first is making it do weird things.

Thanks

fez_ajer
a ghoul
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...

Anchor..

Post by fez_ajer » Sun May 09, 2004 9:54 am

Gid,

Looks like all of the anchor stuff is using X,Y,Z coords for Math.Distance rather than Y,X,Z. This includes a couple of critical /face loc commands. I'm going to do some testing and will post the changes in a bit unless you beat me to it.
- Fez

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

Pet Auto heals

Post by Cash42 » Sun May 09, 2004 11:17 am

I've found that watchtarget is the only way to auto heal pets as well. If I use the pet heals line in the INI, my cleric heals the beastlord when the pet gets too low, instead of healing his pet.
Cash42

Groo Bait
Contributing Member
Contributing Member
Posts: 14
Joined: Tue Jan 27, 2004 12:58 am

Post by Groo Bait » Sun May 09, 2004 2:04 pm

I am completely and totaly frustrated. My cleric bot is STILL totaly ignoring commands. Genbot is running, and performing most automatic functions fine as far as I can tell, i.e. self buffing and relaying tells. But still staring at me blankly as if I'm NOT his master! (bad bot!)

I stuck the following line in the chat sub even to verify that he was seeong the commands in the chat channel, and they seem to show that he's seeing them, that the sender is indeed the master, but he's not acting on them.

Code: Select all

Sub Event_Chat(string ChatType,string ChatSender,string ChatText) 
[color=red]/echo ${ChatSender} "${ChatText}" ${MasterList.Arg[1,|]}[/color]
   /if (!${ChatType.Equal[GROUP]} && !${ChatType.Equal[${ListenChan}]}&& !${ChatType.Equal[TELL]}) { 
      /return 
   }
What to do?

spektralkat
orc pawn
orc pawn
Posts: 22
Joined: Sat Dec 20, 2003 5:25 am

Post by spektralkat » Sun May 09, 2004 3:37 pm

Genbot behaves strangely with horses when the bot is given a follow command and is on horseback, the bot will go foward a few steps then back up like it has hit an obstacle,, any ideas?




Nevermind i was a bonehead i changed follow modes in my char ini to 2 instead of 1 fixed the problem