TAC Life Support

TAC Life Support

347k Downloads

Bug w/ Alerts (Electricity)

Kataklysmos opened this issue ยท 17 comments

commented

I, and a couple other people it seems like, have noticed a bug with the alerts involving electricity. The timers count down only what the ships capacity is, without taking into account the fact that the ship may have regained power with solar panels, rtg's, etc. This is obviously pretty frustrating, to constantly have a red alert on the alert tab.

screenshot 6

This screenshot shows a full electric charge meter with an overdue alert for the ship having no electricity.

Log File: (Hopefully the right one, I haven't done this much before)

output_log.txt

commented

Yes, so does this occur without BackgroundProcessing mod installed?

commented

whoops.... I didn't see the section explaining that. I just installed it, and I'll assume it'll work with that.

commented

Can you advise me if installing BackgroundProcessing mod fixed the problem?
I am working on doing the same as that mod inside TAC LS.

commented

It doesn't seem to have fixed the problem.

screenshot 12

screenshot 13

I was a bit confused because the "REPO SoftTech" folder that was in the TAC LS GameData folder had a file called "Background Resources," so it seemed that I had two things, one called "Background Resources," and one called "Background Processing." As far as I can tell, I have everything installed right, though, so the background processing isn't working and the alert is showing up as having no electric charge even when the vessel clearly does.

output_log.txt

commented

Hello!
I can also confirm this bug. Likely I have a save just before most of my orbital station crew went to past :) What is odd only 2 out of 3 active ships (with the crew on board) are affected...
Do you need some logs and/or mod list?

commented

I'm unsure if that fixed it for the above posters, but it is unfortunately still happening to me, using the dev build and your most recent copy of background processing

commented

Well, that's because in the instructions for the dev build it says to uninstall BackgroundProcessing mod.
Try that.

commented

Hi JPLRepo,
I removed the REPOSoftTech folder and replace ThunderAerospace/TacLifeSupport from v0.13.3dev (perhaps I should override it all? I wasn't sure since the BackgroundResources was also there)
The problem is partially gone - seems like my Kerbals are safe again :) - Thanks!
However the computed remaining times seems a bit odd:

tac_ls

The values are negative and quite close to 32 bit max int in milliseconds (close, but not exact...)

Thanks for all your effort!

commented

heh oops, didn't see that bit, sorry. yep, works like a charm. thanks for the awesome mod!

commented

having the same problem and there is a stupid workaround:
in the save file there is for each vessel the lastupdate number
VesselInfo
{
vesselName = Kerbin Space Station
vesselType = Station
vesselSituation = ORBITING
vesselIsPreLaunch = False
numCrew = 5
numFrozenCrew = 0
numOccupiedParts = 3
lastUpdate = 1015119.0987060822
lastFood = 1015119.0987060822
lastWater = 1015119.0987060822
lastOxygen = 1015119.0987060822
lastElectricity = 1014220.8871309602

all number increase but the lastElectricity. you can copy it from any other and replace the lastElectricity value. i think it could be easy fixed?`cause it still sucks to do it all the time for each vessel..

commented

I'm a little late to the party now, but the dev build did fix the issue. Thanks!

commented

dev build didn't fix my issue. BackgroundProcessing is not installed

commented

Shall look into it.

commented
commented

I ran into the same issue (vanilla KSP 1.3 x64 only HyperEdit and TACLS installed). Once I installed v0.13.4dev (updating REPOSoftTech and ThunderAerospace folders) it worked again. Thanks for the fix!