This bot is(will be) a basic followbot, but with many more features. The goal of this project is to make a Mercenary out of a player.
Requires (latest versions):
botNET.Common
botNET.Pathing
Quick howto: Download the dll, place directly in your botNET\Assemblies folder, this would probably be c:\Program Files\Diablo II\botNET\Assemblies
Add FollowNET to your botNET.Assemblies.Load.cfg file if you want it to automatically load when you attatch botnet, otherwise, type ".load FollowNET" ingame
Get into a game with the character you want to follow someone, the char running the bot. Type ".FollowNET setfollowee ". Be careful, the name of your character is case sensitive.
Join game with your main char, hopefully everything will work well.
List of commands, available by typing in ".FollowNET help"
Comands caps INsensitive, (all names except skills ARE caps sensitive) are:
SetFollowee <followees name, caps sensitive>
AddPrecast <skill number of skill to have automagically casted> THIS IS A TYPO, you can just use the actual name of the skill so .FollowNET addprecast Enchant would add enchant to your precasts, the only one that works
ResetPrecasts <no arguments, resets your precast so u can cast again when needed>
SetTether <Length in pixles before you follow, reccomend 5 or 6>
Reset <no arguments, resets the core, use if bot gets stuck>
Cast <name of spell to cast, all one word, can sub tp for BookOfTownPortal>
gotoTown <noargs, casts a tp, then takes it to town>
TakeTP <name of player whos tp you want to take, if empty, defaults to followee>
StayInParty <0 or 1, bot will stay in party after precasts, if empty, default 1>
Follow <no args, will put bot into follow mode>
Stay <no args, will put bot into stay mode>
0.1a-Initial alpha release, if it blows up and stains the livingroom carpet somehow, i am not responsible. ONLY USE ENCHANT AS PRECAST, it will currently handle all skills like they are Enchant, obviously this will change.
Will follow your character through warps (den of evil, underground passage, etc) and waypoints. MAKE SURE FOLLOWER HAS WP YOU GO TO.
Will execute commands given by followee when they type "f command <args>" so pressing enter, typing "f gototown", then pressing enter will send your follower to town. On the botting machine, you can press enter, type ".FollowNET gototown", and press enter.
Will attempt to path to followee if they get too far ahead or somehow get separated.
Will chicken to town if something goes wrong. . .mostly
And many many more miscellaneous features
TODO:
Health/Mana checking
Fix precasting routines
Have bot send to bnet or character as well as onscreen
Clean up dumps of errors and debug messaging (yes, when you take a warp/tp, the bot will spit out plenty of errors, that is normal)
Improve method of detecting friendlies to cast precasts on
Add out of game capabilities
Switch to botNETThread architecture
Go ahead and test it out, lemme know what you think, plz notify me of bugs or bizarre behavior, as well as reqested features.
|