BACK TO MMBOT MAIN PAGE
 
        
            MMBOT 4.xx Manual 
        
	


Read all, thats include veterans botters :)
but if you dont have the time a fast config guide is available on my web site.


MMbot 4.xx is a D2LOD playing game BOT, this bot use D2jsp (www.d2jsp.org)
to detect game activity like monsters drops, monsters stats and positions,
game stats, character's stats and position...etc...The difference comparing
a "real" D2jsp bot will be the use of Autoit (www.hiddensoft.com) to make
all actions like a human player; All mouse clicks and keyboard entries,
are done with Autoit. Maybe this will make it less detectable.
The load/quit D2LOD game aspect, create games, etc... is done with Autoit too.
Of course i cannot be sure this bot will not be detected, especially if you run
it 24/24 & 7/7 with the same account, Ip adresse, and CD key...
I DONT TAKE ANY RESPONSABILITY IF UR ACCOUNT OR CD KEY ARE BANNED.
YOU SHOULD CREATE A DEDICATED TO BOT ACCOUNT WITH NEW CHARACTER IN IT.
It was not easy to create a lib that change D2jsp coordinates into real Window
coordinates, and all the other stuff, but finnaly thats work and so, you can try it !



~~~~~~~~~~~~~~~~~~~
MMbot 4.xx features:
~~~~~~~~~~~~~~~~~~~
Will kill PindleSkin and optionnaly all zombies in Nilathak temple and optionnaly go 
back town and will kill Eldritch, will use ItemFind barbarian hability on these 2 boss.
Will id, stash, and repair items. Bad items will be selled to vendors, in few hours
your gold will be full and will be automaticly gabled in rings or amulets at Anya NPC.
Events and items are logged in MMBOT\MMBOTLOG.txt, manage logs...

~~~~~~~~~~~~~
Requirements:
~~~~~~~~~~~~~
. Computer: recommended configuration:
 >800 Mhz processor.
 >8 Mb graphic card.
 Dsl or Adsl or Cable internet connection.
 Windows > Windows2000 version.
. Computer: Required configuration:
 Must have Windows desktop resolution >= 1024*768
 Must have Diablo configured in DirectDraw mode in 800*600
 -> to make it direct draw lauch \Diablo II\D2VidTst.exe.
 Ensure you dont have others programs that can interfer the MMbot:
 -> pause or remove programs that sometime show a window at screen
. Character requirements:
 -Barbarian character is a must.
 -You must have you character in act 5.
 -You must have Anya red portal ready.
 -You must have the Wp2 Act5 available.
 -YOU MUST HAVE AT LEAST 1 SMALL CHARM
  IN YOUR INVENTORY OR THE BOT WILL FAIL...
  Personnaly i use 6*7% MF and 2*5% Fast run scharms.
 -100k gold in stash... to repair or buy id scrolls.
 -Belt full of rejuv or full rejuv potions.
 
 Your barbarian must have these skills; Beserk, ItemFind, WhirlWind, BattleCommands, 
 BattleOrders, and Shout.
 You barbarian should have life > 2200 & >400 mana (all after BO)
 Nice damages (damages are very important), and > 8% life leech.
 And some mana leech of course.
 -> Example <- of the barbarian i use:
Base Stats: 90 dex, 120 vita, 10 energy, the rest in strenght !
Skills:
 
 Max Sword masterie
 Max BattleOrders
 Max WhirlWind
 Max Iron Skin 
 1 in Natural resists
 1 in Increase run/walk
 1 in BattleCommands
 1 in Beserk
 2 in itemFind
 rest in Shout (last points in it)
 
Items:
 
 Unique shako socketed ber
 Rare amulet +2 barb +28% MF
 Unique Skullder armor ethereal socketed rare jewel + resists + % damages to undeads
 Unique heavybelt GoldWrap
 Unique Chance guards gloves 40% MF
 Unique WarTravellers battle boots 49% MF
 Unique Colossus blade GrandFather with ias/ed jewel
 Runword silence COLOSSUS blade
 Unique Raven ring
 Rare ring with resists, 8% LLech, and 10% MF
 And dont forget the SCharms.
 This char have near 400% MF :)

 But yes, if you use bugged items...



