Genbot v13.0.3 [Updated 06/15/2004] Buff Queues added!

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

Moderator: MacroQuest Developers

Daem
decaying skeleton
decaying skeleton
Posts: 1
Joined: Sat Jun 05, 2004 1:40 pm

Post by Daem » Thu Jun 17, 2004 6:31 pm

I don't know if it's my stupidity, but heal <Playername> isn't working for me anymore.

Roentgen
orc pawn
orc pawn
Posts: 15
Joined: Fri Nov 28, 2003 9:15 pm

Post by Roentgen » Thu Jun 17, 2004 8:00 pm

bummer, melee is not working at all for me now. Like someone else posted, bot runs off into the sunset- aggroes zone and then eq crashes citing some memory error. I have wiped clean .ini and repatched etc to no avail.


Also as you asked, the casting mistakes are still happening. I use 3 caster bots, but leave them all out of groups. I have watchtarget on for the tank and to cross heal the druid and cleric. When the command to cast a nuke for example is done- I see the script target the mob correctly, but before the spell starts casting, the target switches to the watchheal target- then the nuke lands on me 8).

Gnoochi
decaying skeleton
decaying skeleton
Posts: 2
Joined: Sun Jun 13, 2004 12:42 pm

Post by Gnoochi » Thu Jun 17, 2004 8:17 pm

Noob question maybe, but follow doesn't work for me on this version, my bot just cycles from having the correct target to no target at all and stands there stuck in that loop. I've checked the previous postings updated all that I could find.. maybe I'm missing something?
Bewbz /nod

Hue
decaying skeleton
decaying skeleton
Posts: 1
Joined: Fri Jun 18, 2004 1:43 am

Any ideas on why my bot wont respond to master?

Post by Hue » Fri Jun 18, 2004 1:50 am

I would like to figure out why my bot is responding to the /gb switch. " so i know its working".. but does not respond to the master - nothing

any ideas would help, thanks in advance.

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

Post by Vexix » Fri Jun 18, 2004 6:31 am

Hey guys,

There are some bugs in the latest release of MQ2, which are causing the link deaths and the bot to charge off without listening to reason. Until the devs get a chance to fix MQ2, genbot won't work as advertised. Here's a post describing some of the bugs:

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

Be patient until the next MQ2 fix!

--Vexix

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

Post by Vexix » Fri Jun 18, 2004 6:59 am

Roentgen,

Try adding the following to the Cast sub in botspell.inc:

Code: Select all

   /varset CastLastResult CAST_StillCasting
   /varset CastStep 4
   /varset CastTimer 0
[color=darkred]   /delay 5[/color]
   /return
   |Stop moving
:gCast-2
I think the problem might be resulting from switching your target after targetted, but before the spell starts, perhaps due to delay from standing up after sitting? Not at computer right now, so here's what I recall:

You can switch targets after starting the spell, but cast will still land on critter targeted at the beginning of the spell.

You cannot /assist someone during casting.

Lemme know if either of those assumptions are wrong. :/

--Vexix

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

Post by Vexix » Fri Jun 18, 2004 7:08 am

I really appreciate all the feedback on where genbot is acting strange. :D It helps to make sure the code is working right.

It would help if you post genbot bugs like this:

GENBOT BUG REPORT

Date and Time of MQ2 compile used: 06/xx/2004 xx:xx <--- Don't say "latest." ;) The "latest" version might have changed between when you posted and when I read your post.

Version of Genbot used: 13.x.x <--- Not "latest." See above.

Command given to bot:/tell bot xxxx xxxx xxx <-- Include the /tell or /g or /gb, so I know what channel you're using.

Expected bot action: xxxx

Actual bot action: xxxx

Error message: xxxx

Relevant shortcuts: xxxx

Relevant .ini sections: xxxx

Thanks. :)

By the way, if you're getting CTD or link deaths, that's probably not a genbot issue. Genbot or any macro can cause error messages, but shouldn't crash the client unless there are issues with MQ2.

--Vexix

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

Genbot Woes

Post by Cash42 » Fri Jun 18, 2004 11:02 pm

nly thing that I havn't seen commented on is the /lootup command. Wont work for me at all. When I issue the command the bot turns attack on and tries to pummel the corpse.
Cash42

blakbelt
a lesser mummy
a lesser mummy
Posts: 70
Joined: Wed Aug 27, 2003 12:40 pm
Location: Scotland UK

Post by blakbelt » Sat Jun 19, 2004 5:44 am

question:

