Jump to content
  • 0

Client doesn't connect (neither send any packet)


metalman

Question


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  1
  • Reputation:   0
  • Joined:  09/08/15
  • Last Seen:  

EDIT : My client send packets ! But not to the good server ! :x

EDIT2 : Everything works correctly... I found everything here, and I copy/paste the explanations. :)

 

Hello !

 

I installed the server... it seems to run well...

But, the client part isn't working at all :

- I installed my server on a dedicated computer (192.168.1.42)

- I patched the client (2013-08-07aRagexe packet 45)

- I modified the packet version in the server (the logs tell me it is running in version 45)

- I put the clientinfo.xml in a Data folder, and in the GRF... but nothin...

 

Here is the content of the clientinfo.xml :

 

<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
    <desc>Ragnarok Client Information</desc>
    <servicetype>korea</servicetype>
    <servertype>primary</servertype>
    <hideaccountlist />
    <passwordencrypt />
    <passwordencrypt2 />
    <extendedslot />
    <readfolder />
    <connection>
        <display>MyServer</display>
        <desc>Ragnarok Online</desc>
        <balloon>this is a tool tip</balloon>
        <address>192.168.1.42</address>
        <port>6900</port>
        <version>45</version>
        <langtype>0</langtype>
        <registrationweb>REGISTRATION URL HERE</registrationweb>
        <yellow>
            <admin>2000001</admin>
            <admin>2000002</admin>
            <admin>2000003</admin>
        </yellow>
        <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>
            <image>loading07.jpg</image>
            <image>loading08.jpg</image>
            <image>loading09.jpg</image>
            <image>loading10.jpg</image>
        </loading>
    </connection>
</clientinfo>

 

 

When I launch wireshark to watch if the client send anything... I don't catch anything to the port 6900 (only to my 22/ssh port). (I was watching the ip adress, and not the ip port)

 

My client tries to contact another server than the 192.168.1.42

 

Any idead on how to make it work ? :(

 

 

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

 

Well... I found a similar topic helping me :

https://rathena.org/board/topic/102680-stuck-on-how-to-connect-to-my-own-server/

 

I used it to build a nice client.

 

The client works perfeclty... except it doesn't send any packet (or it seems on wireshark)...

My server doesn't show any log about a connection... it is waiting on :

 

[info]: Loaded guild castle (33 - guild 0)
[status]: Map-server connected to char-server 'Server'.
[status]: Map Server is now online.
[info]: Received Fame List of '0' characters.
[status]: Received '34' guild castles from char-server.

 

Well... if I click on "request" in the client, there is a crash... :(

 

 

 

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

 

I tried again with wireshark by filtering the distant port 6900...

I found that my client is trying to contact 112.175.128.137 instead of 192.168.1.42....

But clientinfo.xml is still here...

 

 

 

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

 

Well.... the clientinfo was not good.

Here is the new one which works correctly :

 

 

<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
    <desc>Ragnarok Client Information</desc>
    <servicetype>korea</servicetype>
    <servertype>primary</servertype>
    <connection>
        <display>My Ragnarok Online</display>
        <address>192.168.1.42</address>
        <port>6900</port>
        <version>45</version>
        <langtype>0</langtype>
        <registrationweb>www.ragnarok.com</registrationweb>
        <loading>
            <image>loading00.jpg</image>
            <image>loading01.jpg</image>
            <image>loading02.jpg</image>
            <image>loading03.jpg</image>
            <image>loading04.jpg</image>
        </loading>
    </connection>
</clientinfo>

 

 

I was able to create a character, but when I want to play, there is an error.

I can see : "Rejected from server.(3)" on the client.

 

And on the server :

 

[status]: Request for connection of metalman (ip: 192.168.1.57) version=45
[Notice]: Authentication accepted (account: metalman, id: 10, ip: 192.168.1.57)
[Warning]: Account metalman has account id 10! Account IDs must be over 2000000 to work properly!
[status]: Connection of the account 'metalman' accepted.
[info]: Closed connection from '192.168.1.57'.
[info]: request connect - account_id:10/login_id1:2071968265/login_id2:1397095733
[info]: sd->version = 45
[info]: Loading Char Data (10)
[info]: Loading Char Data (10)
[info]: Char load request (150000)
[info]: storage load complete from DB - id: 10 (total: 0)
[info]: Loaded char (150000 - Lord Metal):  status memo inventory cart storage 0 skills friends hotkeys mercenary
[info]: Selected char: (Account 10: 0 - Lord Metal)
[info]: Subnet check [192.168.1.57]: Matches 192.168.1.0/255.255.255.0
[info]: clif_parse: Disconnecting session #8 with unknown packet version (p:0x7f57,l:19).
[info]: Closed connection from '192.168.1.57'.
 

 

Well... I'll have to dig for the packet version... but that's strange, I was sure to have a version 45...

 

 

 

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

 

...it's not finished : it was the packet obfuscation

Here the explanation : https://rathena.org/board/topic/101092-packet-obfuscation-support/

 

All I had to do was to let the encryption of packets in the Diff.

 

I began to play, and when I was sent to prontera : loading screen... 51%... and crash of the client.

 

 

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

 

Finally it's working !

The prontera error comes from the fact that the "old" prontera of my time is gone....

Here is the explanation :

https://rathena.org/board/topic/102140-prontera-error/

 

You have to download the new grf file, and merge it with your.

And Prontera will work !

 

 

Well : I can play, now ! :)

Everything work.

Edited by metalman
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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