Jump to content
  • 0

Failed to connect to server, map server is online.


Amecoeur

Question


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  08/02/20
  • Last Seen:  

Hello, I've been following the pinned Tutorial by Earnestinence and managed to get the map server running. The 2015 client failed to connect to the server, while looking around in the forum trying to find a solution I found the 2020 client guide by Renzadic, I opted to use 2020 client instead, the installation went smoothly with little to no confusion.

Unfortunately I am unable to register new account with the _M/_F method. I have checked the login_athena.conf and make sure the option is enabled. Scouring the forum has led me to check MySQL login table, I'm certain that it is the same with the video tutorial - username for userid, password for user_pass. Client side between Earnestinence's and Renzadic's guide is a little bit different, Renzadic has his clientinfo.xml in the grf instead of in the data folder, seeing that I failed to connect I have make the file available in data folder as well. Renzadic's guide made a separate new grf, I made sure that the grf is listed in DATA.ini called when patching with NEMO, as "3=new.grf".

The difference I noticed while following the both client guide is when I run the patched client, a some sort of launcher appears. MySQL login table appears to recognise my attempts to log in, as the logincount column increases each time I try to log in.

Here is the clientinfo.xml content

<clientinfo>
	<desc>Ragnarok Client Information</desc>
	<servicetype>english</servicetype>
	<servertype>primary</servertype>
	<connection>
		<display>Local</display>
      		<address>127.0.0.1</address>
      		<port>6900</port>
      		<version>55</version>
      		<langtype>1</langtype>
		<registrationweb>www.ragnarok.com</registrationweb>
		<aid>
			<admin>admin</admin>
		</aid>
		<loading>
			<image>loading00.jpg</image>
			<image>loading01.jpg</image>
			<image>loading02.jpg</image>
			<image>loading03.jpg</image>
			<image>loading04.jpg</image>
			<image>loading05.jpg</image>
			<image>loading06.jpg</image>
		</loading>
   	</connection>
</clientinfo>

Here is the runserver.bat status

[Info]: Server uses 'select' as event dispatcher
[Info]: Server supports up to '4096' concurrent connections.
[Info]: Finished reading conf/import/inter_conf.txt.
[Info]: Finished reading conf/inter_athena.conf.
[Info]: Finished reading conf/import/login_conf.txt.
[Info]: Finished reading conf/login_athena.conf.
[Info]: Done reading '23' messages in 'conf/msg_conf/login_msg.conf'.
[Info]: Ipban connection made.
[Status]: The login-server is ready (Server is listening on the port 6900).

[Info]: Connection request of the char-server 'rAthena' @ 127.0.0.1:6121 (account: 'username', ip: '127.0.0.1')
[Notice]: Authentication accepted (account: username, id: 1, ip: 127.0.0.1)
[Status]: Connection of the char-server 'rAthena' accepted.

[Status]: Done checking '22' NPC Markets.
[Status]: Event 'OnInit' executed with '2506' NPCs.
[Status]: Server is 'ready' and listening on port '5121'.

[Status]: Attempting to connect to Char Server. Please wait.
[Status]: Connecting to 127.0.0.1:6121
[Status]: Logging in to char server...
[Status]: Successfully logged on to Char Server (Connection: '2').
[Status]: Sending maps to char server...
[Status]: Event 'OnInterIfInit' executed with '0' NPCs.
[Status]: Event 'OnInterIfInitOnce' executed with '1' NPCs.
[Status]: Requested '44' guild castles from char-server...
[Status]: Map-server connected to char-server 'Server'.
[Status]: Map Server is now online.
[Info]: Received Fame List of '0' characters.
[Status]: Received '44' guild castles from char-server.
[Status]: Received '4' clans from char-server.

Would anyone has a possible solution for this? Thank you in advance.

Edited by Amecoeur
Link to comment
Share on other sites

9 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  08/02/20
  • Last Seen:  

I got it working somehow several minutes ago. I redid the rAthena.sln step, open it with Microsoft Visual Studio, then clean and build it again. I repatched the client I'm using (2020-04-01b) with NEMO, applying only the recommended setting and the zoom out patch.

As I was using the empty new.grf while tinkering for the solution, everything were in gibberish. I switched to the custom grf I made previously, but somehow the items are still gibberish. The topic is solved, for me at least.

Thank you very much for your assistance.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   2
  • Joined:  02/24/21
  • Last Seen:  

It seems that your clientinfo.xml is not being read. Try making a new empty grf with your clientinfo.xml and put it as first in your DATA.ini. Another possibility is that you are using RagexeRE which reads sclientinfo.xml (which is the same as clientinfo.xml) instead of clientinfo.xml.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  08/02/20
  • Last Seen:  

hello, @ashbell thank you for replying.
I tried to switch the grf order with the custom one made in the tutorial and then make a clean one with clientinfo.xml only in the data folder. Switching the order to 1 each attempt. The client simply won't launch. When I revert it back to 1=rdata.grf, 2=data.grf it launches but still yet failed to connect to the server.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  5
  • Topics Per Day:  0.00
  • Content Count:  211
  • Reputation:   17
  • Joined:  12/23/11
  • Last Seen:  

Do you even try use sclientinfo?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   2
  • Joined:  02/24/21
  • Last Seen:  

9 hours ago, Amecoeur said:

hello, @ashbell thank you for replying.
I tried to switch the grf order with the custom one made in the tutorial and then make a clean one with clientinfo.xml only in the data folder. Switching the order to 1 each attempt. The client simply won't launch. When I revert it back to 1=rdata.grf, 2=data.grf it launches but still yet failed to connect to the server.

Did your DATA.ini look like:
0=new.grf

1=rdata.grf

2=data.grf

?

did you try renaming your clientinfo.xml in your new.grf to sclientinfo.xml ?

 

Edited by ashbell
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  08/02/20
  • Last Seen:  

10 hours ago, botka4aet said:

Do you even try use sclientinfo?

Yes, on both the client folder and the grf.

 

@ashbell Yes, it looked like that when it failed to launch. When I rewrite it back to 1=rdata.grf, 2=data.grf it launches without connection. I've tried with 0 as first and 1 as first, both yield the same result. Currently I have both clientinfo.xml and sclientinfo.xml in both the client folder and grf, with exactly the same content.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   2
  • Joined:  02/24/21
  • Last Seen:  

From your last reply it looked like you only changed the positions of rdata.grf and data.grf and still had new.grf on the 3rd position. Just to be completely sure - new.grf has to be at the top position (0 or 1) rdata.grf has to come before data.grf like that it should always work.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   0
  • Joined:  08/02/20
  • Last Seen:  

I have tried the following

[Data]
0=new.grf
1=rdata.grf
2=data.grf

[Data]
0=custom.grf
1=new.grf
2=rdata.grf
3=data.grf

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  7
  • Reputation:   2
  • Joined:  02/24/21
  • Last Seen:  

I am pretty much out of ideas. You are probably hosting this on Windows so maybe try turning off your firewall.

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...