mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-16 22:58:34 +00:00
Removed debugging
Added player profile data loading safety net checking
This commit is contained in:
+2
-1
@@ -649,6 +649,7 @@ bool Database::SaveCharacterCreate(uint32 character_id, uint32 account_id, Playe
|
||||
pp->RestTimer // " RestTimer) "
|
||||
);
|
||||
auto results = QueryDatabase(query);
|
||||
ThrowDBError(results.ErrorMessage(), "Database::SaveCharacterCreate", query);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -1247,7 +1248,7 @@ bool Database::CheckDatabaseConversions() {
|
||||
|
||||
// Testing account = 11001
|
||||
int char_iter_count = 0;
|
||||
rquery = StringFormat("SELECT `id` FROM `character_` WHERE `account_id` = 11001");
|
||||
rquery = StringFormat("SELECT `id` FROM `character_`");
|
||||
results = QueryDatabase(rquery);
|
||||
|
||||
uint8 firstlogon = 0;
|
||||
|
||||
@@ -801,8 +801,8 @@ struct SuspendedMinion_Struct
|
||||
** OpCode: 0x006a
|
||||
*/
|
||||
static const uint32 MAX_PP_LANGUAGE = 28;
|
||||
static const uint32 MAX_PP_SPELLBOOK = 720; // Set for all functions
|
||||
static const uint32 MAX_PP_MEMSPELL = 12; // Set to latest client so functions can work right
|
||||
static const uint32 MAX_PP_SPELLBOOK = 480; // Set for all functions
|
||||
static const uint32 MAX_PP_MEMSPELL = 9; // Set to latest client so functions can work right
|
||||
static const uint32 MAX_PP_REF_SPELLBOOK = 480; // Set for Player Profile size retain
|
||||
static const uint32 MAX_PP_REF_MEMSPELL = 9; // Set for Player Profile size retain
|
||||
|
||||
|
||||
Reference in New Issue
Block a user