Upgraded to Net 7.0
This commit is contained in:
@@ -5,8 +5,8 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
<PackageReference Include="Google.Protobuf" Version="3.21.6" />
|
<PackageReference Include="Google.Protobuf" Version="3.21.12" />
|
||||||
<PackageReference Include="MySqlConnector" Version="2.1.12" />
|
<PackageReference Include="MySqlConnector" Version="2.2.5" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
|||||||
@@ -205,8 +205,8 @@ public static partial class Detour
|
|||||||
|
|
||||||
bytes.AddRange(BitConverter.GetBytes(vertBase));
|
bytes.AddRange(BitConverter.GetBytes(vertBase));
|
||||||
bytes.AddRange(BitConverter.GetBytes(triBase));
|
bytes.AddRange(BitConverter.GetBytes(triBase));
|
||||||
bytes.AddRange(BitConverter.GetBytes(vertCount));
|
bytes.Add(vertCount);
|
||||||
bytes.AddRange(BitConverter.GetBytes(triCount));
|
bytes.Add(triCount);
|
||||||
|
|
||||||
return bytes.ToArray();
|
return bytes.ToArray();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -81,7 +81,7 @@ namespace Game
|
|||||||
Request.Function1[1] = 0x000218C0; // 0x00400000 + 0x000218C0 SFileGetFileSize
|
Request.Function1[1] = 0x000218C0; // 0x00400000 + 0x000218C0 SFileGetFileSize
|
||||||
Request.Function1[2] = 0x00022530; // 0x00400000 + 0x00022530 SFileReadFile
|
Request.Function1[2] = 0x00022530; // 0x00400000 + 0x00022530 SFileReadFile
|
||||||
Request.Function1[3] = 0x00022910; // 0x00400000 + 0x00022910 SFileCloseFile
|
Request.Function1[3] = 0x00022910; // 0x00400000 + 0x00022910 SFileCloseFile
|
||||||
Request.CheckSumm1 = BuildChecksum(BitConverter.GetBytes(Request.Unk1), 20);
|
Request.CheckSumm1 = BuildChecksum(new byte[] { Request.Unk1 }, 20);
|
||||||
|
|
||||||
Request.Command2 = WardenOpcodes.SmsgModuleInitialize;
|
Request.Command2 = WardenOpcodes.SmsgModuleInitialize;
|
||||||
Request.Size2 = 8;
|
Request.Size2 = 8;
|
||||||
@@ -90,7 +90,7 @@ namespace Game
|
|||||||
Request.String_library2 = 0;
|
Request.String_library2 = 0;
|
||||||
Request.Function2 = 0x00419D40; // 0x00400000 + 0x00419D40 FrameScript::GetText
|
Request.Function2 = 0x00419D40; // 0x00400000 + 0x00419D40 FrameScript::GetText
|
||||||
Request.Function2_set = 1;
|
Request.Function2_set = 1;
|
||||||
Request.CheckSumm2 = BuildChecksum(BitConverter.GetBytes(Request.Unk2), 8);
|
Request.CheckSumm2 = BuildChecksum(new byte[] { Request.Unk2 }, 8);
|
||||||
|
|
||||||
Request.Command3 = WardenOpcodes.SmsgModuleInitialize;
|
Request.Command3 = WardenOpcodes.SmsgModuleInitialize;
|
||||||
Request.Size3 = 8;
|
Request.Size3 = 8;
|
||||||
@@ -99,7 +99,7 @@ namespace Game
|
|||||||
Request.String_library3 = 0;
|
Request.String_library3 = 0;
|
||||||
Request.Function3 = 0x0046AE20; // 0x00400000 + 0x0046AE20 PerformanceCounter
|
Request.Function3 = 0x0046AE20; // 0x00400000 + 0x0046AE20 PerformanceCounter
|
||||||
Request.Function3_set = 1;
|
Request.Function3_set = 1;
|
||||||
Request.CheckSumm3 = BuildChecksum(BitConverter.GetBytes(Request.Unk5), 8);
|
Request.CheckSumm3 = BuildChecksum(new byte[] { Request.Unk5 }, 8);
|
||||||
|
|
||||||
Warden3DataServer packet = new();
|
Warden3DataServer packet = new();
|
||||||
packet.Data = EncryptData(Request);
|
packet.Data = EncryptData(Request);
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<OutputPath>../../Build/$(Configuration)/$(Platform)</OutputPath>
|
<OutputPath>../../Build/$(Configuration)/$(Platform)</OutputPath>
|
||||||
<TargetFramework>net6.0</TargetFramework>
|
<TargetFramework>net7.0</TargetFramework>
|
||||||
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
|
<TreatWarningsAsErrors>False</TreatWarningsAsErrors>
|
||||||
<AppendTargetFrameworkToOutputPath>False</AppendTargetFrameworkToOutputPath>
|
<AppendTargetFrameworkToOutputPath>False</AppendTargetFrameworkToOutputPath>
|
||||||
<AppendRuntimeIdentifierToOutputPath>False</AppendRuntimeIdentifierToOutputPath>
|
<AppendRuntimeIdentifierToOutputPath>False</AppendRuntimeIdentifierToOutputPath>
|
||||||
|
|||||||
Reference in New Issue
Block a user