Jump to content
  • 0

How to connect using my friends IP?


WhatFT

Question


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

I already changed these following :

 

char_athena.conf

map_athena.conf

subnet_athena.conf

 

clientinfo.xml

 

I try to connect with his IP but everytime I logged in I can't connect lol, I also check his map-server/char/login-servers and I don't see any of my account loggin in.. 

 

This is my friends IP 192.168.*.***

 

Need help ASAP 

Edited by Paulinds
Link to comment
Share on other sites

11 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  276
  • Reputation:   7
  • Joined:  08/11/12
  • Last Seen:  

192.168.*.***

 

This is a local IP address, everyone has that and its only unless your friend is hosting within the same network. (Example : Same house, same college or something)    If not, make sure your friend is hosting the RO server with all the server files with him. Then, make sure the clientxml must be his public IP address.

 

you can get his public ip address here http://www.whatismyip.com/

 

then paste it in the clientxml and also change "certain" ip address from map,login.conf,subnet.conf from there.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

 

192.168.*.***

 

 

This is a local IP address, everyone has that and its only unless your friend is hosting within the same network. (Example : Same house, same college or something)    If not, make sure your friend is hosting the RO server with all the server files with him. Then, make sure the clientxml must be his public IP address.

 

you can get his public ip address here http://www.whatismyip.com/

 

then paste it in the clientxml and also change "certain" ip address from map,login.conf,subnet.conf from there.

 

I already tried using his public IP.. 126.15.**.*** ... Still nothing happen and got error.. Socket #2 the Map server can't recognize char server

Edited by Paulinds
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  276
  • Reputation:   7
  • Joined:  08/11/12
  • Last Seen:  

can you try checking your char server, map server whether you've placed your public ip inside there as well ? remember some are local some are public. lemme give you an example on how it looks.

 

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.0.100 <------ must be Local IP address
 
// 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 <---- make sure port has been forwarded from your router.

// 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: 12.23.4.5 <---- place public ip address here

 

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.0.100 <--- Again local IP Address

// 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 <----- Make sure port forwarded from Router

// 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: 12.23.4.5 <---- Insert public address here.

// Map Server Port
map_port: 5121 <--- Make sure the port is forwaded from router!

 

subnet.conf

subnet: 255.255.255.0:public IP:public IP
Edited by ToiletMaster
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

can you try checking your char server, map server whether you've placed your public ip inside there as well ? remember some are local some are public. lemme give you an example on how it looks.

 

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.0.100 <------ must be Local IP address
 
// 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 <---- make sure port has been forwarded from your router.

// 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: 12.23.4.5 <---- place public ip address here

 

 

// 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.0.100 <--- Again local IP Address

// 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 <----- Make sure port forwarded from Router

// 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: 12.23.4.5 <---- Insert public address here.

// Map Server Port
map_port: 5121 <--- Make sure the port is forwaded from router!

 

 

subnet: 255.255.255.0:public IP:public IP

 

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: 126.15.44.132

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

 

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: 126.15.44.132

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

// Map Server Port
map_port: 5121

 

 

subnet_athena.conf

subnet: 255.0.0.0:126.15.44.132:126.15.44.132

 

clientinfo.xml

<address>126.15.44.132</address>

 

Firewall : OFF (Mine and Him)

 

I already passed/send the server.grf to him including the fixed clientinfo.xml (126.15.44.132)

 

