TorchAPI / Torch

An extensible modding framework and improved client/DS for Space Engineers. Still a work in progress!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

ZephyrFerret opened this issue · comments

  • Verify that this issue is related to Torch and not a Torch plugin or the vanilla game
  • Ensure that the issue is reproducible for testing (provide a link to a test world if necessary)
  • Is this a suggestion?

Torch Version: v1.3.1.141 SE Version: 1.197.168

Expected Behavior

What did you expect to happen?

  • To log in normally without any problems

Observed Behavior

What actually happened?

  • Observed players were not able to connect to the server after inputting the password, after testing myself I also could not log in. Console log shows System.MissingMethodException: Method not found: 'Void PlayerId..ctor(UInt64)' after each login attempt.

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.

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)

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

commented

Same here.

commented

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

Seems like a universal problem

It's just the update that broke torchapi

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.

Download torch v1.3.1.143 and it should all be fixed

commented

Download torch v1.3.1.143 and it should all be fixed

Nope. Still happening for me. :(

commented

Any update on the issue?

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.

commented

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)

commented

A complete reinstall fixed it.