Genbot.mac 12.10
BotCore.inc 12.10
BotCombat.inc 12.10
BotSpell.inc 12.10
BotHealer.inc 12.10
ShortCuts.inc 12.10
Personal.inc 12.10
GenbotDoc 12.10
Update 04/28/2004 10:00 pm
WARNING WARNING WARNING - NOT BUG TESTED - haven't tested much because of the state of MQ2 but it posted for you
WARNING You'll need to update advPath to 1.24 to use it's functions
WARNING This version is ready for MQ2DataVars make sure you enable MQ2DataVars in your source and re-compile
Lots of bug fixes from the Forums
increased support for advPath function, will be adding more advPath Commands in future updates
Updated to MQ2DataVars
Anchor now end follow, follow now clears anchor
Only 1 Follow command now - see docs on FollowMode
Bot will now respond to it's own echo's as commands
INI entry for DelayBeforeSit is now in [Spell] - sorry makes more sense there
Add New Toggle Checkname (and ini support) - if it's true bot will only respond to commands in group or chat if the command is preceeded with <botname>
Update 04/25/2004 8:00 pm
Fixed the typo is loot function - thnx bob_the_builder
Fixed Some Heal Code - thnx fez_ajer
Please make sure your MQ2 Source is up to date, in trying to make this macro as clean as possible I'm using new features about as fast a Lax adds em.
Added "Main" routines to each Include and moved Calls from genbot to each inc. I plan to clean up code so that in the future you don't need to #include healer, personal, comabt or spell Include if not appropriate for the current toon.
Added command SpellGem This sets the Spell gem that the bot will use when required to memorize a new spell.
Update 4/25/04 10:45 AM
Fixed the timing on re-buffing
Fixed Afollow targeting Pet
Update 4/25 9:00 am
Fixed a typo in the Canni routine thx-HealBot
Update 4/25 8:30 am
Mount Command fixed thx - Fuergrissa
INI Build and Reseting of defaults fixed - xander & Spanky_Monkey
Fixed some bugs in SNT and Buff
Fixed bug with Canniblize thx - healbot
Took out some left over echo's
Update 4/24/04:
Ok posting this now even though I didn't finish all the changes I wanted to do (see future changes) but I added/changed a lot of stuff and I think it's ready to go.
I've tested this pretty well so I can say the casting functions, the attack functions, group and target autoheal all seem to function correctly. I'll be doing more testing throughout the week but too tired to do any more tonight.
Because of how much I changed in this update I would recommend deleteing your genbot_Charname.ini files and letting Genbot rebuild them from scratch.
Added a first pass at official documentation, I tell you we all added a ton of commands to this thing.
Smaller code:
There were chunks of redundant code in the macro that I tightend up by adding some new functions.
Replaced Fire, Lure, Root, Stick, Invis, Lev, Mask, BP, Cloak, Patch, Ear, Thorn, Nuke, Ice, Snare, Buff, GroupBuff, PetBuff, Regen, Hot, Wood, Cure, Slow, Debuff, Cobalt, DCharm, Stuna, DDStuna, DDStunb, MezLow, MezHigh, Mezae, Stunb, and Sepic commands with 8 new sections of the InI detailed bellow (this will be powered by a new .inc shorcuts.inc). These new sections will allow for more customization without losing function.
Example:
Code: Select all
[shortcut spells]
Nuke=draught of jiva
Sow=Spirt of wolf
PLBuff=Resolution|Shield of words
[shortcut Items]
Sepic=spear of fate
[shortcut notarget Spells]
ITU=Invisibility to undead
[shortcut notarget items]
Levi=Pegasus cloak
[shortcut AA]
[shortcut noTarget AA]
[Shortcut Disc]
[shortcut noTarget Disc]
New commands:
Setvar - for debugging or just general bot function this will change the value of a global variable to the command arguments
Rptvar - Will cause the bot to chatout the value of the requested global variable
Buff - Will cause the bot to cast the specified buff on the selected target, Bot will then remember the target,spell and duration of the buff. Before the buff expires the bot will attempt to refresh the buff on the target i.e. /tell Shamanbot buff Spirt of wolf on monkguy
SetCasterHealPct - Sets the threshold that autoheal uses to heal casters
SetTankHealPct - Sets the threshold that autoheal uses to heal tanks
SetPetHealPct - Sets the threshold that autoheal uses to heal pets
command enhancements:
snt & Sn – changed so that snt & Sn will remember the last spell cast with snt or sn so that on second and subsequent casts of the same spell you don’t need to type out the spells again i.e. /tell shamanbot snt spirt of wolf on rannewbie1 /tell shamanbot snt on rannewbie2
Natural language support
How commands in each file will be modified slightly, the current commands and functions that you are used to will remain as the defaults but you will have the option to change the command sent to the bot without changing the function of the command.
Example:
Code: Select all
/varset botcore-array(1,0) afk
/varset botcore-array(2,0) Do-afk
/varset botcore-array(1,1) accept
/varset botcore-array(2,1) Do-accept
/varset botcore-array(1,2) reject
/varset botcore-array(2,2) Do-reject
Code: Select all
/varset botcore-array(1,0) goaway
Function Changes:
Removed Hot support from autoheal - I'll be adding this back later but it was buggy at best and could result in the heals being skiped or spaming the heals if you had multiple casters in need of heals.
Singing removed from personal.inc but I am looking at adding some twisting functions to the macro
Door, mount, dismount, random, exp & Autoinv are no longer in personal.inc and are now part of BotCore
AutoBehind, incite, disc, hide, sneak & Shield Functions/Commands moved to BotCombat
setlompct, Canni and Yaulp Functions/Commands no longer in personal.inc and now part of BotSpell
Temp. removed Chain stun
FYI Personal.inc in my release is stripped back down to a stub I expect it to stay this way, I will not post my personal.inc and I ask that other people don't post theirs in this thread. If you must post your personal.inc please post it in a different theard (maybe in the snippetes forum) and provide support for it there.
ToDo:
Finish ChainStun and ChainNuke
Fix HOT Healing Spells
Add Twisting Support
Add function in the IRC Pluging support so that commands can go to specific Bots (without effecting other Chat methods)
Add a function to save current state back into INI, for any values that have been changed during play.



