Skip to content

Commit 7d29755

Browse files
fix: lobby server patch
1 parent b8a5e18 commit 7d29755

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

src/Client/Launcher/Services/LauncherService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ private static void PatchBoot(uint processId)
112112
ApplyPatch(processHandle, baseOffset + 0x5DF64, [0x01, 0x00, 0x00, 0x00]);
113113

114114
// ver01.ffxiv.com -> 127.0.0.1
115-
ApplyPatch(processHandle, baseOffset + 0x8E62DC, Encoding.ASCII.GetBytes("127.0.0.1\0\0\0\0\0\0\0"));
115+
ApplyPatch(processHandle, baseOffset + 0x8E62DC, Encoding.ASCII.GetBytes("127.0.0.1\0\0\0\0\0\0"));
116116
}
117117

118118
private static unsafe void ApplyPatch(SafeFileHandle processHandle, nuint address, byte[] patchData)

src/Client/Patching/Generator/PatchGenerator.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public static void GenerateAllPatches()
2222
GenerateBootPatch();
2323
GenerateGamePatch();
2424

25-
PInvoke.MessageBox(HWND.Null, "Patches generated successfully!", "Rapture Patch Generator", MESSAGEBOX_STYLE.MB_ICONERROR);
25+
PInvoke.MessageBox(HWND.Null, "Patches generated successfully!", "Rapture Patch Generator", MESSAGEBOX_STYLE.MB_ICONINFORMATION);
2626
}
2727

2828
/// <summary>
@@ -45,7 +45,7 @@ public static void GenerateBootPatch()
4545
bootFile.ApplyPatch(0x64324, [0x01, 0x00, 0x00, 0x00]);
4646

4747
// ver01.ffxiv.com -> 127.0.0.1
48-
bootFile.ApplyPatch(0x966404, Encoding.ASCII.GetBytes("127.0.0.1\0\0\0\0\0\0\0"));
48+
bootFile.ApplyPatch(0x966404, Encoding.ASCII.GetBytes("127.0.0.1\0\0\0\0\0\0"));
4949

5050
bootPatch.Save();
5151
}
@@ -80,7 +80,7 @@ public static void GenerateGamePatch()
8080
gameFile.ApplyPatch(0x7B95D3, [0xB5, 0x01]);
8181

8282
// lobby01.ffxiv.com -> 127.0.0.1
83-
gameFile.ApplyPatch(0x966404, Encoding.ASCII.GetBytes("127.0.0.1\0\0\0\0\0\0\0\0\0\0\0"));
83+
gameFile.ApplyPatch(0xB90110, Encoding.ASCII.GetBytes("127.0.0.1\0\0\0\0\0\0\0\0"));
8484

8585
gamePatch.Save();
8686
}
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 commit comments

Comments
 (0)