Try setting your langtype to 1 instead of 10 and see if that changes anything
Also put :
enum { // packet DB
MAX_PACKET_DB = 0xf00,
MAX_PACKET_VER = 31,
MAX_PACKET_POS = 20,
};
back to
enum { // packet DB
MAX_PACKET_DB = 0xf00,
MAX_PACKET_VER = 46,
MAX_PACKET_POS = 20,
};
There was no need to change that.