Fixed GPS issue
This commit is contained in:
@@ -38,10 +38,6 @@ namespace SeamlessClientPlugin.Messages
|
||||
public WorldRequest WorldRequest;
|
||||
[ProtoMember(7)]
|
||||
public string PlayerName;
|
||||
|
||||
[ProtoMember(8)]
|
||||
public List<MyObjectBuilder_Gps.Entry> PlayerGPSCoords;
|
||||
|
||||
[ProtoMember(9)]
|
||||
public MyObjectBuilder_Toolbar PlayerToolbar;
|
||||
|
||||
|
@@ -27,6 +27,9 @@ namespace SeamlessClientPlugin.Messages
|
||||
[ProtoMember(4)]
|
||||
public byte[] WorldData;
|
||||
|
||||
[ProtoMember(5)]
|
||||
public MyObjectBuilder_Gps gpsCollection;
|
||||
|
||||
public WorldRequest(ulong PlayerID,long PlayerIdentity, string Name)
|
||||
{
|
||||
this.PlayerID = PlayerID;
|
||||
@@ -58,6 +61,10 @@ namespace SeamlessClientPlugin.Messages
|
||||
public MyObjectBuilder_World DeserializeWorldData()
|
||||
{
|
||||
MyObjectBuilderSerializer.DeserializeGZippedXML<MyObjectBuilder_World>(new MemoryStream(WorldData), out var objectBuilder);
|
||||
objectBuilder.Checkpoint.Gps.Dictionary.Add(IdentityID, gpsCollection);
|
||||
|
||||
|
||||
|
||||
return objectBuilder;
|
||||
}
|
||||
|
||||
|
@@ -33,6 +33,6 @@ using System.Runtime.InteropServices;
|
||||
// You can specify all the values or you can default the Build and Revision Numbers
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.4.0.0")]
|
||||
[assembly: AssemblyFileVersion("1.4.0.0")]
|
||||
[assembly: AssemblyVersion("1.4.01.0")]
|
||||
[assembly: AssemblyFileVersion("1.4.01.0")]
|
||||
[assembly: NeutralResourcesLanguage("en")]
|
||||
|
@@ -110,7 +110,7 @@ namespace SeamlessClientPlugin
|
||||
|
||||
|
||||
|
||||
public static string Version = "1.3.04";
|
||||
public static string Version = "1.4.01";
|
||||
public static bool Debug = true;
|
||||
private static bool Initilized = false;
|
||||
|
||||
|
@@ -40,9 +40,11 @@ namespace SeamlessClientPlugin.SeamlessTransfer
|
||||
|
||||
SeamlessClient.TryShow("Beginning Redirect to server: " + Transfer.TargetServerID);
|
||||
|
||||
|
||||
var world = Request.DeserializeWorldData();
|
||||
|
||||
|
||||
SwitchServers Switcher = new SwitchServers(E, Request.DeserializeWorldData());
|
||||
SwitchServers Switcher = new SwitchServers(E, world);
|
||||
Switcher.BeginSwitch();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user