TorchAPI / Torch

An extensible modding framework and improved client/DS for Space Engineers. Still a work in progress!
Apache License 2.0
146 stars 76 forks source link

Console log shows System.MissingMethodException: Method not found: 'Void PlayerId..ctor(UInt64)' after each login attempt #430

Closed ZephyrFerret closed 3 years ago

ZephyrFerret commented 3 years ago

Torch Version: v1.3.1.141 SE Version: 1.197.168

Expected Behavior

What did you expect to happen?

Observed Behavior

What actually happened?

Steps to Reproduce

  1. Download the latest torch client v1.3.1.141-master
  2. Extract to its own folder (i just used the downloads folder)
  3. Run program for the first time for its update
  4. Close Torch client
  5. Run Space Engineers and create a new public save
  6. Exit Space Engineers
  7. Move saved game from %Appdata%\Roaming\SpaceEngineers\Saves\"YourSteamID"\ to Downloads\torch-server\Instance\Saves
  8. Launch Torch client
  9. Start SE server and wait for everything to finish loading
  10. Attempt to join game in Space Engineers using a separate PC

Other Information

image

This seems to have been a problem after updating the torch client from v1.3.1.139 to v1.3.1.141 following space engineers update.

This also works on a fresh installation of both client and SE world. No mods were included, and the only plugin I use is Essentials v1.7.1.73-142-gf3be02c through the Torch.api website.

ZilgornZeypher commented 3 years ago

Seeing the same thing 22:45:25.0210 [ERROR] Keen: System.MissingMethodException: Method not found: 'Void PlayerId..ctor(UInt64)'. at Essentials.Patches.SessionDownloadPatch.GetClientCheckpoint(UInt64 steamId) at Essentials.Patches.SessionDownloadPatch.GetClientWorld(EndpointId sender) in C:\jenkins\workspace\Torch_Essentials_master\Essentials\Patches\SessionDownloadPatch.cs:line 125 at Essentials.Patches.SessionDownloadPatch.PatchGetWorld(EndpointId sender) in C:\jenkins\workspace\Torch_Essentials_master\Essentials\Patches\SessionDownloadPatch.cs:line 276 at Patched_Sandbox.Engine.Multiplayer.MyMultiplayerServerBaseOnWorldRequest_0(Object , EndpointId ) at Sandbox.Engine.Multiplayer.MyMultiplayerServerBase.WorldRequest(Int32 appVersion) at VRage.Network.CallSite7.Invoke(BitStream stream, Object obj, Boolean validate) at VRage.Network.MyReplicationLayer.Invoke(CallSite callSite, BitStream stream, Object obj, EndpointId source, MyClientStateBase clientState, Boolean validate) at VRage.Network.MyReplicationServer.OnEvent(MyPacketDataBitStreamBase data, CallSite site, Object obj, IMyNetObject sendAs, Nullable1 position, EndpointId source) at VRage.Network.MyReplicationLayer.OnEvent(MyPacketDataBitStreamBase data, NetworkId networkId, NetworkId blockedNetId, UInt32 eventId, EndpointId sender, Nullable1 position) at VRage.Network.MyReplicationLayer.ProcessEvent(MyPacketDataBitStreamBase data, EndpointId sender) at VRage.Network.MyReplicationLayer.OnEvent(MyPacket packet) at Sandbox.Engine.Multiplayer.MyTransportLayer.ProcessMessage(MyPacket p) at Sandbox.Engine.Multiplayer.MyTransportLayer.HandleMessage(MyPacket p) at Sandbox.Engine.Networking.MyReceiveQueue.Process(NetworkMessageDelegate handler) System.MissingMethodException: Method not found: 'Void PlayerId..ctor(UInt64)'. at Essentials.Patches.SessionDownloadPatch.GetClientCheckpoint(UInt64 steamId) at Essentials.Patches.SessionDownloadPatch.GetClientWorld(EndpointId sender) in C:\jenkins\workspace\Torch_Essentials_master\Essentials\Patches\SessionDownloadPatch.cs:line 125 at Essentials.Patches.SessionDownloadPatch.PatchGetWorld(EndpointId sender) in C:\jenkins\workspace\Torch_Essentials_master\Essentials\Patches\SessionDownloadPatch.cs:line 276 at Patched_Sandbox.Engine.Multiplayer.MyMultiplayerServerBaseOnWorldRequest_0(Object , EndpointId ) at Sandbox.Engine.Multiplayer.MyMultiplayerServerBase.WorldRequest(Int32 appVersion) at VRage.Network.CallSite7.Invoke(BitStream stream, Object obj, Boolean validate) at VRage.Network.MyReplicationLayer.Invoke(CallSite callSite, BitStream stream, Object obj, EndpointId source, MyClientStateBase clientState, Boolean validate) at VRage.Network.MyReplicationServer.OnEvent(MyPacketDataBitStreamBase data, CallSite site, Object obj, IMyNetObject sendAs, Nullable1 position, EndpointId source) at VRage.Network.MyReplicationLayer.OnEvent(MyPacketDataBitStreamBase data, NetworkId networkId, NetworkId blockedNetId, UInt32 eventId, EndpointId sender, Nullable1 position) at VRage.Network.MyReplicationLayer.ProcessEvent(MyPacketDataBitStreamBase data, EndpointId sender) at VRage.Network.MyReplicationLayer.OnEvent(MyPacket packet) at Sandbox.Engine.Multiplayer.MyTransportLayer.ProcessMessage(MyPacket p) at Sandbox.Engine.Multiplayer.MyTransportLayer.HandleMessage(MyPacket p) at Sandbox.Engine.Networking.MyReceiveQueue.Process(NetworkMessageDelegate handler)

