Morphau
-
Posts
205 -
Joined
-
Last visited
-
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by Morphau
-
-
Core 9020
ScriptDev2 1520
DualSpect Kaxias
I have the same crash end the same log in 2 hours:
[New Thread 17917] [New Thread 17919] [New Thread 17897] [New Thread 17896] [New Thread 17898] [New Thread 17894] [New Thread 17920] [New Thread 17918] Core was generated by `./mangos-worldd'. Program terminated with signal 6, Aborted. #0 0x00007fdd4d9d64b5 in raise () from /lib/libc.so.6 #0 0x00007fdd4d9d64b5 in raise () from /lib/libc.so.6 No symbol table info available. #1 0x00007fdd4d9d9f50 in abort () from /lib/libc.so.6 No symbol table info available. #2 0x00007fdd4d9cf481 in __assert_fail () from /lib/libc.so.6 No symbol table info available. #3 0x00000000006a791b in Aura::UnregisterSingleCastAura (this=<value optimized out>) at ../../../src/game/SpellAuras.cpp:7759 caster = <value optimized out> __PRETTY_FUNCTION__ = "void Aura::UnregisterSingleCastAura()" #4 0x000000000070cfeb in Unit::RemoveAura (this=0xdb62890, i=..., mode=6) at ../../../src/game/Unit.cpp:4232 Aur = 0x45e6 AurSpellInfo = 0x7fdd43047510 statue = <value optimized out> #5 0x000000000070e49e in Unit::RemoveAura (this=0xdb62890, aura=0x7fdd314fb620, mode=AURA_REMOVE_BY_DEFAULT) at ../../../src/game/Unit.cpp:4220 i = {_M_node = 0x7fdd3043c450} #6 0x000000000070e5a5 in Unit::RemoveNotOwnSingleTargetAuras (this=0xef2faa0, newPhase=0) at ../../../src/game/Unit.cpp:4203 aura = 0x7fdd314fb620 #7 0x000000000070e5e9 in Unit::RemoveFromWorld (this=0xef2faa0) at ../../../src/game/Unit.cpp:11410 No locals. #8 0x000000000051b683 in Creature::RemoveFromWorld (this=0xef2faa0) at ../../../src/game/Creature.cpp:157 No locals. #9 0x00000000005f6fb6 in ObjectGridUnloader::Visit<Creature> (this=<value optimized out>, m=...) at ../../../src/game/ObjectGridLoader.cpp:263 No locals. #10 0x00000000005f65c5 in VisitorHelper<ObjectGridUnloader, Creature> (this=0x7fdd45544de0, grid=...) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:64 No locals. #11 VisitorHelper<ObjectGridUnloader, Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > (this=0x7fdd45544de0, grid=...) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:70 No locals. #12 VisitorHelper<ObjectGridUnloader, GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > (this=0x7fdd45544de0, grid=...) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:71 No locals. #13 VisitorHelper<ObjectGridUnloader, TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > (this=0x7fdd45544de0, grid=...) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:94 No locals. #14 TypeContainerVisitor<ObjectGridUnloader, TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > >::Visit ( this=0x7fdd45544de0, grid=...) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:105 No locals. #15 Visit<ObjectGridUnloader> (this=0x7fdd45544de0, grid=...) at ../../../src/game/../framework/GameSystem/Grid.h:94 No locals. #16 ObjectGridUnloader::Unload (this=0x7fdd45544de0, grid=...) at ../../../src/game/ObjectGridLoader.cpp:254 No locals. #17 0x00000000005c3fc4 in Unload<ObjectGridUnloader> (this=0xf357b60, x=<value optimized out>, y=<value optimized out>, pForce=<value optimized out>) at ../../../src/game/../framework/GameSystem/GridLoader.h:72 No locals. #18 ObjectGridUnloader::UnloadN (this=0xf357b60, x=<value optimized out>, y=<value optimized out>, pForce=<value optimized out>) at ../../../src/game/ObjectGridLoader.h:70 y = 4 x = 2 #19 Map::UnloadGrid (this=0xf357b60, x=<value optimized out>, y=<value optimized out>, pForce=<value optimized out>) at ../../../src/game/Map.cpp:1088 unloader = {i_grid = @0xb71a980} grid = <value optimized out> __PRETTY_FUNCTION__ = "bool Map::UnloadGrid(const uint32&, const uint32&, bool)" gx = <value optimized out> gy = <value optimized out> #20 0x0000000000783982 in RemovalState::Update (this=<value optimized out>, m=..., grid=..., info=<value optimized out>, x=<value optimized out>, y=<value optimized out>, t_diff=@0x7fdd45544ffc) at ../../../src/game/GridStates.cpp:65 No locals. #21 0x00000000005d1a07 in Map::Update (this=0xf357b60, t_diff=@0x7fdd45544ffc) at ../../../src/game/Map.cpp:714 grid = 0x6 updater = {i_timeDiff = 149} __PRETTY_FUNCTION__ = "virtual void Map::Update(const uint32&)" #22 0x00000000005de417 in MapManager::Update (this=0x83fc930, diff=<value optimized out>) at ../../../src/game/MapManager.cpp:265 No locals. #23 0x000000000073a829 in World::Update (this=0x7fdd480190d0, diff=52) at ../../../src/game/World.cpp:1684 No locals. #24 0x00000000004e059c in WorldRunnable::run (this=<value optimized out>) at ../../../src/mangosd/WorldRunnable.cpp:60 diff = 52 realCurrTime = 2970606555 realPrevTime = <value optimized out> prevSleepTime = 49 #25 0x00000000007da30c in ACE_Based::Thread::ThreadTask (param=0x45e6) at ../../../src/shared/Threading.cpp:183 _task = 0x7fdd48226d60 #26 0x00007fdd4e4c3a04 in start_thread () from /lib/libpthread.so.0 No symbol table info available. #27 0x00007fdd4da827bd in clone () from /lib/libc.so.6 No symbol table info available. #28 0x0000000000000000 in ?? () No symbol table info available.
-
Core 9020
Lastest SD2
[New Thread 6331] [New Thread 6334] [New Thread 6256] [New Thread 6257] [New Thread 6332] [New Thread 6253] [New Thread 6333] [New Thread 6255] Core was generated by `./mangos-worldd'. Program terminated with signal 6, Aborted. #0 0x00007f344302d4b5 in raise () from /lib/libc.so.6 #0 0x00007f344302d4b5 in raise () from /lib/libc.so.6 No symbol table info available. #1 0x00007f3443030f50 in abort () from /lib/libc.so.6 No symbol table info available. #2 0x00007f3443026481 in __assert_fail () from /lib/libc.so.6 No symbol table info available. #3 0x000000000055e108 in insert<GameObject> (this=0x7f341e866230) at ../../../src/game/../framework/GameSystem/TypeContainer.h:78 No locals. #4 insert<GameObject, GameObject, TypeList<DynamicObject, TypeNull> > ( this=0x7f341e866230) at ../../../src/game/../framework/GameSystem/TypeContainer.h:92 No locals. #5 insert<GameObject, Vehicle, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > (this=0x7f341e866230) at ../../../src/game/../framework/GameSystem/TypeContainer.h:93 No locals. #6 insert<GameObject, Pet, TypeList<Vehicle, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > > (this=0x7f341e866230) at ../../../src/game/../framework/GameSystem/TypeContainer.h:93 No locals. #7 insert<GameObject, Creature, TypeList<Pet, TypeList<Vehicle, TypeList<GameObject, TypeList<DynamicObject, TypeNull> > > > > (this=0x7f341e866230) at ../../../src/game/../framework/GameSystem/TypeContainer.h:93 No locals. #8 insert<GameObject> (this=0x7f341e866230) at ../../../src/game/../framework/GameSystem/TypeContainer.h:53 No locals. #9 GameObject::AddToWorld (this=0x7f341e866230) at ../../../src/game/GameObject.cpp:69 No locals. #10 0x00000000005dd22d in void Map::Add<GameObject>(GameObject*) () No symbol table info available. #11 0x0000000000555d48 in GameEventMgr::GameEventSpawn (this=0x7f3433180150, event_id=<value optimized out>) at ../../../src/game/GameEventMgr.cpp:570 map = 0x7f343393dda0 data = <value optimized out> internal_event_id = 59 #12 0x00000000005560f2 in GameEventMgr::ApplyNewEvent (this=0x7f3433180150, event_id=<value optimized out>) at ../../../src/game/GameEventMgr.cpp:495 No locals. #13 0x00000000005561dd in GameEventMgr::StartEvent (this=0x7f3433180150, event_id=6330, overwrite=false) at ../../../src/game/GameEventMgr.cpp:72 No locals. #14 0x0000000000556339 in GameEventMgr::Update (this=0x7f3433180150) at ../../../src/game/GameEventMgr.cpp:440 itr = 15 nextEventDelay = 6599 calcDelay = <value optimized out> #15 0x000000000073b087 in World::Update (this=0x7f343c023710, diff=56) at ../../../src/game/World.cpp:1704 nextGameEvent = 0 #16 0x00000000004e099c in WorldRunnable::run (this=<value optimized out>) at ../../../src/mangosd/WorldRunnable.cpp:60 diff = 56 realCurrTime = 2888583947 realPrevTime = <value optimized out> prevSleepTime = 50 #17 0x00000000007dab9c in ACE_Based::Thread::ThreadTask (param=0x186d) at ../../../src/shared/Threading.cpp:183 _task = 0x7f3431228950 #18 0x00007f3443b1aa04 in start_thread () from /lib/libpthread.so.0 No symbol table info available. #19 0x00007f34430d97bd in clone () from /lib/libc.so.6 No symbol table info available. #20 0x0000000000000000 in ?? () No symbol table info available.
-
Core : 9020
Latest SD2
[New Thread 22289] [New Thread 22286] [New Thread 22309] [New Thread 22307] [New Thread 22290] [New Thread 22288] [New Thread 22306] [New Thread 22308] Core was generated by `./mangos-worldd'. Program terminated with signal 11, Segmentation fault. #0 Player::SetCanFly (this=0x7face10108a0, apply=true, Real=<value optimized out>) at ../../../src/game/Player.h:2157 2157 void SetCanFly(bool CanFly) { m_CanFly=CanFly; } #0 Player::SetCanFly (this=0x7face10108a0, apply=true, Real=<value optimized out>) at ../../../src/game/Player.h:2157 No locals. #1 Aura::HandleAuraAllowFlight (this=0x7face10108a0, apply=true, Real=<value optimized out>) at ../../../src/game/SpellAuras.cpp:6337 data = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 0, _wpos = 0, _storage = {<std::_Vector_base<unsigned char, std::allocator<unsigned char> >> = { _M_impl = {<std::allocator<unsigned char>> = {<__gnu_cxx::new_allocator<unsigned char>> = {<No data fields>}, <No data fields>}, _M_start = 0x0, _M_finish = 0x0, _M_end_of_storage = 0x0}}, <No data fields>}}, m_opcode = 0} #2 0x00000000006a186a in Aura::ApplyModifier (this=0x7face10108a0, apply=12, Real=true) at ../../../src/game/SpellAuras.cpp:932 aura = <value optimized out> #3 0x000000000071b553 in Unit::AddAura (this=0x7facc694d9c0, Aur=0x7face10108a0) at ../../../src/game/Unit.cpp:3713 aurSpellInfo = 0x7facdc2179b0 aurName = SPELL_AURA_FLY #4 0x000000000051f65a in Creature::LoadCreaturesAddon (this=0x7facc694d9c0, reload=<value optimized out>) at ../../../src/game/Creature.cpp:1695 AdditionalSpellInfo = 0x7facdc2179b0 AdditionalAura = 0x7facc694d9c0 cAura = 0x142f550 cainfo = <value optimized out> #5 0x000000000051fceb in Creature::Create (this=0x7facc694d9c0, guidlow=136670, map=0x75b8a80, phaseMask=1, Entry=<value optimized out>, team=0, data=0x93b3344) at ../../../src/game/Creature.cpp:613 __FUNCTION__ = "Create" __PRETTY_FUNCTION__ = "bool Creature::Create(uint32, Map*, uint32, uint32, uint32, const CreatureData*)" bResult = true #6 0x000000000051fe80 in Creature::LoadFromDB (this=0x7facc694d9c0, guid=136670, map=0x75b8a80) at ../../../src/game/Creature.cpp:1052 data = 0x93b3344 curhealth = <value optimized out> #7 0x00000000005f7d81 in LoadHelper<Creature> (guid_set=<value optimized out>, cell=<value optimized out>, m=<value optimized out>, count=@0x7face4878d7c, map=0x75b8a80) at ../../../src/game/ObjectGridLoader.cpp:118 guid = 136670 bg = 0x0 #8 0x00000000005f702b in ObjectGridLoader::Visit (this=0x7face4878d60, m=...) at ../../../src/game/ObjectGridLoader.cpp:189 y = <value optimized out> cell_pair = {x_coord = 382, y_coord = 268} x = <value optimized out> cell_guids = @0x7facc694d9c0 #9 0x00000000005f723d in VisitorHelper<ObjectGridLoader, Creature> (this=0x7face4878d60, grid=...) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:64 No locals. #10 VisitorHelper<ObjectGridLoader, Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > (this=0x7face4878d60, grid=...) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:70 No locals. #11 VisitorHelper<ObjectGridLoader, GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > (this=0x7face4878d60, grid=...) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:71 No locals. #12 VisitorHelper<ObjectGridLoader, TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > ( this=0x7face4878d60, grid=...) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:94 No locals. #13 TypeContainerVisitor<ObjectGridLoader, TypeMapContainer<TypeList<GameObject, TypeList<Creature, TypeList<DynamicObject, TypeList<Corpse, TypeNull> > > > > >::Visit (this=0x7face4878d60, grid=...) at ../../../src/game/../framework/GameSystem/TypeContainerVisitor.h:105 No locals. #14 Visit<ObjectGridLoader> (this=0x7face4878d60, grid=...) at ../../../src/game/../framework/GameSystem/Grid.h:94 No locals. #15 ObjectGridLoader::Load (this=0x7face4878d60, grid=...) at ../../../src/game/ObjectGridLoader.cpp:210 No locals. #16 0x00000000005f72ff in Load<ObjectGridLoader> (this=0x7face4878d60) at ../../../src/game/../framework/GameSystem/GridLoader.h:53 No locals. #17 ObjectGridLoader::LoadN (this=0x7face4878d60) at ../../../src/game/ObjectGridLoader.cpp:232 y = 5 x = 6 #18 0x00000000005c78bd in Map::EnsureGridLoaded (this=0x75b8a80, cell=...) at ../../../src/game/Map.cpp:411 loader = {i_cell = {data = {Part = {grid_x = 47, grid_y = 33, cell_x = 6, cell_y = 4, nocreate = 0, reserved = 0}, All = 1075311}}, i_grid = @0x7facc6828420, i_map = 0x75b8a80, i_gameObjects = 30, i_creatures = 123, i_corpses = 0} grid = <value optimized out> __PRETTY_FUNCTION__ = "bool Map::EnsureGridLoaded(const Cell&)" #19 0x00000000005c79e0 in Map::EnsureGridLoadedAtEnter (this=0x7face48779d0, cell=..., player=0x1) at ../../../src/game/Map.cpp:378 grid = <value optimized out> #20 0x00000000005d3cd6 in Map::Add (this=0x75b8a80, player=0x7face1293b50) at ../../../src/game/Map.cpp:439 p = {x_coord = 383, y_coord = 271} cell = {data = {Part = {grid_x = 47, grid_y = 33, cell_x = 7, cell_y = 7, nocreate = 0, reserved = 0}, All = 1865839}} #21 0x00000000007941c7 in WorldSession::HandleMoveWorldportAckOpcode (this=0x75ec520) at ../../../src/game/MovementHandler.cpp:261 mEntry = 0x7face03b6830 mInstance = 0x0 corpse = <value optimized out> #22 0x000000000074177d in WorldSession::Update (this=0x75ec520) at ../../../src/game/WorldSession.cpp:230 packet = 0xae45be0 currTime = <value optimized out> #23 0x000000000073ac7a in World::UpdateSessions (this=0x7face000fbf0, diff=57) at ../../../src/game/World.cpp:2092 itr = {<std::tr1::__detail::_Hashtable_iterator_base<std::Pair<unsigned int const, WorldSession*>, false>> = {_M_cur_node = 0x7ffff1a4ffa0, _M_cur_bucket = 0xffffffffff60041c}, <No data fields>} sess = <value optimized out> #24 0x000000000073ae95 in World::Update (this=0x7face000fbf0, diff=57) at ../../../src/game/World.cpp:1645 No locals. #25 0x00000000004e099c in WorldRunnable::run (this=<value optimized out>) at ../../../src/mangosd/WorldRunnable.cpp:60 diff = 57 realCurrTime = 2834430127 realPrevTime = <value optimized out> prevSleepTime = 48 #26 0x00000000007dab4c in ACE_Based::Thread::ThreadTask (param=0x7face48779d0) at ../../../src/shared/Threading.cpp:183 _task = 0x7face0edffe0 #27 0x00007face8147a04 in start_thread () from /lib/libpthread.so.0 No symbol table info available. #28 0x00007face77067bd in clone () from /lib/libc.so.6 No symbol table info available. #29 0x0000000000000000 in ?? () No symbol table info available.
-
Thanks !
It's a beautiful post
-
Ok thanks
-
Up
Can you update the patch please ?
-
Thanks but the link Download Diff is updated now ? ^^
-
Updated, the source or too modify now ^^ please update
-
Personally my dev have make a script for debug this spell:
- http://fr.wowhead.com/?spell=48743
- http://fr.wowhead.com/?spell=46584
- http://fr.wowhead.com/?spell=49576
- http://fr.wowhead.com/?spell=46584
The script is not 100% good (not cooldown with spell 46584 for exemple ...)
diff --git a/mangos/src/game/SpellEffects.cpp b/mangos/src/game/SpellEffects.cpp index af7c914..e7a01e1 100644 --- a/mangos/src/game/SpellEffects.cpp +++ b/mangos/src/game/SpellEffects.cpp @@ -257,10 +257,41 @@ void Spell::EffectResurrectNew(uint32 i) void Spell::EffectInstaKill(uint32 /*i*/) { if( !unitTarget || !unitTarget->isAlive() ) return; + if(m_spellInfo->Id==48743) + { + Player * joueur = (Player *)m_caster; + + Pet *t1 = joueur->GetPet(); + if(!t1 || t1->isDead() || !t1->GetOwner()) + { + m_caster->CastStop(); + return; + } + + if(((Creature*)t1)->GetCreatureType()!= CREATURE_TYPE_UNDEAD || t1->GetOwnerGUID() != m_caster->GetGUID()) + { + m_caster->CastStop(); + return; + } + + if(t1 && !t1->isDead()) + { + int32 heal = m_caster->GetMaxHealth() * 0.4; + m_caster->ModifyHealth(heal); + m_caster->SendHealSpellLog(m_caster,48743,heal,false); + t1->SetHealth(0); + t1->setDeathState(JUST_DIED); + m_targets.setUnitTarget(NULL); + } + + return; + } + + // Demonic Sacrifice if(m_spellInfo->Id==18788 && unitTarget->GetTypeId()==TYPEID_UNIT) { uint32 entry = unitTarget->GetEntry(); uint32 spellID; @@ -1868,10 +1899,11 @@ void Spell::EffectDummy(uint32 i) } return; } break; case SPELLFAMILY_DEATHKNIGHT: + { // Death Coil if (m_spellInfo->SpellFamilyFlags & UI64LIT(0x002000)) { if (m_caster->IsFriendlyTo(unitTarget)) { @@ -1914,11 +1946,71 @@ void Spell::EffectDummy(uint32 i) int32 bp = count * m_caster->GetMaxHealth() * m_spellInfo->DmgMultiplier[0] / 100; m_caster->CastCustomSpell(m_caster, 45470, &bp, NULL, NULL, true); return; } + + switch(m_spellInfo->Id) + { + // Poigne de la mort + case 49560: + case 49576: + { + if (!unitTarget || !m_caster) + return; + + float x = m_caster->GetPositionX(); + float y = m_caster->GetPositionY(); + float z = m_caster->GetPositionZ()+1; + float orientation = unitTarget->GetOrientation(); + + m_caster->CastSpell(unitTarget,51399,true,NULL); + unitTarget->NearTeleportTo(x,y,z,orientation,false); + unitTarget->Attack(m_caster, true); + + break; + } + case 46584: + { + if(!unitTarget || !m_caster) + return; + + m_caster->CastSpell(unitTarget, 52150, true, NULL); + break; + } + } + break; + } } // pet auras if (PetAura const* petSpell = spellmgr.GetPetAura(m_spellInfo->Id, i)) { @@ -5454,10 +5546,44 @@ void Spell::EffectScriptEffect(uint32 effIndex) // Frost Fever if(mainTarget->HasAura(55095)) m_caster->CastSpell(unitTarget, 55095, true); break; } + case 46584: + { + Player *player = (Player*)m_caster; + + if (!unitTarget || !m_caster) + return; + + if(unitTarget->isDead()) + { + if(unitTarget->getRace() == CREATURE_TYPE_HUMANOID) + m_caster->CastSpell(unitTarget,46584,true,NULL); + else + { + if(player->HasItemCount(37201,1,false)) + { + player->DestroyItemCount(37201,1,true); + m_caster->CastSpell(unitTarget, 46584, true, NULL); + } + else + { + m_caster->CastStop(); + return; + } + } + } + break; + } } break; } } // normal DB scripted effect
-
my friend was testing a mage and told me that he was casting a spell and died before finishing the cast and got the bug.
and ? the patch work or not ? ...
-
Bump, insert in the source ?
-
Up :=) Insert in the source ?
-
Hello, kaxias can you update this branch too please ? Thanks
-
Thanks, i will test it
-
we need the temp fix ( remove assert line from src/framework/GameSystem/TypeContainer.h ) ?
Yes it's ok but is not the good way for fix this >< :mellow:
-
Hello, first thanks and gg for this post whose it a good idea
Personally I use 3..2.2 and I confirm what you say FragFrog it's ok
Sorry darkstalker but this spell (http://fr.wowhead.com/?spell=33619) it's ok since your patch
Sorry for my engish but I am french.
-
Bumps, work with rev 8742
-
Yes, it's work perfectly with the last rev 8742
Insert it in the source ?
-
Sorry but when I try to compile with this patch i have this error:
../../../src/game/SpellAuras.cpp: In member function 'void Aura::HandlePeriodicDamage(bool, bool)': ../../../src/game/SpellAuras.cpp:4635: error: 'spell' was not declared in this scope make[3]: *** [spellAuras.o] Error 1 make[3]: *** Waiting for unfinished jobs....
why ?
-
apply manually
-
Thanks, I will test it
It's for the branch master of mangos ?
Srry but i have this error when i ant tu pull with your branch:
fatal: The remote end hung up unexpectedly
-
I will test it today
-
Bumps !
-
Bumps, insert in source ?
Linux crash dumps
in OldBug reports
Posted
You have the same crash as me ?