mirror of
https://github.com/Milxnor/Project-Reboot-3.0.git
synced 2026-01-13 10:52:22 +01:00
Add nam
This commit is contained in:
@@ -57,7 +57,8 @@ void AFortPlayerController::ClientForceCancelBuildingTool()
|
||||
{
|
||||
static auto ClientForceCancelBuildingToolFn = FindObject<UFunction>(L"/Script/FortniteGame.FortPlayerController.ClientForceCancelBuildingTool");
|
||||
|
||||
this->ProcessEvent(ClientForceCancelBuildingToolFn);
|
||||
if (ClientForceCancelBuildingToolFn)
|
||||
this->ProcessEvent(ClientForceCancelBuildingToolFn);
|
||||
}
|
||||
|
||||
bool AFortPlayerController::DoesBuildFree()
|
||||
@@ -1803,5 +1804,5 @@ void AFortPlayerController::ServerEndEditingBuildingActorHook(AFortPlayerControl
|
||||
// PlayerController->ClientForceCancelBuildingTool();
|
||||
}
|
||||
|
||||
PlayerController->ClientForceCancelBuildingTool();
|
||||
// PlayerController->ClientForceCancelBuildingTool();
|
||||
}
|
||||
|
||||
@@ -6,12 +6,6 @@
|
||||
#include "discord.h"
|
||||
#include "log.h"
|
||||
|
||||
static inline size_t WriteCallback(void* contents, size_t size, size_t nmemb, std::string* buffer) {
|
||||
size_t total_size = size * nmemb;
|
||||
buffer->append((char*)contents, total_size);
|
||||
return total_size;
|
||||
}
|
||||
|
||||
inline std::vector<FString> PlayerBotNames;
|
||||
|
||||
static inline void InitBotNames()
|
||||
@@ -69,5 +63,6 @@ static inline void InitBotNames()
|
||||
PlayerBotNames.push_back(L"weyn");
|
||||
PlayerBotNames.push_back(L"ralz");
|
||||
PlayerBotNames.push_back(L"farex");
|
||||
PlayerBotNames.push_back(L"Nam");
|
||||
PlayerBotNames.push_back(L"AllyJax");
|
||||
}
|
||||
@@ -1193,7 +1193,7 @@ DWORD WINAPI Main(LPVOID)
|
||||
}
|
||||
}
|
||||
|
||||
LOG_INFO(LogDev, "OnRep_EditActor Offset: {}", OnRep_EditActorOriginal - __int64(GetModuleHandleW(0)));
|
||||
LOG_INFO(LogDev, "OnRep_EditActor Offset: 0x{:x}", OnRep_EditActorOriginal - __int64(GetModuleHandleW(0)));
|
||||
AFortWeap_EditingTool::originalOnRep_EditActor = decltype(AFortWeap_EditingTool::originalOnRep_EditActor)(OnRep_EditActorOriginal);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user