~~~~~~~~~~~~~~
Configuration:
~~~~~~~~~~~~~~


a. Download and Extract MMbot
b. Configure MMBOT\MMBOT.INI
c. Configure MMBOT\System\starter.ini
d. Configure MMBOT\System\scripts\default.d2j
e. Configure MMBOT\System\scripts\bots\mmbot.d2j
f. Configure MMBOT\System\scripts\settings\ snagit.ini and BmItems.ini (Optional)



a. Download and Extract MMbot:
------------------------------
Download it from my site, it's a serious provider, few chances of a corrupted package 
Anyway you can re-create all the MMbot from D2JSP and AUTOIT websites, take sources 
and re-compile them.
Extract MMbot anywhere on you hard drive and keep the folder structure while unzip:


+-MMBOT
   ClearLogs.aut
   ClearLogs.exe
   DestroyBNETLogs.aut
   DestroyBNETLogs.exe
   MMBOT.aut
   MMBOT.exe
   MMBOT.INI
   MMBOT-ENGLISH.txt
   MMBOT-FRANCAIS.txt
   MMBOT-VERSION.txt

+---Tools
      Calibrate.jpg
      d2launch.exe
      items_macro.xls
      mouse.exe
      scriptdir.exe
      Skills.jpg
      SNAG_REF.txt
   
   +---support
           COMDLG32.OCX
           install.bat
           js32.dll

+---System
       d2jsp.dll
       Loader.exe
       pv.exe
       starter.ini
    
    +---scripts
          default.d2j
       
       +---settings
              BmItems.ini
              snagit.ini
       
       +---output
       +---libs
              MMAutoitLib.d2l
              MMAutoitTables.d2l
              MMPatchedLibs.d2l
       
       +---bots
               FromD2jsp.ini
               mmbot.d2j
    
    +---ArchiveLogs
            concat.bat

IMPORTANT:
=> If it's the first time you use a D2jsp bot:
   You must run the MMBOT\Tools\support\install.bat script !


b. Configure MMBOT\MMBOT.INI:
-----------------------------

Here's the .ini with detailled information:
This file is the Autoit configuration.
If you are not sure leave the default values.