BillyDas commented 3 years ago

Yea im getting the identical error, ran a new world, tried a bunch of things, cant figure it out.

22SAS-Mazing commented 3 years ago

Same here.

jpa77 commented 3 years ago

image Same here, connecting from LAN, no info from players over internet yet.

BillyDas commented 3 years ago

Seems like a universal problem

MathewMantas commented 3 years ago

It's just the update that broke torchapi

JoshuaCalhoun commented 3 years ago

I'm getting the same problem on Torch v1.3.1.142

Edit: After complete shutdown and relaunching, .142 seems to be working for me. I'm still having issues getting mods to download when connecting but I suspect that's a keen problem as I'm not getting any errors in Torch other than I connect/disconnect.

BillyDas commented 3 years ago

Download torch v1.3.1.143 and it should all be fixed

22SAS-Mazing commented 3 years ago

Download torch v1.3.1.143 and it should all be fixed

Nope. Still happening for me. :(

22SAS-Mazing commented 3 years ago

Any update on the issue?

JoshuaCalhoun commented 3 years ago

Any update on the issue?

As of last night, installing torch v1.3.1.143 fixed the issue for me, we are now able to log into my server with our normal modlist.

22SAS-Mazing commented 3 years ago

Oh ok. This is what I'm getting. I'm assuming it's the same issue.

Torch Version: v1.3.1.143-master Game Version: 1.197.168

[ERROR] Keen: System.MissingMethodException: Method not found: 'Void PlayerId..ctor(UInt64)'. at Essentials.Patches.SessionDownloadPatch.GetClientCheckpoint(UInt64 steamId) at Essentials.Patches.SessionDownloadPatch.GetClientWorld(EndpointId sender) in C:\jenkins\workspace\Torch_Essentials_master\Essentials\Patches\SessionDownloadPatch.cs:line 125 at Essentials.Patches.SessionDownloadPatch.PatchGetWorld(EndpointId sender) in C:\jenkins\workspace\Torch_Essentials_master\Essentials\Patches\SessionDownloadPatch.cs:line 276 at Patched_Sandbox.Engine.Multiplayer.MyMultiplayerServerBaseOnWorldRequest_0(Object , EndpointId ) at Sandbox.Engine.Multiplayer.MyMultiplayerServerBase.WorldRequest(Int32 appVersion) at VRage.Network.CallSite7.Invoke(BitStream stream, Object obj, Boolean validate) at VRage.Network.MyReplicationLayer.Invoke(CallSite callSite, BitStream stream, Object obj, EndpointId source, MyClientStateBase clientState, Boolean validate) at VRage.Network.MyReplicationServer.OnEvent(MyPacketDataBitStreamBase data, CallSite site, Object obj, IMyNetObject sendAs, Nullable1 position, EndpointId source) at VRage.Network.MyReplicationLayer.OnEvent(MyPacketDataBitStreamBase data, NetworkId networkId, NetworkId blockedNetId, UInt32 eventId, EndpointId sender, Nullable1 position) at VRage.Network.MyReplicationLayer.ProcessEvent(MyPacketDataBitStreamBase data, EndpointId sender) at VRage.Network.MyReplicationLayer.OnEvent(MyPacket packet) at Sandbox.Engine.Multiplayer.MyTransportLayer.ProcessMessage(MyPacket p) at Sandbox.Engine.Multiplayer.MyTransportLayer.HandleMessage(MyPacket p) at Sandbox.Engine.Networking.MyReceiveQueue.Process(NetworkMessageDelegate handler) System.MissingMethodException: Method not found: 'Void PlayerId..ctor(UInt64)'. at Essentials.Patches.SessionDownloadPatch.GetClientCheckpoint(UInt64 steamId) at Essentials.Patches.SessionDownloadPatch.GetClientWorld(EndpointId sender) in C:\jenkins\workspace\Torch_Essentials_master\Essentials\Patches\SessionDownloadPatch.cs:line 125 at Essentials.Patches.SessionDownloadPatch.PatchGetWorld(EndpointId sender) in C:\jenkins\workspace\Torch_Essentials_master\Essentials\Patches\SessionDownloadPatch.cs:line 276 at Patched_Sandbox.Engine.Multiplayer.MyMultiplayerServerBaseOnWorldRequest_0(Object , EndpointId ) at Sandbox.Engine.Multiplayer.MyMultiplayerServerBase.WorldRequest(Int32 appVersion) at VRage.Network.CallSite7.Invoke(BitStream stream, Object obj, Boolean validate) at VRage.Network.MyReplicationLayer.Invoke(CallSite callSite, BitStream stream, Object obj, EndpointId source, MyClientStateBase clientState, Boolean validate) at VRage.Network.MyReplicationServer.OnEvent(MyPacketDataBitStreamBase data, CallSite site, Object obj, IMyNetObject sendAs, Nullable1 position, EndpointId source) at VRage.Network.MyReplicationLayer.OnEvent(MyPacketDataBitStreamBase data, NetworkId networkId, NetworkId blockedNetId, UInt32 eventId, EndpointId sender, Nullable1 position) at VRage.Network.MyReplicationLayer.ProcessEvent(MyPacketDataBitStreamBase data, EndpointId sender) at VRage.Network.MyReplicationLayer.OnEvent(MyPacket packet) at Sandbox.Engine.Multiplayer.MyTransportLayer.ProcessMessage(MyPacket p) at Sandbox.Engine.Multiplayer.MyTransportLayer.HandleMessage(MyPacket p) at Sandbox.Engine.Networking.MyReceiveQueue.Process(NetworkMessageDelegate handler)

22SAS-Mazing commented 3 years ago

A complete reinstall fixed it.