update event data, improve server selector

This commit is contained in:
Mikhail
2025-02-21 20:51:49 -05:00
parent 07fab687e7
commit 09ad13fabd
4 changed files with 143 additions and 67 deletions

View File

@@ -8,6 +8,8 @@ namespace ServerSelector
public class ServerSwitcher
{
private static int GameAssemblySodiumIntegrityFuncHint = 0x5F17AF0;
public static string PatchGameVersion = "130.8.13";
private static byte[] GameAssemblySodiumIntegrityFuncOrg = [0x40, 0x53, 0x56, 0x57, 0x41];
private static byte[] GameAssemblySodiumIntegrityFuncPatch = [0xb0, 0x01, 0xc3, 0x90, 0x90];
private const string HostsStartMarker = "# begin ServerSelector entries";