Index: queries.py =================================================================== --- queries.py (revision 244) +++ queries.py (working copy) @@ -115,7 +115,7 @@ #------------------------------------------------------- def parse_CMSG_ITEM_QUERY_SINGLE(_stream): f01_item_id = _stream.getI() - f02_guid = hexQ(_stream.getQ()) +## f02_guid = hexQ(_stream.getQ()) #not in 2.3.0 return dict(sys._getframe().f_locals) def parse_SMSG_ITEM_QUERY_SINGLE_RESPONSE(_stream): @@ -198,15 +198,15 @@ f60__descr = "Color, Unk" for _i in range(3): f60_Socket.append((_stream.getI(), _stream.getI())) - f61_BonusSpellItemEnch = _stream.getI() - f62_GemProperties = _stream.getI() - f63_ExtendedCost = _stream.getI() +# f61_BonusSpellItemEnch = _stream.getI() +# f62_GemProperties = _stream.getI() + f63_ExtendedCost = _stream.geti() f64_RequiredArenaRank = _stream.geti() f65_RequiredDisenchantSkill = _stream.geti() f66_armorDamageModifier = _stream.getF() - _item_sql = Item_templateSQL(f01_item_id) - _item_sql.add(_class, f03_subclass_, f04_unk1I, f05_name1.replace("'", "\\'"), f09_DisplayInfoID, f10_Quality, f11_Flags, f12_BuyPrice, f13_SellPrice, f14_InventoryType, f15_AllowableClass, f16_AllowableRace, f17_ItemLevel, f18_RequiredLevel, f19_RequiredSkill, f20_RequiredSkillRank, f21_RequiredSpell, f22_RequiredHonorRank, f23_RequiredCityRank, f24_RequiredReputationFaction, f25_RequiredReputationRank, f26_MaxCount, f27_Stackable, f28_ContainerSlots, f29__ItemStat, f30_Damage, f31_Armor, f32_HolyRes, f33_FireRes, f34_NatureRes, f35_FrostRes, f36_ShadowRes, f37_ArcaneRes, f38_Delay, f39_Ammo_type, f40_RangedModRange, f41_SpellEntry, f42_Bonding, f43_Description.replace("'", "\\'"), f44_PageText, f45_LanguageID, f46_PageMaterial, f47_StartQuest, f48_LockID, f49_Material, f50_Sheath, f51_Extra, f52_unk2, f53_Block, f54_ItemSet, f55_MaxDurability, f56_Area, f57_Map, f58_BagFamily, f59_TotemCategory, f60_Socket, f61_BonusSpellItemEnch, f62_GemProperties, f63_ExtendedCost, f64_RequiredArenaRank, f65_RequiredDisenchantSkill, f66_armorDamageModifier) - _item_sql.close() + #_item_sql = Item_templateSQL(f01_item_id) + #_item_sql.add(_class, f03_subclass_, f04_unk1I, f05_name1.replace("'", "\\'"), f09_DisplayInfoID, f10_Quality, f11_Flags, f12_BuyPrice, f13_SellPrice, f14_InventoryType, f15_AllowableClass, f16_AllowableRace, f17_ItemLevel, f18_RequiredLevel, f19_RequiredSkill, f20_RequiredSkillRank, f21_RequiredSpell, f22_RequiredHonorRank, f23_RequiredCityRank, f24_RequiredReputationFaction, f25_RequiredReputationRank, f26_MaxCount, f27_Stackable, f28_ContainerSlots, f29__ItemStat, f30_Damage, f31_Armor, f32_HolyRes, f33_FireRes, f34_NatureRes, f35_FrostRes, f36_ShadowRes, f37_ArcaneRes, f38_Delay, f39_Ammo_type, f40_RangedModRange, f41_SpellEntry, f42_Bonding, f43_Description.replace("'", "\\'"), f44_PageText, f45_LanguageID, f46_PageMaterial, f47_StartQuest, f48_LockID, f49_Material, f50_Sheath, f51_Extra, f52_unk2, f53_Block, f54_ItemSet, f55_MaxDurability, f56_Area, f57_Map, f58_BagFamily, f59_TotemCategory, f60_Socket, f61_BonusSpellItemEnch, f62_GemProperties, f63_ExtendedCost, f64_RequiredArenaRank, f65_RequiredDisenchantSkill, f66_armorDamageModifier) + #_item_sql.close() return dict(sys._getframe().f_locals) def parse_SMSG_PAGE_TEXT_QUERY_RESPONSE(_stream): Index: quests.py =================================================================== --- quests.py (revision 244) +++ quests.py (working copy) @@ -113,7 +113,7 @@ _q = _stream.getQ() f01__npcGUID = hexQ(_q) f01_ncpEntry = ENTRY(_q) - f02_questStatus = DIALOG_STATUS(_stream.getI()) + f02_questStatus = DIALOG_STATUS(_stream.getB()) return dict(sys._getframe().f_locals) Index: spells.py =================================================================== --- spells.py (revision 244) +++ spells.py (working copy) @@ -117,6 +117,7 @@ f03_spell = _stream.getI() _castFlags = _stream.getH() f05_castFlags = CAST_FLAG(_castFlags) + f06__unk_240 = _stream.getI() f06_hitCount = _stream.getB() f07_target = {} @@ -136,7 +137,7 @@ _targets["f08_04_unk"] = _stream.getB() f08_misstarget["misstarget%02d" % _i] = _misstargets - _targets_mask = _stream.getH() + _targets_mask = _stream.getI() f09_targets_mask = TARGET_FLAG(_targets_mask) if _targets_mask & 0x8000 or _targets_mask & TARGET_FLAG_OBJECT or _targets_mask & TARGET_FLAG_UNIT: @@ -171,7 +172,7 @@ _castFlags = _stream.getH() f04_castFlags = CAST_FLAG(_castFlags) f05_timer = _stream.getI() - _targets_mask = _stream.getH() + _targets_mask = _stream.getI() f06_targets_mask = TARGET_FLAG(_targets_mask) if _targets_mask & TARGET_FLAG_ITEM: @@ -267,20 +268,20 @@ f03_Spell = _stream.getI() f04_UnkI = _stream.getI() f05_auraid = SPELL_AURA(_stream.getI()) - if f05_auraid in (SPELL_AURA_PERIODIC_DAMAGE,SPELL_AURA_PERIODIC_DAMAGE_PERCENT): + if f05_auraid == 3 or f05_auraid == 89: f06_UnkI = _stream.getI() f07_UnkI = _stream.getI() f08_UnkI = _stream.getI() f09_UnkI = _stream.getI() - if f05_auraid in (SPELL_AURA_PERIODIC_HEAL,SPELL_AURA_MOD_DAMAGE_TAKEN): + if f05_auraid == 8 or f05_auraid == 20: f06_UnkI = _stream.getI() - if f05_auraid in (SPELL_AURA_DAMAGE_SHIELD,SPELL_AURA_MOD_INVISIBILITY): + if f05_auraid == 21 or f05_auraid == 24: f06_UnkI = _stream.getI() f07_UnkI = _stream.getI() - if f05_auraid == SPELL_AURA_PERIODIC_MANA_LEECH: + if f05_auraid == 64: f06_UnkI = _stream.getI() f07_UnkI = _stream.getI() f08_UnkF = _stream.getF()