which source/files u use?
Found the problem, for anyone else this happens
ClientManagerPlayer.cpp
Inside -> void CClientManager::__QUERY_PLAYER_DELETE
Comment Out / Delete:
(Don't know until what point it's safe)
Code
- // block for japan
- if (g_stLocale != "sjis")
- {
- if (strlen(r.social_id) < 7 || strncmp(packet->private_code, r.social_id + strlen(r.social_id) - 7, 7))
- {
- sys_log(0, "PLAYER_DELETE FAILED len(%d)", strlen(r.social_id));
- peer->EncodeHeader(HEADER_DG_PLAYER_DELETE_FAILED, dwHandle, 1);
- peer->EncodeBYTE(packet->account_index);
- return;
- }
- CPlayerTableCache * pkPlayerCache = GetPlayerCache(packet->player_id);
- if (pkPlayerCache)
- {
- TPlayerTable * pTab = pkPlayerCache->Get();
- if (pTab->level >= m_iPlayerDeleteLevelLimit)
- {
- sys_log(0, "PLAYER_DELETE FAILED LEVEL %u >= DELETE LIMIT %d", pTab->level, m_iPlayerDeleteLevelLimit);
- peer->EncodeHeader(HEADER_DG_PLAYER_DELETE_FAILED, dwHandle, 1);
- peer->EncodeBYTE(packet->account_index);
- return;
- }
- if (pTab->level < m_iPlayerDeleteLevelLimitLower)
- {
- sys_log(0, "PLAYER_DELETE FAILED LEVEL %u < DELETE LIMIT %d", pTab->level, m_iPlayerDeleteLevelLimitLower);
- peer->EncodeHeader(HEADER_DG_PLAYER_DELETE_FAILED, dwHandle, 1);
- peer->EncodeBYTE(packet->account_index);
- return;
- }
- }
- }