Jump to content

Merlin2009

Members
  • Posts

    3
  • Joined

  • Last visited

    Never
  • Donations

    0.00 GBP 

Everything posted by Merlin2009

  1. Hello, Player on the BG (Warsong) captures flag, logout and appears at home base graveyard with flag near player, takes flag and go to base. Should be (as on the off server): Logout on the BG caused teleport to home bind location. Patch: --- WorldSession.cpp.bak 2009-12-24 01:33:29.000000000 +0200 +++ WorldSession.cpp 2009-12-24 01:32:41.000000000 +0200 @@ -355,10 +355,13 @@ _player->BuildPlayerRepop(); _player->RepopAtGraveyard(); } - //drop a flag if player is carrying it + //also teleport player to home location (prevent cheating) if(BattleGround *bg = _player->GetBattleGround()) + { bg->EventPlayerLoggedOut(_player); + _player->TeleportTo(_player->m_homebindMapId, _player->m_homebindX, _player->m_homebindY, _player->m_homebindZ, _player->GetOrientation()); + } ///- Remove from OutdoorPvP sOutdoorPvPMgr.HandlePlayerLeaveZone(_player,_player->GetZoneId()); Any suggestions are welcome.
  2. Thank you, it seems to work fine.
  3. Raczman, Does it work with FreeBSD too? I've gcc 4.2.1
×
×
  • 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