Jump to content

darkstalker

Members
  • Posts

    717
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by darkstalker

  1. probably he means core, not scripts
  2. this affects stormstrike too?
  3. try removing the assert
  4. if you read the combat log, you'll see that the message of the summon is wrong, its something like "Mana Totem summons Shammy". Another possible related thing is that TotemTimers addon doesn't show the timer when you cast totems (maybe relies on parsing the combat log or reading that specific packet)
  5. revert patch fixed the crash for me
  6. visual effects are handled by the client afaik
  7. you never been able to enter arena in combat (working as intended) when you're in loading screen you're "out of world", you cant receive whispers, etc. maybe because of the way mangos handles teleporting
  8. its harmless
  9. the hardcoded 0.2 value doesnt look good, might be stored in dbc somewhere
  10. that needs an additional shapeshift boost for shadowform (spell 71167 i guess) and implement the correct aura handler (316 in this case)
  11. patch does work, if doesnt apply just add the code manually
  12. also hunters mark lasts 5 minutes on players
  13. C++0x should solve this with extern templates
  14. try including "GridNotifiersImpl.h"
  15. thats not a good reason.. if you want speed better stay with C++, i personally dont have any problem with coding in C++, but never used Lua so cant say anything about that
  16. maybe some javadoc-like documentation for c++
  17. why not python?
  18. in the end its easier to hangle merge conflicts than tons rejected patches
  19. this is the output of some print's and backtrace put when reproducing this crash: --- RemoveGridMapReference: p(25,30) value = 1 --- getNGrid(38,33,0) = 4a10e00 --- RemoveGridMapReference: p(26,30) value = 1 --- getNGrid(37,33,0) = 49ecda0 --- RemoveGridMapReference: p(26,31) value = 1 --- getNGrid(37,32,0) = 49caf70 --- getNGrid(38,33,1) = 4a10e00 0 GameObjects, 59 Creatures, and 0 Corpses/Bones loaded for grid 2465 on map 615 --- getNGrid(37,32,1) = 49caf70 0 GameObjects, 35 Creatures, and 0 Corpses/Bones loaded for grid 2400 on map 615 WORLD: Send SMSG_THREAT_CLEAR Message WORLD: Send SMSG_THREAT_CLEAR Message --- RemoveGridMapReference: p(25,31) value = 1 --- getNGrid(38,32,0) = 4ab3660 --- RemoveGridMapReference: p(26,31) value = 1 --- getNGrid(37,32,0) = 0 Program received signal SIGSEGV, Segmentation fault. [switching to Thread 0x7ffff17f8910 (LWP 10618)] 0x000000000060422f in Map::SetUnloadReferenceLock(CoordPair<64u> const&, bool) () (gdb) bt full #0 0x000000000060422f in Map::SetUnloadReferenceLock(CoordPair<64u> const&, bool) () No symbol table info available. #1 0x00000000005eefaf in MapInstanced::RemoveGridMapReference ( this=0x4b153e0, x=@0x7ffff17f7eec, y=@0x7ffff17f7ee8, pForce=<value optimized out>) at ../../../src/game/MapInstanced.h:58 No locals. #2 Map::UnloadGrid (this=0x4b153e0, x=@0x7ffff17f7eec, y=@0x7ffff17f7ee8, pForce=<value optimized out>) at ../../../src/game/Map.cpp:1187 grid = <value optimized out> gx = 26 __PRETTY_FUNCTION__ = "bool Map::UnloadGrid(const uint32&, const uint32&, bool)" #3 0x00000000005ef10b in Map::UnloadAll (this=0x4b153e0, pForce=<value optimized out>) at ../../../src/game/Map.cpp:1204 grid = <value optimized out> #4 0x00000000005efc76 in ~Map (this=0x4b153e0, __in_chrg=<value optimized out>) at ../../../src/game/Map.cpp:65 No locals. #5 0x00000000005f00bd in ~InstanceMap (this=0x4b153e0, __in_chrg=<value optimized out>) at ../../../src/game/Map.cpp:2417 No locals. #6 0x00000000007c517e in MapInstanced::DestroyInstance (this=0x4969250, looks like a null pointer bug. probabily a check would do, but really dont know what this piece of code does edit: this seems to solve it: diff --git a/src/game/Map.h b/src/game/Map.h index 6e68529..46dcc7d 100644 --- a/src/game/Map.h +++ b/src/game/Map.h @@ -477,7 +477,7 @@ class MANGOS_DLL_SPEC Map : public GridRefManager<NGridType>, public MaNGOS::Obj void SendObjectUpdates(); std::set<Object *> i_objectsToClientUpdate; protected: - void SetUnloadReferenceLock(const GridPair &p, bool on) { getNGrid(p.x_coord, p.y_coord)->setUnloadReferenceLock(on); } + void SetUnloadReferenceLock(const GridPair &p, bool on) { if (getNGrid(p.x_coord, p.y_coord)) getNGrid(p.x_coord, p.y_coord)->setUnloadReferenceLock(on); } typedef MaNGOS::ObjectLevelLockable<Map, ACE_Thread_Mutex>::Lock Guard;
  20. using patches and mantaining them requires a good understand of the code, otherwise you wont be able to solve conflicts (very likely to happen with a modified source)
  21. always wondered what does that "proc chance 101%" mean
  22. if you use lua or any other language that isnt C++ you would be limited to a subset of exported functions to interface your scripts and the core maybe what you want is an arcemu script compatibility layer right?
  23. spell now have double rage cost (from casted spell + triggered), so consumes 30 rage and fails to cast when you have less than that. this fixes that: diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index 4ffdcff..ef101e0 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -5280,6 +5280,10 @@ int32 Spell::CalculatePowerCost() if (m_CastItem) return 0; + // triggered spell with power cost only usable for client + if (IsTriggeredSpellWithRedundentData()) + return 0; + // Spell drain all exist power on cast (Only paladin lay of Hands) if (m_spellInfo->AttributesEx & SPELL_ATTR_EX_DRAIN_ALL_POWER) {
  24. seems that only happens when you enter an instance with a flying mount, or when you .tele to another map while flying
×
×
  • 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