aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBDKPlayer <fabian.stotz@yahoo.de>2020-06-03 18:59:32 +0200
committerBDKPlayer <fabian.stotz@yahoo.de>2020-06-03 18:59:32 +0200
commite441b54d5d7cff7115831f0e3cb21e98d9124a37 (patch)
tree9eefaaf49b00493b5d35758a4a4d8b8360134997
parent2530f393d066dbd90e47337911e4f89b123346cf (diff)
Updated to game version 101.101.37906.0 5105673
-rw-r--r--CustomLoadingScreen.cpp4
-rw-r--r--Offsets.cpp37
2 files changed, 22 insertions, 19 deletions
diff --git a/CustomLoadingScreen.cpp b/CustomLoadingScreen.cpp
index c3f8afb..0e380f6 100644
--- a/CustomLoadingScreen.cpp
+++ b/CustomLoadingScreen.cpp
@@ -11,10 +11,10 @@ CustomLoadingScreen::CustomLoadingScreen(char* imagePath)
void CustomLoadingScreen::OnInitialise()
{
//original string "/resources/loading_slash.png"
- Patcher().Patch((BYTE*)GetModuleHandle(NULL) + 0x1E73E40,(int64_t)this->imagePath);
+ Patcher().Patch((BYTE*)GetModuleHandle(NULL) + 0x1E72D20,(int64_t)this->imagePath);
//change LEA to MOV by changing 0x8d to 0x8b
- Patcher().Patch((BYTE*)GetModuleHandle(NULL) + 0xEEAB6E + 1, (int8_t)0x8b);
+ Patcher().Patch((BYTE*)GetModuleHandle(NULL) + 0xEEA8EE + 1, (int8_t)0x8b);
}
void CustomLoadingScreen::OnMenuMainWindow()
diff --git a/Offsets.cpp b/Offsets.cpp
index 989117a..67c2d9f 100644
--- a/Offsets.cpp
+++ b/Offsets.cpp
@@ -2,30 +2,33 @@
namespace Offsets
{
- //48 8D 0D ? ? ? ? 41 B8 ? ? ? ? E8 ? ? ? ? 33 C0 //3
- //48 8D 0D ? ? ? ? E8 ? ? ? ? 0F B6 C0 //3
- int64_t pathfindingSystem = 0x29a4ba0;
+ //48 8D 0D ? ? ? ? 41 B8 ? ? ? ? E8 ? ? ? ? 33 C0 //4
+ //48 8D 0D ? ? ? ? E8 ? ? ? ? 0F B6 C0 //4
+ int64_t pathfindingSystem = 0x29A3AE0;
- //48 8B 0D ? ? ? ? E8 ? ? ? ? C6 85 //3
- int64_t mainScreen = 0x2992a40;
+ //48 8B 0D ? ? ? ? E8 ? ? ? ? C6 85 //4
+ int64_t mainScreen = 0x2991980;
- //48 8B 0D ? ? ? ? 48 85 C9 0F 84 ? ? ? ? 40 //2
- int64_t tribePanelInven = 0x2993fa0;
+ //48 8B 0D ? ? ? ? 48 85 C9 0F 84 ? ? ? ? 40 //3
+ int64_t tribePanelInven = 0x2992EE0;
- //48 8B 83 ? ? ? ? 48 8B 48 70 F3 0F 10 //2
+ //48 8B 83 ? ? ? ? 48 8B 48 70 F3 0F 10 //3
int64_t tribePanelInven_localPlayer = 0x208;
- //48 8B 05 ? ? ? ? 48 8B 88 ? ? ? ? 83 79 10 04 75 2E //1
- int64_t pAVGame = 0x2984b90;
+ //49 83 BF ? ? ? ? ? 0F 86 ? ? ? ? 48 8B - 0xE
+ int64_t pAVGame = 0x2983AD0;
- //MinimapText 88 85 ? ? ? ? 41 8B 46 0C //1
- int64_t minimapHookOffset = 0xC27079;
+ //MinimapText 88 85 ? ? ? ? 41 8B 46 0C //2
+ int64_t minimapHookOffset = 0xc26e49;
//Functions
- int64_t printNotification = 0xc1d550; //48 83 EC 48 48 8B 05 ? ? ? ? 4C 8D //2
- int64_t printBottomText = 0xc0c8b0; //48 8B C4 48 83 EC 78 F3 0F 10 05 ? ? ? ? 41 //2
- int64_t pauseGame = 0x81ddd0; //48 89 5C 24 ? 55 48 8D 6C 24 ? 48 81 EC ? ? ? ? 80 //1
- int64_t sendChat = 0x9abef0; //not 100% sure if correct
- int64_t createUnitHook = 0xe064b0; //48 89 5C 24 ? 48 89 6C 24 ? 57 48 83 EC 20 8B 41 //1
+ int64_t printNotification = 0xc1d320; //48 83 EC 48 48 8B 05 ? ? ? ? 4C 8D //3
+ int64_t printBottomText = 0xc0c680; //48 8B C4 48 83 EC 78 F3 0F 10 05 ? ? ? ? 41 //3
+ int64_t pauseGame = 0x81ddd0; //48 89 5C 24 ? 55 48 8D 6C 24 ? 48 81 EC ? ? ? ? 80 //2
+
+ //E8 ? ? ? ? 90 48 8B 05 ? ? ? ? F2 - 0x94 //0
+ int64_t sendChat = 0x9AC090;
+
+ int64_t createUnitHook = 0xE06260; //48 89 5C 24 ? 48 89 6C 24 ? 57 48 83 EC 20 8B 41 //2
} \ No newline at end of file