Jump to content

wow4

Members
  • Posts

    75
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by wow4

  1. ok the spell does work and the object does cast it but you only see the effect if you do .cast 23451 you get the effect and the buff

    the gobject is not casting it right?

    maybe something here?

    
    [9347] Restore wild gameobject casting.
    
    Most visible case: gameobject based teleports.

    [9323] Fixes in code work with original caster guid.
    
    * Add 2 function for 2 used way for original caster
     - GetAffectiveCaster(), is posible NULL unit as source spell affects
       (explcit caster, GO owner, caster of aura that trigering affect)..
     - GetCastingObject(), possible NULL world object as in game spell 
     effects
       source, cast center, etc, need because original caster can store GO
       guid that apply effect around. In other cases m_caster
    * Use functions and avoid use explicitly m_originalCaster
    * Use GetAffectiveCaster() for fix explicit GO cast at near unit, like now 
    fixed campfire bonus.

  2. look at this

    void BattleGroundWS::HandleAreaTrigger(Player *Source, uint32 Trigger)
    {
       // this is wrong way to implement these things. On official it done by gameobject spell cast.
       if (GetStatus() != STATUS_IN_PROGRESS)
           return;
    
       //uint32 SpellId = 0;
       //uint64 buff_guid = 0;
       switch(Trigger)
       {
           case 3686:                                          // Alliance elixir of speed spawn. Trigger not working, because located inside other areatrigger, can be replaced by IsWithinDist(object, dist) in BattleGround::Update().
           case 3687:                                          // Horde elixir of speed spawn. Trigger not working, because located inside other areatrigger, can be replaced by IsWithinDist(object, dist) in BattleGround::Update().
           case 3706:                                          // Alliance elixir of regeneration spawn
           case 3708:                                          // Horde elixir of regeneration spawn
           case 3707:                                          // Alliance elixir of berserk spawn
           case 3709:                                          // Horde elixir of berserk spawn
               break;

    edit:nvm

  3. Can you explain a little better what happens...

    If I got this right..

    you enter instance, and a teleport npc you use sends you to the wrong area. and client crashs?

    If thats right..

    What instance?

    What npc ?

    Is it a custom teleport npc?

    what area does it send you to when it crashs?

    thank you :)

  4. error compil with sd2 1570

    this is my compile error

    Error 1 error C2039: 'RemoveMonsterMoveFlag': is not a member of 'Creature' c: \\ Documents and Settings \\ bloutix.DANIEL84-14D13D \\ Office \\ dev Pandora \\ Pandora new \\ Jethro-To-comp \\ Pandora \\ src \\ bindings \\ ScriptDev2 \\ scripts \\ eastern_kingdoms \\ scarlet_enclave \\ ebon_hold.cpp 1161

    Error 2 error C2065: 'MONSTER_MOVE_SPLINE_FLY': undeclared identifier c: \\ Documents and Settings \\ bloutix.DANIEL84-14D13D \\ Office \\ dev Pandora \\ Pandora new \\ Jethro-To-comp \\ Pandora \\ src \\ bindings \\ ScriptDev2 \\ scripts \\ eastern_kingdoms \\ scarlet_enclave \\ ebon_hold.cpp 1161

    Error 3 error C2039: 'SetMonsterMoveFlags': is not a member of 'Creature' c: \\ Documents and Settings \\ bloutix.DANIEL84-14D13D \\ Office \\ dev Pandora \\ Pandora new \\ Jethro-To-comp \\ Pandora \\ src \\ bindings \\ ScriptDev2 \\ scripts \\ eastern_kingdoms \\ scarlet_enclave \\ ebon_hold.cpp 1179

    Error 4 error C2065: 'MONSTER_MOVE_SPLINE_FLY': undeclared identifier c: \\ Documents and Settings \\ bloutix.DANIEL84-14D13D \\ Office \\ dev Pandora \\ Pandora new \\ Jethro-To-comp \\ Pandora \\ src \\ bindings \\ ScriptDev2 \\ scripts \\ eastern_kingdoms \\ scarlet_enclave \\ ebon_hold.cpp 1179

    Try this http://filebeam.com/72b949bcf2779eeaf17732c3e1cef9cb

    untested but should work. If it does not work post the error please :)

    -            m_creature->RemoveMonsterMoveFlag(MONSTER_MOVE_SPLINE_FLY);
    +            m_creature->RemoveSplineFlag(SPLINEFLAG_FLYING);

    -                m_creature->SetMonsterMoveFlags(MONSTER_MOVE_SPLINE_FLY);
    +                m_creature->SetSplineFlags(SPLINEFLAG_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