With archery switched on will the bot solely used ranged combat or will it try to move to the mob and attack, have read the documentation but havent had chance to try it yet...
Blakbelt

robjer
decaying skeleton
decaying skeleton
Posts: 2
Joined: Sat Jun 19, 2004 1:47 pm

Post by robjer » Sat Jun 19, 2004 2:07 pm

Found a few strange behaviors. Maybe it's bug's, maybe not.

MQ2 16/6/04. GenBot 13.0.3

If I tell my bot to get on his mount, it only works the first time. Subseqent casts had to many "item" added before the name of the drum.

Changed in BotCore.inc from

Code: Select all

Sub Do-mount 
   /if (${Me.Sitting}) /stand 
   /if (!${String[ item alt spell slot ].Find[ ${MountItem} ]}) /varset MountItem item ${MountItem} 
   /call AddCast "${MountItem}" "0" buff 
   /call ChatOut 5 ${MasterName} "Summoning my mount." 
/return 
to

Code: Select all

Sub Do-mount 
   /if (${Me.Sitting}) /stand 
   /if (!${String[ item alt spell slot ].Find[ ${MountItem[color=red].Arg[1][/color]} ]}) /varset MountItem item ${MountItem} 
   /call AddCast "${MountItem}" "0" buff 
   /call ChatOut 5 ${MasterName} "Summoning my mount." 
/return 

When the bot was to refresh his self buffs, he would try to cast them on hist mount most of the times.

Change in BotSpell.inc from

Code: Select all

Sub RefineTarget(string RFTarget) 
   /if (${RFTarget.Equal[assist-]}) /return assist- 
   /if (${NearestSpawn[${RFTarget}].Type.Equal[PC]}) { 
      /varset RFTarget pc ${NearestSpawn[${RFTarget}].Name} 
   } else {
      /varset RFTarget ${NearestSpawn[${RFTarget}].Type} id ${NearestSpawn[${RFTarget}].ID} 
   } 
/return ${RFTarget}
to

Code: Select all

Sub RefineTarget(string RFTarget) 
   [color=red]/declare genInt int local 1[/color]
   /if (${RFTarget.Equal[assist-]}) /return assist- 
 [color=red]  /if (${NearestSpawn[${RFTarget}].Type.Equal[Mount]}) {
      /varset genInt 2
   }[/color]
   /if (${NearestSpawn[[color=red]${genInt}[/color],${RFTarget}].Type.Equal[PC]}) { 
      /varset RFTarget pc ${NearestSpawn[[color=red]${genInt}[/color],${RFTarget}].Name} 
   } else {
      /varset RFTarget ${NearestSpawn[[color=red]${genInt}[/color],${RFTarget}].Type} id ${NearestSpawn[[color=red]${genInt}[/color],${RFTarget}].ID} 
   } 
/return ${RFTarget} 
If also noted that there is NULL spells added to the Timed spell queue. Haven't found out why yet.

alcor75
a lesser mummy
a lesser mummy
Posts: 77
Joined: Wed Jan 29, 2003 7:35 am

Post by alcor75 » Sat Jun 19, 2004 2:30 pm

MQ2 Latest Release -- June 19, 2004
Is genbot working for you?
/tell bot1 follow me

bot1 fast target me, tell me i'm following ecc ecc, then clear the target and start trying to assist himself.

tested with genbot 13.03 and 12.38 both same result so i belive is somethink else, maybe somethink with me.

Alcor75

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

Post by frabtik » Sat Jun 19, 2004 4:29 pm

Still testing some but it seems that the arg for Do-moveto is missing in Sub CoreMain. Seems to be working so far but just started testing now that I found it.

/call Do-moveto ${FollowTarget}

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

Not complaining

Post by Cash42 » Sat Jun 19, 2004 9:28 pm

Things are improving fast for me. Not having any issues with follow, moveto, autobehind, or the like. Only having 2 issues.

A. - Lootup and Lootall = neither work. Lootalkl seems to trigger the auto-looting of no drop items.

b. - after the can't cast cause I'm OOM, medding 13 secs and trying again.. it doesn't sit, or wait 13 secs. Just keeps going and going.

I must say that I really like the changes in this version. Great work guys.
Cash42

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

Post by Vexix » Sun Jun 20, 2004 12:12 pm

Thanks all for the helpful feedback and bugs. The newest version of genbot is 13.1.0, and most of the bugs listed above have been fixed, along with some fresh streamlined combat code!

Version 13.1.0 posted here: http://macroquest2.com/phpBB2/viewtopic.php?p=55819

--Vexix