Jump to content

[KSP >= 1.3.0] TweakScale - Under Lisias' Management - 2.4.8.6 - 2024-0921


Lisias

Recommended Posts

First, follow my guidance with the post just before you.  That'll help with some of the issues.
Second, can you upload the KSP.log. (There's more info in that for me.)
Third, Your biggest problem is duplications. You've got rogue patching going on that is duplicating ModuleTweakScale in parts.
Edited by TranceaddicT
Link to comment
Share on other sites

@Lisias I made a TweakScale patch for Nertea's NF Launch Vehicles, They said that I should contribute it to your repository.
 

// ** Near Future Technologies :: Launch Vehicle**
//
// https://forum.kerbalspaceprogram.com/index.php?/topic/155465-*
//
//	https://spacedock.info/mod/1434/Near%20Future%20Launch%20Vehicles
//	https://kerbal.curseforge.com/projects/near-future-launch-vehicles
//	https://github.com/ChrisAdderley/NearFutureLaunchVehicles/releases

//Region ** Command **

    // 5m Drone Core
    @PART[nflv-drone-core-5-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = stack
			defaultScale = 5
		}
	}
    // 7.5m Drone Core
    @PART[nflv-drone-core-75-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
                type = stack
                defaultScale = 7.5
        }
    }

///Region ** Command **

//Region ** Coupling **

    // 5m Decoupler
    @PART[nflv-decoupler-5-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = stack
			defaultScale = 5
		}
	}

    // 7.5m Decoupler
    @PART[nflv-decoupler-75-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 7.5
        }
    }

    // Radial decoupler
    @PART[nflv-decoupler-radial-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = free
        }
    }

    // 5m Docking Port
    @PART[nflv-docking-5-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 5
        }
    }

    // 5m separator
    @PART[nflv-separator-5-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 5
        }
    }
    
    // 7.5m separator
    @PART[nflv-separator-75-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 7.5
        }
    }

///Region ** Coupling **

//Region ** Electrical **

    // 5m Battery
    @PART[nflv-battery-stack-5-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 5
        }
    }

    // 7.5m Battery
    @PART[nflv-battery-stack-75-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 7.5
        }
    }

///Region ** Electrical **

//Region ** Engine **

    // Engine - AR-1
    @PART[nflv-engine-ar1-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 1.25
        }
    }

    // Engine - AR-1 Cluster  
    @PART[nflv-engine-ar1c-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 3.75
        }
    }

    // Engine - Merlin 1D
    @PART[nflv-engine-m1d-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 0.625
        }
    }

    // Engine - Merlin 1D Vacuum
    @PART[nflv-engine-m1d-vac-1]:NEEDS[TweakScale]
    {
        %MODULE
        {
            type = stack
            defaultScale = 1.25
        }
    }

    // Engine - RD-701
    @PART[nflv-engine-rd701-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 3.75
        }
    }

    // Engine - RD-704
    @PART[nflv-engine-rd704-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 1.875
        }
    }

    // Engine - RS-84
    @PART[nflv-engine-rs84-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 2.5
        }
    }

    // Engine - Rutherford
    @PART[nflv-engine-rutherford-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 0.625
        }
    }
    
    // Engine - Rutherford Vacuum
    @PART[nflv-engine-rutherford-vac-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 0.625
        }
    }

    // Engine - STEEBEE
    @PART[nflv-engine-stbe-kero-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 2.5
        }
    }

    // Engine - TR107
    @PART[nflv-engine-tr107-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 1.875
        }
    }

///Region ** Engine **

//Region ** FuelTank **
    // 5m fuel tank - 15m
    @PART[nflv-fueltank-5*]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack
            defaultScale = 5
        }
    }
    
    // 7.5m fuel tank - 15m
    @PART[nflv-fueltank-75*]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale = 7.5
        }
    }
    
    // 5m to 3.75m adapter, tall
    @PART[nflv-fueltank-adapter-5-375*]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale = 5
        }
    }
    
    // 7.5m to 5m adapter, tall
    @PART[nflv-fueltank-adapter-75-5*]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale = 7.5
        }
    }
    
    // 5m fuelled nose
    @PART[nflv-fueltank-nosecone-5-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale = 5
        }
    }
    
    // 7.5m fuelled nose
    @PART[nflv-fueltank-nosecone-75-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale = 7.5
        }
    }
    
    // 5m fuelled nose
    @PART[nflv-fueltank-round-5-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale = 6
        }
    }
    
    // 7.5m round nose
    @PART[nflv-fueltank-round-75-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale = 7.5
        }
    }
    
    // 5m to 3.75m adapter, skeletal
    @PART[nflv-skeletal-adapter-5-375-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale = 5
        }
    }
    
    // 7.5m to 5m adapter, skeletal
    @PART[nflv-skeletal-adapter-75-5-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack  
            defaultScale = 7.5
        }
    }

///Region ** FuelTank **

