Jump to content
  • 0

client connection


pcdrive

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   1
  • Joined:  06/12/14
  • Last Seen:  

Hi,

 

I have a serious problem. somewhy my friends cannot connect to my private server

(i run it on my laptop, and yes i have the sys req).

 

everything is fine... i changed the IP-s, hexed client exe etc etc... i can play,

but i dont know how my friends connect to me... i made rar from my own working

client just modified their clientinfo.xml-s ip to my wan ip but they cannot connect to me...

i was listen to my servers, but nothing happen... i think their client cannot reach my server,

i treid everithing.. really... everithing.... but i cannot solve this problem...

i forwarded my ports:

canyouseeme.org: 6900, 6121,5121,80 opened

has anyone any idea?

-----------------------------------------

my char_athena.conf:

// Server Communication username and password.
userid: Ranova
passwd: Nova0204

// a machine with multiple interfaces.
login_ip: 127.0.0.1
// Login Server Port
login_port: 6900

// Set this to what your server's public IP address is.
char_ip: 178.48.159.37
// Character Server Port
char_port: 6121 

-----------------------------------------

my map_athena.conf:

// Interserver communication passwords, set in account.txt (or equiv.)
userid: Ranova
passwd: Nova0204

// a machine with multiple interfaces.
char_ip: 127.0.0.1
// Character Server Port
char_port: 6121

// Set this to what your server's public IP address is.
map_ip: 178.48.159.37
// Map Server Port
map_port: 5121 

-----------------------------------------

my inter_athena.conf:

// Global SQL settings
// overridden by local settings when the hostname is defined there
// (currently only the login-server reads/obeys these settings)
sql.db_hostname: 127.0.0.1
sql.db_port: 3306
sql.db_username: root
sql.db_password: ragnarok
sql.db_database: ragnarok
sql.codepage:

// MySQL Character SQL server
char_server_ip: 127.0.0.1
char_server_port: 3306
char_server_id: root
char_server_pw: ragnarok
char_server_db: ragnarok

// MySQL Map SQL Server
map_server_ip: 127.0.0.1
map_server_port: 3306
map_server_id: root
map_server_pw: ragnarok
map_server_db: ragnarok

// MySQL Log SQL Database
log_db_ip: 127.0.0.1
log_db_port: 3306
log_db_id: root
log_db_pw: ragnarok
log_db_db: log
log_codepage:
log_login_db: loginlog

-----------------------------------------

my subnet_athena.conf:

subnet: 255.255.255.0:127.0.0.1:127.0.0.1

-----------------------------------------

my mmo.h:

#ifndef PACKETVER
    #define PACKETVER 20120716
    //#define PACKETVER 20120410
#endif 

-----------------------------------------

their clientinfo.xml:

<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
<servicetype>korea</servicetype>
<servertype>sakray</servertype>
   <connection>
      <display>Nova-Ro</display>
      <balloon>Let's Play Ragnarok!!!</balloon>
      <desc>rates 1/1/1</desc>
      <address>178.48.159.37</address>
      <port>6900</port>
      <version>33</version>
      <langtype>1</langtype>
      <registrationweb></registrationweb>
        <aid>
            <admin>2000002</admin>
        </aid>
        <loading>
            <image>loadingscreen01.jpg</image>
        </loading>
   </connection>
</clientinfo>

-----------------------------------------

others:

i have Rathena server revision 17704

Ragnarok Online 10-18-2013 kRO Client from RMS

i diffed my exe from: 2012-07-16aRagexeRE

 

any idea?

Edited by Emistry
Please use CODEBOX.
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   1
  • Joined:  06/12/14
  • Last Seen:  

Ok i found out what was the problem...

I forgot to change the clientinfos packetver in my own GRF file...

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.00
  • Content Count:  179
  • Reputation:   17
  • Joined:  04/24/14
  • Last Seen:  

-----------------------------------------

my subnet_athena.conf:

subnet: 255.255.255.0:127.0.0.1:127.0.0.1

 

Run cmd>type ipconfig>enter

 

Look for

Ethernet adapter Local Area Connection:
 
   Connection-specific DNS Suffix  . :
   Link-local IPv6 Address . . . . . : 
   IPv4 Address. . . . . . . . . . . : <your LAN IP is here>
   Subnet Mask . . . . . . . . . . . : 
   Default Gateway . . . . . . . . . : 

Go to subnet_athena.conf & replace it.

 

subnet: 255.255.255.0:<your LAN IP here>:<your LAN IP here>

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   1
  • Joined:  06/12/14
  • Last Seen:  

i took it there just it seems i forgot to change it back after the last try

 

its now: 255.255.255.0:192.168.2.8:192.168.2.8

Edited by pcdrive
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  1479
  • Reputation:   172
  • Joined:  12/14/11
  • Last Seen:  

revert your subnet_athena.conf. sometimes, the problems comes from here.

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  9
  • Reputation:   1
  • Joined:  06/12/14
  • Last Seen:  

sorry but i cannot understand you ask me to turn it back to:

255.0.0.0:127.0.0.1:127.0.0.1 ?

I tried : 255.255.255.0:Localhost:Localhost

255.255.255.0:WAN IP:WAN IP

255.0.0.0:WAN IP:WAN IP

and 255.255.255: LAN IP:LAN IP

none of them worked.

I think the problem is not with the server but with the clients.

Somehow their client don't even try to connect.

Later if I can I try it with another machine in LAN. If it works

I will make sure that the server is correct.

(maybe it's a hard question 45 view 2 answer CD)

Edited by pcdrive
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...