Jump to content

Lutik

Members
  • Posts

    7
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by Lutik

  1. Clean MaNGOS rev.9582 (the problem appeared earlier though), Microsoft Visual C++ 2010. Seems like it doesn't like recent changes connected with ObjectGuid =) 4>game.lib(MiscHandler.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator<<(class ByteBuffer &,class PackedGuid const &)" (??6@YAAAVByteBuffer@@AAV0@ABVPackedGuid@@@Z) 4>game.lib(QueryHandler.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator<<(class ByteBuffer &,class PackedGuid const &)" (??6@YAAAVByteBuffer@@AAV0@ABVPackedGuid@@@Z) 4>game.lib(CombatHandler.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator<<(class ByteBuffer &,class PackedGuid const &)" (??6@YAAAVByteBuffer@@AAV0@ABVPackedGuid@@@Z) 4>game.lib(Level3.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator<<(class ByteBuffer &,class PackedGuid const &)" (??6@YAAAVByteBuffer@@AAV0@ABVPackedGuid@@@Z) 4>game.lib(Level1.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator<<(class ByteBuffer &,class PackedGuid const &)" (??6@YAAAVByteBuffer@@AAV0@ABVPackedGuid@@@Z) 4>game.lib(debugcmds.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator<<(class ByteBuffer &,class PackedGuid const &)" (??6@YAAAVByteBuffer@@AAV0@ABVPackedGuid@@@Z) 4>game.lib(SpellEffects.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator<<(class ByteBuffer &,class PackedGuid const &)" (??6@YAAAVByteBuffer@@AAV0@ABVPackedGuid@@@Z) 4>game.lib(AchievementMgr.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator<<(class ByteBuffer &,class PackedGuid const &)" (??6@YAAAVByteBuffer@@AAV0@ABVPackedGuid@@@Z) 4>game.lib(UpdateData.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator<<(class ByteBuffer &,class PackedGuid const &)" (??6@YAAAVByteBuffer@@AAV0@ABVPackedGuid@@@Z) 4>game.lib(Spell.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator<<(class ByteBuffer &,class PackedGuid const &)" (??6@YAAAVByteBuffer@@AAV0@ABVPackedGuid@@@Z) 4>game.lib(GroupHandler.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator<<(class ByteBuffer &,class PackedGuid const &)" (??6@YAAAVByteBuffer@@AAV0@ABVPackedGuid@@@Z) 4>game.lib(Object.obj) : error LNK2019: unresolved external symbol "class ByteBuffer & __cdecl operator<<(class ByteBuffer &,class PackedGuid const &)" (??6@YAAAVByteBuffer@@AAV0@ABVPackedGuid@@@Z) referenced in function "protected: void __thiscall Object::BuildMovementUpdate(class ByteBuffer *,unsigned short)const " (?BuildMovementUpdate@Object@@IBEXPAVByteBuffer@@G@Z) 4>game.lib(Unit.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator<<(class ByteBuffer &,class PackedGuid const &)" (??6@YAAAVByteBuffer@@AAV0@ABVPackedGuid@@@Z) 4>game.lib(Player.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator<<(class ByteBuffer &,class PackedGuid const &)" (??6@YAAAVByteBuffer@@AAV0@ABVPackedGuid@@@Z) 4>game.lib(SpellAuras.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator<<(class ByteBuffer &,class PackedGuid const &)" (??6@YAAAVByteBuffer@@AAV0@ABVPackedGuid@@@Z) 4>game.lib(MiscHandler.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator>>(class ByteBuffer &,struct PackedGuidReader const &)" (??5@YAAAVByteBuffer@@AAV0@ABUPackedGuidReader@@@Z) 4>game.lib(SpellHandler.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator>>(class ByteBuffer &,struct PackedGuidReader const &)" (??5@YAAAVByteBuffer@@AAV0@ABUPackedGuidReader@@@Z) 4>game.lib(CharacterHandler.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator>>(class ByteBuffer &,struct PackedGuidReader const &)" (??5@YAAAVByteBuffer@@AAV0@ABUPackedGuidReader@@@Z) 4>game.lib(Unit.obj) : error LNK2019: unresolved external symbol "class ByteBuffer & __cdecl operator>>(class ByteBuffer &,struct PackedGuidReader const &)" (??5@YAAAVByteBuffer@@AAV0@ABUPackedGuidReader@@@Z) referenced in function "public: void __thiscall MovementInfo::Read(class ByteBuffer &)" (?Read@MovementInfo@@QAEXAAVByteBuffer@@@Z) 4>game.lib(Spell.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator>>(class ByteBuffer &,struct PackedGuidReader const &)" (??5@YAAAVByteBuffer@@AAV0@ABUPackedGuidReader@@@Z) 4>game.lib(TaxiHandler.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator>>(class ByteBuffer &,struct PackedGuidReader const &)" (??5@YAAAVByteBuffer@@AAV0@ABUPackedGuidReader@@@Z) 4>game.lib(MovementHandler.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator>>(class ByteBuffer &,struct PackedGuidReader const &)" (??5@YAAAVByteBuffer@@AAV0@ABUPackedGuidReader@@@Z) 4>game.lib(Group.obj) : error LNK2019: unresolved external symbol "class ByteBuffer & __cdecl operator<<(class ByteBuffer &,class ObjectGuid const &)" (??6@YAAAVByteBuffer@@AAV0@ABVObjectGuid@@@Z) referenced in function "public: void __thiscall Group::SendLootStartRoll(unsigned int,class Roll const &)" (?SendLootStartRoll@Group@@QAEXIABVRoll@@@Z) 4>game.lib(Player.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator<<(class ByteBuffer &,class ObjectGuid const &)" (??6@YAAAVByteBuffer@@AAV0@ABVObjectGuid@@@Z) 4>game.lib(Guild.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator<<(class ByteBuffer &,class ObjectGuid const &)" (??6@YAAAVByteBuffer@@AAV0@ABVObjectGuid@@@Z) 4>game.lib(Map.obj) : error LNK2019: unresolved external symbol "public: unsigned int __thiscall ObjectGuidGenerator<61696>::Generate(void)" (?Generate@?$ObjectGuidGenerator@$0PBAA@@@QAEIXZ) referenced in function "public: unsigned int __thiscall Map::GenerateLocalLowGuid(enum HighGuid)" (?GenerateLocalLowGuid@Map@@QAEIW4HighGuid@@@Z) 4>game.lib(Map.obj) : error LNK2019: unresolved external symbol "public: unsigned int __thiscall ObjectGuidGenerator<61760>::Generate(void)" (?Generate@?$ObjectGuidGenerator@$0PBEA@@@QAEIXZ) referenced in function "public: unsigned int __thiscall Map::GenerateLocalLowGuid(enum HighGuid)" (?GenerateLocalLowGuid@Map@@QAEIW4HighGuid@@@Z) 4>game.lib(Map.obj) : error LNK2019: unresolved external symbol "public: unsigned int __thiscall ObjectGuidGenerator<61776>::Generate(void)" (?Generate@?$ObjectGuidGenerator@$0PBFA@@@QAEIXZ) referenced in function "public: unsigned int __thiscall Map::GenerateLocalLowGuid(enum HighGuid)" (?GenerateLocalLowGuid@Map@@QAEIW4HighGuid@@@Z) 4>game.lib(CombatHandler.obj) : error LNK2001: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall ObjectGuid::GetString(void)const " (?GetString@ObjectGuid@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) 4>game.lib(LootHandler.obj) : error LNK2001: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall ObjectGuid::GetString(void)const " (?GetString@ObjectGuid@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) 4>game.lib(NPCHandler.obj) : error LNK2001: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall ObjectGuid::GetString(void)const " (?GetString@ObjectGuid@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) 4>game.lib(MovementHandler.obj) : error LNK2001: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall ObjectGuid::GetString(void)const " (?GetString@ObjectGuid@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) 4>game.lib(CharacterHandler.obj) : error LNK2001: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall ObjectGuid::GetString(void)const " (?GetString@ObjectGuid@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) 4>game.lib(Player.obj) : error LNK2019: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall ObjectGuid::GetString(void)const " (?GetString@ObjectGuid@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) referenced in function "public: void __thiscall Player::SendLoot(class ObjectGuid,enum LootType)" (?SendLoot@Player@@QAEXVObjectGuid@@W4LootType@@@Z) 4>game.lib(Chat.obj) : error LNK2001: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall ObjectGuid::GetString(void)const " (?GetString@ObjectGuid@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) 4>game.lib(Spell.obj) : error LNK2001: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall ObjectGuid::GetString(void)const " (?GetString@ObjectGuid@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) 4>game.lib(ItemHandler.obj) : error LNK2001: unresolved external symbol "public: class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __thiscall ObjectGuid::GetString(void)const " (?GetString@ObjectGuid@@QBE?AV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@XZ) 4>game.lib(ObjectMgr.obj) : error LNK2019: unresolved external symbol "public: unsigned int __thiscall ObjectGuidGenerator<61712>::Generate(void)" (?Generate@?$ObjectGuidGenerator@$0PBBA@@@QAEIXZ) referenced in function "public: unsigned int __thiscall ObjectMgr::GenerateLowGuid(enum HighGuid)" (?GenerateLowGuid@ObjectMgr@@QAEIW4HighGuid@@@Z) 4>game.lib(ObjectMgr.obj) : error LNK2019: unresolved external symbol "public: unsigned int __thiscall ObjectGuidGenerator<61744>::Generate(void)" (?Generate@?$ObjectGuidGenerator@$0PBDA@@@QAEIXZ) referenced in function "public: unsigned int __thiscall ObjectMgr::GenerateLowGuid(enum HighGuid)" (?GenerateLowGuid@ObjectMgr@@QAEIW4HighGuid@@@Z) 4>game.lib(ObjectMgr.obj) : error LNK2019: unresolved external symbol "public: unsigned int __thiscall ObjectGuidGenerator<61697>::Generate(void)" (?Generate@?$ObjectGuidGenerator@$0PBAB@@@QAEIXZ) referenced in function "public: unsigned int __thiscall ObjectMgr::GenerateLowGuid(enum HighGuid)" (?GenerateLowGuid@ObjectMgr@@QAEIW4HighGuid@@@Z) 4>game.lib(ObjectMgr.obj) : error LNK2019: unresolved external symbol "public: unsigned int __thiscall ObjectGuidGenerator<0>::Generate(void)" (?Generate@?$ObjectGuidGenerator@$0A@@@QAEIXZ) referenced in function "public: unsigned int __thiscall ObjectMgr::GenerateLowGuid(enum HighGuid)" (?GenerateLowGuid@ObjectMgr@@QAEIW4HighGuid@@@Z) 4>game.lib(ObjectMgr.obj) : error LNK2019: unresolved external symbol "public: unsigned int __thiscall ObjectGuidGenerator<16384>::Generate(void)" (?Generate@?$ObjectGuidGenerator@$0EAAA@@@QAEIXZ) referenced in function "public: unsigned int __thiscall ObjectMgr::GenerateLowGuid(enum HighGuid)" (?GenerateLowGuid@ObjectMgr@@QAEIW4HighGuid@@@Z) 4>game.lib(ItemHandler.obj) : error LNK2019: unresolved external symbol "class ByteBuffer & __cdecl operator>>(class ByteBuffer &,class ObjectGuid &)" (??5@YAAAVByteBuffer@@AAV0@AAVObjectGuid@@@Z) referenced in function "public: void __thiscall WorldSession::HandlePageQuerySkippedOpcode(class WorldPacket &)" (?HandlePageQuerySkippedOpcode@WorldSession@@QAEXAAVWorldPacket@@@Z) 4>game.lib(LootHandler.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator>>(class ByteBuffer &,class ObjectGuid &)" (??5@YAAAVByteBuffer@@AAV0@AAVObjectGuid@@@Z) 4>game.lib(NPCHandler.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator>>(class ByteBuffer &,class ObjectGuid &)" (??5@YAAAVByteBuffer@@AAV0@AAVObjectGuid@@@Z) 4>game.lib(CombatHandler.obj) : error LNK2001: unresolved external symbol "class ByteBuffer & __cdecl operator>>(class ByteBuffer &,class ObjectGuid &)" (??5@YAAAVByteBuffer@@AAV0@AAVObjectGuid@@@Z)
  2. Target 104 was originally used for some Ulduar boss/trash spells, which are all confirmed to have 30 degrees cone size. And this spells haven't changed in any of the patches. However in 3.2 blizzard decided to assign target 104 to some player spells too, but without reducing their cone of effect. So, on official, we have now player spells with 90 degrees cone and boss spells with only 30 degrees, while both have the same target 104. That's why we need that "if" check within one case...
  3. WoW Bosses (and script developers) on mangos need some more love) Anub'Arak's (ToC) Penetrating Cold spell should be applied only to 2 players (5 in 25man raid), but currently it hits everyone around the caster. Here is the small and simple patch (for rev.9227), to fix that. diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 2b199d6..b20e84e 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -1332,6 +1332,8 @@ void Spell::SetTargetMap(uint32 effIndex, uint32 targetMode, UnitList& targetUni unMaxTargets = 1; break; case 28542: // Life Drain + case 66013: // Penetrating Cold (10 man) + case 68509: // Penetrating Cold (10 man heroic) unMaxTargets = 2; break; case 28796: // Poison Bolt Volley @@ -1342,6 +1344,8 @@ void Spell::SetTargetMap(uint32 effIndex, uint32 targetMode, UnitList& targetUni case 30843: // Enfeeble TODO: exclude top threat target from target selection case 42005: // Bloodboil TODO: need to be 5 targets(players) furthest away from caster case 55665: // Life Drain (h) + case 67700: // Penetrating Cold (25 man) + case 68510: // Penetrating Cold (25 man, heroic) unMaxTargets = 5; break; case 54098: // Poison Bolt Volley (h)
  4. Oops, Saber Lash should be handled the same way in EffectWeaponDamage, so only ooze explosion right now, fixed first post.
  5. Hope to start scripting ICC soon, so I have tested some boss spells at first. There are some new spells, which damage is divided between the targets, so they need to be added to such spells list to work correctly. It's the Lord Marrowgar's Saber Lash (10 and 25 man versions), and the spell used by green oozes in Putricide fight (4 versions, one for every normal and heroic difficulty). Here is the patch for rev.9227: diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 90c8577..bfa3ef3 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -322,6 +322,8 @@ void Spell::EffectSchoolDMG(uint32 effect_idx) case 42384: // Brutal Swipe case 45150: // Meteor Slash case 64422: case 64688: // Sonic Screech + case 70492: case 72505: // Ooze Eruption + case 72525: case 72624: // Ooze Eruption { uint32 count = 0; for(std::list<TargetInfo>::iterator ihit= m_UniqueTargetInfo.begin();ihit != m_UniqueTargetInfo.end();++ihit)
  6. What bug does the patch fix? What features does the patch add? There is an exploit related to loot chests spawned by scripts, like Four Horsemen etc. If the player stands still while looting the chest, chest doesn't disappear after player takes all the loot, and it can be looted again and again, giving new loot, until the player moves. For which repository revision was the patch created? 8869 Who has been writing this patch? Please include either forum user names or email addresses. Me, Lutik. diff --git a/src/game/GameObject.cpp b/src/game/GameObject.cpp index 0aa6f7f..4209298 100644 --- a/src/game/GameObject.cpp +++ b/src/game/GameObject.cpp @@ -431,13 +431,7 @@ void GameObject::Update(uint32 /*p_time*/) if(!m_respawnDelayTime) return; - if(!m_spawnedByDefault) - { - m_respawnTime = 0; - return; - } - - m_respawnTime = time(NULL) + m_respawnDelayTime; + m_respawnTime = m_spawnedByDefault ? time(NULL) + m_respawnDelayTime : 0; // if option not set then object will be saved at grid unload if(sWorld.getConfig(CONFIG_SAVE_RESPAWN_TIME_IMMEDIATLY)) m_spawnedByDefault is false for such chests, and in that case (as you can see in red lines of code) return is called without updating gameobject's visibility (which is located just a few lines below). So, without this patch, the chest remains visible for the player even when it is despawned, until the player moves and visibility update is called for him in some other place.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use