//Region ** payload **

    // 5m Cargo Bay
    @PART[nflv-cargo-5*]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale = 5
        }
    }

    // 7.5m Cargo Bay
    @PART[nflv-cargo-75*]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale = 7.5
        }
    }
    
    // 5m Cargo Nose Bay
    @PART[nflv-cargo-nose-5-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale = 5
        }
    }
    
    // 7.5m Cargo Nose Bay
    @PART[nflv-cargo-nose-75-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale = 7.5
        }
    }
    
    // 5m Fairing
    @PART[nflv-fairing-5-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale = 5
        }
    }
    
    // 7.5m Fairing
    @PART[nflv-fairing-75-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale = 7.5
        }
    }
    
    // 5m Service bay
    @PART[nflv-service-bay-5-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale = 5
        }
    }
    
    // 7.5m Service bay
    @PART[nflv-service-bay-75-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale = 7.5
        }
    }

///Region ** payload **

//Region ** RCS **

    // Heavy aerodynamic RCS. Based on SuperDraco
    @PART[nflv-rcs-aero-heavy-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = free 
            
        }
    }
    
    // Heavy aerodynamic RCS - LFO. Based on RS-88
    @PART[nflv-rcs-aero-heavy-2]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = free 
            
        }
    }
    
    // Heavy single RCS nozzle - SuperDraco
    @PART[nflv-rcs-heavy-1x-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = free 
            
        }
    }
    
    // Heavy single RCS nozzle - LFO - RS88
    @PART[nflv-rcs-heavy-1x-2]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = free 
            
        }
    }
    
    // Heavy Quad RCS nozzle - SuperDraco
    @PART[nflv-rcs-heavy-4x-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = free 
            
        }
    }
    
    // Heavy Quad RCS nozzle - LFO - RS-88
    @PART[nflv-rcs-heavy-4x-2]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = free 
            
        }
    }
    
    // Integrated vehicle fluids RCS block - 3x
    @PART[nflv-rcs-integrated-3x-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = free 
            
        }
    }
    
    // Integrated vehicle fluids RCS block - 4x
    @PART[nflv-rcs-integrated-4x-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = free 
            
        }
    }
    
    // Integrated vehicle fluids RCS block - 4x
    @PART[nflv-rcs-integrated-4x-2]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = free 
            
        }
    }
    
 //Region ** Structural

    // 5m Cargo Tuboid
    @PART[nflv-cargo-tube-5-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale =
        }
    }
    
    // 7.5m Cargo Tuboid
    @PART[nflv-cargo-tube-75-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale =
        }
    }

///Region ** RCS **

//Region ** Mounting **

    // 5m Cluster Mount - Energia
    @PART[nflv-cluster-mount-lower-5*]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale = 5
        }
    }
   
    // 7.5m Cluster Mount - BFS
    @PART[nflv-cluster-mount-lower-75*]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale = 7.5
        }
    }

    
    // 5m Cluster Mount - Starship
    @PART[nflv-cluster-mount-upper-5*]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale = 5
        }
    }
    
    // 7.5m Cluster Mount - ITS
    @PART[nflv-cluster-mount-upper-75*]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack 
            defaultScale = 7.5 
        }
    }

///Region ** Mounting **

 

Link to comment
Share on other sites

Whenever I place down or modify a part using the PAW menu, the game seems to stutter. Usually, it's not for long - about half a second, but on larger crafts, the stutter is definitely noticeable and it takes KSP from 1-5 seconds to unfreeze, which makes building spacecraft rather tedious and annoying. I've checked the ingame console, and its giving me this error message EVERY time I place down, remove, or modify a part:

[EXC 19:26:43.538] NullReferenceException
	TweakScale.TweakScale.OnEditorShipModified (ShipConstruct ship) (at <c3d11dd12519438cafd8dbec2a0a0668>:0)
	EventData`1[T].Fire (T data) (at <55ba45dc3a43403382024deac8dcd0be>:0)
	UnityEngine.DebugLogHandler:LogException(Exception, Object)
	ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
	UnityEngine.Debug:LogException(Exception)
	EventData`1:Fire(ShipConstruct)
	UIPartActionResourceEditor:OnSliderChanged(Single)
	UnityEngine.EventSystems.EventSystem:Update()
