RMS Home | Guide Writing | Test Server | New Servers | Latest Reviews

Author Topic: How to create a private server. . . . .  (Read 57240 times)

0 Members and 1 Guest are viewing this topic.

MWright967

  • Guest
How to create a private server. . . . .
« on: Feb 13, 2008, 10:57 am »
I removed this guide.
« Last Edit: Apr 21, 2008, 11:29 pm by MWright967 »

Advertisement

Offline ander

Re: How to create a private server. . . . .
« Reply #1 on: Feb 13, 2008, 11:03 am »
Thank yo  matthew and very very apprecaited !! !! you do the great job and you can do better  !!!!

MWright967

  • Guest
Re: How to create a private server. . . . .
« Reply #2 on: Feb 13, 2008, 11:14 am »
No problemo.

Offline LiNK

Re: How to create a private server. . . . .
« Reply #3 on: Feb 15, 2008, 07:20 pm »
Download error? hmmm

-EDIT
nevermind, already worked.
« Last Edit: Feb 15, 2008, 07:23 pm by LiNK »

MWright967

  • Guest
Re: How to create a private server. . . . .
« Reply #4 on: Feb 15, 2008, 07:45 pm »
Naice  ;)

Offline w1nd

Re: How to create a private server. . . . .
« Reply #5 on: Feb 22, 2008, 08:26 pm »
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

  • Guest
Re: How to create a private server. . . . .
« Reply #6 on: Feb 22, 2008, 08:35 pm »
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.

Offline w1nd

Re: How to create a private server. . . . .
« Reply #7 on: Feb 22, 2008, 08:48 pm »
All right.

First off, here are my IP addresses:

Code: [Select]
wanIP: 71.104.7.102
lanIP: 192.168.1.100
subnet: 255.255.255.0

Now, the conf files.

char_athena.conf:
Code: [Select]
// 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:
Code: [Select]
// 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:
Code: [Select]
// 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

  • Guest
Re: How to create a private server. . . . .
« Reply #8 on: Feb 22, 2008, 08:51 pm »
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.

Offline w1nd

Re: How to create a private server. . . . .
« Reply #9 on: Feb 22, 2008, 09:03 pm »
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 ^^

Offline romeo111

Re: How to create a private server. . . . .
« Reply #10 on: Feb 22, 2008, 09:11 pm »
he could/is probably stuck on the same thing as i, i also have some probs in the same area as him
« Last Edit: Feb 22, 2008, 09:57 pm by romeo111 »

Offline Zone

Re: How to create a private server. . . . .
« Reply #11 on: Feb 23, 2008, 09:34 pm »
@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:
Code: [Select]
// 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:
Code: [Select]
// 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:
Code: [Select]
// 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:
Code: [Select]
// 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:
Code: [Select]
// 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:
Code: [Select]
// 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:
Code: [Select]
// 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:
Code: [Select]
// 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:
Code: [Select]
// 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:
Code: [Select]
<?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
Code: [Select]
<?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
Code: [Select]
<?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

  • Guest
Re: How to create a private server. . . . .
« Reply #12 on: Feb 23, 2008, 09:55 pm »
I specifically told them this  was not a guide based for open-public play so, he shouldn't be having any problem whatsoever.

Offline w1nd

Re: How to create a private server. . . . .
« Reply #13 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 ^^

MWright967

  • Guest
Re: How to create a private server. . . . .
« Reply #14 on: Feb 23, 2008, 11:19 pm »
Haha yeah, I saw it was just for testing, but wow. Thanks for the code. Let me test it now ^^

/no1