astroadrian99 Posted November 7, 2013 Share Posted November 7, 2013 One thing how do I get to user interface? Quote Link to comment Share on other sites More sharing options...
Arrowstar Posted November 7, 2013 Author Share Posted November 7, 2013 One thing how do I get to user interface?The KSP TOT interface or the antivirus interface? Quote Link to comment Share on other sites More sharing options...
astroadrian99 Posted November 7, 2013 Share Posted November 7, 2013 The KSP TOT interface or the antivirus interface?Antivirus interface Quote Link to comment Share on other sites More sharing options...
scerion Posted November 7, 2013 Share Posted November 7, 2013 Antivirus interfaceEither in your taskbar can right click on the Avast icon, or Start->All Programs->Avast->avast antivirus Quote Link to comment Share on other sites More sharing options...
astroadrian99 Posted November 8, 2013 Share Posted November 8, 2013 Either in your taskbar can right click on the Avast icon, or Start->All Programs->Avast->avast antivirusIt worked. Thank so much bro. Quote Link to comment Share on other sites More sharing options...
Arrowstar Posted November 8, 2013 Author Share Posted November 8, 2013 Glad you guys got it worked out! Quote Link to comment Share on other sites More sharing options...
Mefi282 Posted November 30, 2013 Share Posted November 30, 2013 I really love this Tool, but it's sad that i have to type in all the values seperately will you ever add a functionaity to directrly place the nodes in the game. Or somethings like that. Quote Link to comment Share on other sites More sharing options...
Arrowstar Posted November 30, 2013 Author Share Posted November 30, 2013 Trust me, I would love to add that functionality. However, right now KSP doesn't really have an external API that KSP TOT can connect to. Alas, such dreams will remain as such until our KSP dev team helps me out a bit. Quote Link to comment Share on other sites More sharing options...
tavert Posted December 1, 2013 Share Posted December 1, 2013 Perhaps let another mod handle the C# and plugin integration for you? Could Telemachus be used to create a node via an HTTP API? Quote Link to comment Share on other sites More sharing options...
Arrowstar Posted December 1, 2013 Author Share Posted December 1, 2013 (edited) Perhaps let another mod handle the C# and plugin integration for you? Could Telemachus be used to create a node via an HTTP API?I would be just fine with that, though someone else would have to create it. But if that happens, I can see about attempting to hook TOT up to it.Actually, let me take a look and see how MATLAB might handle something like this.EDIT: Okay, I'm thinking easiest way to communicate would be to have a plugin that would listen for a TCP connection from localhost. More investigation is required, but maybe this could actually go somewhere. Anyone here want to give it a shot with me? (Or have any better suggestions? )EDIT 2: I've actually got a simple client/server setup working in MATLAB. It's quite easy. For now I would envision only being able to send a fixed length double array from my KSP TOT to the KSP plugin, which in turn would have to create the maneuver node. So basically KSP TOT would send something like this:[gameTime, X deltaV, Y deltaV, Z deltaV] (where this is a double array with four values)The plugin could then interpret the double array and go from there. Those X, Y, Z values could also be prograde, radial, and normal; whatever KSP wants.Is anyone out there a whiz with C#? If so, could you cook me a up a simple stand alone console program that listens for input on a specified port and dumps it to console? The input would be a double array from MATLAB/KSP TOT. It would be useful to test the functionality I can work with. Edited December 1, 2013 by Arrowstar Quote Link to comment Share on other sites More sharing options...
Mefi282 Posted December 1, 2013 Share Posted December 1, 2013 You are awesome sir! I look forwart to this, because right now it's a bit confusing especialy with the time. And thanks for this tool because i'm doing a ,realistic as possible, space program and now i can easily add the TOT report to my mission report. Quote Link to comment Share on other sites More sharing options...
Arrowstar Posted December 1, 2013 Author Share Posted December 1, 2013 You are awesome sir! I look forwart to this, because right now it's a bit confusing especialy with the time. And thanks for this tool because i'm doing a ,realistic as possible, space program and now i can easily add the TOT report to my mission report.Thanks! Feel free to post pictures of your mission reports and the rest here so we can all see how you're using KSP TOT. Quick update for everyone: I was thinking about the problem of getting numbers in KSP from KSP TOT and I've basically decided that if I want it done I'm going to have to do it myself. So I'm currently downloading MS Visual Studio and will give this a go soon. Luckily C# is similar enough to Java (a language I know well) that learning the new stuff should be easy.My initial goal for the plugin is just to receive data from KSP TOT and make a maneuver node out of it. After that, I'll look into getting data from KSP into KSP TOT (orbit and the like). I may even be able to have KSP TOT control the vessel! Anyway, big plans are afoot. Stay tuned. Quote Link to comment Share on other sites More sharing options...
Arrowstar Posted December 2, 2013 Author Share Posted December 2, 2013 Hey hey, look at this. Progress! Quote Link to comment Share on other sites More sharing options...
Arrowstar Posted December 2, 2013 Author Share Posted December 2, 2013 And I think I've got it: Quote Link to comment Share on other sites More sharing options...
Arrowstar Posted December 2, 2013 Author Share Posted December 2, 2013 And one more image before I retire for the evening. This shot shows the new Upload Maneuver GUI in KSP TOT as well as KSP running in the background. The new GUI window will be embedded into KSP TOT over the course of this week and hooked up to the various maneuver display text boxes. By the way, suggestions on functionality with this GUI would be appreciated; right now I'm aiming fairly low, but good ideas may very well be implemented. Quote Link to comment Share on other sites More sharing options...
drtedastro Posted December 2, 2013 Share Posted December 2, 2013 Great work! REALLY great work... I am looking forward to this implementation.. And then the request will start coming......Good stuff..... Quote Link to comment Share on other sites More sharing options...
gumwars Posted December 2, 2013 Share Posted December 2, 2013 Greetings! I really enjoy this tool and have plans to use it extensively, if I can get it to work right. I installed it and the supporting application per the instructions listed. I fired it up and it ran great, played with it for a bit and shut it down. Now, whenever I try to launch the application I get an error:"Error in mclFreeStackTrace."And the application fails to start. I'm going to delete the KSPTOT portion and reload it to see if that cures it. Does the application create a log file when errors like this occur? If it does, where do you have them filed?Many thanks in advance and seasons greetings! Quote Link to comment Share on other sites More sharing options...
Arrowstar Posted December 2, 2013 Author Share Posted December 2, 2013 Hi gumwars,Are you running the executable from a network location? Are you running it from a directory you have write privileges to? Try running it as administrator and see if you get the same error. Quote Link to comment Share on other sites More sharing options...
gumwars Posted December 2, 2013 Share Posted December 2, 2013 When I originally ran the app I had access errors so I set the executable to run as administrator. It ran fine once and now I'm getting this error. It's all on one machine. MATLAB is installed to the x86 Programs folder, KSPTOT is in the root directory. Quote Link to comment Share on other sites More sharing options...
Arrowstar Posted December 2, 2013 Author Share Posted December 2, 2013 Did reinstalling the application as you mentioned originally work? Quote Link to comment Share on other sites More sharing options...
gumwars Posted December 2, 2013 Share Posted December 2, 2013 I reinstalled the KSPTOT and no, unfortunately it didn't. I'll try reinstalling MATLAB and see if that does it. I'm running this on Win8.1 64-bit. I don't think this is a system issue, I've got an i7 and plenty of RAM. Quote Link to comment Share on other sites More sharing options...
Mefi282 Posted December 2, 2013 Share Posted December 2, 2013 You are really fast i look forward to it. The mission reports are on german and in .doc format. But i guess il try to convert and translate one, why not. 4 pages for each mission Quote Link to comment Share on other sites More sharing options...
gumwars Posted December 2, 2013 Share Posted December 2, 2013 (edited) I'm stumped. Tried reinstalling both MATLAB and KSPTOT and it's still throwing that mclFreeStackTrace error and will not start. The .exe has read/write permissions. Should I move the KSPTOT file to another location, like My Documents or the desktop?UPDATE: Moved the TOT file to My Docs, no bueno. Any help would be appreciated at this point. I really like this tool and dug it the one time I got it working... Edited December 2, 2013 by gumwars Quote Link to comment Share on other sites More sharing options...
Arrowstar Posted December 2, 2013 Author Share Posted December 2, 2013 Can you try running it from a different PC? What about with a different user account? Quote Link to comment Share on other sites More sharing options...
gumwars Posted December 2, 2013 Share Posted December 2, 2013 Do you think the first run was a fluke? Is there a debug output that I can generate that might point to where it's failing on my end? I don't have any other user accounts on my computer (just me) and, please forgive me, I'm trying to understand why it would work on the first attempt and fail every subsequent time following. It would seem an operating variable changed after the first run. I've uninstalled Mass Effect 3 after I installed MATLAB, honestly I don't know if they share resources. I'm not going to roll my OS back to check which leads me back to my first question, isn't there a debugger that I can use to get you a dump file or do I need Visual Studio or some other programming environment? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.