If you change of Client Version you should to let your server know which version you are using and changed and build your server
Trunk/src/config/packets.hpp
#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 20220406
#endif