Default all localized behavior to European logic #22

Merged
Exynox merged 20 commits from Tr0n/server:localization/default-gf-eu into nightly 2024-04-09 21:47:23 +03:00
Showing only changes of commit e0701ed5bd - Show all commits

View File

@ -430,6 +430,9 @@ void CInputLogin::CharacterCreate(LPDESC d, const char * data)
// 사용할 수 없는 이름이거나, 잘못된 평상복이면 생설 실패
if (!check_name(pinfo->name) || pinfo->shape > 1)
{
d->Packet(&packFailure, sizeof(packFailure));
return;
}
const TAccountTable & c_rAccountTable = d->GetAccountTable();
@ -442,7 +445,6 @@ void CInputLogin::CharacterCreate(LPDESC d, const char * data)
d->Packet(&pack, sizeof(pack));
return;
}
Tr0n marked this conversation as resolved Outdated

I think there's an issue here, it looks like d->Packet(&packFailure, sizeof(packFailure)); should have remained, including the return statement and everything else. Only after the closing bracket would const TAccountTable & c_rAccountTable = d->GetAccountTable(); follow.

I think there's an issue here, it looks like `d->Packet(&packFailure, sizeof(packFailure));` should have remained, including the return statement and everything else. Only after the closing bracket would `const TAccountTable & c_rAccountTable = d->GetAccountTable();` follow.
Outdated
Review

good catch, thanks. will revert.

good catch, thanks. will revert.
}
memset(&player_create_packet, 0, sizeof(TPlayerCreatePacket));