ok, first of all you need to get all the files,
http://www.gzip.org/zlib/
http://cvs.biosprite.net/get.php?fil...05-29-2004.rar
http://www.freewebs.com/guidepics/mysql.zip
Save all of those files to the Desktop.
Once u have downloaded them all, extract them to the desktop in a folder named what the .zip file is called.
Like, mysql.zip --extract--> mysql
Now that you have all the files, we need to move some.
Open the mysql foler, and the zlib folder
move all of the files in the mysql folder into the zlib\include folder.
Now, open up VC++ 6.0.
Go to the tools Menu, and click options.
Now look for the Tab named Directories. Click it.
Make sure the first dropdown says Win32, and the second Include.
Now go to the box below that, and go to the bottom line, click it and click the ...
Target the zlib\include folder on your desktop, where you copies the files into.
now, on the second dropdown, switch it from Include to Library Files, and do the same thing, click the bottom line, ..., and target the Zlib\include folder.
Now click ok.
Close VC++ 6.0
Open the folder which u extracted the source in.
Open the EmuShareMem folder, and find Npctypes.cpp, and npctypes.h
and delete both of them.
now, go back one folder so you are looking at the wolrd folder, zone foler, and emusharemem foler.
Highlight every file in that folder your viewing, including folders, when everything is highlighted, right click one, and click properties, click the Read Only checkbox a few times until it is UNchecked.
if it asks you to change all files includeing files inside the folders say YES.
Now this will make it so you can edit the files slightly in VC++ 6.0
Open the File that says Server.dsw
This opens the whole project.
Now on the left there should be a box showing emusharemem classes, zone classes, and world classes, three seperate tree menus.
At the bottom of that box click Files View, if you do not have this box right click on the main screen somewhere, until a menu pops up, click Workspace.
Back to the Files View, click the + next to Emusharemem files, so it drops down into a tree view with 5 folders, then click the + on the first folder, named Source Files.
This should drop down with server files in it. look for Npctypes.cpp,
Remeber we deleted this, so if you try to compile at this point, it will give you an error saying that it cant find Npctypes.cpp.
So, double click Npctypes.cpp, it should ask if you want to create it, say yes, dont type anything in it, just close npctypes.cpp and save it, this way, you wont get any errors but it wont effect the compile.
Now, close the Source files folder, and open the Header files folder.
Do the same thing, find Npctypes.h double click it and make a new one, just close it and save.
If you double click it and it opens up a box with text, you forgot to DELETE the files, so go back and find that part.
Otherwise we are ready to compile
Go to the Build Menu at the top, and click set active configuration.
Select Emusharedmem - win32 release.
and click ok.
Now go back to Build menu. and click Rebuild all.
This will compile emusharedmem.dll
Go back to Active configuraion and Select Zone - win32 release
And then Rebuild all again.
One last time, go to active configuration, select World - win32 release
and rebuild all, if you have any errors you did something wrong.
The files should now be in the folder where the source code was. Go to your desktop, and open the Sourcecode folder (where you extracted the source code)
And there should be a Build Folder in there now.
Open it, and click Emusharemem.dll, and move it to your eqemu dir,
then move Zone.exe, and World.exe with it.
Congradualtions. You Compiled Dr4 with VC++ 6.0
If you have any problems, post the error here, i will try to help.