Page 4 of 4

Posted: Thu Jun 17, 2004 6:31 pm
by Daem
I don't know if it's my stupidity, but heal <Playername> isn't working for me anymore.

Posted: Thu Jun 17, 2004 8:00 pm
by Roentgen
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).

Posted: Thu Jun 17, 2004 8:17 pm
by Gnoochi
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?

Any ideas on why my bot wont respond to master?

Posted: Fri Jun 18, 2004 1:50 am
by Hue
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.

Posted: Fri Jun 18, 2004 6:31 am
by Vexix
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

Posted: Fri Jun 18, 2004 6:59 am
by Vexix
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

Posted: Fri Jun 18, 2004 7:08 am
by Vexix
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

Genbot Woes

Posted: Fri Jun 18, 2004 11:02 pm
by Cash42
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.

Posted: Sat Jun 19, 2004 5:44 am
by blakbelt
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...

Posted: Sat Jun 19, 2004 2:07 pm
by robjer
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.

Posted: Sat Jun 19, 2004 2:30 pm
by alcor75
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

Posted: Sat Jun 19, 2004 4:29 pm
by frabtik
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}

Not complaining

Posted: Sat Jun 19, 2004 9:28 pm
by Cash42
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.

Posted: Sun Jun 20, 2004 12:12 pm
by Vexix
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