Jump to content
  • 0
Sign in to follow this  
Habilis

2013-08-07aRagexe Failed to connect to server

Question

Hello Im having this issue 

It seems to be alright for the Login server

 

As Im connecting to the server in the console output, im able to see the messages

[Status]: Connection of the account 'test' accepted.
[Info]: Closed connection from '192.168.2.12'.

No error messages at all...

 

But in the client after a little while, im getting 

 

Failed to connect to server

 

I have used 

2013-08-07aRagexe.exe

and NEMO to patch the client

 

here is my  clientinfo.xml

 

<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
<desc>Ragnarok Client Information</desc>
<servicetype>korea</servicetype>
<servertype>primary</servertype>
<connection>
<display>TestRO</display>
<desc></desc>
<balloon></balloon>
<address>192.168.2.60</address>
<port>6900</port>
<version>45</version>
<langtype>1</langtype>
<registrationweb>...</registrationweb>
<yellow>
<admin>2000001</admin>
</yellow>
<loading>
<image>loading00.jpg</image>
<image>loading01.jpg</image>
<image>loading02.jpg</image>
<image>loading03.jpg</image>
<image>loading04.jpg</image>
<image>loading05.jpg</image>
<image>loading06.jpg</image>
<image>loading07.jpg</image>
<image>loading08.jpg</image>
<image>loading09.jpg</image>
<image>loading10.jpg</image>
</loading>
</connection>
</clientinfo>

 

 

In the sources I have disabled Renewal

/src/config/renewal.h

by Uncomenting 

#define DISABLE_RENEWAL

 

in the /src/common/mmo.h

 

I set the

#ifndef PACKETVER
    #define PACKETVER 20130807
#endif

 

And I recompiled the server

 

here are my configs

 

login-server.conf

// The login 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

// Can you use _M/_F to make new accounts on the server?
new_account: yes

//If new_account is enabled, minimum length to userid and passwords should be 4?
//Must be 'Yes' unless your client uses both 'Disable 4 LetterUserID/Password' Diffs
new_acc_length_limit: yes

// Account registration flood protection system
// allowed_regs is the number of registrations allowed in time_allowed (in seconds)
allowed_regs: 1
time_allowed: 10

// To log the login server?
// NOTE: The login-sql server needs the login logs to enable dynamic pass failure bans.
log_login: yes


// Check The clientversion set in the clientinfo ?
check_client_version: yes

// What version we would allow to connect? (if the options above is enabled..)
client_version_to_connect: 45

 

 

char-server.conf

 


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

// 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.168.2.60

// Character Server Port
char_port: 6121

network.conf

 

// Network configuration file

/*
 * List here any LAN subnets this server is in.
 * Example:
 * - char- (or map-) server's IP in LAN is 192.168.0.10
 * - Public IP is 198.51.100.37
 * If the list contains "192.168.0.10:255.255.255.0", any clients connecting
 * from the same 192.168.0.0/24 network will be presented with the LAN IP
 * (192.168.0.10) in the server list, rather than the public IP (198.51.100.37).
 */
lan_subnets: (
	"127.0.0.1:255.0.0.0",
	"192.168.2.10:255.255.255.0",
)

/*
 * List here any IP ranges a char- or map-server can connect from.
 * A wildcard of "0.0.0.0:0.0.0.0" means that server connections are allowed
 * from ANY IP. (not recommended).
 */
allowed: (
	//"0.0.0.0:0.0.0.0",
	"127.0.0.1:255.0.0.0",
	"192.168.2.10:255.255.255.0",
)

/*
 * List here any IP ranges a char- or map-server can connect from. These ranges
 * will also be excluded from the automatic ipban in casee of password failure.
 * Any entry present in this list is also automatically included in the
 * allowed IP list.
 * Note: This may be a security threat. Only edit this list if you know what
 * you are doing.
 */
trusted: (
	"127.0.0.1:255.0.0.0",
	"192.168.2.10:255.255.255.0",
)

map-server.conf

 


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

// 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.168.2.60

// Map Server Port
map_port: 5121

I have absolutely no idea, what could be wrong..... a slightest hint would be greatly apriciated!

Edited by Habilis

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Try changing the ip of char_ip (char-server.conf) to 127.0.0.1

as well as the map_ip (map-server.conf)

 

Thank you for thee reply, but

It didn't work...

since my local network configuration is

 

192.168.2.60 -> Hercules 

 

192.168.2.12 -> Client machine

 

 

So I changed ALL ips (char_ip,map_ip,login_ip) to 192.168.2.60

 

I also noticed that I only opened all three Ragnarok ports on tcp protocol 

in my iptables.

 

So I added udp too....

 

I also tried once without any iptables.....

 

 

Doesn't work!!!

 

Seems like packet problem to me....

Although, I have double checked all that packet mambo-jumbo....

I really don't know what was the problem, probably the client 2013-08-07 had buggy packet encryption

 

I downloaded 2013-12-30, patched with NEMO, edited mmo.h and recompiled

and now im able to connect !

Edited by Habilis

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.