Fix core-hooks patches: correct cs_playerbot_v2.cpp hunk count/hash
This commit is contained in:
@@ -4190,10 +4190,10 @@ index 3356fd9402..ecec635c89 100644
|
||||
COMPILE_WARNING_AS_ERROR ${WITH_WARNINGS_AS_ERRORS}
|
||||
diff --git a/src/server/scripts/Commands/cs_playerbot_v2.cpp b/src/server/scripts/Commands/cs_playerbot_v2.cpp
|
||||
new file mode 100644
|
||||
index 0000000000..8119d9c01a
|
||||
index 0000000000..993ac1bd772f183f12d3d4872b919e2e7e7f7e3c
|
||||
--- /dev/null
|
||||
+++ b/src/server/scripts/Commands/cs_playerbot_v2.cpp
|
||||
@@ -0,0 +1,4713 @@
|
||||
@@ -0,0 +1,4714 @@
|
||||
+/*
|
||||
+ * Playerbot V2 GM commands. Wired only when BUILD_PLAYERBOT_V2 is on.
|
||||
+ * Per v2/CONFIG.md §8.2 (admin commands).
|
||||
|
||||
@@ -1901,7 +1901,7 @@ index e50ff4da12..fc45a6e929 100644
|
||||
|
||||
void WorldSession::HandleBuybackItem(WorldPackets::Item::BuyBackItem& packet)
|
||||
diff --git a/src/server/game/Handlers/LFGHandler.cpp b/src/server/game/Handlers/LFGHandler.cpp
|
||||
index 523a3e6e03..d6e5759b3e 100644
|
||||
index eb39de2893..a2dbeffd3b 100644
|
||||
--- a/src/server/game/Handlers/LFGHandler.cpp
|
||||
+++ b/src/server/game/Handlers/LFGHandler.cpp
|
||||
@@ -26,6 +26,7 @@
|
||||
@@ -1909,10 +1909,10 @@ index 523a3e6e03..d6e5759b3e 100644
|
||||
#include "ObjectMgr.h"
|
||||
#include "Player.h"
|
||||
+#include "Playerbot/PlayerbotHooks.h"
|
||||
|
||||
void WorldSession::HandleLfgJoinOpcode(WorldPackets::LFG::DFJoin& dfJoin)
|
||||
{
|
||||
@@ -51,6 +52,14 @@ void WorldSession::HandleLfgJoinOpcode(WorldPackets::LFG::DFJoin& dfJoin)
|
||||
//WowCommunity
|
||||
#include "Chat.h"
|
||||
#include "Warfront.h"
|
||||
@@ -114,6 +115,14 @@ void WorldSession::HandleLfgJoinOpcode(WorldPackets::LFG::DFJoin& dfJoin)
|
||||
TC_LOG_DEBUG("lfg", "CMSG_DF_JOIN {} roles: {}, Dungeons: {}", GetPlayerInfo(), dfJoin.Roles, uint8(newDungeons.size()));
|
||||
|
||||
sLFGMgr->JoinLfg(GetPlayer(), uint8(dfJoin.Roles), newDungeons);
|
||||
@@ -3944,10 +3944,10 @@ index 691ede0315..72e2133e83 100644
|
||||
COMPILE_WARNING_AS_ERROR ${WITH_WARNINGS_AS_ERRORS}
|
||||
diff --git a/src/server/scripts/Commands/cs_playerbot_v2.cpp b/src/server/scripts/Commands/cs_playerbot_v2.cpp
|
||||
new file mode 100644
|
||||
index 0000000000..8119d9c01a
|
||||
index 0000000000..993ac1bd772f183f12d3d4872b919e2e7e7f7e3c
|
||||
--- /dev/null
|
||||
+++ b/src/server/scripts/Commands/cs_playerbot_v2.cpp
|
||||
@@ -0,0 +1,4713 @@
|
||||
@@ -0,0 +1,4714 @@
|
||||
+/*
|
||||
+ * Playerbot V2 GM commands. Wired only when BUILD_PLAYERBOT_V2 is on.
|
||||
+ * Per v2/CONFIG.md §8.2 (admin commands).
|
||||
|
||||
Reference in New Issue
Block a user