siimav

Results 15 issues of siimav

This is related to #710. The issue is that `RequirementMet` method in `AcceptContractRequirement` and `CompleteContractRequirement` is run every Update. This will cause nontrivial overhead when there's a lot of contracts...

As far as I can tell `VESSEL_STATS` and `DOCKED_SUB_VESSEL` are only relevant on contracts that are still in progress. On a 40MB test save this change reduced the size to...

KSP will run them in a coroutine for every Update in the flight scene. Some of the checks aren't relevant at all for already accepted contracts.

I recently created a CC extension for RP-1 to implement Sounding rocket contracts that require the vessel to be launched a specified distance downrange. The PR itself can be found...

Happened twice already. Here's the crash logs for both of them: [error.log](https://github.com/S-C-A-N/SCANsat/files/5009259/error.log) [error.log](https://github.com/S-C-A-N/SCANsat/files/5009271/error.log)

This can cause a significant performance impact when the user has tons of mods. Calls to Part.GetModuleCosts means that KSP iterates over all the PartModules that the part has to...

Without this there is no way to ensure that KSP will load TU assembly before any mod that references it.

https://github.com/xuzhg/MyAspNetCore/blob/f08a774c4bbe160f6359ad5241b713c70112789c/src/ODataCustomizePayloadFormat/ODataCustomizePayloadFormat/Program.cs#L18-L24 In addition to adding `SupportedMediaTypes`, I would also suggest adding `MediaTypeMappings`, for example: `odataFormatter.MediaTypeMappings.Add(new QueryStringMediaTypeMapping("$format", "csv", "text/csv"));` Took me a while to figure out why appending `?$format=text/csv` to URL...

Found a few errors and exceptions related to Scatterer when loading KSP 1.10.1 in debug mode. This is from my full RSS/RO/RP-1 install. [Scattererdebug.txt](https://github.com/LGhassen/Scatterer/files/5308672/Scattererdebug.txt)

`UpdateUsedBy` can be very expensive on high partcount vessels. ![https://cdn.discordapp.com/attachments/512556346869284864/1105262596849946694/image.png](https://cdn.discordapp.com/attachments/512556346869284864/1105262596849946694/image.png)