Genbot Version 12 MQ2Data Ready

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

Moderator: MacroQuest Developers

crisdan
a ghoul
a ghoul
Posts: 126
Joined: Mon Mar 24, 2003 1:56 pm

Post by crisdan » Tue Apr 27, 2004 4:43 pm

ok I added the advpath.inc snippet thanks :>

I am following the manaul instructions and running /mac genbot master name

but it is not creating a personal.inc file with characters name like it use too. Matter of fact, it wont create any personal.inc's for any of the characters i try it on....am i missing something else? As per the instructions I am running it for the first time on a fresh system and then ending the mac and then trying to edit the personal.inc for that character..but its not creating any and i am getting now errors from script startup to end.

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

heres how it worked for me

Post by Fuergrissa » Tue Apr 27, 2004 5:32 pm

make all files, macs and inc from first page.
on bot type : /macro genbot (controller) ie /mac genbot mywarrior
end macro : /end

go into \release\macro folder and edit file called genbot_(botname).ini

personall.inc does not contain info like old one its all in genbot_(botname).ini and used with /t (Bot) buff (spell) on me (or other character)

try that, if it dont work for you, you either have not copied all the files or you have not followed the above directions in order or correctly, when i started i was a complete noob_00.

Good Luck.

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

list of broken parts..

Post by spektralkat » Tue Apr 27, 2004 9:10 pm

yaulp
lootup
anchor
are all still broken.... my eyes are buggy from doing bard chant macro's best of luck and great work so far

omper
a ghoul
a ghoul
Posts: 110
Joined: Sat Dec 06, 2003 10:46 pm

Post by omper » Tue Apr 27, 2004 11:25 pm

Love this.. however getting alot of Cant parse crap.. also cant get

Buff
Selfbuff
lots of others

to work.. this is my syntax

/tell botname Buff Spirit of Eagle

This DOES NOTHING..

Advize please

magictiger
a snow griffon
a snow griffon
Posts: 450
Joined: Sun Mar 21, 2004 2:24 pm

Post by magictiger » Tue Apr 27, 2004 11:28 pm

RTFM
Buff Commands the Bot to cast buff <spell> ON <target>, Bot will remember the Buff and Target and will automatically refresh it
/t bot buff FEEBLEMIND on omper

Charisa
a hill giant
a hill giant
Posts: 165
Joined: Tue Apr 06, 2004 5:38 pm

Post by Charisa » Tue Apr 27, 2004 11:45 pm

[removed some less than helpful data as hubby posted under my name, will repost if I experience problems]

Anyhow for my own stupid question though: listenchannel, is this for chat channels or for irc channels. I had assume chat channels but it never has responded to them (I've tried using this script a few times). I'm hoping its something I'm overlooking and doing stupidly here.
Last edited by Charisa on Wed Apr 28, 2004 11:08 am, edited 1 time in total.

midget
decaying skeleton
decaying skeleton
Posts: 2
Joined: Wed Apr 28, 2004 1:57 am

Post by midget » Wed Apr 28, 2004 2:17 am

sigh, been so long since i posted had to make a new acct, bleh.

Noticed tonight that incite is buggy. if botted war has it on when in combat, it will spam the countdown for refresh over and over, as if trying to hit the key constantly.

Also had a problem with war engaging on mob, would run to the point when i said attack, but by then the mob would be past it. it would then 'seek' out the mob, but in a wide radius, which could cause big issues. eventually (sometimes) it would find the mob, but if the mob moved at all, it would not follow. Though this might be an advpath issue, so checked there and found a update (was using 4/25) updated to 4/27. Noticed that MQ@ was updated to 4/27, so did that as well.

Now getting a large spamming in MQ2 window of "useage: /declare varname [global|local|timer|array|array2]
followed by (about 20 lines later) "no variable named 'plotflag'
also with some errors in advpath.inc@1467, botcore.inc@333, genbot.mac@50, ect,ect

gotta love changes. Am excited with the new changes to MQ2 and genbot. While i am hardly a programmer, i can follow along, and am content mostly with that. (though i do edit sometimes to personal prefrence)

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

couldn't parse ")"

Post by Fuergrissa » Wed Apr 28, 2004 3:09 am

i think that error is here:

Bothealer.inc

Code: Select all

Sub Do-heal
   /call StandardTarget "@CommandParam"
   /if (!${Target.ID}) {
      /target pc @MasterName
   } else
      /if (${Target.Type.Equal[NPC]}) /target pc @MasterName        
   [color=red])[/color]
   /call ChatOut 3 @MasterName "Casting @DefaultHealSpell on ${Target.CleanName}."
   /call SpellSub "@DefaultHealSpell"
   /if (@SitAfterCast) /varset SitTimer @DelayBeforeSit
