D2jsp Setup

The following guide is a step-by-step installation guide to d2jsp. This guide makes the assumption that you have no clue what you are doing. I will do my best to make this guide as 'idiot-proof' as possible. If you follow this guide *exactly* and still have problems then I recommend that you give up on d2jsp as it may be to complex for you.

This guide is for the general installation of d2jsp.

Step 1, while not required, is suggested. It seems to sort out quite a few problems.

1) Un-install Diablo. Once the uninstall is complete, go back to your Diablo directory and delete it. There may still be files/folders hanging out that will mess up d2jsp.

2) Re-install Diablo. Ensure you do a full install.

3) Setup Onleyer's no CD loader. If it makes a folder called 'plugins' in your Diablo directory, delete or rename it.

4) Setup your Diablo shortcut so it starts in window mode with no sound: -w -ns

5) Create a directory to install d2jsp to on your hard drive, not your desktop.

6) Extract all the files to the d2jsp directory you just made. Ensure you have the box marked 'Use folder names' checked.

7) Get the newest copy of js32.dll. Copy js32.dll to your Windows/system and Windows/system32 folder.

8) Navigate back to your main d2jsp folder. Locate a file called makecdkeyhash.exe. Double click that file and click on 'Make CD-key hash'. Copy down the numbers that pop up in the window. This file creates a keyhash from your Classic CD key. If you wish, you may manually enter a different key. Do not use the dashes if you do so.

9) Exit makecdkeyhash.exe. Find dabomb.exe. Move this file to any location outside of your d2jsp folder. Now run this file. Put in the numbers that the makecdkeyhash.exe gave you then click on 'Generate Key File'. Save this file in your main d2jsp directory.

10) Go to your d2jsp\scripts folder, find and open 'default.d2j' with any text editor. Yours should look like this:

Code:
/*   default.d2j, modify the values below to suit your needs. [by njaguar]*/

function main() {
   switch(me.name) {
      case "YourNameHere":
         load("bots/PindleXP.d2j");
         break;
      default:
         load("tools/njid.d2j");
         break;
   }
}

Change this line to whatever your characters name is:

Code:
      case "YourNameHere":

Should you want to run a different bot, change the line right under it to whatever bot you want to run:

Code:
         load("bots/PindleXP.d2j");

Save and exit this file.

12) In your main d2jsp folder, double click this file 'autod2jsp.exe'. The first time you use this program you will get an error. Just click on 'Ok' to continue on.

13) You should now see the main screen. Click on 'Add'.

14) Following is a step-by-step explanation of the settings:

1 - Setting name. Call it what you want, it only really matters for multi-botting.
2 - This is the location of your Diablo executable. Leave it as Game.exe if you are not using Onleyer's no CD loader. Click the '?' if you want to change it to Diablo II.exe.
3 - If you are using Diablo II.exe, click this checkmark.
4 - Change this to whatever you want the title of your Diablo II window to be. Useful for multi-botting.
5 - If you are using multiple CD keys, click the 'Use cdkey.mpq' checkmark. You can change the name of cdkey.mpq to whatever you want. Useful for multi-botting.
6 - Account name (duh)
7 - Password (duh)
8 - Leave this as-is.
9 - Leave this as-is.
10 - If you want random game names, leave this as it is otherwise uncheck 'Use Random' and select a game name.
11 - Leave it as-is for random passwords.
12 - Use these to select your characters location.
13 - Select your difficulty level.
14 - Leave this as-is if you wish to run the bot on Closed Battle.net.
15 - Various settings for your Diablo II window. Set this up as you see fit.

15) Click on 'Okay' at the bottom right of the screen. It will tell you to ensure you save your settings in the main screen.

16) Once you are back at the main screen, click on 'Save'. Select your new bot configuration in the main window, then click on 'Start'.

That's it. You should now be running PindleXP. If you have followed this guide to the letter you should not have any problems.