[ERR 19:26:43.557] Exception handling event onEditorShipModified in class TweakScale:System.NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Behaviour.get_enabled(UnityEngine.Behaviour)
  at TweakScale.TweakScale.OnEditorShipModified (ShipConstruct ship) [0x00000] in <c3d11dd12519438cafd8dbec2a0a0668>:0 
  at EventData`1[T].Fire (T data) [0x000b0] in <55ba45dc3a43403382024deac8dcd0be>:0 

Also (possibly) worth mentioning is that it does this for any part, modded or stock, that aren't modified using TweakScale. I read about someone else having this problem a couple comments back, but I'm afraid it wasn't really clear as if there's a working fix/workaround as of lately. Just wanna ask if there is one.

I've already tried verifying game files and reinstalling TweakScale, but to no avail.

Details:

  • Running KSP 1.9.1 on an SSD
  • TweakScale version 2.4.3.15
  • Ryzen 5 2600
  • RX570 w/ 8GB VRAM
  • 16 GB DDR4
  • Windows 10

KSP.log

Player.log

 

Link to comment
Share on other sites

5 minutes ago, L0NE_PH4NT0M said:

Whenever I place down or modify a part using the PAW menu, the game seems to stutter. Usually, it's not for long - about half a second, but on larger crafts, the stutter is definitely noticeable and it takes KSP from 1-5 seconds to unfreeze, which makes building spacecraft rather tedious and annoying. I've checked the ingame console, and its giving me this error message EVERY time I place down, remove, or modify a part:

Yep, this is known (Tonka's prob) and has been fixed for next release.

 

Link to comment
Share on other sites

1 hour ago, TranceaddicT said:

Yep, this is known (Tonka's prob) and has been fixed for next release.

 

Ah, gotcha. Thanks for the answer, looks like I'm gonna have to hold off my Duna mission until next release then. If I may ask, is there an ETA for next release? Don't mean to be rude or sound hastening.

Link to comment
Share on other sites

2 hours ago, L0NE_PH4NT0M said:

Ah, gotcha. Thanks for the answer, looks like I'm gonna have to hold off my Duna mission until next release then. If I may ask, is there an ETA for next release? Don't mean to be rude or sound hastening.

Soon

Link to comment
Share on other sites

10 hours ago, L0NE_PH4NT0M said:

. If I may ask, is there an ETA for next release? Don't mean to be rude or sound hastening.

This week for sure. Is not on the wild right now due a formidable bork of someone (not me this time!) at work, and we are running 24x7 to diagnose and fix the problem.

Link to comment
Share on other sites

3 hours ago, renejant said:

@lisias, any updates on the TweakRogueDuplicate problem? Or will this be included in the upcoming Tweakscale update?

I'd wager about 1/3 of the time this gets fixed by fully deleting your old Tweakscale folder before copying in the new update. That said, if you do some poking, you can find where your part is getting double patched from and remove the extra patch. Sometimes there is one in the mod folder and in the tweakscale folder! This is why I fully delete old mods before installing the new version. Since I started that, I have not seen TweakRogueDuplicate any more. 

Remember to back up your saves!

Link to comment
Share on other sites

21 hours ago, renejant said:

@lisias, any updates on the TweakRogueDuplicate problem? Or will this be included in the upcoming Tweakscale update?

Not yet. Still need more time, RealLife is bitting harder than I expected. I will come back to this after releasing TweakScale 2.4.4.0 (in the next days, hopefully)

 

17 hours ago, Azic Minar said:

I'd wager about 1/3 of the time this gets fixed by fully deleting your old Tweakscale folder before copying in the new update.

Not this time. There's something else poking a TweakScale module on the part, and on my tests the thing shoved a empty TweakScale Module before the canonical one, and this broke up my savegame on the test bed.

Trying to fix the way you say can do the same on his savegame, as it did on mine.

More details here.

-- POST EDIT --

@renejant - I decided to release a yet another 2.4.3.x release to allow people to play on KSP 1.10 without sending compliments to my mom. :) This lifted a bit the pressure to release 2.4.4.0 , and I will have time to work on your issue (it probably will hint me about a new Sanity Check!) as soon as I could get some sleep - it's Monday to me yet... :sticktongue:

Edited by Lisias
post edit
Link to comment
Share on other sites

@Lisias Im here once again, I didnt want to post this on my thread since my log shows something different.

See, I was doing a B-2 Spirit bomber, then suddenly the energy was cutoff, 30 seconds later it came back, but my PC lagged so much and KSP crashed.

I though it was the TLAs, but after viewing the log I saw some NullReferenceExceptions involving TweakScale and it keeps spamming this:

[EXC 13:43:31.476] NullReferenceException
	TweakScale.TweakScale.OnEditorShipModified (ShipConstruct ship) (at <c3d11dd12519438cafd8dbec2a0a0668>:0)
	EventData`1[T].Fire (T data) (at <9d71e4043e394d78a6cf9193ad011698>:0)
	UnityEngine.DebugLogHandler:LogException(Exception, Object)
	ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
	UnityEngine.Debug:LogException(Exception)
	EventData`1:Fire(ShipConstruct)
	WingProcedural.<UpdateAeroDelayed>d__262:MoveNext()
	UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
[ERR 13:43:31.479] Exception handling event onEditorShipModified in class TweakScale:System.NullReferenceException
  at (wrapper managed-to-native) UnityEngine.Behaviour.get_enabled(UnityEngine.Behaviour)
  at TweakScale.TweakScale.OnEditorShipModified (ShipConstruct ship) [0x00000] in <c3d11dd12519438cafd8dbec2a0a0668>:0 
  at EventData`1[T].Fire (T data) [0x000b0] in <9d71e4043e394d78a6cf9193ad011698>:0 

[EXC 13:43:31.482] NullReferenceException
	TweakScale.TweakScale.OnEditorShipModified (ShipConstruct ship) (at <c3d11dd12519438cafd8dbec2a0a0668>:0)
	EventData`1[T].Fire (T data) (at <9d71e4043e394d78a6cf9193ad011698>:0)
	UnityEngine.DebugLogHandler:LogException(Exception, Object)
	ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object)
	UnityEngine.Debug:LogException(Exception)
	EventData`1:Fire(ShipConstruct)
	WingProcedural.<UpdateAeroDelayed>d__262:MoveNext()
	UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

