Fix 19.01 pickups

This commit is contained in:
YesseYesseY
2025-04-11 22:36:19 +02:00
parent 6746c14cd1
commit 37749ebb04
3 changed files with 11 additions and 1 deletions

1
.gitignore vendored
View File

@@ -385,3 +385,4 @@ Project Reboot 3.0/x64/Release/Project Reboot 3.0.iobj
*.tlog *.tlog
*.ifc *.ifc
*.pdb *.pdb
Build/

View File

@@ -819,6 +819,9 @@ static inline uint64 FindCompletePickupAnimation()
{ {
auto addr = Memcury::Scanner::FindPattern("48 89 5C 24 ? 48 89 74 24 ? 55 57 41 57 48 8D AC 24 ? ? ? ? 48 81 EC ? ? ? ? 48 8B 05 ? ? ? ? 48 33 C4 48 89 85 ? ? ? ? 48 8B B9", false).Get(); // 19.10; auto addr = Memcury::Scanner::FindPattern("48 89 5C 24 ? 48 89 74 24 ? 55 57 41 57 48 8D AC 24 ? ? ? ? 48 81 EC ? ? ? ? 48 8B 05 ? ? ? ? 48 33 C4 48 89 85 ? ? ? ? 48 8B B9", false).Get(); // 19.10;
if (!addr)
addr = Memcury::Scanner::FindPattern("48 89 5C 24 ? 48 89 74 24 ? 55 57 41 54 48 8D AC 24 ? ? ? ? 48 81 EC A0 01 00 00", false).Get(); // 19.01
if (!addr) if (!addr)
addr = Memcury::Scanner::FindPattern("48 8B C4 48 89 58 10 48 89 70 18 48 89 78 20 55 41 54 41 55 41 56 41 57 48 8D A8 ? ? ? ? 48 81 EC ? ? ? ? 48 8B 05 ? ? ? ? 48 33 C4 48 89 85 ? ? ? ? 48 8B B9 ? ? ? ? 45 33 E4 48 8B D9 48 85 FF 74 0F").Get(); // 20.40 addr = Memcury::Scanner::FindPattern("48 8B C4 48 89 58 10 48 89 70 18 48 89 78 20 55 41 54 41 55 41 56 41 57 48 8D A8 ? ? ? ? 48 81 EC ? ? ? ? 48 8B 05 ? ? ? ? 48 33 C4 48 89 85 ? ? ? ? 48 8B B9 ? ? ? ? 45 33 E4 48 8B D9 48 85 FF 74 0F").Get(); // 20.40
@@ -1885,4 +1888,4 @@ static inline uint64 FindClearAbility()
return Memcury::Scanner::FindPattern("48 8B C4 48 89 58 08 48 89 68 10 48 89 70 18 48 89 78 20 41 56 48 83 EC 20 80 89 ? ? ? ? ? 48 8B F2 44 8B 89 ? ? ? ? 33 D2 48 8B").Get(); return Memcury::Scanner::FindPattern("48 8B C4 48 89 58 08 48 89 68 10 48 89 70 18 48 89 78 20 41 56 48 83 EC 20 80 89 ? ? ? ? ? 48 8B F2 44 8B 89 ? ? ? ? 33 D2 48 8B").Get();
return 0; return 0;
} }

6
build-linux.sh Executable file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/bash
# To run this you need to setup msvc for wine https://github.com/mstorsjo/msvc-wine
# I haven't setup the .clangd file yet so it's gonna be a pain to program in if you're using clangd tho
msbuild "./Project Reboot 3.0/Project Reboot 3.0.vcxproj" /p:configuration=Release /p:platform=x64 /p:OutDir=../Build