Jump to content
  • 0

[RESOLVED] Rejected from server (3)


Question

Posted (edited)

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

18 answers to this question

Recommended Posts

  • 1
Posted (edited)

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
  • 0
Posted

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.

 

  • 0
Posted

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?

 

  • 0
Posted

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

 

  • 0
Posted

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

  • 0
Posted

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?

  • 0
Posted

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.

  • 0
Posted

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

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...