Jump to content

alains

Members
  • Posts

    7
  • Joined

  • Last visited

Reputation

1 Neutral

Profile Information

  • About me
    Papercraft Rocketeer
  • Location
    Belgium

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. hi, thanks @Kartoffelkuchen for this great mod. While trying do some orbit maneuvers with CrewDragon and trunk, and since the SuperDraco are now only used for launch escape. I attempted to use the "reversed" mode of the capsule and use the 4 monoprop thrusters around the docking port for higher deltaV maneuvers. But there are NO thrust-transforms in the model for these 4 thrusters... so they are not usable yet to realistically mock-up the real Crew Dragon dynamic. Do you plan to add these 4 transforms to the model in a future update or patch? Thanks
  2. way too complex with xcode.... 1: install Xamarin Studio (or MonoDevelop) 2: clone Telemachus git repo 3: open the solution in Xamarin 4: fix the required dll references to UnityEngine.dll, Assembly-CSharp.dll from KSP.app and reference Mono.Csharp 5: done, compile and install
  3. You're welcome to PM me if I can help... and I forgot to say that, but thanks for the plugin, it's great!
  4. OK here are my first results: the file path generated for the OKResponsePage in IOPageResponsibility.process method is wrong for OSX: I injected a throw new PageNotFoundResponsePage in the exception catching of the process method in IOPageResponsibility.cs. like this: publicboolprocess(Servers.AsynchronousServer.ClientConnectioncc,HTTPRequestrequest) { if(request.path.StartsWith(PAGE_PREFIX)) { try { OKResponsePagepage=newOKResponsePage( KSPByteReader,KSPTextReader, request.path.Substring(PAGE_PREFIX.Length)); ((Servers.MinimalHTTPServer.ClientConnection)cc).Send(page); returntrue; } catch(Exceptione) {//ALAIN thrownewPageNotFoundResponsePage( "IOPageResp::process()exception:'"+e.Message+"'<br/>"+e.StackTrace+"<br/><br/>"+ "fileName='"+request.path.Substring(PAGE_PREFIX.Length)+"'<br/>"+ "escapeFileName(fileName)='"+escapeFileName(request.path.Substring(PAGE_PREFIX.Length))+"'<br/>"+ "buildPath(escapeFileName(fileName))='"+buildPath(escapeFileName(request.path.Substring(PAGE_PREFIX.Length)))+"'<br/>" ); //returnfalse; } } returnfalse; } when I open telemachus/information.html in chrome the result is: IOPageResp::process() exception: 'Could not find a part of the path "/Volumes/RAWSTORAGE/KSP_0_22/KSP.app/GameData/Telemachus/Plugins/PluginData/Telemachus/information.html".' at System.IO.FileStream..ctor (System.String path, at System.IO.File.ReadAllText (System.String path) [0x00000] in :0 at Telemachus.IOPageResponsibility.m__9F (System.String fileName) [0x00000] in :0 at Servers.MinimalHTTPServer.HTTPResponse.m__1 (Servers.MinimalHTTPServer.ByteReader br, Servers.MinimalHTTPServer.TextReader tr, System.String filename, System.Collections.Generic.Dictionary`2& attr, Servers.MinimalHTTPServer.HTTPResponse r) [0x00000] in :0 at Servers.MinimalHTTPServer.HTTPResponse..ctor (Servers.MinimalHTTPServer.ByteReader br, Servers.MinimalHTTPServer.TextReader tr, System.String fileName) [0x00000] in :0 at Servers.MinimalHTTPServer.OKResponsePage..ctor (Servers.MinimalHTTPServer.ByteReader br, Servers.MinimalHTTPServer.TextReader tr, System.String fileName) [0x00000] in :0 at Telemachus.IOPageResponsibility.process (Servers.AsynchronousServer.ClientConnection cc, Servers.MinimalHTTPServer.HTTPRequest request) [0x00000] in :0 fileName = '/information.html' escapeFileName(fileName) = '/information.html' buildPath(escapeFileName(fileName)) = '/Volumes/RAWSTORAGE/Kerbal_Space_Program/KSP_0_22/KSP.app/Contents/../GameData/Telemachus/Plugins/PluginData/Telemachus//information.html' I suspect that the method UnityEngine.Application.datapath used in buildPath() gives a different string under Windows and OSX... since on OSX GameData folder is on the same level than KSP.app.... as a quick test I changed the static path in buildPath to: "/../../GameData/Telemachus/Plugins/PluginData/Telemachus/" ...and this worked!! I hope this helps, regards, Alain
  5. Is there a way (in the config) to enable detailed debug to see what's happening, request handling, file access for a request, where the 404 response is triggered ??? I don't have Unity sdk but can I compile Server.dll alone from your git sources and put some debug print lines to track this thing?
  6. As "Sarcotome" I'm also experiencing the 404 page as the only response of the Telemachus server. I'm under OSX 10.9. I checked with netstat, and found that the plugin is listening on the IPADDRESS PORT for *.* connections but whatever page I try to access it always responds with it's 404 page... I checked KSP.log and everything seems normal. Cheked also the plugin installation and everything is there ... all html pages dll etc... at the right place under Gamedata/Telemachus... The part is working: deploying/retracting antenna, showing menu.... Don't know where to look to solve this and I WANT to make this work...
×
×
  • Create New...