Help needed with onfiguration of Hercules in a Linux Server

Eviang

New member
Messages
11
Points
0
Hi guys,
 
It's been 10 years or so since I setup a RO server and so many things have changed that I'm a little bit lost here. I'm trying to setup a basic server under a CentOS 6.6 server and so far I can actually launch it with no errors or warnings.
 
The client side is far from done but at least I can connect to a test server in my Windows 7 desktop. The problem is that the same client (changing the IP address in clientinfo.xml of course) doesn't connect to my Linux server. It does nothing. It just tells me Failure to connect" a while after entering my username and password (not using user #1).
 
BTW my Linux server is running in a VMWare ESXi virtual box and the client is 2013-12-23 Here are the contents of some relevant files:
 
conf/import/login_conf.txtbind_ip: 192.168.0.230login_ip: 192.168.0.230login_port: 6900account.engine: autoaccount.sql.db_hostname: 192.168.0.230account.sql.db_port: 3306account.sql.db_username: hercules1234account.sql.db_password: mypasswordaccount.sql.db_database: hercules1234_rag

Code:
conf/import/char_conf.txtuserid: hercules1234passwd: mypasswordserver_name: Herculeslogin_ip: 192.168.0.230bind_ip: 192.168.0.230login_port: 6900char_ip: 192.168.0.230char_port: 6121start_point: new_1-1,53,111
Code:
conf/import/map_conf.txtuserid: hercules1234passwd: mypasswordchar_ip: 192.168.0.230bind_ip: 192.168.0.230char_port: 6121map_ip: 192.168.0.230map_port: 5121
Code:
conf/import/inter_conf.txtsql.db_hostname: 192.168.0.230sql.db_port: 3306sql.db_username: hercules1234sql.db_password: mypasswordsql.db_database: hercules1234_ragchar_server_ip: 192.168.0.230char_server_port: 3306char_server_id: hercules1234char_server_pw: mypasswordchar_server_db: hercules1234_ragmap_server_ip: 192.168.0.230map_server_port: 3306map_server_id: hercules1234map_server_pw: mypasswordmap_server_db: hercules1234_raglog_db_ip: 192.168.0.230log_db_port: 3306log_db_id: hercules1234log_db_pw: mypasswordlog_db_db: hercules1234_loglog_login_db: loginloguse_sql_db: no
Code:
conf/subnet.confsubnet: 255.0.0.0:192.168.0.1:192.168.0.1
Code:
src/common/mmo.h#ifndef PACKETVER        //#define PACKETVER 20141022        #define PACKETVER 20131223#endif // PACKETVER
Any clues? I've checked the ports on the server and it's listening on all 3 RO ports so that's open. What am I missing?
 
Thanks!!!!!
hmm... seems I've forgotten to open specific ports in the iptables. Followed this guide: http://wiki.centos.org/HowTos/Network/IPTables
default_wink.png


 
first of all you can try the basic one


use
user: ragnarok
pass: ragnarok
db: ragnarok

and 127.0.0.1 and then you find out what are you going to do next

 
Back
Top