LordNevar
BattleForums Addict
- Joined
- Apr 29, 2005
- Messages
- 610
- Reaction score
- 4
- Location
- United States
- Website
- www.valhallalegends.com
[shadow=blue]English MMbot supplementary Manual.[/shadow]
Official MMbot forums: http://www.mmbot.net/
Manus-Magnus's bot website: http://perso.wanadoo.fr/manus-magnus/
Written by Smorg.
About this manual, how to find help, and how to get started...
If you are reading this, you have come to the right place to get started using MMbot! This guide is designed to be a supplement to the included MMbot manual. I will attempt to elaborate on things that the official manual doesn't explain clearly. The very first thing you must do is download the latest MM.bot package Here In the Downloads section of the MMforums. The official MMbot manual is included with the MMbot download package. Simply open mm.BOT.MANUAL.htm in your MMbot root directory after installing the bot package.
The MMbot forums are an excellent resource for mmbot. Here you will find many mmbot related guides that aren't available anywhere else, and this is also the official place to download mmbot and related files & scripts. Visit us and remember to read the Forum Rules and stickies before posting questions.
Firstly, I would like to clear up some misconceptions about MMbot. MMbot is NOT the work of a large group, nor is it open-source and developed on a large scale. The bot itself is the sole work of Manus-Magnus, with a few components designed by others, but the vast majority was written by MM. Therefore, this bot is not designed or intended to be the most user-friendly of bots, nor will it work perfectly for everyone. Also, this bot is freeware! The bot and all associated sequences, scripts, and add-ons are developed in the freetime of their respective authors, and should never be sold for money.
If you intend to attempt botting with MMbot you should be comfortable working with windows. You should know how to add & remove programs, troubleshoot common computer problems, and navigate/work with the windows filesystem.
You should be fluent with Diablo II. You should be very familiar with items, item statistics, and the usage of items, as well as the game economy in your realm. You should be familiar with characters and know how to properly build all of the 'cookiecutter' character builds. Therefore, I recommend a good solid year or more of battlenet experience. Without this, All the items in the world and a bot won't help you one bit!
Having experience in scripting or programming is a big plus. Or experience with other diablo bots such as d2jsp. It is very helpful to have experience in debugging scripts and you should know the syntax of an ini file and how to set one up.
MOST IMPORTANTLY! you need to be able to follow directions & have the patience to read all bot documentation. You should be able to follow the instillation instructions, and be able to research problems in the bot forums. If you can't do this then this bot is not for you.
Things this manual will not cover:
What is MMbot? What is AutoIt? How does it work? Is it safe?
MMbot is written in an opensource scripting language called AutoIt. Autoit Homepage "Autoit is a freeware BASIC-like scripting language designed for automating the Windows GUI. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages." So basically it is a 'windows robot' that can simulate any task that a human could perform. MMbot operates by reading your diablo window for pixels of certain colors to determine the location of your character, and sends input by simulating mouseclicks and keyboard strokes. If you want to learn about Autoit script, visit their website. The help file that comes with Autoit is quite good and includes just about everything needed to learn Autoit besides a brain.
MMbot uses a MOD that changes some of the ingame graphics. The bot can then use these changed graphics as reference points. By scanning the pixels of the game window we can determine the location of monsters, and other markers, allowing near perfect pathing for Npc, Monsters, and items management. Game mods, although detectable, have always been allowed and included as a 'feature' in Diablo. Since the bots only source of information is the image displayed on the screen, we are pretty much limited to targets that have a 'static' location. Monsters in areas with maps that generate randomly are impossible to bot because we have no way to navigate through them. To use the mod, you must use the parameter -direct. To use the modded text, use the parameter -txt.
MMbot operates without any hook/hack in game memory space and thus greatly reduces detectability. This is the only bot created so far that is 100% Autoit/pixel detection based. Battlenet uses an anti cheating software known informally as 'Warden''. The Warden scans diabloii memory for modifications in its code and searches for known hacks. Since MMbot operates without the need for modification to this code, it can act as a human player would. See this thread for a more accurate description of the warden.
One of the most powerful things about MMbot is you tell the bot exactly what to do. The bot uses character scripts, aka 'Sequences', which give the bot directions on what actions to perform in game. All actions performed by the bot are derived from a sequence of commands that includes locations of all mouseclicks, keyboard, strokes, delays, teleports, weapon switches, attacks, etc. Configuring the script correctly is of great importance to getting your bot working properly. Sequence construction is outside the scope of this guide, however it is very important that you find a sequence for your mm.BOT.sequences.ini that matches your character build. Refer to the included mm.BOT.manual for detailed instructions on sequences. And read the sequences section of this guide. You can find character sequences in the sequence forums. Click the subforum corresponding to your character class for a list of available pre-made sequences.
Installing the bot:
The following is a list of files that need to be configured properly according to the instructions detailed in the official MMbot manual, and in this guide. All config files are located in your mm.BOT\Config folder:
mm.BOT.ini is the main config file for MMbot. It contains variables that are read and used by most of the internal MMbot functions. Descriptions of every mm.bot.ini variable are located in comments in that file, so i will only explain common problems and elaborate in this guide. Be sure to go through the entire file, reading every description carefully and setting all variables according to your specific needs.
About Delays & RealmDowns
One of the first major sections of the mm.BOT.ini config file is for delay configuration. These settings determine How many runs you will do at a time, The amount of time to pause between this amount of runs, and the delay between each individual run. These settings depend greatly on the number of keys you intend to use, and your runtime. The general rule of thumb is 20 runs/hour/key to avoid realmdown. In my own experience about 200 seconds/run/key is minimum to avoid realmdowns over a short period of time. A million questions have been asked about guidelines for runtime/keys ratios and the settings they should use for this. Ultimately it will take trial and error on your part to figure out effective delay settings. Search the forums if you are looking for advice on this matter.
See the MultiKeys section for info on botting with multiple keys.
Mercenaries
There are many opinions about how to set up a merc, but it is generally agreed that for botting having a merc is much better than not having one. If you don't have a merc I think you are better off spending your time getting merc gear and leveling him up than trying to figure out how to modify your bot to work without a mercenary.
A mercenary serves several functions. Probably the most important is distraction. The mercenary will take a lot of hits that your character would otherwise have to take, and in many cases mercs can take hits better since mercenaries generally have quite a bit of life leech. Secondly, mercenaries can have auras. From regenerating your mana to freezing enemies, Extra auras can give HUGE advantages. Especially with act2 mercs you can really get a lot of stacked auras. Probably the least important, but still relevant, is that they do damage. If a mercinary makes a kill, his MF is compounded with your own & increases the magic find calculation for that kill. If you have a sorc that is trying to kill enemies that are immune to your attack, a merc will work on finishing off monsters that your elemental damage can't take. (botting versus immune monsters is not recommended)
Life Checking & Healing
The MMbot method of life checking isn't constant. In your sequence file (mm.SEQUENCES.ini) you will notice the commands: 'CLM' and 'CML', which stand for 'Check Life Mana' and 'Check Merc Life' respectively. Your life and mercs life will only be checked and pots drank when these functions are called. Potions will be used if your life or mana is < the designated % as configured in mm.bot.ini. It is usually a good idea to only check life periodically and when very important like during attacking because running the check functions takes time, so you want to keep your bot working as efficiently as possible. REMEMBER MMBOT DOES NOT SUPPORT HEALING AND MANA POTIONS! DO NOT leave these on your character when botting! The bot needs to be able to pick up rejuvenation, and full rejuvenation potions. To do this make sure these lines are in the Xrares section of your mm.PKID.ini:
I have written some extrenal scripts which are much more accurate and efficient than mmbot's internal potion managmnet & chickening functions. "Potbot" will improve potion managment by presorting pots at the start of each run. Everyone should really at least try using this script. There is no advantage to not using it. An older version is included with the bot download, and is disabled by default. See this thread for the latest version and detailed instructions.
Furthermore, "PotThread" completely replaces mmbot's chickening and potion drinking functions. This script is a bit more advanced, but is a very big improvment upon mmbot's CLM and CMO commands. With this script you should never die except in cases of extreme lag. See this thread for detailed instructions.
Official MMbot forums: http://www.mmbot.net/
Manus-Magnus's bot website: http://perso.wanadoo.fr/manus-magnus/
Written by Smorg.
About this manual, how to find help, and how to get started...
If you are reading this, you have come to the right place to get started using MMbot! This guide is designed to be a supplement to the included MMbot manual. I will attempt to elaborate on things that the official manual doesn't explain clearly. The very first thing you must do is download the latest MM.bot package Here In the Downloads section of the MMforums. The official MMbot manual is included with the MMbot download package. Simply open mm.BOT.MANUAL.htm in your MMbot root directory after installing the bot package.
The MMbot forums are an excellent resource for mmbot. Here you will find many mmbot related guides that aren't available anywhere else, and this is also the official place to download mmbot and related files & scripts. Visit us and remember to read the Forum Rules and stickies before posting questions.
Firstly, I would like to clear up some misconceptions about MMbot. MMbot is NOT the work of a large group, nor is it open-source and developed on a large scale. The bot itself is the sole work of Manus-Magnus, with a few components designed by others, but the vast majority was written by MM. Therefore, this bot is not designed or intended to be the most user-friendly of bots, nor will it work perfectly for everyone. Also, this bot is freeware! The bot and all associated sequences, scripts, and add-ons are developed in the freetime of their respective authors, and should never be sold for money.
If you intend to attempt botting with MMbot you should be comfortable working with windows. You should know how to add & remove programs, troubleshoot common computer problems, and navigate/work with the windows filesystem.
You should be fluent with Diablo II. You should be very familiar with items, item statistics, and the usage of items, as well as the game economy in your realm. You should be familiar with characters and know how to properly build all of the 'cookiecutter' character builds. Therefore, I recommend a good solid year or more of battlenet experience. Without this, All the items in the world and a bot won't help you one bit!
Having experience in scripting or programming is a big plus. Or experience with other diablo bots such as d2jsp. It is very helpful to have experience in debugging scripts and you should know the syntax of an ini file and how to set one up.
MOST IMPORTANTLY! you need to be able to follow directions & have the patience to read all bot documentation. You should be able to follow the instillation instructions, and be able to research problems in the bot forums. If you can't do this then this bot is not for you.
Things this manual will not cover:
- Things that are already well documented in the included manual.
- The FAQs section will not be repeated here. Read them in the included manual and forum stickies.
- Sequence editing, and advanced configuration of sequences will not be covered here. Read the "Seq Commands" section of the manual and other forum stickies for information on this.
- PKID configuration and syntax (pickit). Read the manual and search the forums for info on this.
- Autoit scripting.
Note: MMbot will work with many windows shell replacements. I tested it to work on both Aston and BlackBox, and I assume it works on other popular shells such as Lightstep.Operating system must be Win2000 or superior. Win98/Millennium does not work.
1++ Ghz CPU is recommended, but some people have made it work at 600 MHz.
This bot was created from a windows Xp 2.6 Ghz computer, 1024*768 16bit.
Classic Windows theme was used, but you can use "Normal XP" Theme.
What is MMbot? What is AutoIt? How does it work? Is it safe?
MMbot is written in an opensource scripting language called AutoIt. Autoit Homepage "Autoit is a freeware BASIC-like scripting language designed for automating the Windows GUI. It uses a combination of simulated keystrokes, mouse movement and window/control manipulation in order to automate tasks in a way not possible or reliable with other languages." So basically it is a 'windows robot' that can simulate any task that a human could perform. MMbot operates by reading your diablo window for pixels of certain colors to determine the location of your character, and sends input by simulating mouseclicks and keyboard strokes. If you want to learn about Autoit script, visit their website. The help file that comes with Autoit is quite good and includes just about everything needed to learn Autoit besides a brain.
MMbot uses a MOD that changes some of the ingame graphics. The bot can then use these changed graphics as reference points. By scanning the pixels of the game window we can determine the location of monsters, and other markers, allowing near perfect pathing for Npc, Monsters, and items management. Game mods, although detectable, have always been allowed and included as a 'feature' in Diablo. Since the bots only source of information is the image displayed on the screen, we are pretty much limited to targets that have a 'static' location. Monsters in areas with maps that generate randomly are impossible to bot because we have no way to navigate through them. To use the mod, you must use the parameter -direct. To use the modded text, use the parameter -txt.
MMbot operates without any hook/hack in game memory space and thus greatly reduces detectability. This is the only bot created so far that is 100% Autoit/pixel detection based. Battlenet uses an anti cheating software known informally as 'Warden''. The Warden scans diabloii memory for modifications in its code and searches for known hacks. Since MMbot operates without the need for modification to this code, it can act as a human player would. See this thread for a more accurate description of the warden.
One of the most powerful things about MMbot is you tell the bot exactly what to do. The bot uses character scripts, aka 'Sequences', which give the bot directions on what actions to perform in game. All actions performed by the bot are derived from a sequence of commands that includes locations of all mouseclicks, keyboard, strokes, delays, teleports, weapon switches, attacks, etc. Configuring the script correctly is of great importance to getting your bot working properly. Sequence construction is outside the scope of this guide, however it is very important that you find a sequence for your mm.BOT.sequences.ini that matches your character build. Refer to the included mm.BOT.manual for detailed instructions on sequences. And read the sequences section of this guide. You can find character sequences in the sequence forums. Click the subforum corresponding to your character class for a list of available pre-made sequences.
Installing the bot:
- Download the latest mm.BOT version (an archive that contains the bot installer.) You can get it in the downloads section of the MMforums.
- Once you downloaded it, extract it to anywhere you want on your hard drive (you need winrar to do this, google it.)
- Run the installer and follow the on-screen instructions.
- The installer should automatically find your diablo directory and install the proper bot mod.
- Set windows display to 16 bit video mode and at least 1024*768 resolution. The bot will not work at a lower resolution or at 32bit video. To do this Go to the control panel/display and configure your screen settings from the 'settings' tab of the display properties menu.
- Video properties for Diablo2 must be set to Direct Draw. To do this simply run the "Diablo 2 video test" again and force it to "Direct Draw" and NOT "Direct 3D" (located in your Diablo II install directory.)
- The Diablo 2 screen resolution in game must be set to 800 * 600 resolution. Set all ingame graphic options to their lowest setting to get maximum performance and best reliability out of the bot.
- Ensure to set up D2 videos options to remove graphical effects like rain. Basically the simpler the graphics, the better your botting result will be. All of these graphical options must be correct for MMbot to read your screen colors properly. If any graphic setting is incorrect, chances are you won't get very far without an error.
- Fill up the belt with only Rejuvenation or Full Rejuvenation Potion. For many good reasons, MMbot is not compatible with healing or mana potions, and there are no plans at this time to integrate these into the bot. A properly configured character and sequence should easily be able to handle botting with rejuves only.
- Your character must start in act5 when the bot is run. (Act5 WP, WP to frigid highlands, and Anya red TP to pindle's courtyard) For trav sequences its okay to start in act 4. There is currently no integrated feature to start in any other act.
- A full Tome of Town Portal is required in your inventory if your sequence uses town portals (most do.)
- Mercenary should be alive and default bot and most sequences require you to have a mercenary. A merc is always highly recommended.
- You should have a relatively powerful character for the area you are doing. Almost all sequences require teleport and it is highly recommended to use enigma if you aren't using a sorc. Walking scripts are few and they aren't nearly as reliable as a teleport script.
- Use as few charms as possible to maximize room for items you pick up, keep them all together and contiguous along the right side of your inventory.
- Have enough gold on hand to resurrect your mercenary.
- Don't have Identification book in your inventory
- Always be in "running mode". not "walking mode"
The following is a list of files that need to be configured properly according to the instructions detailed in the official MMbot manual, and in this guide. All config files are located in your mm.BOT\Config folder:
- mm.BOT.ini is the main config file for MMbot.
- mm.BOT.sequences.ini is where your character sequence script is located and configured from.
- mm.PKID.ini is your pickit & item configuration.
- mm.MULTIKEYS.ini is where mmbot is configured to run multiple Diablo II cdkeys.
mm.BOT.ini is the main config file for MMbot. It contains variables that are read and used by most of the internal MMbot functions. Descriptions of every mm.bot.ini variable are located in comments in that file, so i will only explain common problems and elaborate in this guide. Be sure to go through the entire file, reading every description carefully and setting all variables according to your specific needs.
About Delays & RealmDowns
One of the first major sections of the mm.BOT.ini config file is for delay configuration. These settings determine How many runs you will do at a time, The amount of time to pause between this amount of runs, and the delay between each individual run. These settings depend greatly on the number of keys you intend to use, and your runtime. The general rule of thumb is 20 runs/hour/key to avoid realmdown. In my own experience about 200 seconds/run/key is minimum to avoid realmdowns over a short period of time. A million questions have been asked about guidelines for runtime/keys ratios and the settings they should use for this. Ultimately it will take trial and error on your part to figure out effective delay settings. Search the forums if you are looking for advice on this matter.
See the MultiKeys section for info on botting with multiple keys.
Mercenaries
There are many opinions about how to set up a merc, but it is generally agreed that for botting having a merc is much better than not having one. If you don't have a merc I think you are better off spending your time getting merc gear and leveling him up than trying to figure out how to modify your bot to work without a mercenary.
A mercenary serves several functions. Probably the most important is distraction. The mercenary will take a lot of hits that your character would otherwise have to take, and in many cases mercs can take hits better since mercenaries generally have quite a bit of life leech. Secondly, mercenaries can have auras. From regenerating your mana to freezing enemies, Extra auras can give HUGE advantages. Especially with act2 mercs you can really get a lot of stacked auras. Probably the least important, but still relevant, is that they do damage. If a mercinary makes a kill, his MF is compounded with your own & increases the magic find calculation for that kill. If you have a sorc that is trying to kill enemies that are immune to your attack, a merc will work on finishing off monsters that your elemental damage can't take. (botting versus immune monsters is not recommended)
If you absolutely insist on not using a mercenary, your must do two things. First, disable merc functions in mm.bot.ini in the life & merc section. set Char_UseMerc = No & Char_HealMerc = No. Second you need to remove all CML entries from your sequence file. See the next section for info on this. FAILURE TO DO THIS WILL CAUSE ERRORS.Good items for a merc:
- Freeze aura, slow, or decrepify.
- Life Leech.
- Reduce physical damages.
- Cannot be frozen
- Elemental resistances
- Increase attack speed.
- Hit Recovery.
- High Defense.
The freeze merc is easy and cheap, BTW it should be the best merc
for most of people. The unique thresher & decrepify make it the best
protector.
Life Checking & Healing
The MMbot method of life checking isn't constant. In your sequence file (mm.SEQUENCES.ini) you will notice the commands: 'CLM' and 'CML', which stand for 'Check Life Mana' and 'Check Merc Life' respectively. Your life and mercs life will only be checked and pots drank when these functions are called. Potions will be used if your life or mana is < the designated % as configured in mm.bot.ini. It is usually a good idea to only check life periodically and when very important like during attacking because running the check functions takes time, so you want to keep your bot working as efficiently as possible. REMEMBER MMBOT DOES NOT SUPPORT HEALING AND MANA POTIONS! DO NOT leave these on your character when botting! The bot needs to be able to pick up rejuvenation, and full rejuvenation potions. To do this make sure these lines are in the Xrares section of your mm.PKID.ini:
Code:
"Frpot" = "Sold"
"Rpot" = "Sold"
Furthermore, "PotThread" completely replaces mmbot's chickening and potion drinking functions. This script is a bit more advanced, but is a very big improvment upon mmbot's CLM and CMO commands. With this script you should never die except in cases of extreme lag. See this thread for detailed instructions.