Skip to content

Commit 775c41d

Browse files
committed
0.7.2.775 version fix
1 parent 158a4d2 commit 775c41d

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

NetworkingFix/dllmain.cpp

+6-2
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,13 @@ ScrapMechanic.exe.text + 416316 : 75 0C - jne ScrapMechanic.exe.text + 416324
2929
*/
3030

3131
// Set any version that is supported
32-
#define _SM_VERSION_NUM 071772
32+
#define _SM_VERSION_NUM 072775
3333

34-
#if _SM_VERSION_NUM == 071772
34+
#if _SM_VERSION_NUM == 072775
35+
static constexpr std::uintptr_t offset = 0x4073DC;
36+
static constexpr std::array<std::uint8_t, 6> originalBytes{ 0x0F, 0x86, 0x3B, 0x01, 0x00, 0x00 };
37+
static constexpr std::array<std::uint8_t, 6> replacedBytes{ 0xE9, 0x3C, 0x01, 0x00, 0x00, 0x90 };
38+
#elif _SM_VERSION_NUM == 071772
3539
static constexpr std::uintptr_t offset = 0x4073BC;
3640
static constexpr std::array<std::uint8_t, 6> originalBytes{ 0x0F, 0x86, 0x3B, 0x01, 0x00, 0x00 };
3741
static constexpr std::array<std::uint8_t, 6> replacedBytes{ 0xE9, 0x3C, 0x01, 0x00, 0x00, 0x90 };

0 commit comments

Comments
 (0)