mhielo12 Posted October 18, 2021 Posted October 18, 2021 Received unsupported packet (packet 0x0b1c, 2 bytes received), disconnecting session #8 Im using a 2019 git version with 20200401 Client executable. I got this error: Received unsupported packet (packet 0x0b1c, 2 bytes received), disconnecting session #8 Npc's not showing up and after dc i got the warning message. Can someone help me? Quote
0 mhielo12 Posted October 18, 2021 Author Posted October 18, 2021 this was missing on my rathena version #if PACKETVER_MAIN_NUM >= 20190227 || PACKETVER_RE_NUM >= 20190220 || PACKETVER_ZERO_NUM >= 20190220 parseable_packet( 0x0B1C, sizeof( struct PACKET_CZ_PING ), clif_parse_dull, 0 ); #endif how can i update my git version to enable this packets Quote
0 hellowin Posted January 5, 2022 Posted January 5, 2022 On 10/19/2021 at 5:09 AM, mhielo12 said: this was missing on my rathena version #if PACKETVER_MAIN_NUM >= 20190227 || PACKETVER_RE_NUM >= 20190220 || PACKETVER_ZERO_NUM >= 20190220 parseable_packet( 0x0B1C, sizeof( struct PACKET_CZ_PING ), clif_parse_dull, 0 ); #endif how can i update my git version to enable this packets Where do you know or how do you debug that you missing those line? I also got that and I'm still don't understand how to properly debug this kind of errors in my server. I'm using client 2020-09-02 version. Quote
0 mhielo12 Posted January 5, 2022 Author Posted January 5, 2022 4 hours ago, hellowin said: Where do you know or how do you debug that you missing those line? I also got that and I'm still don't understand how to properly debug this kind of errors in my server. I'm using client 2020-09-02 version. check your ../src/map/clif_packetdb.hpp if you have the that line. 1 Quote
0 Rynbef Posted January 6, 2022 Posted January 6, 2022 (edited) @mhielo12 @hellowin On file /src/map/clif_packetdb.hpp After: #if PACKETVER_MAIN_NUM >= 20181031 || PACKETVER_RE_NUM >= 20181031 || PACKETVER_ZERO_NUM >= 20181114 parseable_packet( 0x0B14, sizeof( struct PACKET_CZ_INVENTORY_EXPAND ), clif_parse_dull, 0 ); parseable_packet( 0x0B16, sizeof( struct PACKET_CZ_INVENTORY_EXPAND_CONFIRMED ), clif_parse_dull, 0 ); parseable_packet( 0x0B19, sizeof( struct PACKET_CZ_INVENTORY_EXPAND_REJECTED ), clif_parse_dull, 0 ); #endif Add: #if PACKETVER_MAIN_NUM >= 20190227 || PACKETVER_RE_NUM >= 20190220 || PACKETVER_ZERO_NUM >= 20190220 parseable_packet( 0x0B1C, sizeof( struct PACKET_CZ_PING ), clif_parse_dull, 0 ) #endif If on file src/map/clif.cpp doest exists add following or if exists replace them maybe with following: void clif_ping( struct map_session_data* sd ){ #if PACKETVER_MAIN_NUM >= 20190213 || PACKETVER_RE_NUM >= 20190213 || PACKETVER_ZERO_NUM >= 20190130 nullpo_retv( sd ); int fd = sd->fd; if( !session_isActive( fd ) ){ return; } struct PACKET_ZC_PING p; p.packetType = HEADER_ZC_PING; clif_send( &p, sizeof( p ), &sd->bl, SELF ); #endif } After: void clif_parse_StopUseSkillToId (...) {... NOTE I recommend to use everytime the newest rAthena version. There are many ways to disable or change things! Rynbef~ Edited January 6, 2022 by Rynbef Change formatting for better clarity 1 Quote
0 Rynbef Posted January 6, 2022 Posted January 6, 2022 @hellowinDoes it solved the problem? Rynbef~ Quote
0 Sammo Posted January 10, 2022 Posted January 10, 2022 I got the same error, however I have everything in the files located in the src/map directory. I also tried to replace it. Using pre renewal setup with that same client as the user above. I do have set version in clientinfo to 55. with the latest eathena setup. Its a fresh install. Quote
0 Rynbef Posted January 10, 2022 Posted January 10, 2022 (edited) @Sammosince 2017 and the overhaul of the packet database the client version of ur clientinfo.xml will be ignored by rAthena. Are u sure u have defined the packet version correctly /src/config/packets.hpp? Better edit on file src\custom\defines_pre.hpp Or use ./configure --enable-packetver=YYYYMMDD on linux and recompile "make server" And after recompiled the server? Rynbef~ Edited January 10, 2022 by Rynbef Quote
0 Sammo Posted January 10, 2022 Posted January 10, 2022 I did ./configure --enable-epoll=yes --enable-prere=yes --enable-vip=no --enable-packetver=20200401 then recompiled. getting the same error. I am able to move around in game but randomly disconnects me with that same error in server console. Quote
0 Rynbef Posted January 11, 2022 Posted January 11, 2022 (edited) @Sammo at file /src/config/packets.hpp after those lines: #ifndef PACKETVER /// Do NOT edit this line! To set your client version, please do this instead: /// In Windows: Add this line in your src\custom\defines_pre.hpp file: #define PACKETVER YYYYMMDD /// In Linux: The same as above or run the following command: ./configure --enable-packetver=YYYYMMDD #define PACKETVER 20211103 #endif Add this if missing: #ifndef PACKETVER_RE /// From November 2015 only RagexeRE are supported. /// After July 2018 only Ragexe are supported. #if ( PACKETVER > 20151104 && PACKETVER < 20180704 ) || PACKETVER >= 20200902 #define PACKETVER_RE #endif #endif Rynbef~ Edited January 11, 2022 by sader1992 code box Quote
Question
mhielo12
Received unsupported packet (packet 0x0b1c, 2 bytes received), disconnecting session #8
Im using a 2019 git version with 20200401 Client executable.
I got this error: Received unsupported packet (packet 0x0b1c, 2 bytes received), disconnecting session #8
Npc's not showing up and after dc i got the warning message.
Can someone help me?
11 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.