Jump to content
  • 0

Client won't connect to server


ValkyrieTiara

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  08/03/22
  • Last Seen:  

Friend and I are trying to get a server working. He's set up a remote server (debian) and I'm trying to get the client end working. My problem atm is that friend is monitoring the port on the server and when I try to log in there is no activity registered, so it's not even trying to connect. I've been poking at the forums for the last few days but just keep ending up being referred to this guide: 

 which I'm guessing is horribly out of date because none of the files it's telling me to edit even exist. For the client I used https://github.com/zackdreaver/ROenglishRE onto kRO from https://ratemyserver.net/index.php?page=download_kROLinks, ran both RSUs, and used WARP to patch 2011-09-06aRagexeRE.exe with just the recommended settings. IDK if any of that was the right thing to do or not, but it's what I did.

Image of my clientinfo.xml included. Address is blacked out cause it's not my server. I changed langtype to 1 because a guide somewhere told me to or you won't be able to type properly. I changed registrationweb to google to see if the register button in the client would properly send me somewhere other than the RO page. It now just hangs for a sec before bringing up no browser and closing the client. My /data folder also has an sclientinfo.xml and I couldn't find any mention of that file anywhere on the forum or github, so I changed it to match this one exactly. Everything else should be default. 

08-02-22-6129.png

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  54
  • Topics Per Day:  0.01
  • Content Count:  1167
  • Reputation:   159
  • Joined:  06/12/12
  • Last Seen:  

at address please fill with IP not url address.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  08/03/22
  • Last Seen:  

OK I tried that and it did nothing. I also downloaded a packet sniffer (winshark) and discovered that it's trying to connect to 112.175.128.138 which I'm pretty sure is the normal kRO address (it's certainly not the server I'm TRYING to connect to) so it's clearly not even getting the address from clientinfo.xml OR sclientinfo.xml

What could be causing this?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1507
  • Reputation:   227
  • Joined:  08/03/12
  • Last Seen:  

your client should read the highest priority of grf.

So make sure your sclientinfo.xml or clientinfo.xml is in your highest priority of grf. Check DATA.ini for the priority list.

I assume your client are reading sclientinfo.xml or clientinfo.xml and not customized to read other files.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  08/03/22
  • Last Seen:  

Still connecting to 112. My DATA.INI now looks like
 

[Data]
1=clientinfo.xml
2=data.grf


I tried putting a copy of clientinfo.xml into the main folder with data.ini, and that didn't work either. I even tried changing the .xml to .grf and putting a copy of THAT in both folders (and changing it in the .ini of course), and it's still connecting to 112 lol (is it ok to put .xml files in the .ini?)

And before anyone asks, when I ran WARP on the exe I did set DATA.INI as the multiple GRFs indicator file.

Edited by Mael
Use a codebox
Link to comment
Share on other sites

  • 0

  • Group:  Forum Moderator
  • Topic Count:  25
  • Topics Per Day:  0.01
  • Content Count:  830
  • Reputation:   316
  • Joined:  02/11/19
  • Last Seen:  

1 hour ago, ValkyrieTiara said:

Still connecting to 112. My DATA.INI now looks like
 

[Data]
1=clientinfo.xml
2=data.grf


I tried putting a copy of clientinfo.xml into the main folder with data.ini, and that didn't work either. I even tried changing the .xml to .grf and putting a copy of THAT in both folders (and changing it in the .ini of course), and it's still connecting to 112 lol (is it ok to put .xml files in the .ini?)

And before anyone asks, when I ran WARP on the exe I did set DATA.INI as the multiple GRFs indicator file.

clientinfo.xml -  It should be inside the grf of your project.

and your project's grf should be at =1, like this:

1=YourCustomGRF.grf
2=data.grf
3=rdata.grf

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  08/03/22
  • Last Seen:  

First: Thank you for fixing my post. I didn't know code boxes were a thing here.

Second: Thank you for the advice, I had to google how to create/compile a .grf but it connects now!

Third: I have a new problem. I connect to 6900 and login successfully, but the client never opens a connection on 5121 or 6121. I don't know if it's a problem with the server (should it redirect the connection?) or the client (some other xml I need to edit?)

Edited by ValkyrieTiara
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1507
  • Reputation:   227
  • Joined:  08/03/12
  • Last Seen:  

5 hours ago, ValkyrieTiara said:

First: Thank you for fixing my post. I didn't know code boxes were a thing here.

Second: Thank you for the advice, I had to google how to create/compile a .grf but it connects now!

Third: I have a new problem. I connect to 6900 and login successfully, but the client never opens a connection on 5121 or 6121. I don't know if it's a problem with the server (should it redirect the connection?) or the client (some other xml I need to edit?)

5121 and 6121 is the connection for char server and map server and this should happens in server side. Make sure the firewall are open for those ports and also char-server and map-server are online in terminal.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  5
  • Reputation:   0
  • Joined:  08/03/22
  • Last Seen:  

Yes the servers are running and the ports are open.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.01
  • Content Count:  24
  • Reputation:   1
  • Joined:  07/15/20
  • Last Seen:  

On 8/29/2022 at 8:24 AM, ValkyrieTiara said:

Yes the servers are running and the ports are open.

If you are using the it could be that your char_athena and map_athena is not connected properly// Character Server IP
 

char_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

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

// Character Server Port
char_port: 6121

map_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

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

// Map Server Port
map_port: 5121

 

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