dROSE Source Released

Status
Not open for further replies.
ok guys look to fix the connecting to server and download avater list open login_server.cpp and look for

Code:
std::string msg;
msg=host;

and change it to

Code:
std::string msg;
msg="127.0.0.1";

the 127.0.0.1 is you ip so if you want others to connect put you outside ip

thats the connectign to server

to fix the downloading problem open char_server.cpp and look for

Code:
std::string msg=host;
for(unsigned j = 0; j < msg.length(); j++)

and change it to

Code:
std::string msg="127.0.0.1";
for(unsigned j = 0; j < msg.length(); j++)

same as before the 127.0.0.1 is where you put your ip. Hope this helps
 
ya skill error is due to wrong data getting sent in the packet.... and NO skill tree = no skill... = error

here is a link to a complied version of Drose with NOOOOOOOOOOOO boost threads cant stand em dont want em..

(csum, "C:\Program Files\Triggersoft\Rose Online\TRose.exe") make sure you change the C or whatever drive you have.

LINK:

oh release hold the EXE's and sql should know the rest.....
 
Last edited:
i dont kno how to compile a server flames1003 can u tell me how or send urs to me plz?
 
@jimowns
go in source, change the necessary things, should be in the sockets.h, u change the ip on top then go to the sockets_server.cpp change the ip, localhost and the database name somewhere in the mid then compile.
 
deadspirit , what did you make the MySQL info man it dosnt wanna connect to mine so yeah did you change the ip or something?
 
i've got this ervyting is correct .

mysql_init ( &mysql );
if (!mysql_real_connect(&mysql, "localhost", "root", "password", "dbname", 0, NULL, 0))
Log("Um, Could not do that MYSQL ****...");
else
Log("Connected to MySQL server.");

if ( !this->OnServerReady( ) ){
Log("Server could not start");
closesocket( sock );
sock = INVALID_SOCKET;
isActive = false;
return false;
 
anyway i use mysql query browser and looks like theres some errors in executing an sql script completely altho the server still works.Any advice?
Shinra - dROSE Source Released - RaGEZONE Forums
 
i've got this ervyting is correct .

mysql_init ( &mysql );
if (!mysql_real_connect(&mysql, "localhost", "root", "password", "dbname", 0, NULL, 0))
Log("Um, Could not do that MYSQL ****...");
else
Log("Connected to MySQL server.");

if ( !this->OnServerReady( ) ){
Log("Server could not start");
closesocket( sock );
sock = INVALID_SOCKET;
isActive = false;
return false;

//sockets.h
#ifndef ROSESERVER_SOCKETS_HEADER
#define ROSESERVER_SOCKETS_HEADER

const char* const host = "iphere";

#include <vector>
#include <string>
#include <winsock2.h>
#include <boost/thread.hpp>
#include <boost/bind.hpp>
#include <mysql.h>
#include "rosecrypt.hpp"
#include "logging.h"

//socket_server.cpp
mysql_init ( &mysql );
if (!mysql_real_connect(&mysql, "localhost", "root", "password", "dbname", 0, NULL, 0))
Log("Um, Could not do that MYSQL ****...");
else
Log("Connected to MySQL server.");

if ( !this->OnServerReady( ) ){
Log("Server could not start");
closesocket( sock );
sock = INVALID_SOCKET;
isActive = false;
return false;
}


change the ones in red and recompile!!!
 
I can compile it can somone just compile it with the ip 127.0.0.1 and the datbaase dhost_roseon and password root and username root
 
Can anyone compile this one:



Upload to rapidshare or w/e
And send it to me by pm or just post the link in the topic ?
Settings are already good,

IP's set to 127.0.0.1
Database to:
Localhost;
root;
root;
dheat_roseon;

Edit: Didnt include the NPC Packets because i dont know how to, so ^_^
Edit2: Directory set to F:\\Games\\Rose Online NA
(Dont know if i need 2x \\ if not, tell me and ill change+reupload :))

Thanks already xD
(If someone wants to do it for me :P)
 
Last edited:
Status
Not open for further replies.
Back