Jump to content
  • 0

[RESOLVED] Rejected from server (3)


xyrox

Question


  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  06/25/13
  • Last Seen:  

Hello, sorry for my English.

I have a connection problem on my server rathena (Rejectied from server). I have as client the version 2017-06-14bRagexeRE.exe and when I try to connect to me the server login returns

Quote

 

[Status]: Request for connection (passwdenc mode) of xyrox (ip: 192.168.1.32)

[Info]: Closed connection from '192.168.1.32')

Everything is well configured on the server side packets.h and clif_packetdb.h however on the client side I can not find the <version> </ version> to put. Would you have an idea to my problem?

Edited by xyrox
Link to comment
Share on other sites

18 answers to this question

Recommended Posts

  • 1

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

if you want to [disable packet encryption]

you need to comment those lines in your packet.h

from

        #define PACKET_OBFUSCATION

        // Define these inside src/custom/defines_pre.h or src/custom/defines_post.h
        //#define PACKET_OBFUSCATION_KEY1 <key1>
        //#define PACKET_OBFUSCATION_KEY2 <key2>
        //#define PACKET_OBFUSCATION_KEY3 <key3>

        /// Comment this to disable warnings for missing client side encryption
        #define PACKET_OBFUSCATION_WARN

to

        //#define PACKET_OBFUSCATION

        // Define these inside src/custom/defines_pre.h or src/custom/defines_post.h
        //#define PACKET_OBFUSCATION_KEY1 <key1>
        //#define PACKET_OBFUSCATION_KEY2 <key2>
        //#define PACKET_OBFUSCATION_KEY3 <key3>

        /// Comment this to disable warnings for missing client side encryption
        //#define PACKET_OBFUSCATION_WARN

 

do not forget to recompile ! before you start the server

Edited by sader1992
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  27
  • Topics Per Day:  0.01
  • Content Count:  505
  • Reputation:   126
  • Joined:  04/04/16
  • Last Seen:  

Did you enable Packet Obfuscation on your packets.h?

Incase you did, did you define your own packet keys? Did you diff your packet keys on your client?

Because of this update, clientinfo.xml will be ignored. So I guess the the version wouldn't matter.

On 7/16/2017 at 6:34 AM, Aleos said:

The clientinfo.xml client version value will be ignored from now on.

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  06/25/13
  • Last Seen:  

My packets.h :

Quote

// Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#ifndef _CONFIG_PACKETS_H_
#define _CONFIG_PACKETS_H_

/**
 * rAthena configuration file (http://rathena.org)
 * For detailed guidance on these check http://rathena.org/wiki/SRC/config/
 **/

#ifndef PACKETVER
    #define PACKETVER 20170614
#endif

#ifndef PACKETVER_RE
    /// From this point on only kRO RE clients are supported
    #if PACKETVER > 20151104
        #define PACKETVER_RE
    #endif
#endif

#if PACKETVER >= 20110817
    /// Comment to disable the official packet obfuscation support.
    /// This requires PACKETVER 2011-08-17 or newer.
    #ifndef PACKET_OBFUSCATION
        #define PACKET_OBFUSCATION

        // Define these inside src/custom/defines_pre.h or src/custom/defines_post.h
        //#define PACKET_OBFUSCATION_KEY1 <key1>
        //#define PACKET_OBFUSCATION_KEY2 <key2>
        //#define PACKET_OBFUSCATION_KEY3 <key3>

        /// Comment this to disable warnings for missing client side encryption
        #define PACKET_OBFUSCATION_WARN
    #endif
#else
    #if defined(PACKET_OBFUSCATION)
        #error You enabled packet obfuscation for a version which is too old. Minimum supported client is 2011-08-17.
    #endif
#endif

#ifndef DUMP_UNKNOWN_PACKET
    //#define DUMP_UNKNOWN_PACKET
#endif

#ifndef DUMP_INVALID_PACKET
    //#define DUMP_INVALID_PACKET
#endif

/**
 * No settings past this point
 **/

/// Check if the specified packetversion supports the pincode system
#define PACKETVER_SUPPORTS_PINCODE PACKETVER >= 20110309

/// Check if the client needs delete_date as remaining time and not the actual delete_date (actually it was tested for clients since 2013)
#define PACKETVER_CHAR_DELETEDATE (PACKETVER > 20130000 && PACKETVER <= 20141022) || PACKETVER >= 20150513

/// Check if the specified packetvresion supports the cashshop sale system
#define PACKETVER_SUPPORTS_SALES PACKETVER >= 20131223

#endif // _CONFIG_PACKETS_H_
 

I did not understand that part.

Quote

Did you differ your packet keys on your client?

 

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

Rejectied from server (3) = something not right with your packet keys

 

what your client diff ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  06/25/13
  • Last Seen:  

It's patched with nemo

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

what you have selected in nemo ?

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  06/25/13
  • Last Seen:  

Recommended services

Read data folder first

Use ragnarok icon

and i tested disable packet encryption

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  06/25/13
  • Last Seen:  

I have some bug by activating the recommended.

Quote

---------------------------
Patch Error
---------------------------
Read msgstringtable.txt : Failed in Step 1
---------------------------
OK   
---------------------------
 

Quote

---------------------------
Patch Error
---------------------------
Translate Client : Failed in Step 4 - Translate Taekwon Job
---------------------------
OK   
---------------------------
 

