Jump to content
  • 0
Sign in to follow this  
botka4aet

Can't connect to server

Question

I download last herc.

mmo.h    #define PACKETVER 20140205

 

login

	inter: {
		// 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: 9000

char

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

		// 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: "NETIP"

		// Character Server Port
		char_port: 9001

Map

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

		// 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: "NETIP"

		// Map Server Port
		map_port: 9002
	}

Compile server and start - no errors

Download client, undiffed exe, nemo, select recommended patches + read data folder first

Clientinfo

<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
	<desc>Ragnarok Client Information</desc>
	<servicetype>korea</servicetype>
	<servertype>sakray</servertype>
	<extendedslot />
	<readfolder />
	<connection>
		<display>SERVER NAME HERE</display>
		<desc>Ragnarok Online</desc>
		<balloon>this is a tool tip</balloon>
		<address>NETIP</address>
		<port>9000</port>
		<version>20</version>
		<langtype>1</langtype>
		<registrationweb>REGISTRATION URL HERE</registrationweb>
		<yellow>
			<admin>2000001</admin>
			<admin>2000002</admin>
			<admin>2000003</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>

Start client, enter login and nothing.

No mes into login server.

I try to do same with old TXT eathena - all works fine. No problems with ports.

What to do?

Share this post


Link to post
Share on other sites

16 answers to this question

Recommended Posts

  • 0
1 minute ago, hendra814 said:

Hi @botka4aet

You need edit file network.conf too.

at conf folder.

Like this?

// 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.1.1: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",
)

/*
 * 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",
)

 

Share this post


Link to post
Share on other sites
  • 0
5 minutes ago, botka4aet said:

Like this?


// 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.1.1: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",
)

/*
 * 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",
)

 

Just edit at lan_subnets,

put your subnet network into lan_subnets

Share this post


Link to post
Share on other sites
  • 0

Cmd - ipconfig
Copy from it IP and subnet to

lan_subnets: (

?

Same.

I trying connect with vpn from same subnet - still no answer.

 

ps. Trying 00000000 - same...

pss. watching

- nothing about network.conf...

Edited by botka4aet

Share this post


Link to post
Share on other sites
  • 0

1st try:

Spoiler

lan_subnets: (
 "0.0.0.0:0.0.0.0",
allowed: (
 "0.0.0.0:0.0.0.0",

trusted: (
"0.0.0.0:0.0.0.0", 

2nd try

Spoiler

lan_subnets: (
 "127.0.0.1:255.0.0.0",
  "10.228.192.0:255.255.255.0",
  )
allowed: (
 "127.0.0.1:255.0.0.0",
)
trusted: (
 "127.0.0.1:255.0.0.0",

)

2rd try

Spoiler

lan_subnets: (
 "127.0.0.1:255.0.0.0",
  "10.228.192.0:255.255.255.0",

"94.228.0.0:255.255.0.0",
  )
allowed: (
 "127.0.0.1:255.0.0.0",
)
trusted: (
 "127.0.0.1:255.0.0.0",
)

Share this post


Link to post
Share on other sites
  • 0

Eathena_txt 14128

login

Spoiler

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

char

Spoiler

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

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

// Character Server Port
char_port: 9001

map

Spoiler

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

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

// Map Server Port
map_port: 9002
 

Works fine

Rathena 2011~

login

Spoiler

// 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: 94.228.192.29
 
// Login Server Port
login_port: 9000

char

Spoiler

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

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

// Login Server Port
login_port: 9000

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

// Character Server Port
char_port: 9001

map

Spoiler

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

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

// Character Server Port
char_port: 9001

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

// Map Server Port
map_port: 9002

Works fine

Last herc

login

Spoiler

        // 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: "10.228.192.207"

        // Login Server Port
        login_port: 9000
 

char

Spoiler

        // 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: "10.228.192.207"

        // 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: "10.228.192.207"

        // Login Server Port
        login_port: 9000

        // 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: "94.228.192.62"

        // Character Server Port
        char_port: 9001
 

map

Spoiler

        // 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: "10.228.192.207"

        // 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: "10.228.192.207"

        // Character Server Port
        char_port: 9001

        // 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: "94.228.192.62"

        // Map Server Port
        map_port: 9002

Doesn't work

???

Edited by botka4aet

Share this post


Link to post
Share on other sites
  • 0
6 minutes ago, hendra814 said:

Sorry, for inet i never tried.

i'm only tried with lan

I can connect with vpn(so i in the lan with server)

But client still can't find server

Share this post


Link to post
Share on other sites
  • 0
4 minutes ago, botka4aet said:

I can connect with vpn(so i in the lan with server)

But client still can't find server

maybe something wrong with clientinfo.xml in your client side.

wrong Ip maybe?

Share this post


Link to post
Share on other sites
  • 0
		<address>94.228.192.62</address> if inet
		<address>10.228.192.207</address> if lan
		<port>9000</port>

I don't think, that i miss something here

Trying with 2013-08-07aRagexe_patched and 2014-02-05bRagexe_patched

 

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.