Compile guide

Status
Not open for further replies.
Joined
Jul 8, 2005
Messages
135
Reaction score
0
#############
Needed Files
#############











Changed to Brett19's Files





Step 1.
download server files.. and sql file and place them in a secure place for now.
Download and install Visual C++
and make sure you install everything that comes with c++
Then download boost... when you extract it ... put it in C:/Boost
then download Microsoft Platform SDK for Windows Server 2003 R2 and also download daemon Tools.. when you have both of them run daemon tools and right click on the bottem left hand corner and hit mount immage.. your going to mout the
Microsoft Platform SDK for Windows Server 2003 R2 file to the F:/ Drive .. run and install it.
Step 2.
Whew done with all that freaken downloading and installing now comes the messy part! the file i included called Stuff.. has two folders lib and includes
your gonna go to where you installed visual studios c++ and everything in the lib folder goes into the lib folder in vc++ the same with the include files. then your going to go to C:/Boost, inside that you should see another folder called boost.. copy that and past it into your include folder.Assuming you have done all this your doing good!
Step 3.
this part is very important this is where we declair our paths... go into visual c++ and go to tools options then project and solutions. then hit vc++ directories
your going to click an empty space and then add
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include
C:\Program Files\Microsoft Platform SDK\Bin
C:\Program Files\boost\lib
next click the drop down box at the top of the page and hit include files add
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include
Then select library
C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib
C:\Program Files\Microsoft Visual Studio 8\VC\lib
close out of vc++
Step 5.
open up the server files and click drose server , it should be a solution file

expand character server.. and click BS then double click sockets.h
change const char* const host = "127.0.0.1";
to your ip.
then make sure all your include files looks like this
#include <vector>
#include <string>
#include <winsock2.h>
#include <boost/thread.hpp>
#include <boost/bind.hpp>
#include <mysql/mysql.h>
#include "rosecrypt.hpp"
#include "logging.h"
close that and save it, then open main.h
and change your includes to this
#include <iostream>
#include <vector>
#include <string>
#include <boost/thread.hpp>
#include <winsock2.h>
#include <mysql/mysql.h>
#include "../include/sockets.h"
#include "charsockets.h"
note you will have to do this for character , loggin, and world servers.( i had to atleast) make sure all of your includes for main.h look like that... now the fun part!
right click on solution dROSE server and hit build assuming you did all this correctly you now have executable files to start server but not before we do database!
**********
NOTE
**********
WHEN YOU USE THE FILES BY BRETT19 AND YOU GET AN ERROR ABOUT MSG_INFORMATION ... GO INTO THE FILES AND CHANGE TO MSG_INFO AND IT WILL WORK!
**********
NOTE
**********
Step 6. the database
install Mysql and make sure you have the name root and password root then open navicat
make a new database calld dheat_roseon
right click then hit exacute batch file and find the sql..
now go into tables and make a new one called list_npc_sell
and make 4 new entries
ID varchar 255 (primary key)
AMOUNT varchar 255
POS1 varchar 255
REFINE varchar 255
then save it... OK now comes the best part starting up the server n playing...! Set up your client according to guides on rz PEACE

updated September 6,2006
 
Last edited:
This guide is VERY PERFECT!! I went thru so much hell but after sitting down and reading this detailed guide I have gotten everything to work properly. Thank you very much. I am forever in your dept.
 
Perfect guide, could do with some pictures though ;)

I got a little lost when you said;
then hit vc++ directories
your going to click an empty space and then add
Because I couldn't find that for a while..

But anyway, thanks alot of this great guide! =)
 
c:\documents and settings\angeling\bureaublad\drose\include\sockets.h(9) : fatal error C1083: Cannot open include file: 'boost/thread.hpp': No such file or directory
Generating Code...

And that file is in the boost mainfolder, where to add that one ?
(F:\Program Files\boost\boost_1_33_1\boost)

nvm, got it bitchez
 
Last edited:
i never redid the server pack this was to get ppl motavated to help program.. and jim.. you might have done the file part wrong... try redoing caus thats a server compile error
 
Last edited:
but where did u install it too... because apparently its not the correct place you said you only had visual basic in it and use this
forsaken08 - Compile guide - RaGEZONE Forums
for a picture sorry
 
Last edited:
Status
Not open for further replies.
Back