Mod list:

Aircraft Carrier Accessories (AircraftCarrierAccessories 1:1.8.1)
Airplane Plus (AirplanePlus 26.5)
All Tweak (AllTweak 0.6)
Automated Aerial Refueling System (AutomatedAerialRefueling 1:0.5)
B9 Aerospace Procedural Wings - Fork (B9-PWings-Fork 1:v0.93)
B9 Part Switch (B9PartSwitch v2.14.0)
BahamutoD Animation Modules (BDAnimationModules 1:v0.6.5.8)
BD Armory Continued (BDArmoryContinued 1:v1.3.2)
Craft Manager (CraftManager 1.2.0)
Firespitter Core (FirespitterCore v7.15)
Firespitter Resources config (FirespitterResourcesConfig v7.15)
KXAPI (KXAPI 1.2.0)
Module Manager (ModuleManager 4.1.4)
Physics Range Extender  (PhysicsRangeExtender 1.17.0)
QuizTech Aero Pack (QuizTechAeroPackContinued 1.3.15)
RasterPropMonitor (RasterPropMonitor 1:v0.31.3)
RasterPropMonitor Core (RasterPropMonitor-Core 1:v0.31.3)
TweakScale - Rescale Everything! (TweakScale v2.4.3.15)
VesselMover Continued (VesselMoverContinued v1.8.0)

Logs: https://1drv.ms/u/s!AtUgGSbBKMe8iRUj2QN7Ehx1DR5b?e=Eglo02

Edited by Commodoregamer118
Mention
Link to comment
Share on other sites

On 7/8/2020 at 4:04 PM, Commodoregamer118 said:

@Lisias Im here once again, I didnt want to post this on my thread since my log shows something different.

See, I was doing a B-2 Spirit bomber, then suddenly the energy was cutoff, 30 seconds later it came back, but my PC lagged so much and KSP crashed.

I though it was the TLAs, but after viewing the log I saw some NullReferenceExceptions involving TweakScale and it keeps spamming this:

Mod list:

Logs: https://1drv.ms/u/s!AtUgGSbBKMe8iRUj2QN7Ehx1DR5b?e=Eglo02

That's on me, I borked on something pretty stupid. It's already fixed on the Beta branch.

In time, thank you very much for bringing this now. You came in time to save the 2.4.3.167 release, I plain forgot about this thing and was going to release it without the fix.

(it's being a hell of a week - I will laugh on this eventually, but not today.... :sticktongue:)

Stay tuned.

-- -- post edit -- -- 

@L0NE_PH4NT0M, @TranceaddicT , this is too about that issue you guys talked about above. New release in approximately an hour. :)

-- post post edit --

@Pointblank66, I will check your patches later. Right now I'm a bit overwhelmed with some other things, but I will not forget you. Again. :P

@Mage424, I missed your post. Sorry. I will address your issue ASAP (unfortunately, not that soon however.)

Edited by Lisias
post post edit.
Link to comment
Share on other sites

ANNOUNCE

I'm having a terrible Monday - for circa [70 hours] [one week] a whole freaking month already :P . Due some Real Job issues, I'm currently unable to have proper sleeptime, so issuing a full new TweakScale version with new features and proper fixes is a too much bold move right now - so I decided to release a minimal one.

That said, Release 2.4.3.21 is available for downloading.

  • Lifted the Houston for KSP 1.10, and added scaling support for the new parts :
    • MpoProbe - Moho Planetary Observer
    • MtmStage - Moho Transfer Module
    • smallClaw] - Advanced Grabbing Unit Jr. 
  • TweakScale 2.4.3.x series is EoL.
    • No further minor versions will be issued.
    • Further fixes and new features will be implemented only on TweakScale 2.4.4.0 and newer.
  • KSP Recall is heavily pushed on KSP 1.9.x.
    • weakScale will pesky you until you install it.
  • TweakScale 2.4.3 will complain when running on KSP > 1.10.1 .
    • But you can try your luck nevertheless - just be absolutely sure you installed S.A.V.E.
      • Really. Everybody should be using S.A.V.E. by now, and I holding myself to do not code a new Houston for it.

See OP for the links.

Highlights

KSP 1.10.x Support

KSP 1.10.1 is supported by TweakScale 2.4.3.

KSP 1.9.x Support

VAB/SPH Editor

KSP 1.9.x Editor introduced a glitch that was rendering parts with ModulePartVariant displaced on loading. Crafts being instantiated on LaunchPad/Runway (as also living craft on the Universe) are not affected.

