Jump to content

djmagma59

Members
  • Posts

    23
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by djmagma59

  1. # It's based on ManGOS Project but some files modified and some function recode for make a newest program

    visible here .

    https://g-core21.svn.sourceforge.net/svnroot/g-core21/README

    Authors of Gcore

    Glaciusane => management, development, administrator.

    MangosTeam => original project based on their work.

    Scriptdev2 => Some scripts based on their work.

    visible here

    https://g-core21.svn.sourceforge.net/svnroot/g-core21/AUTHORS

    and glaciusane its me!

  2. hello i just code it for my server and write here the small code if you need.

    Index: C:/Mangos/src/game/player.h
    ===================================================================
    --- C:/Mangos/src/game/player.h     (revision 1)
    +++ C:/Mangos/src/game/player.h         (revision 2)
    @@ -2384,6 +2384,8 @@
    
            bool canSeeSpellClickOn(Creature const* creature) const;
        protected:
    +    
    +    void CheckBGMoney();
    
            uint32 m_contestedPvPTimer;
    
    Index: C:/Mangos/src/game/player.cpp
    ===================================================================
    --- C:/Mangos/src/game/player.cpp    (revision 1)
    +++ C:/Mangos/src/game/player.cpp    (revision 2)
    @@ -1226,6 +1226,8 @@
        CheckDuelDistance(now);
    
        UpdateAfkReport(now);
    +    
    +    CheckBGMoney();
    
        // Update items that have just a limited lifetime
        if (now>m_Last_tick)
    @@ -22240,3 +22242,17 @@
                SetFFAPvP(false);
        }
    }
    +
    +void Player::CheckBGMoney()
    +{
    +    uint32 count, pArenaID, pHonorID;
    +    count = 1;
    +    pArenaID = 43307; 
    +    pHonorID = 43308; 
    +  
    +    if (!HasItemCount(pArenaID, count) && GetArenaPoints() > 0)
    +        StoreNewItemInBestSlots(pArenaID, count);
    +  
    +    if (!HasItemCount(pHonorID, count) && GetHonorPoints() > 0)
    +        StoreNewItemInBestSlots(pHonorID, count);
    +}
    
    

    Sorry for my bad english.

  3. i try add

     
    if (player->GetGroup())
    {  
        if (Map *BindMap = sMapMgr.FindMap(player->GetCorpse()->GetMapId(), player->GetCorpse()->GetInstanceId()))
      {
       if (((InstanceMap*)BindMap)->GetInstanceData() && ((InstanceMap*)BindMap)->GetInstanceData()->IsEncounterInProgress())
       {
        if (!player->isAlive())
         player->ResurrectPlayer(0.5f);
        player->SendTransferAborted(mapid, TRANSFER_ABORT_ZONE_IN_COMBAT);    
        return (false);
       }
      }
     }  
    

    in bool MapManager::CanPlayerEnter(uint32 mapid, Player* player)

    its work for send message for player and just revive him but i have one problem. if player enter map and no other raid member in map == crash :x

    im not sur but its better not teleport player just lock entry of raid and send message, no?

    edit : for your patch add

     
    // cannot enter while players in the instance are in combat
       Group *pGroup = player->GetGroup();
    -    if(pGroup && pGroup->InCombatToInstance(GetInstanceId()) && player->isAlive() && player->GetMapId() != GetId())
    +    if( pGroup && pGroup->InCombatToInstance(GetInstanceId()) )
       {
           player->SendTransferAborted(GetId(), TRANSFER_ABORT_ZONE_IN_COMBAT);
    +      if (!player->isAlive())
    +            player->ResurrectPlayer(0.5f);
         return false;
       }
    

  4. hello,

    I am currently doing the two missing arenas for my server, for sewers with no worries cons not possible to mount the elevator of "ring valor" I try with the same system as the doors without much Hope then after long hours of research I shall give the forum to see if anyone has an idea that I know how to walk in those damn elevator.

    Thank you in advance if someone manages to help me, kindly

    EDIT : oops sorry i learn it himself ^^

    The elevator animation is already defined in transportAnimation.dbc and just give a good entry on the gameobject for execute animation.

    I have just know the good animation for ring of valor elevator and its ok ^^

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