==============================================================================
[MMBOT]
------------------
Necessary header for Autoit, leave it.
==============================================================================
BATCH-LINES=2000
------------------
The number of lines Autoit will execute/seconds range: 400-5000
==============================================================================
VERSION=4.xx
------------------
The version of MMbot, leave it 
==============================================================================
LODIR=AUTO
------------------
This value can be changed is you dont have the diablo2 path executable written 
in windows registry. You can check if AUTO detect D2 directory by lauching
MMBOT\System\Diagnose\d2launch.exe and click cancel. If dont work you must write
the full path like in subsection c.
==============================================================================
LODEXE=Diablo II.exe
------------------
Specify the D2 executable file name. Dont need change it if standard d2 installed
==============================================================================
LODEXEPARA=-skiptobnet -w -ns -nonotify -res800 -title "Diablo II"
------------------
Specify D2 will ne launched in -Windowed mode, -NoSound, -NoHave D2 intro, -Resolution
of 800*600, and -Title of D2 window. Dont need change it if standard d2 installed.
==============================================================================
LODWINDOWTITLE=Diablo II
------------------
The Title of D2 window that Autoit will check. Dont need change it if standard
d2 installed.
==============================================================================
LODKILLEXE1=pv.exe -kf game.exe
------------------
The first kill option. Dont need change it if standard d2 installed.
==============================================================================
LODKILL1-T=3
------------------
The time in seconds dedicated to the first kill command line option.
==============================================================================
LODKILLEXE2=pv.exe -kf diabl*
------------------
The second kill option. Dont need change it if standard d2 installed too.
==============================================================================
LODKILL2-T=2
------------------
The time in seconds dedicated to the second kill option. Dont need...
==============================================================================
D2LAUNCHDELAY=20
------------------
The time in seconds your D2 need to be launch. You can check it  by lauching
MMBOT\System\Diagnose\d2launch.exe and click OK and count the time it need.
==============================================================================
MOVEWIN-T=2
------------------
The time in seconds needed to move D2 Window at the top of your desktop
==============================================================================
CONNECTDELAY=6
------------------
The time in seconds needed when validate your password to have your account chars
at screen.
==============================================================================
ACCOUNT=MyAccountName
------------------
Here you account name
==============================================================================
PASSWORD=*********
------------------
Here your password
==============================================================================
SLOT=1
------------------
Here you caracter slot, in account screen, this is how it works:
1 2
3 4
5 6
7 8
==============================================================================
LOGINCHARDELAY=5
------------------
The time in seconds need when click on your character and have him in channels.
==============================================================================
CHANNEL=
------------------
If you enter nothing you will stay in the default channel you logged on.
If you enter a name it will go in this channel each time D2 restart.
If you enter " RANDOM " it will go in a random name channel each time D2 restart
==============================================================================
LOGINCHANNEL-T=2
------------------
The time in seconds needed to go in different channel if you specified one.
==============================================================================
AWAY_MESSAGE1=Hello, humans!
------------------
The command lauched to specify a /dnd to be in Do Not Disturb mode, /away blabla
to make an away message, or nothing if you want, or just "hello humans!"
==============================================================================
AWAY_MESSAGE2=/dnd
------------------
The command lauched to specify a /dnd to be in Do Not Disturb mode, /away blabla
to make an away message, or nothing if you want, or just "hello humans!"
==============================================================================
AWAYSENDED-T=2
------------------
The time in seconds after launched your away (or /dnd, or...) message
==============================================================================
RUNMODE=HELL
------------------
Choose you run mode; NORMAL, NIGHTMARE, or HELL...
==============================================================================
GAMETYPE=RANDOM
------------------
If " RANDOM " a random game name with random password will be created
If you specify a prefix (ie: toto- ) you will have games created with the prefix
plus a random suffix number attached.
==============================================================================
RELOG_RUNS=40
------------------
To have more stability, the bot will do 30 runs and will stop d2 and restart 
all. it's usefull. the 30 value will be randomised by 70%-130%.
==============================================================================
CREATEGAME-TIMEOUT=40
------------------
The maximum time Autoit will allow to d2jsp to start after Autoit clicked the
"create" game button, here after 40 seconds Autoit will restart Diablo2 if
d2jsp did not responded and started. No specific need to change this value :)
Except if you have damn long queues on the realm.
==============================================================================
QUITGAMEDELAY=10
------------------
The time in seconds needed to quit the game and have you character ready in
the channel to create another game without time out. (we know that if quit and
immediatly re-create we risk to fail the new game creation)
==============================================================================
BASERANDOM1000=1000
------------------
Base random delays for Autoit in relative value. Dont need to change it.
==============================================================================
RANDOMIZATION=1300
------------------
The randomization factor, if you have a base delay of 1 second and a randomization
of 1500 you final delay will varies from 1 to 1.5 seconds.
==============================================================================
CLICKDELAY-T=100
------------------
The minimum time in milliseconds of a click when autoit have the control (in channels
or in login screen). increase it if you have click problems (range 0-500)
==============================================================================
ABSTIMEADD=10
------------------
In milliseconds. Any autoit action have this delay added, except when d2jsp control
autoit in a game run. increase it if you have click problems in channels
==============================================================================
DIAGSSHOT=NO
------------------
If this option is set to YES Autoit will make a screenshot if d2jsp fail to
responding while running. SShots pictures are in the DIABLO2 game folder.
==============================================================================
IO_FILE_DELAY=40
------------------
The reading i/o file period from autoit that check d2jsp information
Dont need to change it except if experiencing problems. Slow computers need
a value near 100 fastest comps can try less than 40. This value should be the
same the IO_FILE_DELAY in mmbot.d2j file.
==============================================================================
X=?
Y=?
------------------
VERY IMPORTANT Your personnal D2 windows calibrated X coordinate.
To calibrate you bot go to:
http://perso.wanadoo.fr/manus-magnus/Calibrate_Point.html
you also have the file and an example in MMBOT\Tools\calibrate.jpg
==============================================================================



 
c. Configure MMBOT\System\starter.ini
-------------------------------------
In this file you must specify:
- the full path of where your Diablo II\Game.exe is
- the full path of where the d2jsp.dll is
->Example:
======================
[Settings]
d2exe=G:\JEUX\Diablo II\Game.exe
d2jsp=Z:\MMBOT\System\d2jsp.dll
timeout=0
======================



