Jump to content

JordanMckeag

Members
  • Posts

    37
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Posts posted by JordanMckeag

  1. Made by ? Me

    Lighthouse ? Not sure wat this is :D

    Wat does the patch do ? When a gm/admin sends a mail ingame to a player

    it will instantly make it out as its from customer support

    I think it should be applied it makes it more blizzlike

    V2

    diff --git a/src/game/Mail.cpp b/src/game/Mail.cpp
    old mode 100644
    new mode 100755
    index d671aeb..741fda9
    --- a/src/game/Mail.cpp
    +++ b/src/game/Mail.cpp
    @@ -258,11 +258,14 @@ void WorldSession::HandleSendMail(WorldPacket & recv_data )
            }
        }
    
        // If theres is an item, there is a one hour delivery delay if sent to another account's character.
        uint32 deliver_delay = needItemDelay ? sWorld.getConfig(CONFIG_MAIL_DELIVERY_DELAY) : 0;
    
        // will delete item or place to receiver mail list
    -    WorldSession::SendMailTo(receive, MAIL_NORMAL, MAIL_STATIONERY_NORMAL, pl->GetGUIDLow(), GUID_LOPART(rc), subject, itemTextId, &mi, money, COD, MAIL_CHECK_MASK_NONE, deliver_delay);
    +    WorldSession::SendMailTo(receive, MAIL_NORMAL, (GetSecurity() > SEC_PLAYER) ? MAIL_STATIONERY_GM : MAIL_STATIONERY_NORMAL, pl->GetGUIDLow(), GUID_LOPART(rc), subject, itemTextId, &mi, money, COD, MAIL_CHECK_MASK_NONE, deliver_delay);
    
        CharacterDatabase.BeginTransaction();
        pl->SaveInventoryAndGoldToDB();

    Its only a small patch checks if the player is a gm carn't see any reasons why this would cause a crash or bug with anything

  2. Lag Spikes

    Now and again on my server i will get major lag spikes

    I have a quadcore

    Before i was on a vps still did it

    Curren't specs

    3.0ghz yorkfield 12mb chace

    8gb ram

    150 raptor

    lags around every few hours not sure why am useing 320 branch did the same on master

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