Jump to content

sidsukana

Members
  • Posts

    10
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by sidsukana

  1. Now ammo takes only Multishot, Autoshot and Aimed Shot (only EffectWeaponDmg spells). I think it's wrong. I propose to make this piece of code move to Spell::cast () function, after TakeReagents(). Your opinion? Don't know how in mangos-one, but I think actualy too... diff: http://pastebin.com/V5Uf2ZzR
  2. Can you put the last mtmaps patch? Link in the post above no longer exist
  3. I have this crash problem too...
  4. At first glance, the patch works on Linux! Now i parse with flags, and it is not clear - some spawned by killing the boss, some spawn on spawn boss. I forgot to say, your patch works on mangoszero for me!
  5. Compile successfully, 2 lines were commented out. I have not tested in work. But thanks anyway!
  6. In SpawnSpecialManager.h need add #include "InstanceData.h" #include "Creature.h" #include "Unit.h" but maybe only linux...)
  7. If I understand you correctly SpawnSpecialManager.h // Helper functions that 'translate' typename into std::map* template <typename T> IdFlagGUIDMap* GetIdFlagGUIDMap(bool byGUID = false) { return NULL; } - template <> - IdFlagGUIDMap* GetIdFlagGUIDMap<Creature>(bool byGUID) { return byGUID ? &m_CreatureGUIDFlagMap : &m_CreatureIDFlagMap; } - template <> - IdFlagGUIDMap* GetIdFlagGUIDMap<GameObject>(bool byGUID) { return byGUID ? &m_GoGUIDFlagMap : NULL; } SpawnSpecialManager.cpp // Instantiate template for helper function template void SpawnSpecialHolder::AddToHolder<Creature>(uint32 DBGuid, uint32 Entry, uint64 GUID, uint16 MapId); template void SpawnSpecialHolder::AddToHolder<GameObject>(uint32 DBGuid, uint32 Entry, uint64 GUID, uint16 MapId); +template void sSpawnSpecialGroup::AddToGroup<Creature>(uint32 DBGuid, uint32 Entry, uint64 GUID, uint16 flag); +template void sSpawnSpecialGroup::AddToGroup<GameObject>(uint32 DBGuid, uint32 Entry, uint64 GUID, uint16 flag); then it's work! if SpawnSpecialManager.h not edit error again..
  8. In instances and in the cities blink works, but not teleport. On the open area works well. PS. Applyed on mangoszero. Help please, where problem?
×
×
  • 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