pp revert

This commit is contained in:
Akkadius
2014-08-31 21:58:04 -05:00
parent 6497bdf45a
commit e0a99730e5
7 changed files with 11 additions and 71 deletions
+1 -1
View File
@@ -1130,7 +1130,7 @@ bool Database::CheckDatabaseConversions() {
/* Verify PP Integrity */
lengths = mysql_fetch_lengths(result2);
if (lengths[1] > 0) {
if (lengths[1] == sizeof(PlayerProfile_Struct)) {
memcpy(pp, row2[1], sizeof(PlayerProfile_Struct));
// printf("FINE: Player profile '%s' %i length Expected: %i, Got: %i \n", row2[2], atoi(row2[3]), sizeof(PlayerProfile_Struct), lengths[1]);
}
+2 -2
View File
@@ -801,8 +801,8 @@ struct SuspendedMinion_Struct
** OpCode: 0x006a
*/
static const uint32 MAX_PP_LANGUAGE = 28;
static const uint32 MAX_PP_SPELLBOOK = 720; // Increased to 480 to support SoF
static const uint32 MAX_PP_MEMSPELL = 12;
static const uint32 MAX_PP_SPELLBOOK = 480; // Increased to 480 to support SoF
static const uint32 MAX_PP_MEMSPELL = 9;
static const uint32 MAX_PP_SKILL = _SkillPacketArraySize; // 100 - actual skills buffer size
static const uint32 MAX_PP_AA_ARRAY = 240;
static const uint32 MAX_GROUP_MEMBERS = 6;