Receiving unsupported packet type for 20141022

Jguy

Retired Staff
Messages
292
Points
0
Age
38
IRC Nickname
Jguy
Github
jguy1987
Emulator
Not sure what I'm doing wrong. Trying to get a test server setup.

Using 20141022b with ONLY the recommended patches applied via NEMO (Secret's fork) and a basic no frills Translation data folder.

mmo.h:

#ifndef PACKETVER
#define PACKETVER 20141022
#endif // PACKETVER


client.conf:

// Whether to enable the official packet obfuscation support (good vs WPE)
// 0: disabled
// 1: optional (not recommended) -- identifies whether it is required
// 2: enabled (recommended)
packet_obfuscation: 2




Go to login, select my character server and I get a "Disconnected from server" with:

[Status]: Request for connection of jguy (ip: 10.10.0.1).
[Notice]: Authentication accepted (account: jguy, id: 2000000, ip: 10.10.0.1)
[Status]: Connection of the account 'jguy' accepted.
[Warning]: lclif_parse: Received unsupported packet (packet 0x0065, 17 bytes received), disconnecting session #9.


Any help would be appreciated.

Thanks!

 
it show unknown packet for login server, but 0x65 related to char server.

You did make clean after packet version changes and before building server?

 
Just tried - still same result.

Note: 20141022 is what comes by default in Hercules.

 
Last edited by a moderator:
I checked 20141022, look like client can be disconnected by timeout if wait a bit in server selection window.

But if select server at time, works fine. I only tested in some old data, and it not show some messages. Show many "NO MSG".

Also i used Nemo from original repository.

 
I can cycle through the server select quickly, wait a few seconds, doesn't matter. 

I tried to change the packet keys and recompiled, still no luck.

 
Also try download client 2014-10-22 from this topic:






 
Still no luck there. Downloaded, patched with the original NEMO, still same unsupported packet version.

 
what hercules revision you using?

also can you show login, char, map console after you connected with unknown packet

 
Revision 3c606f69

Console output:

login:

[Status]: Connection of the char-server 'Myst' accepted.
[Status]: Request for connection of jmanfffreak (ip: 10.10.0.1).
[Notice]: Authentication accepted (account: jmanfffreak, id: 2000000, ip: 10.10.0.1)
[Status]: Connection of the account 'jmanfffreak' accepted.
[Warning]: lclif_parse: Received unsupported packet (packet 0x0065, 17 bytes received), disconnecting session #9.
[Info]: Closed connection from '10.10.0.1'.


char:

[Status]: Map-Server 0 connected: 875 maps, from IP 127.0.0.1 port 10802.
[Status]: Map-server 0 loading complete.


map:

Code:
[Status]: Attempting to connect to Char Server. Please wait.
[Status]: Connecting to 127.0.0.1:10801
[Status]: Logging in to char server...
[Status]: Successfully logged on to Char Server (Connection: '6').
[Status]: Sending maps to char server...
[Status]: Event 'OnInterIfInit' executed with '0' NPCs.
[Status]: Event 'OnInterIfInitOnce' executed with '0' NPCs.
[Status]: Requested '34' guild castles from char-server...
[Status]: Map Server is now online.
[Info]: Received Fame List of '0' characters.
[Status]: Received '34' guild castles from char-server.
 
Btw i also tested with pincode disabled

 
[Fatal Error]: HPM:plugin_load: failed to retrieve 'plugin_info' for 'plugins/packetlogger.so'!
Put the packetlogger.c into /src/plugins
added "packetlogger" to /conf/plugins.conf
./configure && make clean && make all
run ./login-server and get that.
 

 
make plugin.packetlogger

 
Still no good

Code:
./configure
make sql
make plugin.packetlogger
        MAKE    mt19937ar
make[1]: Entering directory '/home/ragnarok/myst/3rdparty/mt19937ar'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/ragnarok/myst/3rdparty/mt19937ar'
        MAKE    libconfig
make[1]: Entering directory '/home/ragnarok/myst/3rdparty/libconfig'
make[1]: Nothing to be done for 'all'.
make[1]: Leaving directory '/home/ragnarok/myst/3rdparty/libconfig'
        MAKE    common_sql
make[1]: Entering directory '/home/ragnarok/myst/src/common'
make[1]: Nothing to be done for 'sql'.
make[1]: Leaving directory '/home/ragnarok/myst/src/common'
        MAKE    plugin.packetlogger
make[1]: Entering directory '/home/ragnarok/myst/src/plugins'
        PLUGIN  packetlogger
make[1]: Leaving directory '/home/ragnarok/myst/src/plugins'

./login-server
[Info]: Hercules 64-bit for Linux
[Info]: SVN revision (src): '27M'
[Info]: SVN revision (scripts): 'Unknown'
[Info]: OS version: 'Ubuntu 16.04.3 LTS [x86_64]'
[Info]: CPU: 'Common KVM processor [1]'
[Info]: Compiled with GCC v5.4.0
[Info]: Compile Flags: -g -O2 -pipe -ffast-math -Wall -Wextra -Wno-sign-compare -std=c99 -Wno-unused-parameter -Wno-clobbered -Wempty-body -Wint-conversion -Winit-self -Wpointer-arith -Wswitch-bool -Wformat-security -Wformat -Wformat-signedness -Wformat-y2k -Wsuggest-attribute=noreturn -Wundef -Wnested-externs -Wold-style-definition -Woverlength-strings -Wredundant-decls -Wcast-qual -Wno-format-nonliteral -Wno-switch -Wno-missing-field-initializers -Wno-suggest-attribute=format -Wshadow -fno-strict-aliasing -g -fno-omit-frame-pointer -DHAVE_EXECINFO -DMAXCONN=16384 -I../common -DHAS_TLS -DHAVE_SETRLIMIT -DHAVE_STRNLEN -DDEBUG -DHAVE_MONOTONIC_CLOCK
[Info]: Timer Function Type: monotonic clock
[Info]: Server uses 'select' as event dispatcher
[Info]: Server supports up to '1024' concurrent connections.
[Fatal Error]: HPM:plugin_load: failed to retrieve 'plugin_info' for 'plugins/packetlogger.so'!
 
Log files attached. Can change information later.

[Status]: Attempting to connect to Char Server. Please wait.
[Status]: Connecting to 127.0.0.1:10801
[Status]: Logging in to char server...
[Status]: Successfully logged on to Char Server (Connection: '6').
[Status]: Sending maps to char server...
[Status]: Event 'OnInterIfInit' executed with '0' NPCs.
[Status]: Event 'OnInterIfInitOnce' executed with '0' NPCs.
[Status]: Requested '34' guild castles from char-server...
[Status]: Map-Server 0 connected: 872 maps, from IP <IP ADDRESS> port 10802.
[Status]: Map-server 0 loading complete.
[Info]: Loaded guild castle (0 - guild 0)
[Info]: Loaded guild castle (1 - guild 0)
[Info]: Loaded guild castle (2 - guild 0)
[Info]: Loaded guild castle (3 - guild 0)
[Info]: Loaded guild castle (4 - guild 0)
[Info]: Loaded guild castle (5 - guild 0)
[Info]: Loaded guild castle (6 - guild 0)
[Info]: Loaded guild castle (7 - guild 0)
[Info]: Loaded guild castle (8 - guild 0)
[Info]: Loaded guild castle (9 - guild 0)
[Info]: Loaded guild castle (10 - guild 0)
[Info]: Loaded guild castle (11 - guild 0)
[Info]: Loaded guild castle (12 - guild 0)
[Info]: Loaded guild castle (13 - guild 0)
[Info]: Loaded guild castle (14 - guild 0)
[Info]: Loaded guild castle (15 - guild 0)
[Info]: Loaded guild castle (16 - guild 0)
[Info]: Loaded guild castle (17 - guild 0)
[Info]: Loaded guild castle (18 - guild 0)
[Info]: Loaded guild castle (19 - guild 0)
[Info]: Loaded guild castle (20 - guild 0)
[Info]: Loaded guild castle (21 - guild 0)
[Info]: Loaded guild castle (22 - guild 0)
[Info]: Loaded guild castle (23 - guild 0)
[Info]: Loaded guild castle (24 - guild 0)
[Info]: Loaded guild castle (25 - guild 0)
[Info]: Loaded guild castle (26 - guild 0)
[Info]: Loaded guild castle (27 - guild 0)
[Info]: Loaded guild castle (28 - guild 0)
[Info]: Loaded guild castle (29 - guild 0)
[Info]: Loaded guild castle (30 - guild 0)
[Info]: Loaded guild castle (31 - guild 0)
[Info]: Loaded guild castle (32 - guild 0)
[Info]: Loaded guild castle (33 - guild 0)
[Status]: Map Server is now online.
[Info]: Received Fame List of '0' characters.
[Status]: Received '34' guild castles from char-server.
[Status]: Request for connection of jmanfffreak (ip: 10.10.0.1).
[Notice]: Authentication accepted (account: jmanfffreak, id: 2000000, ip: 10.10.0.1)
[Status]: Connection of the account 'jmanfffreak' accepted.
[Warning]: lclif_parse: Received unsupported packet (packet 0x0065, 17 bytes received), disconnecting session #9.
[Info]: Closed connection from '10.10.0.1'.
[Info]: Session #8 timed out
[Info]: Closed connection from '10.10.0.1'.
 


View attachment packet logs.zip

 
Last edited by a moderator:
Found the issue. Apparently my NAT rules were reflecting my char and map ports back to the login port. Would connect to server and my firewall was trying to send the packet back to the login server.

 
Back
Top