d. Configure MMBOT\System\scripts\default.d2j
---------------------------------------------
Edit it with notepad or wordpad.
In this file you must specify the EXACT name of your character
Remplace "MyCharacterName" by "Conan-Barbare" for example...
The name is CASE SENSITIVE !
->Example:
======================
delay(100);
function main() {
	switch(me.name) {
		case "MyCharacterName": <=Replace "MyCharacterName" by your !
			load("bots/mmbot.d2j");
			break;
		default:
			print("no character specified in default.d2j file");
			break;
	}
}
======================



e. Configure MMBOT\System\scripts\bots\mmbot.d2j
------------------------------------------------
--> Open and read the : MMBOT\System\scripts\bots\mmbot.d2j
    (Edit it with notepad or wordpad and read it)

--> About potions: VERY IMPORTANT:
You must configure your game keys to "0","1","2", and "3" to access potions.
When the bot need potions it will PRESS a "0", "1", "2", or "3" key.
The bot will only take rejuv pots.
You can see an example in MMBOT\Tools\Skills.jpg


f. Configure MMBOT\System\scripts\settings\ snagit.ini and BmItems.ini (Optional)
---------------------------------------------------------------------------------
I have configured the snag and the Bmitems, but of course you can change it,
You have the MMBOT\Tools\items_macro that can give you a nice help in building
your snagit.ini or bmitems.ini files :)



~~~~~~~~~~~~~~~~~~~~
Usage & Bot related.
~~~~~~~~~~~~~~~~~~~~
Once all is configured you have to launch MMBOT:
------------------------------------------------
close all applications, 
have your internet connection ready and start the bot;
==> Execute MMBOT\MMBOT.EXE

Since this bot is using Autoit you will loose the control of mouse and keyboard after
launched MMbot. Dont worry and just look it working.
When you need to stop the bot you have to right click and select "EXIT" on the small
blue "A" icon on the right side of the Window's taskbar.
You can do this by these ways:
- When the bot is in D2channels (before or after a run).
or
- Press ESC/QUIT quickly when bot is running and Autoit will stop activity.
NOTA:
Since this bot use ALOT I/O files, you can make it working better in a virtual drive;
maybe it can improve performances, personnaly i use RamDisk XP pro, but buffers on normal
hard drives and systems make it very optional (if you have an idea about that mail me).
MMbot is working nice on a p400 4mb graphic card, for your information.

About the logs;
---------------
The MMBOT\DestroyBNETLogs.exe will delete all bnet logs in your D2LOD game directory.
You can easily integrate it in the MMBOT.aut and recompile it, if you want.
The MMBOT\MMBOTLOG.TXT relate all game actions done by the bot. Read it after
a journey or a night of runs.
The MMBOT\System\scripts\output\YourCharacterNameitemlog.htm is interresting too:
check sometimes to have an idea of what and how much items the bot will iding and
keep / dont keep.
Each time MMBOT is launched these 2 log files are automaticly archived in the
MMBOT\SYSTEM\ARCHIVELOGS\* directory. A prefix Month-Day-Hour-Minute is added.
Lauch the MMBOT\SYSTEM\ARCHIVELOGS\concat.bat file to concatenate all files and
have a large file containing the whole history of all your runs.
==============================================================================
You can get support at: manus-magnus@wanadoo.fr.
Dont forget to send me all your config files & log files (except your
acc password) listed below! Include your computer config too (internet connexion type,
CPU, Memory..). And try to explain your problem. 
==============================================================================
MM


BACK TO MMBOT MAIN PAGE

