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. (
Question
Honesto
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
inter_athena.conf ( The Database Name is the old database that was just transfered from my old server, 'ROdatabase' )
map_athena.conf
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.