This is what I know until this moment:

  • KSP is shoving back prefab data into living crafts on savegames (and on loading crafts on the Editor) since 1.6 or 1.7, and recently started to obliterate the resources customisations made by Modules.
    • You already know that, KSP Recall was born due it.
  • The novelty is that, somehow, surface attachments are, now, also affected - but not exactly as the Resources, and this is what caught me with my pants down (and what made me bork the 2.4.3.13 release, already withdrawn):
    • Parts with variants are getting surface attachments mangled on Editor, but parts without variants are not!
      • Attachments points apparently are being mangled too, but I did't did a full testing on the matter - proceed with caution
        • Attachment points with parts are also reset, but are preserved on classic parts.
        • Boy, what a mess... :P 
  • This, probably, could be also solved by using the GameEvents.onEditorVariantApplied, but since KSP still mangles with TweakScale business in other situations (including on Flight Scene), I would need to split the survivorship logic in two different places now - so I opted to keep the current Event handling for while until I fully refactor (and validade) the code.
    • Surviving different KSP Version's idiosyncrasies are taxing badly the codetree
    • And I'm firm on my commitment to keep TweakScale (core) compatible with every KSP still em use - expect TweakScale 2.5 to be useable down to KSP 1.2 (KSPe already does it, by the way) - so I will be able to backport every fix and enhancements to people that choose to stay playing older KSP versions.
  • The after math is that I'm still using Unity's Update callback to handle the first Scale Back event, needed to survive KSP manglings. For some time I considered using KSP Recall to handle this situation, but since Scaling is the TweakScale's Core Business, and I don't intend to tie KSP Recall to TweakScale in any way (it must be a generic solution for everyone, not just for me), I rolled back any change on it.

Please also note that there's a lot of glitches on KSP 1.9 Editor not related to TweakScale (or any other Add'On).

Drain Valve

The FTE-1 Drain Valve is being scaled, however not properly. Mass and size scales fine, but the drain rate is not. See Issue #102 for details.

Resources

KSP 1.9.x is known to replace any Resource customisation made by custom modules with default definitions from the prefab.

This affects many Add'Ons, being TweakScale only one of them. So a new Add'On called KSP Recall was created to specifically handle KSP issues that would affect everybody.

Users of KSP 1.9.0 and 1.9.1 are urged to install KSP Recall. Future KSP releases may or may not fix the glitches KSP Recall aims to workaround - but until there, you need KSP Recall to use TweakScale on KSP 1.9.x . 

Misc

Keep an eye on the Known Issues file.

 

-- -- POST EDIT -- -- 

A spacetime accident happened, unfortunately eliminating 2.4.3.16 from this Existential Plane. Don't ask, I'm blaming Einstein for this. :P 

-- -- POST POST EDIT -- -- 

Another glitch on matrix happened, creating a spacetime fracture that swallowed 2.4.3.17 from this Existential Plane. Don't ask, I think it was Hawking this time.

-- -- POST POST POST EDIT -- -- 

Incredibly, a Primordial Black Hole came from nowhere, capturing 2.4.3.18 into its Event Horizon and erasing it from this Existential Plane. Again. Stop laughing, Sagan - I'm hearing you from here.

-- -- POST**4 EDIT -- -- 

A Sleestak came emerged from an weird pylon that appeared from nowhere on my living room and stole 2.4.3.19 from this Existential Plane. 2.4.3.20 is the new final release for the 2.4.3 series.

Holly Marshal was cute.

-- -- POST**5 EDIT -- -- 

Bart Simpson was here and stole 2.4.3.20. TweakScale 2.4.3.21 in on the wild. (and I ran out of funny scify excuses).

 

Edited by Lisias
Uh... 2.4.3.21 - and I really don't want to talk about.
Link to comment
Share on other sites

47 minutes ago, Lisias said:

2.4.3.16 is available for downloading.

CKAN?

1 hour ago, Lisias said:

thank you very much for bringing this now.

It was just the power outage, thank the rain.

48 minutes ago, Lisias said:

Users of KSP 1.9.0 and 1.9.1 are urged to install KSP Recall.

Im on 1.8.1 but im doing it anyway.

1 hour ago, Lisias said:

(it's being a hell of a week

Me too, for me roblox web is broken and the Microsoft store version is the worst one so yeah.

Link to comment
Share on other sites

2 hours ago, Lisias said:

ANNOUNCE

I'm having a terrible Monday - for circa 70 hours already :P . Due some Real Job issues, I'm currently unable to have proper sleeptime, so issuing a full new TweakScale version with new features and proper fixes is a too much bold move right now - so I decided to release a minimal one.

That said, Release 2.4.3.16 is available for downloading.

<<snip>>

Yeah! Locked and loading (as I type.)

Terrible Mondays are all we have right now.  Don't burn yourself out on this. (Too many do; hate to see that happen with you.)

I've adopted your _LOCAL hierarchy.  I was doing the zzz-thang, but like this being at the top of the directory MUUUUUUUCH better. 

One more thing, I'm working on those 'Workarounds.' (Monday-itis, it's a pandemic.:sticktongue:)

Edited by TranceaddicT
Link to comment
Share on other sites

16 hours ago, Lisias said:

@renejant - I decided to release a yet another 2.4.3.x release to allow people to play on KSP 1.10 without sending compliments to my mom. :) This lifted a bit the pressure to release 2.4.4.0 , and I will have time to work on your issue (it probably will hint me about a new Sanity Check!) as soon as I could get some sleep - it's Monday to me yet...

