게임강의
WOW와우 분류

WoW 엘리시움코어 비행 즉시이동 소스

컨텐츠 정보

  • 171 조회
  • 0 추천
  • 0 비추천
  • 목록

본문

----------------------------- src/game/Objects/Player.cpp -----------------------------

index 178d8e2..fbc5127 100644

@@ -18175 +18175 @@ bool Player::ActivateTaxiPathTo(std::vector<uint32> const& nodes, Creature* npc



    // reset extraAttacks counter

    ResetExtraAttacks();



    if (GetPet())

        RemovePet(PET_SAVE_REAGENTS);



-  WorldPacket data(SMSG_ACTIVATETAXIREPLY, 4);

-  data << uint32(ERR_TAXIOK);

-  GetSession()->SendPacket(&data);



-  DEBUG_LOG("WORLD: Sent SMSG_ACTIVATETAXIREPLY");



-  GetSession()->SendDoFlight(mount_display_id, sourcepath);



+  DEBUG_LOG("WORLD: Sent SMSG_ACTIVATETAXIREPLY");



+  if (sWorld.getConfig(CONFIG_BOOL_INSTANT_TAXI))

+  {

+        TaxiNodesEntry const* lastnode = sObjectMgr.GetTaxiNodeEntry(nodes[nodes.size() - 1]);

+        m_taxi.ClearTaxiDestinations();

+        TeleportTo(lastnode->map_id, lastnode->x, lastnode->y, lastnode->z, GetOrientation());

+        return false;

+  }

+  else

+  {

+        WorldPacket data(SMSG_ACTIVATETAXIREPLY, 4);

+        data << uint32(ERR_TAXIOK);

+        GetSession()->SendPacket(&data);

+        GetSession()->SendDoFlight(mount_display_id, sourcepath);

+  }



      return true;

}



bool Player::ActivateTaxiPathTo(uint32 taxi_path_id, uint32 spellid /*= 0*/, bool nocheck)







------------------------------ src/game/World.cpp ------------------------------

index 2bdf5e2..c2254bc 100644

@@ -580,6 +580,8 @@ void World::LoadConfigSettings(bool reload)



    setConfigMin(CONFIG_UINT32_MIN_HONOR_KILLS, "MinHonorKills", MIN_HONOR_KILLS, 1);

    setConfigMinMax(CONFIG_UINT32_MAINTENANCE_DAY, "MaintenanceDay", 4, 0, 6);

    setConfig(CONFIG_BOOL_AUTO_HONOR_RESTART, "AutoHonorRestart", true);

    setConfig(CONFIG_BOOL_ALL_TAXI_PATHS, "AllFlightPaths", false);

+  setConfig(CONFIG_BOOL_INSTANT_TAXI, "InstantFlightPaths", false);

    setConfig(CONFIG_BOOL_CAST_UNSTUCK, "CastUnstuck", true);

    setConfig(CONFIG_UINT32_MAX_SPELL_CASTS_IN_CHAIN, "MaxSpellCastsInChain", 10);







------------------------------- src/game/World.h -------------------------------

index 2923261..e9a8c55 100644

@@ -294,6 +294,7 @@ enum eConfigBoolValues



    CONFIG_BOOL_DEATH_CORPSE_RECLAIM_DELAY_PVE,

    CONFIG_BOOL_DEATH_BONES_WORLD,

    CONFIG_BOOL_DEATH_BONES_BG,

    CONFIG_BOOL_ALL_TAXI_PATHS,

+  CONFIG_BOOL_INSTANT_TAXI,

    CONFIG_BOOL_SKILL_FAIL_LOOT_FISHING,

    CONFIG_BOOL_SKILL_FAIL_GAIN_FISHING,

    CONFIG_BOOL_SKILL_FAIL_POSSIBLE_FISHINGPOOL,







--------------------------- src/mangosd/mangosd.conf ---------------------------

index 572a7d8..d748613 100644

@@ -540,6 +540,12 @@ LogColors = "13 7 11 9"



#        Default: 0 (true)

#                1 (false)

#

+#    InstantFlightPaths

+#        Flight paths will take players to their destination instantly, instead

+#        of making them wait to fly there.

+#        Default: 0 (false)

+#                1 (true)

+#

#    AlwaysMaxSkillForLevel

#        Players will automatically gain max level dependent (weapon/defense) skill when logging in, leveling up etc.

#        Default: 0 (false)



MinHonorKills = 15

MaintenanceDay = 3

InstantLogout = 1

AllFlightPaths = 0

+InstantFlightPaths = 1

AlwaysMaxSkillForLevel = 0

ActivateWeather = 1

관련자료

댓글 0
등록된 댓글이 없습니다.
전체 658 / 1 페이지
번호
제목
이름

강의실

🏆 포인트 랭킹 TOP 10
순위 닉네임 포인트
1 no_profile 타키야겐지쪽지보내기 자기소개 아이디로 검색 전체게시물 147,509
2 no_profile 보거스쪽지보내기 자기소개 아이디로 검색 전체게시물 91,378
3 no_profile 검은고양이쪽지보내기 자기소개 아이디로 검색 전체게시물 64,195
4 서번트쪽지보내기 자기소개 아이디로 검색 전체게시물 59,621
5 no_profile 불멸의행복쪽지보내기 자기소개 아이디로 검색 전체게시물 57,281
6 no_profile 동가리쪽지보내기 자기소개 아이디로 검색 전체게시물 54,964
7 no_profile 라프텔쪽지보내기 자기소개 아이디로 검색 전체게시물 52,661
8 no_profile Gatchaman쪽지보내기 자기소개 아이디로 검색 전체게시물 45,503
9 no_profile 닥터스쪽지보내기 자기소개 아이디로 검색 전체게시물 35,020
10 no_profile Revolution쪽지보내기 자기소개 아이디로 검색 전체게시물 29,199
알림 0