And I got an error from char-server.bat : make connection ald (Socket#2. code 10061)

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  276
  • Reputation:   7
  • Joined:  08/11/12
  • Last Seen:  

check my previous post. certain configurations need to be local IP not public IP.

 

yours is all public IP.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

check my previous post. certain configurations need to be local IP not public IP.

 

yours is all public IP.

How will I do that? 

 

I checked the websites already 

 

Website Results : 126.15.44.132

CMD Result : 192.168.1.2

 

I just want to connect to his server without using Hamachi IP. 

Edited by Paulinds
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  276
  • Reputation:   7
  • Joined:  08/11/12
  • Last Seen:  

yep, place the 192.168.1.2 inside there.

but did you open the ports for 6121,5121,6900? this allows other machines to connect to your friend's network.

 

if not the entire will be blocked.

 

12.3.4.5 = Public IP

192.168.0.100 = Local IP

 

just replace these values with yours.

 

so meaning all the public ip address should be 126.15.44.132

and local ip address should be 192.168.1.2

 

Aside from that,

 

did you set your machine to have a static IP address instead of dynamic IP address? If not it's gonna cause quite a bit of a challenge to make it work lol

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

yep, place the 192.168.1.2 inside there.

but did you open the ports for 6121,5121,6900? this allows other machines to connect to your friend's network.

 

if not the entire will be blocked.

 

12.3.4.5 = Public IP

192.168.0.100 = Local IP

 

just replace these values with yours.

 

so meaning all the public ip address should be 126.15.44.132

and local ip address should be 192.168.1.2

 

Aside from that,

 

did you set your machine to have a static IP address instead of dynamic IP address? If not it's gonna cause quite a bit of a challenge to make it work lol

How open those ports?

 

And Is there any other way to connect without using Hamachi IP because we don't have VPS right now.. We just want to test the server stabilities.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  276
  • Reputation:   7
  • Joined:  08/11/12
  • Last Seen:  

i prefer if you take a look at this then haha

 

http://www.youtube.com/watch?v=3LTOOEjRtUo

 

maybe it'll clear up your mind on what you're currently missing xD.

 

 

Edit:
 

you don't need hamachi's IP address, so long as you have a router with you. again, use whatismyip.com and get your ip address from here. do not use hamachi as that's more confusing than ever lol.

 

I'd prefer if you're able to host it locally 1st before you host it for public. Because it's much easier to troubleshoot for locally than publicly, because once we know you're able to connect it locally, then we can shorten down the list of problems occuring.

 

P.S.

 

I don't have a VPS as well, i've hosted it in my home during my close beta session, no hamachi required or any other 3rd party stuffs. just wanna let you know xD, i believe hamachi is just an extra step to put in so it's not really recommended.

Edited by ToiletMaster
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  142
  • Topics Per Day:  0.03
  • Content Count:  511
  • Reputation:   7
  • Joined:  02/15/12
  • Last Seen:  

i prefer if you take a look at this then haha

 

http://www.youtube.com/watch?v=3LTOOEjRtUo

 

maybe it'll clear up your mind on what you're currently missing xD.

 

 

Edit:

 

you don't need hamachi's IP address, so long as you have a router with you. again, use whatismyip.com and get your ip address from here. do not use hamachi as that's more confusing than ever lol.

 

I'd prefer if you're able to host it locally 1st before you host it for public. Because it's much easier to troubleshoot for locally than publicly, because once we know you're able to connect it locally, then we can shorten down the list of problems occuring.

 

P.S.

 

I don't have a VPS as well, i've hosted it in my home during my close beta session, no hamachi required or any other 3rd party stuffs. just wanna let you know xD, i believe hamachi is just an extra step to put in so it's not really recommended.

 

I already follow those steps :( Still Char-Server error, connection failed Socket #2

I even checked and followed everything here : 

 

http://svn.games-service.net/guide-mysql5.htm

 

I used my IP (I got it from whatismyip.org, etc) but it gives error like Socket#2. 

 

I used also my IP (cmd.exe, ipconfig) I got connected but when I let my friend connect, he can't.. I can't even see that someone is logging in from logserver.bat

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  76
  • Topics Per Day:  0.02
  • Content Count:  276
  • Reputation:   7
  • Joined:  08/11/12
  • Last Seen:  

hmmm, well then which ragexe version are you using currently?

 

2012-04-10?

 

make sure your mmo.h is set to the date that you're using it based inside. if not then download the packets from here and paste them inside your packet file.

 

http://svn6.assembla.com/svn/ClientSide/Packets/Packet_db/

Link to comment
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.   Paste as plain text instead

  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.

×
×
  • Create New...