Jump to content

MacTee

Members
  • Posts

    381
  • Joined

  • Last visited

Everything posted by MacTee

  1. hmm do you use the 1.3.10 of KSPMA? If so, it seems that i didn't hunt down the GUI scaling bug properly =( Can you tell me, when this error occures and what you have done. A first try to fix this, is to increase the Height in the "Size" node of the cfg file in C:\ProgramData\KSPMODAdmin\KSPModAdmin\1.3.10.0. (Increase the Height by 50 or more). And KSPMM Reloaded sounds nice (Mr. Anderson ). Especially the Update functionality!
  2. I think this should help. public void DrawGui() { var windowID = 123 // choose one you like (lower ones may interfere with KSP Window IDs). var r = new Rect(300, 50, 200, 200); GUI.Window(windowID, r, FillWindow, "Test Window"); } public void FillWindow(int windowID) { if (windowID == 123) // ID from above { GUILayout.BeginVertical(); if (GUI.Button(new Rect(20, 20, 50, 50), "Push")) { print("Button pushed"); } GUILayout.EndVertical(); } }
  3. What's new: This release (v1.3.10) fixes the issues with a scalled Windows GUI. @LeadMagnet: Thanks for the info! Sry, but i don't like coffee smell in the morning
  4. I have missed to test the version as a new fresh install =( Thanks Bergion again! Here is a new version that now fixes the GUI scalling bug. ---> Download <---
  5. wooot ... A big thank you to shadow651 (for the GUI settings), Bergion (for the way of reproduction) and all Star Troopers that helped with the bug hunt. The brain bug is squished =) The new version of KSP MA fixes the GUI scaling bug, but to be sure it would be great if someone could verify this. ---> Download <---
  6. The new Version supports customizable interfaces via xml fie configuration. Thanks for all your comments!
  7. @Benzschwagel, localSol and LeadMagnet: Yes, we discussed this feature a while ago (at least in the german forum ). I would love a Spaceport enhancement with a "version control" for the mods and web service calls for external developers. @TranceaddicT: A profile handling for different mod sets is on my todo list (now with a note on exchangeability ). @Bergion: Thanks, for the hint! I'll try to reproduce the error when im back home.
  8. The link to the original project of TreeListView is in the ReadMe file, in the first post or here. But i think its better to look in the KSP MA source The line that throws the exception is in Utils.TreeListViewEx.TreeListView.cs -> TreeListView::UpdateScrollBars() -> Line 362 (code of 1.3.9) For some reason the hight of the TreeListView on the OptionsTab is zero. This leads to a negativ maxvisiblerows which causes the exception in Line 362. Its more or less easy to avoid this exception but this doesn't solve the problem of the unsusal height =( (To avoid the exception the best way is to change line 349 "if (ClientRectangle.Width < 0)" to "if (ClientRectangle.Width < 0 && ClientRectangle.Height< 0)") We have to find a way to reproduce this behavior. But iam still short on time =( EDIT: it has to be "if (ClientRectangle.Width < 0 || ClientRectangle.Height< 0)"
  9. @shadow651: hmm, is it possible that you have some "unusal" graphic setting for your Windows? Like No Visual Styles (no Windows Aero) or anything you could think of =). @LeadMagnet: The error is related to the height (of 0) of the TreeViewList from the OptionsTab. I have no idea why its get zero! The height in the cfg file seems ok.
  10. Hi shadow651, yes this is a known issue, but for the next weeks i don't have the time to work on KSP MA. To much to do on work... i don't remember if i mentiond this earlier, but one try could be to open the c:\ProgramData\KSPModAdmin\KSPModAdmin\1.3.9.0\KSPModAdmin.cfg file with a editor (right click and edit). Change the following lines <Position x="?" y="?" /> <Size Width="?" Height="?" /> <WindowState maximized="?" /> to <Position x="0" y="0" /> <Size Width="420" Height="600" /> <WindowState maximized="False" /> and restart KSP MA. Please let me know if this helps and send me a copy of the unchanged KSPModAdmin.cfg file.
  11. Yes here you can see that the height of the tvPaths (TreeListView) is 0. But i have no idea why. Normaly this shouldn't happen! Btw. whats your screen resolution and are you using KSP MA with a maximized window? Could you check what happens when you rename the folder c:\ProgramData\KSPModAdmin and start KSP MA again please.
  12. @gendalf: Thanks for the suggestion a open folder Button will come with one of the next versions And for now a cant tell you why KSP MA ignores the GameData folder within the TV-Aerospace-v1.5.zip aarchive. (I'm on that after i've fixed the TreeListView problem) @Bergion: Thanks for the infos! But link i mentioned in a post above (#259). The error has something to do with the Window Size of KSP MA. I think LeadMagnet missed that post I hope i have some time (and power left) at the weekend, but my children will come first!
  13. @cy-one: I have to add ToolTip support to the TreeListView by myself. So it will take a while, sry. @Benzschwagel: ehh ... translate what? =)
  14. Sry, for my late replay, but RL hit me hard =( So i have send a link to a new special version to hiegova, Bergion and Sergei. It would be nice if one of you could execute this version once and send me the *.txt file from the KSP MA install path. Thanks alot for your help! EDIT: I have tracked down the problem to the TreeListView of the Options Tab. The Problem is that the TreeListView has the height of 0. With default setting this should not occur! Till now i have no idea why some user encounter this issue. I'll write another Log-Version of KSP MA to gether more information about the init process of KSP MA. Sry, for the problems and thanks for your patience and help!
  15. @Bergion & hiegova: I'll create a new special version, which will write a log with detailed data. I'll send you a link via PM. But for now i don't have the time, you can expect the version tomorrow. @Bergion: I have send you a link to a special version, which hiegova already got. This version fixes the LargeChange ArgumentException, but there will be another Exception. hiegova uses a rusian Windows version, and i can't translate the error message properly, so it would be nice if you could send me the new error!
  16. hmm .. ok. I'll do more research in a few hours (after work). Did anyone else have problems with Win8 and KSP MA?
  17. What's new: Bugs during rendering of TreeListView without Visual Styles fixed. Backup-/Download-Path, Crafts-/Parts-Tab clear on KSP Path change. @LeadMagnet: Thanks for the suggestions! I have the help file/tab on my todo list for a while now, i hope i find the time and mood to create it @Horman: Thanks for the infos! The new version 1.3.9 should fix this problem.
  18. Damn i have missed to update the assambly version Config file deleting won't help with the Problem of Benzschwagel. It is related to the TreeListView painitng process. For some reason his Win7 don't uses VisualStyles to render things. The alternative painting (without VisualStyles) throws the ArgumentException. I'll continue my research after work. EDIT2: I have updated the download files, the v1.3.8 will no longer show up as v1.3.7! EDIT: Benzschwagel do you have the "visual style for windows and buttons" within the Performance Options of Windows turned off? In this dialog: EDIT3: I can reporduce the error from Benzschwagel now. just uncheck the "visual style for windows and buttons" in the performance options dialog and start KSP MA with a valid KSP path. I'm working on a solution! EDIT4: I have fixed the problems with painting the TreeListView without visual styles. Update will coming soon, when i've implemented the refresh on KSP Path change that Stone Blue mentioned above.
  19. The new version should fix most problems mentioned above. Except the TreeListView painting for older Windows versions then Win7. I need some more feedback on that. or i'll have to wait for the weekend to set up some virtual PCs to test KSP MA on different Windows versions.
  20. Small update of the bug hunt: The bug that causes the exception during SaveKSPConfig (e.g. closing KSP MA with no valid KSP path) is identified and fixed. I have also changed the loading of known KSP paths (from the config file) so that invalid paths will be skipped. And one more bug was squished that throws a excetion (TreeNode convertion to Node ...) during Option or Part Tab usage. But till now i can't do anything about the bug that was reported by Benzschwagel (ArgumentException) and is related to the TreeListView painting. A update will coming soon!
  21. Sorry to all who encounter problems with the new version of KSP MA 1.3.7. I'm on bug hunt right now. As far as i can tell now there are 2 major problems. 1. A bug somewhere in the loading process which leads to a missing instance of the KSPConfig (as LeadMagnet mentioned). That causes exceptions during KSP MA start or closing. 2. The rendering of the new TreeListView cuases also problems. I think this has something to do with older Windows versions then Vista. The TreeListView uses some VistaStyles for painting, and i got error reports when the controls paints without VistaStyls. Sadly it's currently not possible for me to test this, i have to wait for Benzschwagel comments, or anyone else who could test KSP MA 1.3.7 on WinXP or Vista. @LeadMagnet: Thanks for the quick help! But even if your solution seems to fix the problem, it must be something different. I haven't changed that line since version 1.1.0 i guess As i mentioned above i think it is related to the loading process when i encounter an invalid KSP path. At least i have reproduced an exception when i have loaded a KSPModAdmin.cfg (from c:\ProgramData\KSPModAdmin\...) that had a invalid KSP path saved. This leads to a null argument exception during quiting of KSP MA, which prevents a closing of KSP MA =(. But till now i wasn't able to reproduce a exception during KSP MA startup. And back to bug hunting...
  22. Normaly a missing KSP path shouldn't be a problem! You can try 1 more thing. Go to the c:\ProgramData\ folder rename/delete the KSPModAdmin folder. This resets the KSP MA back to default Confoguration. if this don't work it wold be very nice if you could send me the errors yuo encounter. Here is the link to the v1.3.6 Sorry for the inconvenience!
  23. I'm at work right now, i'll take a look in the evaning. Sorry for the inconvenience! EDIT: Benzschwagel what OS are you using (WinVista, Win7, Win8?)
  24. If someone is interested i have released my first KSP mod here. It's a mod to control KSP complete with a mouse.
×
×
  • Create New...