eddiew Posted July 18, 2015 Share Posted July 18, 2015 There's a lot of noise with those different errors - I need to know what happened first (as most of those would be caused by other problems). If you have an uncorrupted save (from just before this started happening, are you able to send the log from doing a save there?). If not, send a log and the save file (as I'll need to compare what's in the save file to the load/save errors that are happening).Just tossing it out there in case it saves a lot of bug hunting; the first error says Tourism_Moons. I'm using the New Horizons planet pack, which makes Kerbin a moon of a gas giant, but removes Kerbin's own moons and puts them elsewhere in the solar system. Any chance that's what's upsetting it?Failing that; log from an old save. Gave it a simple load/change scene/manual save sequence. (Spoiler; CC only appears in one line where it's acknowledging the assembly. No other entries.)And a persistent.sfs from after CC had generated an error (I use quite a stack of mods, apologies if this makes it unloadable). It doesn't seem to be doing any harm to the rest of the save. Quote Link to comment Share on other sites More sharing options...
nightingale Posted July 18, 2015 Author Share Posted July 18, 2015 Just tossing it out there in case it saves a lot of bug hunting; the first error says Tourism_Moons. I'm using the New Horizons planet pack, which makes Kerbin a moon of a gas giant, but removes Kerbin's own moons and puts them elsewhere in the solar system. Any chance that's what's upsetting it?Ohhhh, like the old Alternis. I didn't realize there was one out there like that. It's been in the back of my mind while doing those contract packs, but I'll have to verify. I doubt it's balanced for that scenario, but it... probably should work.Failing that; log from an old save. Gave it a simple load/change scene/manual save sequence. (Spoiler; CC only appears in one line where it's acknowledging the assembly. No other entries.)I meant a log from a save where you could reproduce the original issue. And a persistent.sfs from after CC had generated an error (I use quite a stack of mods, apologies if this makes it unloadable). It doesn't seem to be doing any harm to the rest of the save.404 - no file.Yeah, most important is a log with all the errors that you had above... context and order will be very important here. Quote Link to comment Share on other sites More sharing options...
eddiew Posted July 18, 2015 Share Posted July 18, 2015 Bah, looks like my web host doesn't want to serve sfs files... This cunningly renamed sfs.txt should work!I can't pinpoint the time at which it started to happen, sadly, so I can't give you the original error log - but I'll grab the next one that generates an error and post it Quote Link to comment Share on other sites More sharing options...
nightingale Posted July 18, 2015 Author Share Posted July 18, 2015 Bah, looks like my web host doesn't want to serve sfs files... This cunningly renamed sfs.txt should work!I can't pinpoint the time at which it started to happen, sadly, so I can't give you the original error log - but I'll grab the next one that generates an error and post it Hmmm.... it definitely is due to the fact that Kerbin has no moons. It's a bug in the contract pack, so it'll get handled under ContractPack-Tourism#12. In the meantime you can use the following module manager config to delete it:@[COLOR=#333333][FONT=Consolas]CONTRACT_TYPE[[/FONT][/COLOR][COLOR=#333333][FONT=Consolas]Tourism_Moons][/FONT][/COLOR]{ @[COLOR=#A71D5D][FONT=Consolas]maxSimultaneous = 0[/FONT][/COLOR]} Quote Link to comment Share on other sites More sharing options...
Volwen Posted July 18, 2015 Share Posted July 18, 2015 Ah. I'll try out the dev version when I get home. Still a bit new to this. Editing the .craft seemed only natural, as I have been doing it to ensure the vessels spawn with engines roaring and the BDArmory modules pre-activated. Quote Link to comment Share on other sites More sharing options...
eddiew Posted July 18, 2015 Share Posted July 18, 2015 Hmmm.... it definitely is due to the fact that Kerbin has no moons. It's a bug in the contract pack, so it'll get handled under ContractPack-Tourism#12. In the meantime you can use the following module manager config to delete it:Awesome, thank you - on both counts Quote Link to comment Share on other sites More sharing options...
Volwen Posted July 19, 2015 Share Posted July 19, 2015 Try the dev version here. It was never really intended for vessels in flight, because it doesn't really work in stock KSP (they'd just go nose down and crash). I have no idea if you need to do the two-contract stuff or not, but with the new version it *should* work now (limited testing). Let me know how it goes, and if it doesn't work send me the full contract and I'll play with it a bit.Erm, I'm not sure if there is something special I need to do with the dev version. I replaced the .dll and now my contracts are not working right. Spawned vessels do not appear, or at least do not stay. The Target Destroyed parameters complete immediately. Quote Link to comment Share on other sites More sharing options...
nightingale Posted July 19, 2015 Author Share Posted July 19, 2015 Erm, I'm not sure if there is something special I need to do with the dev version. I replaced the .dll and now my contracts are not working right. Spawned vessels do not appear, or at least do not stay. The Target Destroyed parameters complete immediately.Nothing special, it means my flying fix needs some more work. I'll get back to you on this one. Quote Link to comment Share on other sites More sharing options...
Whyren Posted July 19, 2015 Share Posted July 19, 2015 Nightingale, how do you feel about an addition to the Waypoint generator that would allow you to specify a parameter after the completion of which the Waypoint location is generated? Quote Link to comment Share on other sites More sharing options...
nightingale Posted July 19, 2015 Author Share Posted July 19, 2015 Nightingale, how do you feel about an addition to the Waypoint generator that would allow you to specify a parameter after the completion of which the Waypoint location is generated?Already supported. In the WaypointGenerator behaviour provide the parameter attribute (with the name of the parameter that is a prerequisite for displaying the waypoint). And it's always generated up front - just invisible until the parameter in question completes. Quote Link to comment Share on other sites More sharing options...
nightingale Posted July 19, 2015 Author Share Posted July 19, 2015 Erm, I'm not sure if there is something special I need to do with the dev version. I replaced the .dll and now my contracts are not working right. Spawned vessels do not appear, or at least do not stay. The Target Destroyed parameters complete immediately.Yeah, I think I'll be rolling back most of my changes. You can hack something together with an ORBITING vessel < 70000 km, but anything where the semi-major axis ends up too low it just insta-dies when the vessel is spawned. I think the hack you figured out with the decoupler is actually the best bet. Quote Link to comment Share on other sites More sharing options...
Whyren Posted July 19, 2015 Share Posted July 19, 2015 Already supported. In the WaypointGenerator behaviour provide the parameter attribute (with the name of the parameter that is a prerequisite for displaying the waypoint). And it's always generated up front - just invisible until the parameter in question completes.What I mean is to not generate the waypoint upfront. The use case I have in mind is that I could send a rover to a planet and once it lands at that moment I could generate a waypoint at the vessel's location and another random one near it so that the rover would be required to drive to a nearby waypoint and prove its functionality no matter where you land. Quote Link to comment Share on other sites More sharing options...
Volwen Posted July 19, 2015 Share Posted July 19, 2015 Yeah, I think I'll be rolling back most of my changes. You can hack something together with an ORBITING vessel < 70000 km, but anything where the semi-major axis ends up too low it just insta-dies when the vessel is spawned. I think the hack you figured out with the decoupler is actually the best bet.All right. Thank you very much for investigating. Quote Link to comment Share on other sites More sharing options...
nightingale Posted July 20, 2015 Author Share Posted July 20, 2015 What I mean is to not generate the waypoint upfront. The use case I have in mind is that I could send a rover to a planet and once it lands at that moment I could generate a waypoint at the vessel's location and another random one near it so that the rover would be required to drive to a nearby waypoint and prove its functionality no matter where you land.Ah, I see. The biggest issue with that is the expressions get run at contract generation time, so the only way to set/create a waypoint with the rover coordinates at an arbitrary time is with a custom behaviour (ie. C# code). Otherwise the other option is to split it into two contracts, and have the second contract with a super-high weight and autoAccept turned on. Quote Link to comment Share on other sites More sharing options...
Whyren Posted July 20, 2015 Share Posted July 20, 2015 Ah, I see. The biggest issue with that is the expressions get run at contract generation time, so the only way to set/create a waypoint with the rover coordinates at an arbitrary time is with a custom behaviour (ie. C# code). Otherwise the other option is to split it into two contracts, and have the second contract with a super-high weight and autoAccept turned on.I see. That also answers my question as to why not have an Expression-based parameter. I think I'll just keep things as is. Thank you very much. Quote Link to comment Share on other sites More sharing options...
nightingale Posted July 20, 2015 Author Share Posted July 20, 2015 I see. That also answers my question as to why not have an Expression-based parameter. I think I'll just keep things as is. Thank you very much.Actually an Expression based parameter *could* be possible... but only if you have a specific use case that can't be better met in another way. Quote Link to comment Share on other sites More sharing options...
Whyren Posted July 20, 2015 Share Posted July 20, 2015 Actually an Expression based parameter *could* be possible... but only if you have a specific use case that can't be better met in another way.I had something in mind, but I can't for the life of me remember what it was. Quote Link to comment Share on other sites More sharing options...
nightingale Posted July 20, 2015 Author Share Posted July 20, 2015 New release, download now!Contract Configurator 1.5.4Added new extended PartModule mode to PartValidation parameter.Added new methods for determining engine thrust and ISP in expressions.Added additional validation to WaypointGenerator.RANDOM_WAYPOINT_NEAR (thanks Xaegr).Minor changes to VesselSpawner.Fixed issue with VesselNotDestroyed firing for EVA Kerbals boarding a vessel (thanks Cooper42).Fixed Pow() and Log() expression functions to work correctly with types other than double (thanks NathanKell).Fixed major issues with CanResearchTech requirement (thanks NathanKell).Fixed holes where expressions could modify underlying KSP lists (thanks Whyren).Experiments from unsupported science mods won't show up - preventing them from showing up before the right tech has been unlocked.Added Asteroid Day experiment to experiment list (doesn't change behaviour, just quiets a warning). Quote Link to comment Share on other sites More sharing options...
sp1989 Posted July 21, 2015 Share Posted July 21, 2015 (edited) New release, download now!Contract Configurator 1.5.4Added new extended PartModule mode to PartValidation parameter.Added new methods for determining engine thrust and ISP in expressions.Added additional validation to WaypointGenerator.RANDOM_WAYPOINT_NEAR (thanks Xaegr).Minor changes to VesselSpawner.Fixed issue with VesselNotDestroyed firing for EVA Kerbals boarding a vessel (thanks Cooper42).Fixed Pow() and Log() expression functions to work correctly with types other than double (thanks NathanKell).Fixed major issues with CanResearchTech requirement (thanks NathanKell).Fixed holes where expressions could modify underlying KSP lists (thanks Whyren).Experiments from unsupported science mods won't show up - preventing them from showing up before the right tech has been unlocked.Added Asteroid Day experiment to experiment list (doesn't change behaviour, just quiets a warning).No contracts are showing up with the most recent update.I take it back its not your mod I started a new career without it and I have not contracts. Took mods away and still no contracts at all. Strange and frustrating bug. Edited July 21, 2015 by sp1989 Quote Link to comment Share on other sites More sharing options...
nightingale Posted July 21, 2015 Author Share Posted July 21, 2015 No contracts are showing up with the most recent update.Send a log file and I'll look into it. Quote Link to comment Share on other sites More sharing options...
sp1989 Posted July 21, 2015 Share Posted July 21, 2015 Send a log file and I'll look into it.Here is my most recent log https://www.dropbox.com/s/j9pm1i59c04ycoi/Player.log?dl=0 Quote Link to comment Share on other sites More sharing options...
nightingale Posted July 21, 2015 Author Share Posted July 21, 2015 Here is my most recent log https://www.dropbox.com/s/j9pm1i59c04ycoi/Player.log?dl=0Wrong file - can you send KSP.log? Quote Link to comment Share on other sites More sharing options...
sp1989 Posted July 21, 2015 Share Posted July 21, 2015 Wrong file - can you send KSP.log?Here you go https://www.dropbox.com/s/pcybc65bdg6owx6/KSP.log?dl=0 Are you sure you want that one? The one I posted above is the file I get out of the unity folder. Thats the one modders usually ask for. Quote Link to comment Share on other sites More sharing options...
nightingale Posted July 21, 2015 Author Share Posted July 21, 2015 Here you go https://www.dropbox.com/s/pcybc65bdg6owx6/KSP.log?dl=0 Are you sure you want that one? The one I posted above is the file I get out of the unity folder. Thats the one modders usually ask for.You're thinking of output_log.txt, the entire contents of Player.log (the one you posted) is:Initialize engine version: 4.6.4f1 (99f88340878d)GfxDevice: creating device client; threaded=1And KSP.log is easier to read, but has some information missing in a few uncommon cases, so I personally prefer it. But I'll accept either. Quote Link to comment Share on other sites More sharing options...
sp1989 Posted July 21, 2015 Share Posted July 21, 2015 You're thinking of output_log.txt, the entire contents of Player.log (the one you posted) is:Initialize engine version: 4.6.4f1 (99f88340878d)GfxDevice: creating device client; threaded=1And KSP.log is easier to read, but has some information missing in a few uncommon cases, so I personally prefer it. But I'll accept either.Ahhhh ok I've always wanted to know the difference! You've got both of my logs now. Please help lol. 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.