Jump to content

guillaumederval

Members
  • Posts

    20
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

guillaumederval's Achievements

Member

Member (2/3)

0

Reputation

  1. Dll problems? You have to compile the mysql dll in 32 bit. Spell_work help you to make work spells ^^
  2. 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
  3. Errare humanum est, don't see target = 0x0
  4. Crash in SD2, in the ahnqiraj or ahnkahet script... I don't remember.
  5. GetAuraMaxTicks = 0... Try something like : if(GetAuraMaxTicks()) m_modifier.m_amount = int32(caster->GetCreateMana() * GetBasePoints() / (100 * GetAuraMaxTicks()));
  6. Nearly the same crash... EDIT: crashfix: add a pragma omp critical in player::savetodb
  7. 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...
  8. Pushed as 59614bb7737706ada7b4ac0b1cb683c15aa1a5e7: Playerbot will now work with 8077+ Correction of some flags. Thank you.
  9. 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.
  10. I don't want to revert... Will playerbot be updated? Sorry for bad english
  11. I have lots of error when I want to compile with recent mangos Because of 8077? Thank you, and sorry for bad english
  12. Delete "<<<<<<<<<<<< ....." And delete "================= ... ...>>>>>>>>>>>" Sorry for very bad english
×
×
  • 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