Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[Help] Failed to connect to server

Initiate Mage
Joined
Aug 24, 2011
Messages
3
Reaction score
0
Can anyone help me with this annoying error please

heres my code files

Code:
char_athena

Code:
// Server Communication username and password.
userid: Ragnarok
passwd: Ragnarok

// Server name, use alternative character such as ASCII 160 for spaces.
// NOTE: Do not use spaces in the name, or guild emblems won't work client-side!
server_name: MakaiDeathRO

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

// 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: 5.204.14.8

// 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: 5.204.14.8

// Character Server Port
char_port: 6121

Code:
map_athena

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

// 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: 5.204.14.8

// 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: 5.204.14.8

// Map Server Port
map_port: 5121

Code:
subnet_athena

Code:
// Subnet support file
// Format is:
// subnet: net-submask:char_ip:map_ip
// you can add more than one subnet 

subnet: 255.255.255.0:5.204.14.8:5.204.14.8

Code:
inter_athena

Code:
// MySQL Login SQL Server
login_server_ip: 5.204.14.8
login_server_port: 3306
login_server_id: Ragnarok
login_server_pw: Ragnarok
login_server_db: Ragnarok

// MySQL Character SQL server
char_server_ip: 5.204.14.8
char_server_port: 3306
char_server_id: Ragnarok
char_server_pw: Ragnarok
char_server_db: Ragnarok

// MySQL Map SQL Server
map_server_ip: 5.204.14.8
map_server_port: 3306
map_server_id: Ragnarok
map_server_pw: Ragnarok
map_server_db: Ragnarok

// MySQL Log SQL Database
log_db_ip: 5.204.14.8
log_db_port: 3306
log_db_id: Ragnarok
log_db_pw: Ragnarok
log_db: log

Code:
sclientinfo

Code:
<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
<servicetype>korea</servicetype>
<servertype>sakray</servertype>
<connection>
<desc>Ragnarok</desc>
<display>MakaiDeathRO</display>
<balloon>localhost</balloon>
<address>5.204.14.8</address>
<port>6900</port>
<version>20</version>
<langtype>6</langtype>
<registrationweb>http://localhost/cp</registrationweb>
<aid>
<admin>2000000</admin>
<admin></admin>
</aid>
<yellow>
<admin>2000000</admin>
<admin></admin>
</yellow>
</connection>
</clientinfo>

What am I doing wrong? btw I'm using hamachi.

---------- Post added at 03:47 PM ---------- Previous post was at 03:47 PM ----------

bump!!!

---------- Post added at 08:10 PM ---------- Previous post was at 03:47 PM ----------

Anyone?!?!?
 
Experienced Elementalist
Joined
Jun 1, 2008
Messages
251
Reaction score
11
Everything goes fine with your .bat? or is there any error shows up?
 
Junior Spellweaver
Joined
Nov 7, 2010
Messages
171
Reaction score
11
ahaha :))

go in src/common/mmo.h

then look at this line :

ifndef PACKETVER
//#define PACKETVER 20081126
#define PACKETVER 20100707

change //#define PACKETVER 20081126 to your Client Date. then recompile :)

if you are using 3ceam trunk well you can use mine :)



then look for src/common/mmo.h

copy this :

#ifndef PACKETVER
//#define PACKETVER 20081126
#define PACKETVER 20100707

then paste it on exact line :)

have a Good Day!


You dont know how to compile? well :
use C++ for windows then putty.exe for linux

i am linux user so i already know how to compile

cd /home/ea or cd trunk or cd /eathena

then

chmod +x configure

then

./configure

then

make clean

then

make sql

after compiling please restart your server

./athena-start restart

./athena-start start
Thats all :)
 
Back
Top