Jump to content

DJNefast

Members
  • Posts

    88
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by DJNefast

  1. Hello Mangos Community,

    since 2 day i search a mean to stop casting on bosses, because we can't interrupt spells on this type of mobs.

    For example, we can interrupt auriaya when she cast her shadow spell and we must interrupt it else we wipe.

    How can i force bosses to be interrupted by spells like earth shock for example ?

    Is there any flag ?

    Thank for advance.

  2. Hi guys, i've found a very very critical bug on Death Strike.

    Death Strike is considered as a Spell not a Skill.

    If u can't understand me, i want to say when u cast it, Death Strike hit like a fireball not a mortal strike like.

    Then this spell ignore armor and do Max Damage into anybody, and in pvp it's very very cheated, DK's can two shot anybody and one shoot some mages and warlocks.

    Any idea to force this spell to be a skill not a spell ?

    Example : Damage on war: 13k, Damage on Clothes : 13k.

    Thanks a lot

  3. The crash log is simple.

    my mob Reset()

    then call the CleanAdds() function (which see the boss's adds)

    in this function :

    if(add)

    add->ForcedDespawn();

    then

    ForcedDespawn() => crash

    or setDeathState(JUST_DIED) => crash.

    this crash doesn't appear on all creatures... strange...

  4. Hi

    i've a question about crash on ForcedDespawn();

    I've got a lot of crash when a boss die with justdied or use reset() function.

    It's the same crash. The function forcedDespawn(); crash.

    In fact my code war normally secure.

    if(tomb)
       if(tomb->isAlive())
           tomb->ForcedDespawn();
    

    it's an example with Keleseth but i've the same crash with auriaya's add (only white tiger no black tiger)

    Any idea ?

  5. thanks for your answer but i've conturned this by adding a counter witch leave the while when 2500 occurs are done.

    the freeze isn't in this function, and i need to search the freeze cause with GDB, any idea ? my server isn't in windows and i haven't got any freeze when i test the server on windows :;(

  6. i've tried to spawn a vehicle, not a creature where vehicleid > 0 but there's a crash.

    There is my 2 tried fixes :

    in loadhelper

    if(Creature *d = dynamic_cast<Creature*>(obj))
           {
               if(d->GetCreatureAddon()->vehicle_id > 0)
               {
                   Vehicle* vh = dynamic_cast<Vehicle*>(obj);
                   vh->AddToWorld();
               }
               else
                   obj->AddToWorld();
           }
           else
               obj->AddToWorld();
    

    void Creature::AddToWorld()
    {
       if(GetCreatureAddon()->vehicle_id > 0)
           Vehicle::AddToWorld();
       else
       {
           ///- Register the creature for guid lookup
           if(!IsInWorld() && GetGUIDHigh()==HIGHGUID_UNIT)
               GetMap()->GetObjectsStore().insert<Creature>(GetGUID(), (Creature*)this);
    
           Unit::AddToWorld();
       }
    }
    

    That crash on GetCreatureAddon, vehicleid bugued, if i get my mouse on it with VS2008 debuguer

×
×
  • 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