Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pre-side HP reversion attempt (nonfunctional) #20

Closed

Conversation

InvalidArgument3
Copy link

@InvalidArgument3 InvalidArgument3 commented Jun 23, 2024

This contains DS info from last year; it has no face HP but does contain the permeability due to low HP
This doesn't work.
Too many things changed, loading a world with this and modern weaponcore will produce this error:

2024-06-23 16:17:15.355 - Thread:   1 ->  Error: Error during loading session:System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at CoreSystems.Support.ShieldApi.ApiLoad(IReadOnlyDictionary`2 delegates)
   at CoreSystems.Support.ShieldApi.HandleMessage(Object o)
   at Sandbox.ModAPI.MyAPIUtilities.SendModMessage(Int64 id, Object payload)
   at DefenseShields.ApiServer.HandleMessage(Object o) in C:\Users\User\AppData\Roaming\SpaceEngineers\Mods\DefenseShields-StarCore-Invalid\Data\Scripts\DefenseShields\API\ApiServer.cs:line 23
   at Sandbox.ModAPI.MyAPIUtilities.SendModMessage(Int64 id, Object payload)
   at CoreSystems.Support.ShieldApi.Load()
   at CoreSystems.Session.BeforeStartInit()
   at CoreSystems.Session.BeforeStart()
   at Sandbox.Game.World.MySession.BeforeStartComponents()
   at Sandbox.Game.World.MySession.Load_Patch1(String sessionPath, MyObjectBuilder_Checkpoint checkpoint, UInt64 checkpointSizeInBytes, Boolean saveLastStates, Boolean allowXml)
2024-06-23 16:17:15.355 - Thread:   1 ->  ERROR: Loading screen failed
2024-06-23 16:17:15.355 - Thread:   1 ->  Exception occurred: System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
   at System.ThrowHelper.ThrowKeyNotFoundException()
   at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   at CoreSystems.Support.ShieldApi.ApiLoad(IReadOnlyDictionary`2 delegates)
   at CoreSystems.Support.ShieldApi.HandleMessage(Object o)
   at Sandbox.ModAPI.MyAPIUtilities.SendModMessage(Int64 id, Object payload)
   at DefenseShields.ApiServer.HandleMessage(Object o) in C:\Users\User\AppData\Roaming\SpaceEngineers\Mods\DefenseShields-StarCore-Invalid\Data\Scripts\DefenseShields\API\ApiServer.cs:line 23
   at Sandbox.ModAPI.MyAPIUtilities.SendModMessage(Int64 id, Object payload)
   at CoreSystems.Support.ShieldApi.Load()
   at CoreSystems.Session.BeforeStartInit()
   at CoreSystems.Session.BeforeStart()
   at Sandbox.Game.World.MySession.BeforeStartComponents()
   at Sandbox.Game.World.MySession.Load_Patch1(String sessionPath, MyObjectBuilder_Checkpoint checkpoint, UInt64 checkpointSizeInBytes, Boolean saveLastStates, Boolean allowXml)
   at Sandbox.Game.World.MySessionLoader.<>c__DisplayClass18_0.<LoadSingleplayerSessionInternal>b__7()
   at System.DelegateExtensions.InvokeIfNotNull(Action handler)
   at Sandbox.Game.Gui.MyGuiScreenLoading.RunLoad()

this is "Fixed" by swapping out ApiServer.cs with the modern version, but then you get 7 more errors.
image

Basically it's a big clusterfuck web and you will need to eventually go through ~68 files fixing references. this is possible I guess

@InvalidArgument3 InvalidArgument3 changed the title pre-side HP reversion attempt pre-side HP reversion attempt (nonfunctional) Jun 23, 2024
@InvalidArgument3
Copy link
Author

good enough emulation of this in #22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant