Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - mrllama802

#1
Quote from: FFpotato on August 11, 2017, 12:15:39 AM
So I accidentally copied the ip incorrectly and included the port, now I can't get the menu to show up. I get this output on launching the game. Also tried reinstalling a fresh copy of the mod to no avail.

Could not instantiate inspector tab of type PhiClient.PhiInitializer: System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.ArgumentException: An invalid URI string: ws://25.6.48.218:16180:16180/
Parameter name: url
  at WebSocketSharp.WebSocket..ctor (System.String url, System.String[] protocols) [0x00000] in <filename unknown>:0
  at SocketLibrary.Client..ctor (System.String address, Int32 port) [0x00000] in <filename unknown>:0
  at PhiClient.PhiClient.TryConnect () [0x00000] in <filename unknown>:0
  at PhiClient.PhiInitializer..ctor () [0x00000] in <filename unknown>:0
  at (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[],System.Exception&)
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Reflection.MonoCMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at System.Reflection.MonoCMethod.Invoke (BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
  at System.Reflection.ConstructorInfo.Invoke (System.Object[] parameters) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type, Boolean nonPublic) [0x00000] in <filename unknown>:0
  at System.Activator.CreateInstance (System.Type type) [0x00000] in <filename unknown>:0
  at Verse.InspectTabManager.GetSharedInstance (System.Type tabType) [0x00000] in <filename unknown>:0
  at Verse.ThingDef.PostLoad () [0x00000] in <filename unknown>:0

Hey FFpotato and anyone else who may run into this. Not sure why it worked, but I seem to have fixed this issue.
I have the Steam Version of the game so my filesystem is different I think. Anyway there were 2 .txt files in my C:\Program Files (x86)\Steam\steamapps\common\RimWorld folder. One was called phikey.txt and the other was phiserver.txt. I deleted both files and un-subbed from the mod.

Then started up my game to make sure everything worked. Then I alt-tabbed and re-subbed to the mod. Went to my mod like back in RimWorld. Activated phiclient and poof all if right in out in the Rim!

So I hope this may help anyone in my situation.