GamingCoookie / dv-multiplayer-continued

A multiplayer modification for the game Derail Valley
Other
14 stars 5 forks source link

Unable to start server #20

Closed TheOneOgre closed 2 years ago

TheOneOgre commented 2 years ago

When trying to host the server, getting the error

TypeLoadException: Could not resolve type with token 01000057 (from typeref, class/assembly System.Xml.DtdProcessing, System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=REDACTED) at System.Xml.Linq.XDocument.Parse (System.String text, System.Xml.Linq.LoadOptions options) [0x00007] in <a9ef27d60e3144519c0741b6584ba229>:0 at System.Xml.Linq.XDocument.Parse (System.String text) [0x00000] in <a9ef27d60e3144519c0741b6584ba229>:0 at DarkRift.Server.Unity.XmlUnityServer.Create (System.Collections.Specialized.NameValueCollection variables) [0x00049] in <a2c0a870e73b4e80a2163bfd3f557824>:0 at DarkRift.Server.Unity.XmlUnityServer.Create () [0x00006] in <a2c0a870e73b4e80a2163bfd3f557824>:0 at DVMultiplayer.Networking.NetworkManager+<StartHosting>d__21.MoveNext () [0x00017] in <a2c0a870e73b4e80a2163bfd3f557824>:0 at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00026] in <c8dc2b468d1841099baa4dd8a110cc44>:0 UnityEngine.MonoBehaviour:StartCoroutineManaged2(IEnumerator) UnityEngine.MonoBehaviour:StartCoroutine(IEnumerator) CoroutineManager:Run(IEnumerator) DVMultiplayer.Networking.NetworkManager:StartServer(String, UInt16) DVMultiplayer.Networking.<>c__DisplayClass9_0:<SetupCoroutine>b__18() UnityEngine.Events.InvokableCall:Invoke() UnityEngine.Events.UnityEvent:Invoke() UnityEngine.UI.Button:Press() UnityEngine.UI.Button:OnPointerClick(PointerEventData) UnityEngine.EventSystems.ExecuteEvents:Execute(IPointerClickHandler, BaseEventData) UnityEngine.EventSystems.ExecuteEvents:Execute(GameObject, BaseEventData, EventFunction1) UnityEngine.EventSystems.StandaloneInputModule:ReleaseMouse(PointerEventData, GameObject) UnityEngine.EventSystems.StandaloneInputModule:ProcessMousePress(MouseButtonEventData) UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent(Int32) UnityEngine.EventSystems.StandaloneInputModule:ProcessMouseEvent() UnityEngine.EventSystems.StandaloneInputModule:Process() UnityEngine.EventSystems.EventSystem:Update()

` And that is as much progress as it seems I can get. Have tried having the other player join but their end just says cannot connect to server. Doesn't seem like the server is starting. Any advice?

No mods, tried Windows 11 and Windows 10, my buddies PC throws the same error, base game, #92\ Also would like to add, tried older versions of the mod with no success.

GamingCoookie commented 2 years ago

It would seem that the directory is read protected in some way. Or you made some mistakes. Could I get the full log?

TheOneOgre commented 2 years ago

It would seem that the directory is read protected in some way. Or you made some mistakes. Could I get the full log?

Player.log Which directory would possibly be read only? I can try taking ownership and changing permissions as needed.

GamingCoookie commented 2 years ago

Your log looks fine. It would be the mods directory that should not be read protected. Or maybe the file in question doesn't exist for you. In DVMultiplayerContinued folder should be a Resources folder and in that a config.xml file

TheOneOgre commented 2 years ago

Your log looks fine. It would be the mods directory that should not be read protected. Or maybe the file in question doesn't exist for you. In DVMultiplayerContinued folder should be a Resources folder and in that a config.xml file

So checking on permissions, everything is set as Full Control, with no Read-Only directories or files, and in the Resources folder there is a config.xml and its contents seem just fine and are editable.

Does it matter that the game isn't on the C: drive perhaps? <Just tried this with no success

TheOneOgre commented 2 years ago

Turns out, UnityModManager's latest version broke it. Downgrading from version 0.24.3 to 0.23.4a and reinstalling in the mod manager fixes the issue.