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

daerck
a ghoul
a ghoul
Posts: 134
Joined: Mon Jan 12, 2004 8:44 pm

Post by daerck » Wed Jan 14, 2004 4:17 pm

rencro wrote:Lasher said:
For those having trouble on the yaulp and cann portions. They are controlled by having the bot 'reportlom'.

So to turn off canning or yaulping for any reason; /t bot reportlom off[/quote="crisdan"]


daerk said:
Otherwise Yaulp and Cann will only be done if the ReportLom var has been activated.
Exactly.
Ok, I must admit I didn't read the whole thread. Just found it wierd to have this associated to the "reportlom" var. A more intuitive approch would be to make a new command that toggles IsShaman or IsCleric on/off.
I have verified all spells are typed and spelled correctly in the personal.inc of the shaman bot. Are you saying that the 8 buffs I have listed in the personal.inc need to be in a eq spellset? Because it is memming the first 2 buffs one at a time and casting them, it is not memming the remaining spells. Maybe that is what I am missing ? lol
Please double check them, because what you are describing is exactly what would happen if the 3rd buff is mispelled. The spell is called "Focus of Soul" (no "the" in there as you posted in your spell line up).
About the spellset: If the spell casting subroutine is asked to cast a spell that is not currently memorized, it will mem into slot 8, cast it, and then load your Default spellset which is defined in your ini file in this line

Code: Select all

DefaultSpellSet=
If this is left empty or has a name of a spellset that doesn't really exist it will give you the /memspellset error.

Also, I hope you edited the genbot_botname.ini, not the Personal.inc
If you edited the personal.inc it will work too, but only for the one bot you set it up to, not for any other bot.

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

Post by crisdan » Wed Jan 14, 2004 5:53 pm

Thank you for your help everyone who has been responding. My problem turned out to be I did not set the default spell set in genbot_shaman.inc and that was the cause of my woes.

Thanks again..and I appreciate your patience...atleast now I have a working genbotted shaman and can start building my command knowledge in practicing my use of it :>

2boxingFiend
decaying skeleton
decaying skeleton
Posts: 5
Joined: Tue Dec 16, 2003 11:39 am

genbot 9

Post by 2boxingFiend » Thu Jan 15, 2004 2:37 am

how do twist with a bard in genbot.

been wracking my head trying to figure out how are bard supported in genbot v9

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

Re: genbot 9

Post by lasher » Fri Jan 16, 2004 7:31 pm

2boxingFiend wrote:how do twist with a bard in genbot.

been wracking my head trying to figure out how are bard supported in genbot v9
At the moment the current bard code isn't as polished as the version I'm about to release. If you want to use it in its current form, do the following:

Have the 3 songs you want to twist during combat in spell positions 1, 2 and 3. Chorus of Marr can be anywhere (including in 1, 2 or 3).
Load up genbot, make sure your bot is working correctly- Then:
/t bot singing on

That's it. When in combat he/she will twist the 3 songs, and when combat ends he/she will switch to Chorus of Marr only.

/t bot singing off
to stop the automatic twisting, etc.

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

Updated.

Post by lasher » Sat Jan 17, 2004 5:25 am

Updates:
Support for ml2517's 3d follow code: Download advpath.inc here. (then uncomment #include in personal.inc - .ini settings available too)
genbot will still function happily as it used to without advpath.inc. If you don't have a desire to download it. However, if you do any follow commands with your bots; I highly suggest it.

Updated v9.1:
new versioning system
spelling (vaelin)
3d following (ml2517)
resetwatchcounter fix (achy wrists)
modified cann/yaulp amounts to 95m instead of 100m (due to zoning bug)
spellset default fix (mctisuk)
random %T cleanups
skillup notifications (mvtisuk + ml2517)
various other fixes that I was too tired to note
genbot.mac v9.1
botcore.inc v9.1
botcombat.inc v9.1
bothealer.inc v9.1
botspell.inc v9.1
personal.inc v9.1

DevlinX
flagrant idiot
Posts: 11
Joined: Fri Nov 28, 2003 2:25 pm

Post by DevlinX » Sat Jan 17, 2004 4:59 pm

OK, i replaced all of the files with the Ver 9.1 files posted here. When I try to run genbot now I get the following error; Cannot call when a macro isnt running. Was working just fine before i replaced with new version. I don't have a clue :)

vaelin
orc pawn
orc pawn
Posts: 21
Joined: Fri Dec 19, 2003 8:52 pm

Post by vaelin » Sat Jan 17, 2004 5:22 pm

Ditto. I can get beyond that by removing the versioning lines put on the top but then there's a problem with the include on the advpath.inc (checking versions and executing if the file exists, regardless if it is included)

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

Post by ml2517 » Sat Jan 17, 2004 5:29 pm

Hmm I've never tried including something from something that itself was included. Try moving the #include advpath.inc to genbot.mac near the other includes and see what it does.

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

Post by lasher » Sat Jan 17, 2004 5:48 pm

Updated: botcore.inc v9.11 - bugfix on stopping code

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

Post by lasher » Sat Jan 17, 2004 5:50 pm

DevlinX wrote:OK, i replaced all of the files with the Ver 9.1 files posted here. When I try to run genbot now I get the following error; Cannot call when a macro isnt running. Was working just fine before i replaced with new version. I don't have a clue :)
Make sure that you uncomment the include in personal.inc.

It assumes that if you have advpath.inc in your directory you'd uncomment the #include (in personal.inc). Don't move it to genbot.mac. (at least not yet - there are variable declaration that I want to make sure take hold before advpath gets included, for safteys sake.)

Zacaria
orc pawn
orc pawn
Posts: 19
Joined: Wed Dec 03, 2003 5:47 pm

Post by Zacaria » Sat Jan 17, 2004 6:34 pm

seems the comment code with |** and **| cause issues dont know why :)

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

Post by lasher » Sat Jan 17, 2004 6:56 pm

Zacaria wrote:seems the comment code with |** and **| cause issues dont know why :)
hmm. Its working on 8 boxes over here. Make sure you cut/pasted it correctly, etc. Also, make sure you uncomment the include on advpath.inc if you have it in your directory. If you don't want to use advpath, change the name of advpath.inc to like advpath2.inc or something so it doesn't try to parse. (and keep it commented out)

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

Post by lasher » Sat Jan 17, 2004 8:31 pm

Updated: personal.inc v9.11 - bugfix on cann5 hp code

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

Post by ml2517 » Sun Jan 18, 2004 4:37 am

Lasher,
I've placed the code block back into advpath.inc but I noticed this line in your coding that might fail if I update my version.

This:

Code: Select all

/if "@advpath_v">="1.0" { 
Might need to be:

Code: Select all

/if n @advpath_v>=1 { 
No?

DevlinX
flagrant idiot
Posts: 11
Joined: Fri Nov 28, 2003 2:25 pm

Post by DevlinX » Sun Jan 18, 2004 6:13 am

Maybe I am just thick or something, but I can't get it working again. Still getting cannot call when a macro isnt running error. Here is what my personal.inc looks like at the top;

Code: Select all

|personal.inc 
|Personal commands module example. 
|Version 9.11 
|Date:01/17/2004 5:26am 
| 
|** 
[personal] 
version=9.11 
**| 
| 
| Uncomment the line below if you have advpath.inc
 
#include advpath.inc
 
#Event SkillUp "You have become better at" 

Sub PersonalCommands 
   /varset Commands(0,0) stick 
   /varset Commands(0,1) fire 
   /varset Commands(0,2) ice
This is my advpath.inc;

Code: Select all

|advpath.inc 
|Generic movement/pathing macro for inclusion in your own macros. 
|Version 1.0 
|Date:1/17/2004 1:00am 
| 
All other files are ver 9.1 or 9.11 per the updates to personal.inc and botcore.inc.

I also tried leaving as is and renamed advpath.inc to advpath2.inc, still getting the error message. :cry:

Code: Select all

|personal.inc 
|Personal commands module example. 
|Version 9.11 
|Date:01/17/2004 5:26am 
| 
|** 
[personal] 
version=9.11 
**| 
| 
| Uncomment the line below if you have advpath.inc
| 
|#include advpath.inc
| 
#Event SkillUp "You have become better at"