Quote

---------------------------
Patch Error
---------------------------
Load Custom lua file instead of iteminfo*.lub : Patch Cancelled - New value is same as old
---------------------------
OK   
---------------------------
 

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  06/25/13
  • Last Seen:  

To compile you must do ./configure before the make clean && make server?

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

when you select

Load Custom lua file instead of iteminfo*.lub 

put there iteminfo.lua

and yse 

./configure && make clean && make server

type this on the terminal to recompile after you edit the server files

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  06/25/13
  • Last Seen:  

I am damned

my clientinfo.xml

Quote

<?xml version="1.0" encoding="euc-kr" ?>
<clientinfo>
    <desc>Ragnarok Client Information</desc>
    <servicetype>korea</servicetype>
    <servertype>sakray</servertype>
    <hideaccountlist />
    <passwordencrypt />
    <passwordencrypt2 />
    <extendedslot />
    <readfolder />
    <connection>
        <display>rOdyssee</display>
        <desc>Ragnarok Online</desc>
        <address>192.168.1.250</address>
        <port>6900</port>
        <version>20</version>
        <langtype>1</langtype>
        <registrationweb>REGISTRATION URL HERE</registrationweb>
        <yellow>
            <admin>2000001</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>

my packet.h

Quote

// Copyright (c) rAthena Dev Teams - Licensed under GNU GPL
// For more information, see LICENCE in the main folder
#ifndef _CONFIG_PACKETS_H_
#define _CONFIG_PACKETS_H_

/**
 * rAthena configuration file (http://rathena.org)
 * For detailed guidance on these check http://rathena.org/wiki/SRC/config/
 **/

#ifndef PACKETVER
    #define PACKETVER 20170614
#endif

#ifndef PACKETVER_RE
    /// From this point on only kRO RE clients are supported
    #if PACKETVER > 20170614
        #define PACKETVER_RE
    #endif
#endif

#if PACKETVER >= 20110817
    /// Comment to disable the official packet obfuscation support.
    /// This requires PACKETVER 2011-08-17 or newer.
    #ifndef PACKET_OBFUSCATION
        //#define PACKET_OBFUSCATION

        // Define these inside src/custom/defines_pre.h or src/custom/defines_post.h
        //#define PACKET_OBFUSCATION_KEY1 <key1>
        //#define PACKET_OBFUSCATION_KEY2 <key2>
        //#define PACKET_OBFUSCATION_KEY3 <key3>

        /// Comment this to disable warnings for missing client side encryption
        #define PACKET_OBFUSCATION_WARN
    #endif
#else
    #if defined(PACKET_OBFUSCATION)
        #error You enabled packet obfuscation for a version which is too old. Minimum supported client is 2011-08-17.
    #endif
#endif

#ifndef DUMP_UNKNOWN_PACKET
    //#define DUMP_UNKNOWN_PACKET
#endif

#ifndef DUMP_INVALID_PACKET
    //#define DUMP_INVALID_PACKET
#endif

/**
 * No settings past this point
 **/

/// Check if the specified packetversion supports the pincode system
#define PACKETVER_SUPPORTS_PINCODE PACKETVER >= 20110309

/// Check if the client needs delete_date as remaining time and not the actual delete_date (actually it was tested for clients since 2013)
#define PACKETVER_CHAR_DELETEDATE (PACKETVER > 20130000 && PACKETVER <= 20141022) || PACKETVER >= 20150513

/// Check if the specified packetvresion supports the cashshop sale system
#define PACKETVER_SUPPORTS_SALES PACKETVER >= 20131223

#endif // _CONFIG_PACKETS_H_
 

Is there anything else to change?

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

comment #define PACKET_OBFUSCATION_WARN in your packet.h

disable packet encryption in nemo

recompile

start the server

try to login

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  06/25/13
  • Last Seen:  

Always the same mistake. I'm sure it's a bogus trick

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

do you still have errors ?

Link to comment
Share on other sites

  • 0

  • Group:  Development Manager
  • Topic Count:  56
  • Topics Per Day:  0.01
  • Content Count:  732
  • Reputation:   525
  • Joined:  12/13/11
  • Last Seen:  

You shouldn't have to touch anything in those files. I would revert all the changes you made in packets.h and go to src/custom/defines_pre.h and add:
 

#define PACKETVER YYYYMMDD

Change the date to what you're using that is supported by rAthena. If you leave packet obfuscation enabled server side (it's on by default) then when you diff your client make sure you do not select the option to disable packet obfuscation.

You should be fine from there.

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  06/25/13
  • Last Seen:  

I found. The problem comes from password in md5 in login.conf. I would like to be able to encrypt the mdp. An idea for this problem?

Link to comment
Share on other sites

  • 0

  • Group:  Content Moderator
  • Topic Count:  55
  • Topics Per Day:  0.02
  • Content Count:  1676
  • Reputation:   702
  • Joined:  12/21/14
  • Last Seen:  

did you edit your server ? after you download it ?

did you check md5 in nemo ?

i guess not then you should not have and of the problem above

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  3
  • Topics Per Day:  0.00
  • Content Count:  17
  • Reputation:   0
  • Joined:  06/25/13
  • Last Seen:  

Hello.
I changed everything on server side and client via nemo but nothing works.
I remain for the moment without MD5.

Thank you very much. Resolved problem

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