/return
and also even after latest zip came out it still would not work.
this code will auto camp out when asked.

Botcore.inc

Code: Select all

Sub Do-camp
   /dismount
   /delay 3
   /varset Afollow 0
   /if ((@advpath)&&(@FollowFlag)) /call StopFunction
   /varset FollowTarget "NULL"
   /call ChatOut 3 @MasterName "Camping out."
 [color=red]  /if (${String[${Me.State}].Equal[STAND]}) /sit[/color]
   /camp desktop
/return
enjoy

Charisa
a hill giant
a hill giant
Posts: 165
Joined: Tue Apr 06, 2004 5:38 pm

Post by Charisa » Wed Apr 28, 2004 11:11 am

midget wrote:Now getting a large spamming in MQ2 window of "useage: /declare varname [global|local|timer|array|array2]
followed by (about 20 lines later) "no variable named 'plotflag'
also with some errors in advpath.inc@1467, botcore.inc@333, genbot.mac@50, ect,ect
THe declare stuff is due to some variable changes in the latest MQ that Lax put out. I found that removing the variable types from the declares in advpath.inc and changing the outer to global that it at least got rid fo that error.

I still had a few others, and I'm still stupidly left wondering why listenchannel doesn't work (do you put the channel name or number in the ini?, or is this not for chat channels but for irc channels, I've never gotten this to work)

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

Post by LordGiddion » Wed Apr 28, 2004 11:19 am

Charisa: there are 3 ini values related to Chat channels (just figured this out today, wasn't a function I wrote) ListenChat is a Boolean value as to weather the bot should look for commands in Chat, ListenChannel is text and is the name of the channel the bot should listen in, ChatInChannel is a Number as is the number of the channel the bot should speak TO if ChatIn is equal to "channel"

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...

Get behind wierdness...

Post by fez_ajer » Wed Apr 28, 2004 6:20 pm

Gid,

First blush looks like replacing the /face fast commands with /face in Do-getbehind, bsclock and bscounter may have caused this. I can't test that until the structs get fixed so I'll post as soon as I can.

- Fez

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

Post by LordGiddion » Wed Apr 28, 2004 10:19 pm

Ok update posted
Not tested cause of the current MQ2 status.

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

Post by Rassilon » Wed Apr 28, 2004 11:40 pm

I'm using the latest advpath.inc/txt and latest genbot files with the latest eqgame.h compiled and this still bombs out on me. Can anyone post their advpath.inc/txt that works with this version of genbot?

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...

Sit/Stand code

Post by fez_ajer » Wed Apr 28, 2004 11:40 pm

I've been looking through the code and see an awful lot of crazy sit-down logic. Now, in my personal copies I've made some global mods to make it a little more sane.

Basically, the rule of thumb I'm using is: Check for !(desired state) so...

Code: Select all

/if (!${Me.Sitting}) /sit

- or -

/if (!${Me.Standing}) /stand
with the express exception of the following to make FD classes safer:

Code: Select all

/if (${Me.State.Equal[FEIGN]}) /return
before *ALL* of my casts to make sure the Monk/Necro bots stay down when I tell them to.

I would post changes, but there are sooooo many I think it's prolly easier to describe the way I think it should be done and either:

1) get flamed or "killed in my face" by Diggler (LOL! Still laughing at that flame... Made my week)

2) have Gid do a global search/replace if he thinks it's not a "Bad Idea (tm)"

- Fez

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...

Spell recovery time not met

Post by fez_ajer » Wed Apr 28, 2004 11:49 pm

Gid,

This missed the latest update. Tested and working for me before the patch:

Code: Select all

#event RecoveryTime "Spell recovery time not yet met."

...

Sub Event_RecoveryTime
   /call Delay 2
   /varset DoAgain 1
/return
- Fez