Hello, I'm trying to run the server on linux, here's the console's log
Here are the files that I modified:
1. char-server.conf
2. map-server.conf
3. sql_connection.conf
4. mmo.h
char-server.conf
// Information related to inter-server behavior
inter: {
// Server Communication username and password.
userid: "testid"
passwd: "testpass"
// 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: "XXX.XXX.XXX.XXX" //server's ip
// 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: "XXX.XXX.XXX.XXX" //server's ip
// Character Server Port
char_port: 6121
}
map-server.conf
inter: {
// Interserver communication passwords, set in the login server database
userid: "testid"
passwd: "testpass"
// 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: "XXX.XXX.XXX.XXX" //server's ip
// 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: "XXX.XXX.XXX.XXX" //server's ip
// Map Server Port
map_port: 5121
}
sql_connection.conf
sql_connection: {
// [INTER] You can specify the codepage to use in your mySQL tables here.
// (Note that this feature requires MySQL 4.1+)
//default_codepage: ""
// [LOGIN] Is `userid` in account_db case sensitive?
//case_sensitive: false
// For IPs, ideally under linux, you want to use localhost instead of 127.0.0.1.
// Under windows, you want to use 127.0.0.1. If you see a message like
// "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)"
// and you have localhost, switch it to 127.0.0.1
db_hostname: "127.0.0.1"
db_port: 3306
db_username: "test" //correct username
db_password: "test123" //correct password
db_database: "ragnarok"
//codepage:""
}
The login userid and password on database is the same on char-server.conf and map-server.conf. The error log on the console says "[Error]: The communication passwords are set in /conf/map-server.conf and /conf/char/char-server.conf". When I downloaded this server files the map-server.conf is located at "/conf/map/map-server.conf" and not in "/conf/map-server.conf".
Hello, I'm trying to run the server on linux, here's the console's log
Here are the files that I modified:
1. char-server.conf
2. map-server.conf
3. sql_connection.conf
4. mmo.h
char-server.conf
// Information related to inter-server behavior inter: { // Server Communication username and password. userid: "testid" passwd: "testpass" // 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: "XXX.XXX.XXX.XXX" //server's ip // 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: "XXX.XXX.XXX.XXX" //server's ip // Character Server Port char_port: 6121 }map-server.conf
inter: { // Interserver communication passwords, set in the login server database userid: "testid" passwd: "testpass" // 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: "XXX.XXX.XXX.XXX" //server's ip // 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: "XXX.XXX.XXX.XXX" //server's ip // Map Server Port map_port: 5121 }sql_connection.conf
sql_connection: { // [INTER] You can specify the codepage to use in your mySQL tables here. // (Note that this feature requires MySQL 4.1+) //default_codepage: "" // [LOGIN] Is `userid` in account_db case sensitive? //case_sensitive: false // For IPs, ideally under linux, you want to use localhost instead of 127.0.0.1. // Under windows, you want to use 127.0.0.1. If you see a message like // "Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2)" // and you have localhost, switch it to 127.0.0.1 db_hostname: "127.0.0.1" db_port: 3306 db_username: "test" //correct username db_password: "test123" //correct password db_database: "ragnarok" //codepage:"" }mmo.h
The login userid and password on database is the same on char-server.conf and map-server.conf. The error log on the console says "[Error]: The communication passwords are set in /conf/map-server.conf and /conf/char/char-server.conf". When I downloaded this server files the map-server.conf is located at "/conf/map/map-server.conf" and not in "/conf/map-server.conf".
Are there anymore files that i need to modify ?
Thank you.
Share this post
Link to post
Share on other sites