• 0

How can I find the packet_db_ver ?


Posted (edited)

In the newest rAthena it seems like there's no packet_db_ver file.

I downloaded a client and tested it by creating accounts (xxxxxx_M/F) in login screen.

It worked, because I saw there were those accounts that I made, and also some login info in the three black windows, but in client side it just showed "Failed to Connect to Server".

I guess the key is the packer_db_ver, in order to set the client version.

Need an effective help. Will appreciate to your answer!

Edited by re32767

Share this post

Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

There is no packet_db_ver anymore, to edit the packet version you can find it at src/config/packets.h and make sure you diff it to match your configuration (Packet Obfuscation)

  • Upvote 1

Share this post

Link to post
Share on other sites
  • 0

Thank you very much!

But I still have a question.

Here is the content in packets.h :



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

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

    #define PACKETVER 20151104

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

#if PACKETVER >= 20110817
    /// Comment to disable the official packet obfuscation support.
    /// This requires PACKETVER 2011-08-17 or newer.
        #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
    #if defined(PACKET_OBFUSCATION)
        #error You enabled packet obfuscation for a version which is too old. Minimum supported client is 2011-08-17.



 * No settings past this point

/// Check if the specified packetversion supports the pincode system

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

#endif // _CONFIG_PACKETS_H_


I don't see any line controls the value of version.

It just shows the date of version. Looks different from the clientinfo.xml.

How can I set a version to match the clientinfo.xml?

Edited by re32767

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now