Malah Posted October 11, 2014 Share Posted October 11, 2014 Did this happen after upgrading from an older version of Contracts Window +? Or is it newly added? And does it happen everywhere, or just the space center?In the future I'll make the reset contracts button also reset the window settings and size parameters, though I'm not sure that would actually help here, since I can't really see the reset icon.All I can suggest here is that you open up the persistent.sfs file (make a backup), search for "contractScenario" without the "". Find the line WindowPosition = ... a few lines down, and replace it with this (copy and paste it exactly):WindowPosition = 50,80,250,300,50,80,250,300,50,80,250,300,50,80,250,300It should look like this to start with (the numbers will obviously be different):SortMode = 4,4,4,4WindowPosition = 161,281,480,551,344,60,480,535,140,115,250,678,50,80,250,300WindowVisible = False,False,False,Falseand this after you are finishedSortMode = 4,4,4,4WindowPosition = 50,80,250,300,50,80,250,300,50,80,250,300,50,80,250,300WindowVisible = False,False,False,FalseThanks, your tweak work fine.For the error, that's the first time I used Contracts Window (on a new savegame) and this error had happened after around 2 hours of game.If that can help you, what I have on my persistent.sfs SCENARIO { name = contractScenario scene = 7, 6, 8, 5, 9 version = 1.0.2.0 Contracts_Window_Parameters { DefaultListID = 5eea5032-564d-4acf-8ede-93baf532d8ef|N|True,7c2aa452-4d5b-4533-9a3b-fd568a561306|N|True HiddenListID = ShowListMode = 0,0,0,0 WindowMode = 1,1,1,0 SortOrder = 0,0,0,0 SortMode = 4,4,2,4 WindowPosition = 45,292,300,413,518,180,300,614,22,72,-27,621,50,80,130,300 WindowVisible = False,True,True,False ToolTips = True FontSize = False WindowSize = 1 } } Quote Link to comment Share on other sites More sharing options...
Aloriel Posted October 11, 2014 Share Posted October 11, 2014 DMagic, love the mods! Keep up the good work! Quote Link to comment Share on other sites More sharing options...
DMagic Posted October 11, 2014 Author Share Posted October 11, 2014 Another NullReferenceException, I just installed the ContractsWindow, but cannot get any GUI:Are you by any chance using some kind of quick-loading plugin, one that skips the main menu and goes directly to a vessel or save game? Doing that somehow short-circuits the loading process and breaks the window for some reason.Thanks, your tweak work fine.For the error, that's the first time I used Contracts Window (on a new savegame) and this error had happened after around 2 hours of game.If that can help you, what I have on my persistent.sfsDerp, I see what the problem is now. If you have the window set to the large size and you don't open the window at least once before leaving a scene it won't save the window size correctly. Each time this happens the window will get a little bit smaller. This is easy to fix; if I can figure out if there is something I can do about the other issue I'll release a fix soon. Quote Link to comment Share on other sites More sharing options...
DMagic Posted October 11, 2014 Author Share Posted October 11, 2014 I released a new update for this: Kerbal StuffIt fixes the constantly shrinking window bug.It also should prevent the NRE's shown above when clicking the toolbar in some cases. This could, under certain conditions, cause the icon to be added to a sandbox/science game, but it won't do anything and shouldn't remain after loading/changing scenes. KSP must be started at least once without skipping the loading menu for scenario modules to be setup correctly, this is true for anything using [KSPScenario]; these auto-loading plugins are not recommended for anything other than development or testing purposes.Mission Controller part-specific contracts are now supported in the editor mode and will show the part preview icon. Quote Link to comment Share on other sites More sharing options...
Malah Posted October 11, 2014 Share Posted October 11, 2014 I released a new update for this: Kerbal StuffIt fixes the constantly shrinking window bug.It also should prevent the NRE's shown above when clicking the toolbar in some cases. This could, under certain conditions, cause the icon to be added to a sandbox/science game, but it won't do anything and shouldn't remain after loading/changing scenes. KSP must be started at least once without skipping the loading menu for scenario modules to be setup correctly, this is true for anything using [KSPScenario]; these auto-loading plugins are not recommended for anything other than development or testing purposes.Mission Controller part-specific contracts are now supported in the editor mode and will show the part preview icon.Huge thanks Quote Link to comment Share on other sites More sharing options...
Galenmacil Posted October 11, 2014 Share Posted October 11, 2014 Great MOD. Was waiting for something like this to facilitate craft construction for part testing contracts... Thanks a lot! Quote Link to comment Share on other sites More sharing options...
@ND Posted October 11, 2014 Share Posted October 11, 2014 Got a weird very specific glitch with contracts added by FinePrint. If I accept 2 orbit contracts at the same time, Contract Window displays them correctly but will randomly switch the information in each one around at (seemingly) consistent intervals of maybe 3-5 seconds. This can be a little disorienting as, for example, I'll glance down and see I need a LAN of 147 degrees, look at the map, glance down again and it will say 251 degrees. This happens only when accepting the contracts at the same time, regardless of duration or expiry. The issue is present in version 1.2, 2.1, and 2.1. Haven't tested any earlier versions.Not entirely sure what you can do about this, but I thought I'd let you know regardless. Quote Link to comment Share on other sites More sharing options...
DMagic Posted October 11, 2014 Author Share Posted October 11, 2014 Got a weird very specific glitch with contracts added by FinePrint. If I accept 2 orbit contracts at the same time, Contract Window displays them correctly but will randomly switch the information in each one around at (seemingly) consistent intervals of maybe 3-5 seconds. This can be a little disorienting as, for example, I'll glance down and see I need a LAN of 147 degrees, look at the map, glance down again and it will say 251 degrees. This happens only when accepting the contracts at the same time, regardless of duration or expiry. The issue is present in version 1.2, 2.1, and 2.1. Haven't tested any earlier versions.Not entirely sure what you can do about this, but I thought I'd let you know regardless.Try different sorting options. If two contracts have the same title, or possibly just close to the same title, then this can happen. If there isn't any sorting option that fixes this then just pin one or both contracts, or hide one of them. Quote Link to comment Share on other sites More sharing options...
juanml82 Posted October 11, 2014 Share Posted October 11, 2014 How about displaying the contract reward as well? That can be useful when building a ship to do part tests, to check profitability (or the lack of thereof) Quote Link to comment Share on other sites More sharing options...
DMagic Posted October 11, 2014 Author Share Posted October 11, 2014 How about displaying the contract reward as well? That can be useful when building a ship to do part tests, to check profitability (or the lack of thereof)Look more carefully. Quote Link to comment Share on other sites More sharing options...
nismobg Posted October 12, 2014 Share Posted October 12, 2014 (edited) Magic great mod ! Edited October 12, 2014 by nismobg Quote Link to comment Share on other sites More sharing options...
hakan Posted October 12, 2014 Share Posted October 12, 2014 Are you by any chance using some kind of quick-loading plugin, one that skips the main menu and goes directly to a vessel or save game? Doing that somehow short-circuits the loading process and breaks the window for some reason.Yes, I am using the DevHelper plugin to arrive to auto-load my save game. I have set it up to go to the main screen now to avoid loading / initialization issues. Quote Link to comment Share on other sites More sharing options...
DMagic Posted October 12, 2014 Author Share Posted October 12, 2014 I released a new update: Kerbal StuffThe window reset function was over-zealous and was being called for no reason in many cases. It should now only trigger when using the reset button or in certain rare circumstances. Quote Link to comment Share on other sites More sharing options...
ArcFurnace Posted October 13, 2014 Share Posted October 13, 2014 I released a new update: Kerbal StuffThe window reset function was over-zealous and was being called for no reason in many cases. It should now only trigger when using the reset button or in certain rare circumstances.Excellent. I was just about to complain about the window refusing to remain in the same position and open/not open state like most Toolbar-based windows do (it was resetting to open/default position every time I switched between certain scenes), but this seems to have fixed the problem. Quote Link to comment Share on other sites More sharing options...
Tahib Posted October 13, 2014 Share Posted October 13, 2014 (edited) I just got massive performance hits in VAB, like a freeze every seconds. Last time this bad was with a 1500part vessel in 0.23.5, but not with a 10 part vessel.Not sure whats going on, your mod was just the only one that made a significant difference (a freeze only every 5 seconds), when i closed the window in vab.ContractWindow [email protected] here.edit: nevermind, seems to be an issue with xScience, long story there: http://forum.kerbalspaceprogram.com/threads/96000-0-25-x-Science!-Ingame-science-checklist-v1-1-%282014-10-11%29/page4 Edited October 13, 2014 by Tahib Quote Link to comment Share on other sites More sharing options...
Tebryn Posted October 13, 2014 Share Posted October 13, 2014 I just got massive performance hits in VAB, like a freeze every seconds. Last time this bad was with a 1500part vessel in 0.23.5, but not with a 10 part vessel.Not sure whats going on, your mod was just the only one that made a significant difference (a freeze only every 5 seconds), when i closed the window in vab.ContractWindow [email protected] here.this thing... down there... in teh signature... Quote Link to comment Share on other sites More sharing options...
Tahib Posted October 13, 2014 Share Posted October 13, 2014 seems to be an issue with xScience, long story there: http://forum.kerbalspaceprogram.com/threads/96000-0-25-x-Science!-Ingame-science-checklist-v1-1-%282014-10-11%29/page4 Quote Link to comment Share on other sites More sharing options...
biohazard15 Posted October 17, 2014 Share Posted October 17, 2014 Looks like CW+ doesn't support strategies.Here:Javascript is disabled. View full album Quote Link to comment Share on other sites More sharing options...
maracuja Posted October 18, 2014 Share Posted October 18, 2014 not working for me, contract window still happens to be stock one. toolbar is installed. 0.25 win x86 Quote Link to comment Share on other sites More sharing options...
biohazard15 Posted October 18, 2014 Share Posted October 18, 2014 not working for me, contract window still happens to be stock one. toolbar is installed. 0.25 win x86Did you enabled CW+ icon to show in Toolbar? (See my screenshots - it's a red-white-lime button in the upper left)CW+ doesn't replace stock contracts app, it's a completely another window. Quote Link to comment Share on other sites More sharing options...
maracuja Posted October 18, 2014 Share Posted October 18, 2014 Did you enabled CW+ icon to show in Toolbar? (See my screenshots - it's a red-white-lime button in the upper left)CW+ doesn't replace stock contracts app, it's a completely another window.thanks, it's all fine now.руÑÂÑÂúøõ ÿþòÑÂюôу =) Quote Link to comment Share on other sites More sharing options...
qeveren Posted October 25, 2014 Share Posted October 25, 2014 A purely cosmetic suggestion, but would it be possible to see the name of the agency offering the contract in the Contracts Window? It makes it easier to name satellites etc. appropriately. Quote Link to comment Share on other sites More sharing options...
mkrco Posted November 18, 2014 Share Posted November 18, 2014 Hi, I've been using CW+ for a while, and I really like it. I'm using toolbar with it. But one thing is getting kind of annoying. The CW+ window appears everywhere, all the time. I constantly find myself switching it off manually whenever I switch spacecraft, go back to space center, vab, etc. Every time I switch "scenes" the CW+ window comes back on, and since most of the time I don't need to be looking at the contracts I often have to close it. Is there any way to configure it so that the window is off by default, and only comes on when I click on it in the toolbar?thanks Quote Link to comment Share on other sites More sharing options...
DMagic Posted November 19, 2014 Author Share Posted November 19, 2014 A purely cosmetic suggestion, but would it be possible to see the name of the agency offering the contract in the Contracts Window? It makes it easier to name satellites etc. appropriately. It's possible, but agency names can be fairly long, so there would need to be some option to hide them, which means adding another icon to an already crowded list. I'll see if there is a reasonable method for it though.Hi, I've been using CW+ for a while, and I really like it. I'm using toolbar with it. But one thing is getting kind of annoying. The CW+ window appears everywhere, all the time. I constantly find myself switching it off manually whenever I switch spacecraft, go back to space center, vab, etc. Every time I switch "scenes" the CW+ window comes back on, and since most of the time I don't need to be looking at the contracts I often have to close it. Is there any way to configure it so that the window is off by default, and only comes on when I click on it in the toolbar?thanksIt should be off by default. The window settings are saved separately for each scene, so if you turn it off in the VAB then switch to flight it will load a different group of settings, but if you go back to the VAB again it should remain off. If this isn't happening then something else is wrong. Quote Link to comment Share on other sites More sharing options...
mkrco Posted November 19, 2014 Share Posted November 19, 2014 (edited) It should be off by default. The window settings are saved separately for each scene, so if you turn it off in the VAB then switch to flight it will load a different group of settings, but if you go back to the VAB again it should remain off. If this isn't happening then something else is wrong.Yeah, in my case it's always on, in all scenes no matter how many times I turn it off, as soon as I go back to a scene it reappears. It also always returns to the "default" position, and size no matter how often I change it. I've tried resetting the settings, but it didn't help.EDIT: I ultimately turned off the CW+ button in the toolbar settings, and then put it back on. Since then it seems well behaved. Edited November 20, 2014 by mkrco 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.