rollback to stable version

This commit is contained in:
2024-12-12 19:34:17 -05:00
parent 76eba720df
commit 4e728d823e
3 changed files with 10 additions and 15 deletions

View File

@@ -180,14 +180,13 @@ namespace SeamlessClient.ServerSwitching
}
SendPlayerData.Invoke(MyMultiplayer.Static, new object[] { MyGameService.OnlineName });
isSwitch = false;
}
}
public static bool LoadClientsFromWorld(ref List<MyObjectBuilder_Client> clients)
{
if(!isSwitch || clients == null || clients.Count == 0)
return true;
if(clients == null || clients.Count == 0)
return false;
//Dictionary<ulong, MyConnectedClientData>
@@ -210,16 +209,13 @@ namespace SeamlessClient.ServerSwitching
}
return false;
return true;
}
private static bool ProcessAllMembersData(ref AllMembersDataMsg msg)
{
if(!isSwitch)
return true;
Sync.Players.ClearIdentities();
if (msg.Identities != null)
@@ -614,6 +610,11 @@ namespace SeamlessClient.ServerSwitching
PauseClient.Invoke(MyMultiplayer.Static, new object[] { false });
MySandboxGame.PausePop();
MyHud.Notifications.Remove(MyNotificationSingletons.ConnectionProblem);
isSwitch = false;
}

View File

@@ -37,7 +37,7 @@ namespace SeamlessClient
private bool Initilized = false;
public static bool isSeamlessServer { get; private set; } = false;
public static bool isDebug = false;
public static bool UseNewVersion = true;
public static bool UseNewVersion = false;

View File

@@ -40,12 +40,10 @@
</Reference>
<Reference Include="ProtoBuf.Net">
<HintPath>GameBinaries\ProtoBuf.Net.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="ProtoBuf.Net.Core, Version=1.0.0.0, Culture=neutral, processorArchitecture=MSIL">
<SpecificVersion>False</SpecificVersion>
<HintPath>GameBinaries\ProtoBuf.Net.Core.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="Sandbox.Common">
<HintPath>GameBinaries\Sandbox.Common.dll</HintPath>
@@ -87,17 +85,13 @@
<HintPath>GameBinaries\VRage.Input.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="VRage.Library">
<HintPath>GameBinaries\VRage.Library.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="VRage.Library, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null" />
<Reference Include="VRage.Math">
<HintPath>GameBinaries\VRage.Math.dll</HintPath>
<Private>False</Private>
</Reference>
<Reference Include="VRage.Render">
<HintPath>GameBinaries\VRage.Render.dll</HintPath>
<Private>False</Private>
</Reference>
</ItemGroup>
<ItemGroup>