No problem m8, i understand. I was just giving you a reminder like you asked me too... So you wouldn't forget about this problem... I am monitoring this thread in the meantime... Meanwhile im am trying to solve another issue with the broken fairings in ksp 1.10. I found out that if you use a stock game, the problem is not there, so i am moving out all the mods, and moving back in one at a time to see which  mod is the culprit breaking the fairings. I read somewhere that Restock does this, but if i move out Restock, problem still exist. 

Get some sleep m8, your health is more important than us asking for updates or fixing the problems... It will get fixed at some point, just take your time!

Link to comment
Share on other sites

7 hours ago, Commodoregamer118 said:

CKAN?

Soon(tm). :)

I'm avoiding CKANing rushed releases too soon to prevent widespreading eventual mishaps. 

I realized it's safer to expose new releases for a day to early adopters and monitor my ears: if they start to burn, CKAN (and SpaceDock) and CurseForge are postponed. :P

 

7 hours ago, Commodoregamer118 said:

Im on 1.8.1 but im doing it anyway.

It will just waste a bit of memory, as the features will deactivate themselves when uneeded.

You can force the activation of the module on a specific part, however. It may help on some pretty weird hypotetical situations - if you fix something new with this stunt, kick me on KSP Recall thread, I'm interested on hear about.

 

5 hours ago, TranceaddicT said:

Terrible Mondays are all we have right now. 

giphy.gif

(I want a lasagna now. :P )

 

19 minutes ago, renejant said:

No problem m8, i understand. I was just giving you a reminder like you asked me too... 

acknowledged. :)

this problem you detected is interesting and important.

"hard core" moddings is where the real fun is, and not rarelly exposes problems on the laying framework itself.

We manage to diagnose and fix this, we made things safer for everybody. We can have a solution to better compatibility (aka "no more toe stomping fests"), and people can spend more time creating and playing than fixing problems. :)

 

19 minutes ago, renejant said:

I read somewhere that Restock does this, but if i move out Restock, problem still exist. 

Create a new savegame after removing ReStock and see what changes. Then install it again, and check for changes again. It's how I managed to fsckup my testbed.

It's too soon to pinpoint a cause (and I think there's no cukprits this time, it's one of that weird situations in which everybody do everything right, but yet something does not cope well and BADABOOM.).

 

20 minutes ago, renejant said:

Get some sleep m8, your health is more important than us asking for updates or fixing the problems... It will get fixed at some point, just take your time!

Trying to. :)

things are a bit hairy around here. I'm trying to stay calm and keep coding in the mean time. :)

Link to comment
Share on other sites

1 hour ago, Lisias said:

Trying to. :)

things are a bit hairy around here. I'm trying to stay calm and keep coding in the mean time

Or you can take a break from the game for a couple of days! just suggesting... ;)

-- post edit --

Is KSP Recall still needed on KSP 1.10? Or can i safely remove this "mod" ? I am updating Tweakscale to your latest release...

BTW, The Fifth Element is my favourite movie! Especially the part with Aziz Light!

Edited by renejant
Link to comment
Share on other sites

6 minutes ago, renejant said:

Or you can take a break from the game for a couple of days! just suggesting... ;)

I did. 3 Days without coding a single line on KSP. Spent them helping to diagnose a pretty harsh infrastructure problem that was affecting our customers - pretty nasty, and the fix was absurdly stupid. :D 

Spoiler

In the mean time, one customer had a problem on his inhouse software, that ended up flooding us with 120K requests for downloading 1 megabyte PDFs on a single morning (this is the expected volume for the whole month!), what ended up blurring the proper diagnosis of the overall scenario because we wrongly attributed the problem to this.

However, one of our partners had also a misconfiguration on their NGNX that was being masked by the previous two problems, the simple fix of all - but we could not see it because the new DataBase server was also clogging some requests (due that 120K requests above).

After days of pinpoint problems everywhere that were not solving the problem on the long run, as on the start of the following morning everything was burning again, I had noticed that on every burst of a hundred jobs, the very 25 first ones was returning that !@@#$%@!$# 500 Invernal Sever Error. And this was deterministic - on batches smaller than 25 jobs, everything works fine, on bigger ones, the first 25 returned HTTP 500.

So we gone for a LOG hunting spree. Once we found a deterministic way to trigger the problem, we could configure specialised monitoring tools and did a lot of cross checking. Of that 25 HTTP 500, we found traces of about 15 or 18 more less - the remaining ones being unaccounted for.

We ended up realising that one partner had hired a CDN for DDoS protection, and that he was consuming in a few hours the quota for the whole day (see that 120K requests above). Moreover, the CDN itself, by some reason, was returning to me some HTTP 500 (and this is the reason that ones were not found anywhere else), that were being wrongly attributed to something else, screwing up the diagnosis.

So: one customer were flooding us with 120K heavy jobs, instead of the expected 80K to 100K light ones. This was overloading one partner, making him work on the edge. Then the CDN starts to block some requests due the quota, blowing up requests everywhere, with the webservices being unable to talk to each others in a way that was apparently random (my end-point was the only one with that first 25 borked ones). Every time we fixed something, the problem appeared to had been fixed, but started again later (since we had stopped the production for the testings, we had freed the quota!), so obviously we rollback the change as it was innocuous without realising that it had fixed something else somewhere else.

