diff --git a/changelog.txt b/changelog.txt index e1f64f67d..de7f8e1ea 100644 --- a/changelog.txt +++ b/changelog.txt @@ -15,6 +15,7 @@ Uleat: Changed ItemClass to ItemClassTypes Uleat: Converted MATERIAL defines to MaterialUseSlots enumeration - use of scripted 'Bracer' and 'Max' are deprecated Uleat: Changed ItemTypes to ItemUseTypes - retained the 'ItemType' prefix to avoid too much confusion. Also adopted the '1H Piercing' model found in later clients Uleat: Converted SkillType typedef enumeration to SkillUseTypes enumeration - Some prep work for adding the newer skills +Uleat: Prepped the client patch files for larger skill buffer size (not active) == 10/24/2013 == demonstar55: Fix some memory leaks in Mob::SpellOnTarget diff --git a/common/eq_packet_structs.h b/common/eq_packet_structs.h index b51ab7071..0d69c5e4b 100644 --- a/common/eq_packet_structs.h +++ b/common/eq_packet_structs.h @@ -803,6 +803,7 @@ static const uint32 MAX_PP_LANGUAGE = 28; 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 = 75; +//static const uint32 MAX_PP_SKILL = 100; // actual buffer size static const uint32 MAX_PP_AA_ARRAY = 240; static const uint32 MAX_GROUP_MEMBERS = 6; static const uint32 MAX_RECAST_TYPES = 20; @@ -943,6 +944,7 @@ struct PlayerProfile_Struct /*4772*/ uint8 unknown4808[24]; // @bp unknown skills? /*4796*/ uint32 skills[MAX_PP_SKILL]; /*5096*/ uint8 unknown5132[284]; // @bp unknown skills? +///*5196*/ uint8 unknown5132[184]; // @bp unknown skills? /*5380*/ uint32 pvp2; // /*5384*/ uint32 unknown5420; // /*5388*/ uint32 pvptype; // diff --git a/common/patches/Client62_structs.h b/common/patches/Client62_structs.h index c03777610..6dac41dbd 100644 --- a/common/patches/Client62_structs.h +++ b/common/patches/Client62_structs.h @@ -627,6 +627,7 @@ static const uint32 MAX_PP_LANGUAGE = 28; static const uint32 MAX_PP_SPELLBOOK = 400; static const uint32 MAX_PP_MEMSPELL = 9; static const uint32 MAX_PP_SKILL = 75; +//static const uint32 MAX_PP_SKILL = 100; // actual buffer size static const uint32 MAX_PP_AA_ARRAY = 240; static const uint32 MAX_GROUP_MEMBERS = 6; struct PlayerProfile_Struct @@ -725,6 +726,7 @@ struct PlayerProfile_Struct /*4772*/ uint8 unknown3812[24]; // @bp unknown skills? /*4796*/ uint32 skills[MAX_PP_SKILL]; /*5096*/ uint8 unknown5096[284]; // @bp unknown skills? +///*5196*/ uint8 unknown5096[184]; // @bp unknown skills? /*5380*/ uint32 pvp2; // /*5384*/ uint32 unknown4420; // /*5388*/ uint32 pvptype; // diff --git a/common/patches/RoF_structs.h b/common/patches/RoF_structs.h index 194bbdad0..e2ecb0b5b 100644 --- a/common/patches/RoF_structs.h +++ b/common/patches/RoF_structs.h @@ -112,7 +112,7 @@ static const uint32 MAX_NUMBER_GUILDS = 1500; static const uint32 MAX_PP_LANGUAGE = 32; // was 25 static const uint32 MAX_PP_SPELLBOOK = 720; // was 480 static const uint32 MAX_PP_MEMSPELL = 16; // was 12 -static const uint32 MAX_PP_SKILL = 100; // was 75 +static const uint32 MAX_PP_SKILL = 100; // was 75 <- delete this remark once new buffer size active static const uint32 MAX_PP_AA_ARRAY = 300; static const uint32 MAX_PP_DISCIPLINES = 200; // was 100 static const uint32 MAX_GROUP_MEMBERS = 6; diff --git a/common/patches/SoD_structs.h b/common/patches/SoD_structs.h index 2f1dcd990..07072562e 100644 --- a/common/patches/SoD_structs.h +++ b/common/patches/SoD_structs.h @@ -741,6 +741,7 @@ static const uint32 MAX_PP_LANGUAGE = 25; // static const uint32 MAX_PP_SPELLBOOK = 480; // Confirmed 60 pages on Live now static const uint32 MAX_PP_MEMSPELL = 10; //was 9 now 10 on Live static const uint32 MAX_PP_SKILL = 75; +//static const uint32 MAX_PP_SKILL = 100; // actual buffer size static const uint32 MAX_PP_AA_ARRAY = 300; //was 299 static const uint32 MAX_GROUP_MEMBERS = 6; static const uint32 MAX_RECAST_TYPES = 20; @@ -862,6 +863,7 @@ struct PlayerProfile_Struct /*06492*/ uint32 copper_cursor; // Copper Pieces on cursor /*06496*/ uint32 skills[MAX_PP_SKILL]; // [300] List of skills /*06796*/ uint8 unknown04760[236]; +///*06896*/ uint8 unknown04760[136]; /*07032*/ uint32 toxicity; // Potion Toxicity (15=too toxic, each potion adds 3) /*07036*/ uint32 thirst_level; // Drink (ticks till next drink) /*07040*/ uint32 hunger_level; // Food (ticks till next eat) diff --git a/common/patches/SoF_structs.h b/common/patches/SoF_structs.h index 7a778767d..200814d32 100644 --- a/common/patches/SoF_structs.h +++ b/common/patches/SoF_structs.h @@ -719,6 +719,7 @@ static const uint32 MAX_PP_LANGUAGE = 25; // static const uint32 MAX_PP_SPELLBOOK = 480; // Confirmed 60 pages on Live now static const uint32 MAX_PP_MEMSPELL = 10; //was 9 now 10 on Live static const uint32 MAX_PP_SKILL = 75; +//static const uint32 MAX_PP_SKILL = 100; // actual buffer size static const uint32 MAX_PP_AA_ARRAY = 300; //was 299 static const uint32 MAX_GROUP_MEMBERS = 6; static const uint32 MAX_RECAST_TYPES = 20; @@ -839,6 +840,7 @@ struct PlayerProfile_Struct //23576 Octets /*06492*/ uint32 copper_cursor; // Copper Pieces on cursor /*06496*/ uint32 skills[MAX_PP_SKILL]; // [300] List of skills /*06796*/ uint8 unknown04760[236]; +///*06896*/ uint8 unknown04760[136]; /*07032*/ uint32 toxicity; // Potion Toxicity (15=too toxic, each potion adds 3) /*07036*/ uint32 thirst_level; // Drink (ticks till next drink) /*07040*/ uint32 hunger_level; // Food (ticks till next eat) diff --git a/common/patches/Titanium_structs.h b/common/patches/Titanium_structs.h index cdd7fccf8..a84f94683 100644 --- a/common/patches/Titanium_structs.h +++ b/common/patches/Titanium_structs.h @@ -649,6 +649,7 @@ static const uint32 MAX_PP_LANGUAGE = 28; static const uint32 MAX_PP_SPELLBOOK = 400; static const uint32 MAX_PP_MEMSPELL = 9; static const uint32 MAX_PP_SKILL = 75; +//static const uint32 MAX_PP_SKILL = 100; // actual buffer size static const uint32 MAX_PP_AA_ARRAY = 240; static const uint32 MAX_GROUP_MEMBERS = 6; static const uint32 MAX_RECAST_TYPES = 20; @@ -754,6 +755,7 @@ struct PlayerProfile_Struct /*04456*/ uint32 copper_cursor; // Copper Pieces on cursor /*04460*/ uint32 skills[MAX_PP_SKILL]; // List of skills /*04760*/ uint8 unknown04760[236]; +///*04860*/ uint8 unknown04760[136]; /*04996*/ uint32 toxicity; // Potion Toxicity (15=too toxic, each potion adds 3) /*05000*/ uint32 thirst_level; // Drink (ticks till next drink) /*05004*/ uint32 hunger_level; // Food (ticks till next eat) diff --git a/common/patches/Underfoot_structs.h b/common/patches/Underfoot_structs.h index daa4a0533..0bdb2b141 100644 --- a/common/patches/Underfoot_structs.h +++ b/common/patches/Underfoot_structs.h @@ -765,6 +765,7 @@ static const uint32 MAX_PP_LANGUAGE = 25; // static const uint32 MAX_PP_SPELLBOOK = 480; // Confirmed 60 pages on Underfoot now static const uint32 MAX_PP_MEMSPELL = 10; //was 9 now 10 on Underfoot static const uint32 MAX_PP_SKILL = 75; +//static const uint32 MAX_PP_SKILL = 100; // actual buffer size static const uint32 MAX_PP_AA_ARRAY = 300; //was 299 static const uint32 MAX_GROUP_MEMBERS = 6; static const uint32 MAX_RECAST_TYPES = 20; @@ -888,6 +889,7 @@ struct PlayerProfile_Struct /*07340*/ uint32 copper_cursor; // Copper Pieces on cursor /*07344*/ uint32 skills[MAX_PP_SKILL]; // [300] List of skills /*07644*/ uint8 unknown07644[236]; +///*07744*/ uint8 unknown07644[136]; /*07880*/ uint32 toxicity; // Potion Toxicity (15=too toxic, each potion adds 3) /*07884*/ uint32 thirst_level; // Drink (ticks till next drink) /*07888*/ uint32 hunger_level; // Food (ticks till next eat)