guillaumederval
-
Posts
20 -
Joined
-
Last visited
Never -
Donations
0.00 GBP
Content Type
Profiles
Bug Tracker
Wiki
Release Notes
Forums
Downloads
Blogs
Events
Posts posted by guillaumederval
-
-
Spell::DoAllEffectOnTarget (this=0x7f3e4710e5e0, target=0x18)
at ../../../src/game/Spell.cpp:1000
1000 if (target->processed) // Check target
#0 Spell::DoAllEffectOnTarget (this=0x7f3e4710e5e0, target=0x18)
at ../../../src/game/Spell.cpp:1000
#1 0x0000000000709f5c in Spell::handle_immediate (this=0x7f3e4710e5e0)
at ../../../src/game/Spell.cpp:2998
#2 0x0000000000708930 in Spell::cast (this=0x7f3e4710e5e0, skipCheck=true)
at ../../../src/game/Spell.cpp:2972
#3 0x0000000000758ad9 in Unit::CastSpell (this=0x7f3dc85400d0,
Victim=0x7f3dc85400d0, spellInfo=0x7f3e509d2f30,
triggered=<value optimized out>, castItem=0x0,
triggeredByAura=0x7f3dc8372ef0, originalCaster=0)
at ../../../src/game/Unit.cpp:1028
#4 0x000000000075a74f in Unit::HandleProcTriggerSpell (this=0x7f3dc85400d0,
pVictim=0x7f3dc909acb0, damage=<value optimized out>,
triggeredByAura=0x7f3dc8372ef0, procSpell=0x7f3e4ff98a60,
procFlags=262144, procEx=1, cooldown=0) at ../../../src/game/Unit.cpp:8184
#5 0x0000000000771c16 in Unit::ProcDamageAndSpellFor (this=0x7f3dc85400d0,
isVictim=false, pTarget=0x7f3dc909acb0, procFlag=262144, procExtra=1,
attType=BASE_ATTACK, procSpell=0x7f3e4ff98a60, damage=704)
at ../../../src/game/Unit.cpp:13017
#6 0x000000000077249d in Unit::ProcDamageAndSpell (this=0x7f3dc85400d0,
pVictim=0x7f3dc909acb0, procAttacker=<value optimized out>,
procVictim=<value optimized out>, procExtra=1, amount=704,
attType=BASE_ATTACK, procSpell=0x7f3e4ff98a60)
at ../../../src/game/Unit.cpp:4910
#7 0x00000000006ed424 in Aura::PeriodicTick (this=0x1081e660)
at ../../../src/game/SpellAuras.cpp:7529
#8 0x00000000006eed6a in Aura::Update (this=0x1081e660, diff=1857)
at ../../../src/game/SpellAuras.cpp:738
#9 0x000000000075cbce in Unit::_UpdateSpells (this=0x7f3dc909acb0, time=1857)
at ../../../src/game/SpellAuras.h:333
#10 0x0000000000769687 in Unit::Update (this=0x7f3dc909acb0, p_time=1857)
at ../../../src/game/Unit.cpp:214
#11 0x00000000006be893 in Player::Update (this=0x7f3dc909acb0, p_time=1857)
at ../../../src/game/Player.cpp:1137
#12 0x0000000000600a60 in Map::Update (this=0x7f3dd283e4d0, t_diff=@0x49c140a4)
at ../../../src/game/Map.cpp:688
#13 0x0000000000601d99 in InstanceMap::Update (this=0x7f3e4710e5e0,
t_diff=@0x18) at ../../../src/game/Map.cpp:2741
#14 0x00000000007e61f9 in MapInstanced::Update (this=0x7f3e386d6710,
t=@0x49c140a4) at ../../../src/game/MapInstanced.cpp:73
#15 0x00000000006124d8 in MapManager::Update (.omp_data_i=0x43c07ba0)
at ../../../src/game/MapManager.cpp:278
#16 0x00007f3e5b9f0b55 in ?? () from /usr/lib/libgomp.so.1
#17 0x00007f3e5b238fc7 in start_thread () from /lib/libpthread.so.0
#18 0x00007f3e5a8085ad in clone () from /lib/libc.so.6
#19 0x0000000000000000 in ?? ()
Target not null
-
if(!target) return;
Errare humanum est, don't see target = 0x0
-
your cashlog is simple lucky men
Spell::DoAllEffectOnTarget (this=0x7f92f65c9a10, target=0x0)
checkout before if (target->processed) if target exists (not NULL)
if this won't help move line creating pointer to unit before " if (target->processed)" and prior to it check if pointer was successfully created.
previously on std::list it was returning 0x10 what is not equal to NULL so that kind of check was useless ;-) and any attepts to access target were crashing server.
Target not NULL?
-
MaNGOS 9129 + Insider 42 pack.
Program received signal SIGSEGV, Segmentation fault. [switching to Thread 0x4dd50950 (LWP 26348)] 0x00000000006e2721 in AreaAura::Update () Current language: auto; currently asm #0 0x00000000006e2721 in AreaAura::Update () #1 0x0000000000749911 in Unit::_UpdateSpells () #2 0x0000000000755feb in Unit::Update () #3 0x00000000005333d5 in Creature::Update () #4 0x00000000005fc370 in VisitorHelper<MaNGOS::ObjectUpdater, Creature> () #5 0x00000000005f9f54 in Map::Update () #6 0x00000000005fa108 in InstanceMap::Update () #7 0x00000000007ce289 in MapInstanced::Update () #8 0x000000000060a2c3 in MapManager::Update ()
Crash in SD2, in the ahnqiraj or ahnkahet script... I don't remember.
-
Core 9127
ScriptDev2 1520
DualSpect Kaxias
[New Thread 23565] [New Thread 23566] [New Thread 23527] [New Thread 23528] [New Thread 23526] [New Thread 23567] [New Thread 23524] [New Thread 23568] Core was generated by `./mangos-worldd'. Program terminated with signal 8, Arithmetic exception. #0 0x00000000006aa8e9 in Aura::HandlePeriodicEnergize (this=0x2a26e80, apply=true, Real=<value optimized out>) at ../../../src/game/SpellAuras.cpp:4616 4616 m_modifier.m_amount = int32(caster->GetCreateMana() * GetBasePoints() / (100 * GetAuraMaxTicks())); #0 0x00000000006aa8e9 in Aura::HandlePeriodicEnergize (this=0x2a26e80, apply=true, Real=<value optimized out>) at ../../../src/game/SpellAuras.cpp:4616 caster = <value optimized out> loading = <value optimized out> #1 0x00000000006a658a in Aura::ApplyModifier (this=0x2a26e80, apply=168, Real=false) at ../../../src/game/SpellAuras.cpp:943 aura = <value optimized out> #2 0x00000000007212d1 in Unit::AddAura (this=0x5077740, Aur=0x2a26e80) at ../../../src/game/Unit.cpp:3726 aurSpellInfo = 0x7f18b1b90510 aurName = SPELL_AURA_PERIODIC_ENERGIZE #3 0x00000000007215f2 in Unit::RemoveAurasDueToSpellBySteal (this=0x7f18944be780, spellId=29166, casterGUID=1512, stealer=0x5077740) at ../../../src/game/Unit.cpp:4069 basePoints = 224 new_aur = 0xbf300 aur = 0x7f189e5cd610 iter = {_M_node = 0x7f18992a8330} #4 0x00000000006e912a in Spell::EffectStealBeneficialBuff (this=0x66e3310, i=<value optimized out>) at ../../../src/game/SpellEffects.cpp:7013 spellInfo = 0x7f18b1b90510 count = <value optimized out> data = {<ByteBuffer> = {static DEFAULT_SIZE = 4096, _rpos = 0, _wpos = 20, _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 = 0x7fa6740 "\\003è\\005\\003I\\006ñv", _M_finish = 0x7fa6754 "", _M_end_of_storage = 0x7fa675e ""}}, <No data fields>}}, m_opcode = 819} success_list = {<std::_List_base<std::Pair<unsigned int, unsigned long>, std::allocator<std::Pair<unsigned int, unsigned long> > >> = { _M_impl = {<std::allocator<std::_List_node<std::Pair<unsigned int, unsigned long> > >> = {<__gnu_cxx::new_allocator<std::_List_node<std::Pair<unsigned int, unsigned long> > >> = {<No data fields>}, <No data fields>}, _M_node = { _M_next = 0x170b780, _M_prev = 0x170b780}}}, <No data fields>} list_size = <value optimized out> steal_list = {<std::_Vector_base<Aura*, std::allocator<Aura*> >> = { _M_impl = {<std::allocator<Aura*>> = {<__gnu_cxx::new_allocator<Aura*>> = {<No data fields>}, <No data fields>}, _M_start = 0x37e62f0, _M_finish = 0x37e6308, _M_end_of_storage = 0x37e6310}}, <No data fields>} dispelMask = <value optimized out> #5 0x00000000006c0988 in Spell::DoSpellHitOnUnit (this=0x66e3310, unit=0x7f18944be780, effectMask=1) at ../../../src/game/Spell.cpp:1173 effectNumber = 0 realCaster = 0x5077740 #6 0x00000000006c0f5b in Spell::DoAllEffectOnTarget (this=0x66e3310, target=0x237e3e0) at ../../../src/game/Spell.cpp:974 mask = 0 unit = 0x7f18944be780 caster = 0x5077740 missInfo = SPELL_MISS_NONE procVictim = 131072 procAttacker = 65536 procEx = <value optimized out> #7 0x00000000006cba54 in Spell::handle_immediate (this=0x66e3310) at ../../../src/game/Spell.cpp:2731 No locals. #8 0x00000000006d0d58 in Spell::cast (this=0x66e3310, skipCheck=false) at ../../../src/game/Spell.cpp:2705 castResult = <value optimized out> #9 0x00000000006d1600 in SpellEvent::Execute (this=0x2cde720, e_time=4870193, p_time=0) at ../../../src/game/Spell.cpp:6104 No locals. #10 0x00000000007f8b5f in EventProcessor::Update (this=0x5077850, p_time=101) at ../../../src/framework/Utilities/EventProcessor.cpp:47 Event = 0x2cde720 #11 0x000000000072024c in Unit::Update (this=0x5077740, p_time=101) at ../../../src/game/Unit.cpp:197 No locals. #12 0x000000000068a5f1 in Player::Update (this=0x5077740, p_time=101) at ../../../src/game/Player.cpp:1114 now = <value optimized out> pet = <value optimized out> #13 0x00000000005d3700 in Map::Update (this=0x7f18983cabc0, t_diff=@0x7f18b54f0ffc) at ../../../src/game/Map.cpp:598 plr = 0x3e8 updater = {i_timeDiff = 101} __PRETTY_FUNCTION__ = "virtual void Map::Update(const uint32&)" #14 0x0000000000799859 in MapInstanced::Update (this=0x4d184a0, t=@0x7f18b54f0ffc) at ../../../src/game/MapInstanced.cpp:63 i = {<std::tr1::__detail::_Hashtable_iterator_base<std::Pair<unsigned int const, Map*>, false>> = { _M_cur_node = 0x7f189f2c9830, _M_cur_bucket = 0x4b5cae8}, <No data fields>} #15 0x00000000005e08b7 in MapManager::Update (this=0x7f18aea49670, diff=<value optimized out>) at ../../../src/game/MapManager.cpp:265 No locals. #16 0x0000000000740f09 in World::Update (this=0x7f18b800af70, diff=40) at ../../../src/game/World.cpp:1688 No locals. #17 0x00000000004e197c in WorldRunnable::run (this=<value optimized out>) at ../../../src/mangosd/WorldRunnable.cpp:60 diff = 40 realCurrTime = 856514951 realPrevTime = <value optimized out> prevSleepTime = 38 #18 0x00000000007df83c in ACE_Based::Thread::ThreadTask (param=0x3e8) at ../../../src/shared/Threading.cpp:183 _task = 0x7f18ac32a550 #19 0x00007f18be442a04 in start_thread () from /lib/libpthread.so.0 No symbol table info available. #20 0x00007f18bda0180d in clone () from /lib/libc.so.6 No symbol table info available. #21 0x0000000000000000 in ?? () No symbol table info available.
GetAuraMaxTicks = 0... Try something like :
if(GetAuraMaxTicks()) m_modifier.m_amount = int32(caster->GetCreateMana() * GetBasePoints() / (100 * GetAuraMaxTicks()));
-
Nearly the same crash...
Program received signal SIGSEGV, Segmentation fault.[switching to Thread 0x40e4f950 (LWP 15629)]
0x00007fe29444bc10 in ?? ()
#0 0x00007fe29444bc10 in ?? ()
#1 0x0000000000839e5f in SqlAsyncTask::~SqlAsyncTask ()
#2 0x0000000000839c61 in SqlDelayThread::run ()
#3 0x0000000000840b07 in ACE_Based::Thread::ThreadTask ()
#4 0x00007fe29a4a4fc7 in start_thread () from /lib/libpthread.so.0
#5 0x00007fe299a745ad in clone () from /lib/libc.so.6
EDIT: crashfix: add a pragma omp critical in player::savetodb
-
Program received signal SIGSEGV, Segmentation fault.
[switching to Thread 0x40c77950 (LWP 17253)]
0x0000000000000061 in ?? ()
#0 0x0000000000000061 in ?? ()
#1 0x0000000000839da1 in SqlAsyncTask::call ()
#2 0x0000000000839c88 in SqlDelayThread::run ()
#3 0x0000000000840b37 in ACE_Based::Thread::ThreadTask ()
#4 0x00007f9068adafc7 in start_thread () from /lib/libpthread.so.0
#5 0x00007f90680aa5ad in clone () from /lib/libc.so.6
#6 0x0000000000000000 in ?? ()
#0 0x0000000000000061 in ?? ()
No symbol table info available.
#1 0x0000000000839da1 in SqlAsyncTask::call ()
No locals.
#2 0x0000000000839c88 in SqlDelayThread::run ()
No locals.
#3 0x0000000000840b37 in ACE_Based::Thread::ThreadTask ()
No locals.
#4 0x00007f9068adafc7 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#5 0x00007f90680aa5ad in clone () from /lib/libc.so.6
No symbol table info available.
#6 0x0000000000000000 in ?? ()
No symbol table info available.
Crash with the sql patch... (http://paste2.org/p/528578)
Can you help us?
EDIT: when it crash, 1 player dissapear from the database ?! Possible? The problem is maybe located in player::savetodb... The DELETE clause can be deleted and the INSERT clause change to REPLACE... But I'm not sure this bug is caused by this patch...
-
It's a core bug, it's not in the db.
-
Pushed as 59614bb7737706ada7b4ac0b1cb683c15aa1a5e7:
Playerbot will now work with 8077+
Correction of some flags.
Thank you.
-
Hello, I have adapted playerbot to 8090.
diff --git a/src/game/Creature.cpp b/src/game/Creature.cpp index 12b874e..7ea0838 100644 --- a/src/game/Creature.cpp +++ b/src/game/Creature.cpp @@ -1545,15 +1545,15 @@ void Creature::setDeathState(DeathState s) RemoveFlag (UNIT_FIELD_FLAGS, UNIT_FLAG_SKINNABLE); // Playerbot mod - AddUnitMovementFlag(MONSTER_MOVE_WALK); - AddUnitMovementFlag(MOVEMENTFLAG_WALK_MODE); + AddMonsterMoveFlag(MONSTER_MOVE_WALK); + //AddUnitMovementFlag(MOVEMENTFLAG_WALK_MODE); //SetUInt32Value(UNIT_NPC_FLAGS, cinfo->npcflag); if(isBotGiver()) SetUInt32Value(UNIT_NPC_FLAGS, 1); else // End Playerbot mod - AddUnitMovementFlag(MONSTER_MOVE_WALK); + AddMonsterMoveFlag(MONSTER_MOVE_WALK); SetUInt32Value(UNIT_NPC_FLAGS, cinfo->npcflag); clearUnitState(UNIT_STAT_ALL_STATE); i_motionMaster.Clear(); diff --git a/src/game/PlayerbotAI.cpp b/src/game/PlayerbotAI.cpp index 46d6119..4dcdba5 100644 --- a/src/game/PlayerbotAI.cpp +++ b/src/game/PlayerbotAI.cpp @@ -805,7 +805,8 @@ void PlayerbotAI::HandleBotOutgoingPacket(const WorldPacket& packet) uint64 guid = extractGuid(p); if (guid != m_bot->GetGUID()) return; - m_bot->AddUnitMovementFlag(MOVEMENTFLAG_FLYING2); + //m_bot->AddUnitMovementFlag(MOVEMENTFLAG_FLYING2); + m_bot->m_movementInfo.AddMovementFlag(MOVEMENTFLAG_FLYING2); //m_bot->SetSpeed(MOVE_RUN, m_master->GetSpeed(MOVE_FLIGHT) +0.1f, true); return; } @@ -817,7 +818,8 @@ void PlayerbotAI::HandleBotOutgoingPacket(const WorldPacket& packet) uint64 guid = extractGuid(p); if (guid != m_bot->GetGUID()) return; - m_bot->RemoveUnitMovementFlag(MOVEMENTFLAG_FLYING2); + //m_bot->RemoveUnitMovementFlag(MOVEMENTFLAG_FLYING2); + m_bot->m_movementInfo.RemoveMovementFlag(MOVEMENTFLAG_FLYING2); //m_bot->SetSpeed(MOVE_RUN,m_master->GetSpeedRate(MOVE_RUN),true); return; }
Can I have an access to github/playerbot/mangos to push it?
My username is guillaumederval
Sorry for bad english
Thanks.
-
I don't want to revert...
Will playerbot be updated?
Sorry for bad english
-
I have lots of error when I want to compile with recent mangos
Because of 8077?
Thank you, and sorry for bad english
-
git commit -a
-
Delete "<<<<<<<<<<<< ....."
And delete
"=================
...
...>>>>>>>>>>>"
Sorry for very bad english
-
Can someone help me for http://www.wowhead.com/?npc=27894 ?
I follow the instruction but I don't find vehicule entry.
I tried all posibilities...
Thank you and sorry for bad english.
PS:
INSERT INTO npc_spellclick_spells VALUES (28781, 60968, 0, 0, 0, 1); INSERT IGNORE INTO creature_template_addon VALUES (28781, 0, 0, 0, 0, 0, 106, NULL, NULL);
-
Hello,
I tried all the possibilities, and only 116 work.But the player isn't in the cannon!
Can someone help me(sorry for bad english)
-
Ok thanks.
EDIT:
How can I search in DBC the real vehicule id?I search with the editor but I don't find...
-
Hello,
I want to use this cannon : http://fr.wowhead.com/?npc=27894
I modify the tables vehicles_data, creature_addon and npc_spellclicks_spells(the vehicle is 999 in my tables)
But I don't know what I have to put in vehicles_data_seat...
Sorry for very very bad english...
-
Hello,
In playerbotai.cpp
Please change
m_bot->TeleportTo( loc.mapid, loc.x, loc.y, loc.z, m_bot->GetOrientation() );
in
m_bot->TeleportTo( loc.mapid, loc.coord_x, loc.coord_y, loc.coord_z, m_bot->GetOrientation() );
at line 1961
In new version of mangos(8027).
Thank you and sorry for bad english
spell_work
in OldGeneral discussion
Posted
Dll problems? You have to compile the mysql dll in 32 bit.
Spell_work help you to make work spells ^^