How to create a private server. . . . .

Started by MWright967, Feb 13, 2008, 10:57 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

MWright967

I removed this guide.

ander

Thank yo  matthew and very very apprecaited !! !! you do the great job and you can do better  !!!!


LiNK

#3
Download error? hmmm

-EDIT
nevermind, already worked.


w1nd

Hey, I love your guide. It's very good and I followed it through completely. Thanks ^^

But I'm having one little problem...
After I get to the character screen, and then log in, it gives me "failed to connect to server".
I tried so many configurations, went onto eAthena boards and tried, but failed.
Can you, or anyone, help me here?
I'll be glad to post my configuration settings.
Thanks everyone ^^

MWright967

Ehm, yeah, heres what I want you to do...Go to your conf folder, post all of the files you edited (map, subnet, char etc) and let me see them. Also, try turning your firewall off, checking your sclient info, making sure you removed the ''//'' symbols behind the configuration texts as i said to, and try getting rid of everything in your RO folder, reinstalling Rag/Sak, and then doing the guide over.

w1nd

All right.

First off, here are my IP addresses:

wanIP: 71.104.7.102
lanIP: 192.168.1.100
subnet: 255.255.255.0


Now, the conf files.

char_athena.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:192.168.1.100

// 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 character server exports this IP address to the entire world.
// NOTE: You should only need to set this if you are running behind a
// firewall or are on a machine with multiple interfaces.
char_ip:71.104.7.102

// Character Server Port
char_port:6121


map_athena.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: 192.168.1.100

// 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 map server exports this IP address to the entire world.
// NOTE: You should only need to set this if you are running behind a
// firewall or are on a machine with multiple interfaces.
map_ip: 71.104.7.102

// Map Server Port
map_port: 5121


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

subnet: 255.255.255.0:192.168.1.100:192.168.1.100

MWright967

Are you sure the 192.168.1.100 number isn't your Static IP, and that its your LAN IP? That could be a big differince.

Second of all, you could also try making the 192.168.1.100 just 127.0.0.0 in your sclientinfo AND conf files.


If that doesn't work, destroy and reinstall all RO related stuff. And just FYI, having someone else's server software i nthe same RO folder CAN screw it up.

w1nd

Ok, you tell me. Haha. I just followed what the eAthena boards said.

Here's my ipconfig /all:



and i think you meant 127.0.0.1 right?

Thanks ^^

romeo111

#10
he could/is probably stuck on the same thing as i, i also have some probs in the same area as him

Zone

@W1nd are you trying to have the server on a lan or just to test with?
Or to open it?

For Lan server:
char_athena.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:192.168.1.100

// 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 character server exports this IP address to the entire world.
// NOTE: You should only need to set this if you are running behind a
// firewall or are on a machine with multiple interfaces.
char_ip:192.168.1.100

// Character Server Port
char_port:6121


map_athena.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: 192.168.1.100

// 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 map server exports this IP address to the entire world.
// NOTE: You should only need to set this if you are running behind a
// firewall or are on a machine with multiple interfaces.
map_ip: 192.168.1.100

// Map Server Port
map_port: 5121


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

subnet: 255.255.255.0


For test server:
char_athena.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 character server exports this IP address to the entire world.
// NOTE: You should only need to set this if you are running behind a
// firewall or are on a machine with multiple interfaces.
char_ip:127.0.0.1

// Character Server Port
char_port:6121


map_athena.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 map server exports this IP address to the entire world.
// NOTE: You should only need to set this if you are running behind a
// firewall or are on a machine with multiple interfaces.
map_ip: 127.0.0.1

// Map Server Port
map_port: 5121


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

subnet: 255.255.255.0



For an open private server:
char_athena.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:71.104.7.102

// 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 character server exports this IP address to the entire world.
// NOTE: You should only need to set this if you are running behind a
// firewall or are on a machine with multiple interfaces.
char_ip:71.104.7.102

// Character Server Port
char_port:6121


map_athena.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: 71.104.7.102

// 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 map server exports this IP address to the entire world.
// NOTE: You should only need to set this if you are running behind a
// firewall or are on a machine with multiple interfaces.
map_ip: 71.104.7.102

// Map Server Port
map_port: 5121


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

subnet: 255.255.255.0


You also need an sclientinfo.xml in your data folder where you have the client.

Lan Server:
<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
<servicetype>korea</servicetype>
<servertype>sakray</servertype>
  <connection>
     <display>Name to display on connection</display>
     <desc>description</desc>
     <address>192.168.1.100</address>
     <port>6900</port>
     <version>20</version>
     <langtype>8</langtype>
     <aid>
<admin>2000001</admin>
<admin>Account ID</admin>
<registrationweb>no need if you have _m/_f enabled (recommended)</registrationweb>
  </connection>
<loading>
<images>loading00.jpg</images>
<images>loading01.jpg</images>
<images>loading02.jpg</images>
<images>loading03.jpg</images>
<images>loading04.jpg</images>
</loading>
</clientinfo>


Test Server
<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
<servicetype>korea</servicetype>
<servertype>sakray</servertype>
  <connection>
     <display>Name</display>
     <desc>description</desc>
     <address>127.0.0.1</address>
     <port>6900</port>
     <version>20</version>
     <langtype>8</langtype>
     <aid>
<admin>2000001</admin>
<admin>account ID</admin>
<registrationweb>not necessary _m/_f suggested.</registrationweb>
  </connection>
<loading>
<images>loading00.jpg</images>
<images>loading01.jpg</images>
<images>loading02.jpg</images>
<images>loading03.jpg</images>
<images>loading04.jpg</images>
</loading>
</clientinfo>


Open Private Server
<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
<servicetype>korea</servicetype>
<servertype>sakray</servertype>
  <connection>
     <display>Name</display>
     <desc>description</desc>
     <address>71.104.7.102</address>
     <port>6900</port>
     <version>20</version>
     <langtype>8</langtype>
     <aid>
<admin>2000001</admin>
<admin>account ID</admin>
<registrationweb>http://www.yourwebsite.com/registration_page</registrationweb>
  </connection>
<loading>
<images>loading00.jpg</images>
<images>loading01.jpg</images>
<images>loading02.jpg</images>
<images>loading03.jpg</images>
<images>loading04.jpg</images>
</loading>
</clientinfo>


MWright967

I specifically told them this  was not a guide based for open-public play so, he shouldn't be having any problem whatsoever.

w1nd

Haha yeah, I saw it was just for testing, but wow. Thanks for the code. Let me test it now ^^

MWright967

Quote from: w1nd on Feb 23, 2008, 11:12 PM
Haha yeah, I saw it was just for testing, but wow. Thanks for the code. Let me test it now ^^

/no1