When the partner turned the CDN off, rogue HTTP 500 stoped happening, and so all our logs matched and made sense, and so we realised that that customer with the inhouse problem were not part of the problem (it was a problem, but it was not that the trigger to this problem), and by ruling out what we were seeing, we could nail down to something we were not seeing:  a couple of lines on some NGIX configuration file, that caused a Read Timeout to the CDN, that by some reason returned a HTTP 500 to me.

 

36 minutes ago, renejant said:

Is KSP Recall still needed on KSP 1.10? Or can i safely remove this "mod" ? I am updating Tweakscale to your latest release...

No. You can safely delete it. To tell you the true, you probably should. :) KSP will complain about the Resourceful module being absent from the system on first loading savegames and crafts. You can ignore this.

Link to comment
Share on other sites

23 minutes ago, Lisias said:

I did. 3 Days without coding a single line on KSP. Spent them helping to diagnose a pretty harsh infrastructure problem that was affecting our customers - pretty nasty, and the fix was absurdly stupid. :D 

:/ Imagine, thinking not coding gaming/KSP for 3d but instead diagnosing stupid customer infrastructure problems is taking a break.  /smdh

Seriously dude, after you release 2.4.4, I EXPECT YOU TO GO AWAY for a loooooooooooong weekend.

Link to comment
Share on other sites

@Lisias I made another TS patch for Near future, this time for NF Solar since the included patch was empty.

// ** Near Future Technologies :: Solar **
//
// https://forum.kerbalspaceprogram.com/index.php?/topic/155465-*
//
//	http://spacedock.info/mod/559/Near%20Future%20Solar
//	https://kerbal.curseforge.com/projects/near-future-solar?gameCategorySlug=ksp-mods&projectID=220672
//	https://github.com/ChrisAdderley/NearFutureSolar/releases

// Region ** Static **

    // Solar Panel - fixed with truss - 1 panel
    @PART[nfs-panel-static-truss-3]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}
    
    // Solar Panel - fixed with truss - 2 panels
    @PART[nfs-panel-static-truss-2]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

    // Solar Panel - fixed with truss - 4 panels
    @PART[nfs-panel-static-truss-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

// Region ** Static Curved **

    // Solar Panel - Dragon v2 - Curved 1/4, 2.5m
    @PART[nfs-panel-static-truss-2]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = stack
            defaultscale = 2.5
		}
	}

    // Solar Panel - Curved 1/4, 3.75m
    @PART[nfs-panel-static-curved-375-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack
            defaultscale = 3.75
        }
    }

// Region ** Deploying Curved **

    // Solar Panel - Solaris - 2.5 to 7.5m
    @PART[nfs-panel-deploying-curved-25-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack
            defaultscale = 2.5
        }
    }
    
    // Solar Panel - Solaris - 3.75 to 10m
    @PART[nfs-panel-deploying-curved-375-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = stack
            defaultscale = 3.75
        }
    }

