Jump to content
  • 0

Need help, problems starting server.


Honesto

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  10/28/13
  • Last Seen:  

Hello, I just came back to setting up a server and badly needs help from you guys.

 

So here we go,

 

I have this running server til now (just came back after a year), hosted by asurahosting, then I decided to make a new one and bought a new plan, but instead of making a fresh one or setting it up from the start, I requested to transfer the files/db to the new server.

 

Files that i have changed :

 

trunk/conf/

 

char_athena.conf

 

// Server Communication username and password.
userid: user
passwd: pass

// Server name, use alternative character such as ASCII 160 for spaces.
// NOTE: Do not use spaces or any of these characters which are not allowed in 
//       Windows filenames \/:*?"<>|
//       ... or else guild emblems won't work client-side!
server_name: rAthena

// Wisp name for server: used to send wisp from server to players (between 4 to 23 characters)
wisp_server_name: Server

// Login Server IP
// The character server connects to the login server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
login_ip: 192.**.***.** (Server IP given by Asurahosting)

// The character server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1

// Login Server Port
login_port: 6900

// Character Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
char_ip: 192.**.***.** (Server IP given by Asurahosting)

// Character Server Port
char_port: 6121

inter_athena.conf ( The Database Name is the old database that was just transfered from my old server, 'ROdatabase' )

// Global SQL settings
// overriden by local settings when the hostname is defined there
// (currently only the login-server reads/obeys these settings)
sql.db_hostname: 192.**.***.** (Server IP given by Asurahosting)
sql.db_port: 3306
sql.db_username: root
sql.db_password: ***********(mysql password given by asura)
sql.db_database: ROdatabase
sql.codepage:

// MySQL Character SQL server
char_server_ip: 192.**.***.** (Server IP given by Asurahosting)
char_server_port: 3306
char_server_id: root
char_server_pw: ***********(mysql password given by asura)
char_server_db: ROdatabase

// MySQL Map SQL Server
map_server_ip: 192.**.***.** (Server IP given by Asurahosting)
map_server_port: 3306
map_server_id: root
map_server_pw: ***********(mysql password given by asura)
map_server_db: ROdatabase

// MySQL Log SQL Database
log_db_ip: 192.**.***.** (Server IP given by Asurahosting)
log_db_port: 3306
log_db_id: root
log_db_pw: ***********(mysql password given by asura)
log_db_db: ROdatabase
log_codepage:
log_login_db: loginlog

 

 

map_athena.conf

// Interserver communication passwords, set in account.txt (or equiv.)
userid: user
passwd: pass

// Character Server IP
// The map server connects to the character server using this IP address.
// NOTE: This is useful when you are running behind a firewall or are on
// a machine with multiple interfaces.
char_ip: 192.**.***.** (Server IP given by Asura)

// The map server listens on the interface with this IP address.
// NOTE: This allows you to run multiple servers on multiple interfaces
// while using the same ports for each server.
//bind_ip: 127.0.0.1

// Character Server Port
char_port: 6121

// Map Server IP
// The IP address which clients will use to connect.
// Set this to what your server's public IP address is.
map_ip: 192.**.***.** (Server IP given by Asura)

// Map Server Port
map_port: 5121

 

 

Then i compiled the server, BUT I can't start the server, can't be executed as well.
1. What seems to be the problem here?
 
 
Then a few trials, i changed all the Server IP's inside inter_athena.conf with a localhost (127.0.0.1) 
one looks like this :
sql.db_hostname: 127.0.0.1 ( NOT SURE BOUT THIS )
sql.db_port: 3306
sql.db_username: root
sql.db_password: ***********(mysql password given by asura)
sql.db_database: ROdatabase
sql.codepage:

 

and etc

 

Then I recompiled the server, then started the server, then it runs! BUT, I am not sure about this using the 127.0.0.1, cuz i cant connect to the server in the client, done changing the packet_db, diffing the client, changing packet in mmo.h base on my ragexe client date. I can't connect to the server.

I AM SO SORRY IF I DON'T KNOW WHERE TO WRITE THIS TOPIC, cuz got so many problems, lol. but i want to know more about the server-side. :(

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  3
  • Reputation:   0
  • Joined:  10/28/13
  • Last Seen:  

[Notice]: Authentication accepted (account: *****, id: 1, ip: 192.**.***.**)
[Status]: Connection of the char-server 'rAthena' accepted.
[Status]: Request for connection of user (ip: 180.***.***.***).
[Notice]: Authentication accepted (account: *****, id: 1, ip: 180.***.***.***)
[Status]: Connection of the account '*****' accepted.
[Info]: Closed connection from '180.***.***.***'.
[Status]: Char-server 'rAthena': authentication of the account 1 REFUSED (ip: 192.69.200.29).

 

that's what the login server stated when i tried to login, after server selection. Using the admin account.

 

EDIT:

Another problem is when trying to login a normal acc, this error pops-up on screen,

"Your Game's exe file is not the latest version (5)."

 

I have read some topics here in rathena, i changed the gender 'S' to M/F for the admin acc. But got a new error, the same error when trying to login normal accounts. "Your Game's exe file is not the latest version (5)."

 

And because this files are just transfered from the old server, Harmony is also alive ( stated in the login server )

 

The error in login server states when trying to login a normal acc, and now also the gm acc:

[Status]: Request for connection of user (ip: 180.***.***.***).
[Harmony]: Account is trying to log in without Harmony protection.
[Notice]: Connection refused by Harmony (account: user, ip: 180.***.***.***)
[Info]: Closed connection from '180.***.***.***'.

 

Don't know what to do. :o

 

 

 

Client used 2012-04-10
mmo.h changed to 20120410
packet_db_ver: 28
copy and pasted 2012-04-10 packet_db inside db/packet_db

Edit:

nvm, solved.
Edited by Honesto
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  707
  • Reputation:   168
  • Joined:  01/26/12
  • Last Seen:  

Hi Honesto,

 

Check the 'Logs' folder available in the VNC Desktop next time.

 

Using '127.0.0.1' in the 'inter_athena.conf' is correct. You must use your RO service IP in the login_athena/map_athena/char_athena config files though.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...