// Region ** Deploying Concentrator
    
    // Solar Panel - Concentrator - JUICE
    @PART[nfs-panel-deploying-concentrator-1x3x1-juice-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

	// Solar Panel - Concentrator - Juno
    @PART[nfs-panel-deploying-concentrator-1x4-juno-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

// Region ** Deploying Blanked

    // Solar Panel - Blanket - NASA ARM Tug
    @PART[nfs-panel-deploying-blanket-arm-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

    // Solar Panel - Blanket - SpaceX BFS
    @PART[nfs-panel-deploying-blanket-bfs-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

    Solar Panel - Blanket - Copernicus MTV
    @PART[nfs-panel-deploying-blanket-copernicus-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

    // Solar Panel - Blanket - DRM5 SEP-CHEM option
    @PART[nfs-panel-deploying-blanket-drm-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

    // Solar Panel - Blanket - DSG
    @PART[nfs-panel-deploying-blanket-dsg-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

    // Solar Panel - Blanket - Deep Space Transport
    @PART[nfs-panel-deploying-blanket-dst-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

    // Solar Panel - Blanket - Nautilus-X
    @PART[nfs-panel-deploying-blanket-nautilus-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

    // Solar Panel - Blanket - ATK UltraFlex
    @PART[nfs-panel-deploying-blanket-orion-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

    // Solar Panel - Blanket - SpaceX Starship
    @PART[nfs-panel-deploying-blanket-starship-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

// Region ** Deploying Advanced **

    // Solar Panel - Advanced - IKONOS
    @PART[nfs-panel-deploying-advanced-1x1-ikonos-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

    // Solar Panel - Advanced - MESSENGER
    @PART[nfs-panel-deploying-advanced-1x1-messenger-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

    // Solar Panel - Advanced - MRO
    @PART[nfs-panel-deploying-advanced-1x2-mro-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

    // Solar Panel - Advanced - Worldview 3
    @PART[nfs-panel-deploying-advanced-3x1-wv3-1]:NEEDS[TweakScale]
    {
        %MODULE[TweakScale]
        {
            type = free
        }
    }
    
    // Solar Panel - Advanced - Worldview 4
    @PART[nfs-panel-deploying-advanced-1x2-wv4-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

    // Solar Panel - Advanced - Orion/ATV
    @PART[nfs-panel-deploying-advanced-1x3-orion*]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

    // Solar Panel - Advanced - Orion/ATV shrouded
    @PART[nfs-panel-deploying-advanced-1x3-orion*]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

    // Solar Panel - Advanced - Dragon 1
    @PART[nfs-panel-deploying-advanced-1x4-dragon*]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

    // Solar Panel - Advanced - Dragon 1 Shrouded
    @PART[nfs-panel-deploying-advanced-1x4-dragon*]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}
    
    // Solar Panel - Advanced - Dawn
    @PARTnfs-panel-deploying-advanced-1x5-dawn-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}
    
    // Solar Panel - Advanced - GOES
    @PART[nfs-panel-deploying-advanced-1x5-goes-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

    // Solar Panel - Advanced - Orbital Hub Lab segment
    @PART[nfs-panel-deploying-advanced-2x6x6-lab-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

    // Solar Panel - Advanced - Orbital Hub
    @PART[nfs-panel-deploying-advanced-2x20-hub-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}

    // Solar Panel - Advanced - Hayabusa 2
    @PART[nfs-panel-deploying-advanced-3x1-hayabusa-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}
    // Solar Panel - Advanced - TDRSS Gen 1
    @PART[nfs-panel-deploying-advanced-3x1-tdrss-1]:NEEDS[TweakScale]
    {
		%MODULE[TweakScale]
		{
			type = free
		}
	}


But I did get a showstopper error regarding the following part(line are directly coppied out of the KSPlog)

[LOG 16:02:19.941] [TweakScale] WARNING: **FATAL** Found a showstopper problem on nfs-panel-deploying-advanced-1x3-orion-1 (K5 1x3 'Aquila' Advanced Photovoltaic Panels).
[LOG 16:02:19.941] [TweakScale] ERROR: **FATAL** Part nfs-panel-deploying-advanced-1x3-orion-1 (K5 1x3 'Aquila' Advanced Photovoltaic Panels) has a fatal problem due having duplicated properties - see issue [#34]( https://github.com/net-lisias-ksp/TweakScale/issues/34 ). at error:0
[LOG 16:02:19.941] [TweakScale] WARNING: **FATAL** Found a showstopper problem on nfs-panel-deploying-advanced-1x3-orion-2 (K5-R 'Aquila-R' 1x3 Advanced Photovoltaic Panels).
[LOG 16:02:19.941] [TweakScale] ERROR: **FATAL** Part nfs-panel-deploying-advanced-1x3-orion-2 (K5-R 'Aquila-R' 1x3 Advanced Photovoltaic Panels) has a fatal problem due having duplicated properties - see issue [#34]( https://github.com/net-lisias-ksp/TweakScale/issues/34 ). at error:0
[LOG 16:02:19.941] [TweakScale] WARNING: **FATAL** Found a showstopper problem on nfs-panel-deploying-advanced-1x4-dragon-1 (K7 'Gecko' 1x4 Advanced Photovoltaic Panels).
[LOG 16:02:19.941] [TweakScale] ERROR: **FATAL** Part nfs-panel-deploying-advanced-1x4-dragon-1 (K7 'Gecko' 1x4 Advanced Photovoltaic Panels) has a fatal problem due having duplicated properties - see issue [#34]( https://github.com/net-lisias-ksp/TweakScale/issues/34 ). at error:0
[LOG 16:02:19.942] [TweakScale] WARNING: **FATAL** Found a showstopper problem on nfs-panel-deploying-advanced-1x4-dragon-2 (K7-R 'Gecko-R' 1x4 Advanced Photovoltaic Panels).
[LOG 16:02:19.942] [TweakScale] ERROR: **FATAL** Part nfs-panel-deploying-advanced-1x4-dragon-2 (K7-R 'Gecko-R' 1x4 Advanced Photovoltaic Panels) has a fatal problem due having duplicated properties - see issue [#34]( https://github.com/net-lisias-ksp/TweakScale/issues/34 ). at error:0
[LOG 16:02:19.945] [TweakScale] WARNING: **FATAL** Found a showstopper problem on nfs-panel-static-truss-2 (KX-STAT-4 1x2 Advanced Photovoltaic Truss).
[LOG 16:02:19.945] [TweakScale] ERROR: **FATAL** Part nfs-panel-static-truss-2 (KX-STAT-4 1x2 Advanced Photovoltaic Truss) has a fatal problem due having duplicated properties - see issue [#34]( https://github.com/net-lisias-ksp/TweakScale/issues/34 ). at error:0

Wonder if you could help me with that when you have the time?
 

Link to comment
Share on other sites

1 minute ago, Pointblank66 said:

@Lisias I made another TS patch for Near future, this time for NF Solar since the included patch was empty.
 

Humm.. Now I got it.

Third Parties add'ons are not supported anymore on TweakScale! Everything that used to come (but Stock and DLCs) are now deprecated and will not be updated anymore.

All third parties add'on support is now on the TweakScale Companion Program! Check there if this not already made, I have a huge amount of NF patches on tests right now.

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...