sidfu Posted July 20, 2014 Share Posted July 20, 2014 well in 1.21 some stuff worked with tweak scale and some didnt. for example my stock stuff would rescale but not the ammount in the tanks but my kw stuff wouldnt rescale at all. ill see how 1.22 is laterthis was in 64x btw Link to comment Share on other sites More sharing options...
Biotronic Posted July 20, 2014 Author Share Posted July 20, 2014 Thank you for the quick and hard work!Will test if it works in the x64 as it just didn`t show at allWeird. It works flawlessly on my confuser. Link to comment Share on other sites More sharing options...
Nowater Posted July 20, 2014 Share Posted July 20, 2014 So it dont function with Far? Link to comment Share on other sites More sharing options...
Kamuchi Posted July 20, 2014 Share Posted July 20, 2014 (edited) I don`t get the scaling option on any part.IR v0.17a gives the invisible window:Hopefully the debug will point to somethinghttps://www.dropbox.com/s/esick7olz72r7ph/KSPerror.txthttps://www.dropbox.com/s/t8ex9adsdlc5s01/output_log.txt[LOG 00:27:24.047] ------------------- initializing editor mode... ------------------[LOG 00:27:24.047] editor started[LOG 00:27:24.049] FF: EventObserver:: OnGameStateCreated 24.2599999999997, game status: ONGOING, scene EDITOR[LOG 00:27:24.062] Untitled Space Craft - Untitled Space Craft[LOG 00:27:24.079] FF: adding toolbar buttons[LOG 00:27:24.345] PartHighlighter: Creating outline material[LOG 00:27:24.351] PartHighlighter: Created material.[LOG 00:27:24.365] [KAE] Registering field prefabs for version 1.5.2.0[ERR 00:27:30.891] [Toolbar] [ERROR] button texture not found: FerramAerospaceResearch/Textures/icon_button[ERR 00:27:34.490] [Toolbar] [ERROR] button texture not found: FerramAerospaceResearch/Textures/icon_button[LOG 00:27:48.817] Part: Mk1-2 Command Pod Transforms: 11[LOG 00:27:48.819] Part: Mk1-2 Command Pod Transforms: 11[LOG 00:27:48.820] FAR Raycast mask: 557059 557063[LOG 00:27:53.752] Part: AIES Superior-V3 Fuel Tank Transforms: 3[LOG 00:27:53.753] Part: AIES Superior-V3 Fuel Tank Transforms: 3[LOG 00:27:54.082] fuelTanksuperior3(Clone) added to ship - part count: 2[LOG 00:27:54.084] stage count is: 0[LOG 00:27:57.246] deleting part fuelTanksuperior3(Clone)[LOG 00:27:58.986] Part: AIES MR1 vr2 Fuel Tank Transforms: 3[LOG 00:27:58.986] Part: AIES MR1 vr2 Fuel Tank Transforms: 3[LOG 00:27:59.350] fuelTankmr1(Clone) added to ship - part count: 2[LOG 00:27:59.351] stage count is: 0[LOG 00:28:01.620] deleting part fuelTankmr1(Clone)[LOG 00:28:23.013] Part: OX-4W 2x3 Photovoltaic Panels Transforms: 11[LOG 00:28:23.014] Part: OX-4W 2x3 Photovoltaic Panels Transforms: 11[LOG 00:28:23.477] solarPanels3(Clone) added to ship - part count: 2[LOG 00:28:23.477] stage count is: 0[LOG 00:28:26.410] deleting part solarPanels3(Clone)[LOG 00:28:37.116] Powered Hinge: Choosing up axis for FAR drag model.[LOG 00:28:37.116] Part: Powered Hinge Transforms: 3[LOG 00:28:37.117] Powered Hinge: Choosing up axis for FAR drag model.[LOG 00:28:37.117] Part: Powered Hinge Transforms: 3[LOG 00:28:37.662] IRHingeTallScaleable(Clone) added to ship - part count: 2[LOG 00:28:37.664] stage count is: 0[ERR 00:28:38.110] ItemPrefab for control type 'UI_FloatEdit' not found.[ERR 00:28:38.110] ItemPrefab for control type 'UI_FloatEdit' not found.[ERR 00:28:38.111] ItemPrefab for control type 'UI_ChooseOption' not found.[ERR 00:28:38.125] ItemPrefab for control type 'UI_FloatEdit' not found.[ERR 00:28:38.125] ItemPrefab for control type 'UI_FloatEdit' not found.[ERR 00:28:38.125] ItemPrefab for control type 'UI_ChooseOption' not found.[LOG 00:29:37.272] Part: KW Rocketry SA-1 LFT Transforms: 4[LOG 00:29:37.273] Part: KW Rocketry SA-1 LFT Transforms: 4[LOG 00:29:37.453] Look rotation viewing vector is zero[LOG 00:29:37.469] Look rotation viewing vector is zero[LOG 00:29:37.486] Look rotation viewing vector is zero[LOG 00:29:37.502] Look rotation viewing vector is zero[LOG 00:29:38.514] KW1mtankL1(Clone) added to ship - part count: 3[LOG 00:29:38.515] stage count is: 0[LOG 00:30:03.639] Part: FL-T200 Fuel Tank Transforms: 4[LOG 00:30:03.640] Part: FL-T200 Fuel Tank Transforms: 4[LOG 00:30:06.637] KW1mtankL1(Clone) added to ship - part count: 3[LOG 00:30:06.638] stage count is: 0[LOG 00:30:07.996] fuelTankSmall(Clone) added to ship - part count: 4Will crosspost to IR, I have no clue how to actually debug deeper conflicts and I have a ton of mods installed under x64 Edited July 20, 2014 by Kamuchi Link to comment Share on other sites More sharing options...
Biotronic Posted July 20, 2014 Author Share Posted July 20, 2014 Apparently the problems with Procedural Fairings are caused by different versions of KSPAPIExtensions. That was not fixed in 1.22, but is now, so if you've downloaded 1.22, just download it anew.Seems to me the IR problem is actually the same problem. Link to comment Share on other sites More sharing options...
Kamuchi Posted July 20, 2014 Share Posted July 20, 2014 Weird. It works flawlessly on my confuser.Interresting...Starting to wonder now if some other mod include old versions or something else creates a conflict.Will start to delete mod by mod and see if the cause is some where else... Link to comment Share on other sites More sharing options...
Biotronic Posted July 20, 2014 Author Share Posted July 20, 2014 Interresting...Starting to wonder now if some other mod include old versions or something else creates a conflict.Will start to delete mod by mod and see if the cause is some where else...Actually, the problem you described might be related to the problems with Procedural Fairings and IR. Please just download the newest version of TweakScale and see if that fixes the problem. Link to comment Share on other sites More sharing options...
Kamuchi Posted July 20, 2014 Share Posted July 20, 2014 (edited) I am using 1.22 right after it was posted, otherwise I`d have waited with commenting 1.22 solves the problem with the invisible menu for IR after manually just replacing the dll`s, just no scaling yet but that might be just a minor detail.Fairings I just deleted completely for now.The fun trying to use the logs for the first time with everything being updated Appears that parts now start showing the scaling menu aswell, yay!Wonder if PP can be fixed now, got to love stretchy tanks Edited July 20, 2014 by Kamuchi Link to comment Share on other sites More sharing options...
BigD145 Posted July 20, 2014 Share Posted July 20, 2014 (edited) 1.22 is throwing a bunch of nullref's in this form:Tons of rescaling messages and then nullrefs. I built a craft from scratch with stock parts and it's doing this. When I fly I get the camera drift problem where your focus changes away from the existing craft after staging.[LOG 15:58:27.311] [TweakScale] Rescaling heatProduction. Current value: 400. Base value: 400. Factor: 1[LOG 15:58:27.314] [TweakScale] Rescaling breakingForce. Current value: 22. Base value: 22. Factor: 1[LOG 15:58:27.314] [TweakScale] Rescaling breakingTorque. Current value: 22. Base value: 22. Factor: 1[LOG 15:58:27.315] [TweakScale] Rescaling buoyancy. Current value: 1. Base value: 1. Factor: 1[LOG 15:58:27.315] [TweakScale] Rescaling crashTolerance. Current value: 8. Base value: 8. Factor: 1[LOG 15:58:27.316] [TweakScale] Rescaling explosionPotential. Current value: 0.5. Base value: 0.5. Factor: 1[LOG 15:58:27.316] [TweakScale] Rescaling maxTemp. Current value: 3200. Base value: 3200. Factor: 1[LOG 15:58:27.317] [TweakScale] Rescaling mass. Current value: 0.025000000372529. Base value: 0.025000000372529. Factor: 1[EXC 15:58:27.318] NullReferenceException: Object reference not set to an instance of an object[LOG 15:58:27.321] [TweakScale] Rescaling breakingForce. Current value: 50. Base value: 50. Factor: 1[LOG 15:58:27.322] [TweakScale] Rescaling breakingTorque. Current value: 50. Base value: 50. Factor: 1[LOG 15:58:27.322] [TweakScale] Rescaling buoyancy. Current value: 1. Base value: 1. Factor: 1[LOG 15:58:27.323] [TweakScale] Rescaling crashTolerance. Current value: 6. Base value: 6. Factor: 1[LOG 15:58:27.323] [TweakScale] Rescaling explosionPotential. Current value: 0.5. Base value: 0.5. Factor: 1I'm also getting constant puff animations in the vab from decouplers.edit: Hold on a sec. This may be tweakableeverything.... Edited July 20, 2014 by BigD145 Link to comment Share on other sites More sharing options...
Agathorn Posted July 20, 2014 Share Posted July 20, 2014 Hey Biotronic I just submitted a PR to fix the issue with RealFuels volume. Seems to work properly in my tests, but take that as you will Link to comment Share on other sites More sharing options...
BigD145 Posted July 20, 2014 Share Posted July 20, 2014 (edited) I completely removed all tweakableeverything files. I think it's fixed now. Solar panels seem to have been the cause. TweakableE and tweakscale were fighting over them or something. Edited July 21, 2014 by BigD145 Link to comment Share on other sites More sharing options...
Agathorn Posted July 20, 2014 Share Posted July 20, 2014 That looks like it comes from the ksp.log, but we really need to see KSP_Data/output_log.txt to see the real error. Link to comment Share on other sites More sharing options...
BigD145 Posted July 21, 2014 Share Posted July 21, 2014 I just got it uploaded. Try these:https://www.dropbox.com/s/r5kv3eqhhcj2usl/KSPmorenullrefs.loghttps://www.dropbox.com/s/pt348r51wzzjxsr/KSPnullreftweakeverything.logI'm getting the camera drift again. TweakScale and TweakableEverything were all that I updated today before nullrefs started going off. Link to comment Share on other sites More sharing options...
Agathorn Posted July 21, 2014 Share Posted July 21, 2014 I just got it uploaded. Try these:https://www.dropbox.com/s/r5kv3eqhhcj2usl/KSPmorenullrefs.loghttps://www.dropbox.com/s/pt348r51wzzjxsr/KSPnullreftweakeverything.logI'm getting the camera drift again. TweakScale and TweakableEverything were all that I updated today before nullrefs started going off.Its still the wrong files. KSP creates TWO logs. The first one ksp.log is what you are uploading. That is just basic logs and contains no details. The other, is called ooutput_log.txt and is in the KSP_Data (or 64bit data if you are running that) and contains MUCH more detail. That is what would be needed to see what is causing the NREs. Link to comment Share on other sites More sharing options...
BigD145 Posted July 21, 2014 Share Posted July 21, 2014 Have at it. This is my current outputlog.https://www.dropbox.com/s/vgzyjni9erw7h6d/output_log.txt Link to comment Share on other sites More sharing options...
Biotronic Posted July 21, 2014 Author Share Posted July 21, 2014 NullReferenceException: Object reference not set to an instance of an object at PauseMenu.get_isOpen () [0x00000] in <filename unknown>:0 at KerbalAlarmClock.KerbalAlarmClock.HandleKeyStrokes () [0x00000] in <filename unknown>:0 at KerbalAlarmClock.KerbalAlarmClock.Update () [0x00000] in <filename unknown>:0 Far be it from me to make absolute statements, but I have a feeling this might come from Kerbal Alarm Clock rather than TweakScale.NullReferenceException: Object reference not set to an instance of an object at KAS.KAS_Shared.createFXSound (.Part part, .FXGroup group, System.String sndPath, Boolean loop, Single maxDistance) [0x00000] in <filename unknown>:0 at KAS.KASModuleGrab.OnStart (StartState state) [0x00000] in <filename unknown>:0 at Part.ModulesOnStart () [0x00000] in <filename unknown>:0 at Part+.MoveNext () [0x00000] in <filename unknown>:0 This is from KAS.Next up:NullReferenceException: Object reference not set to an instance of an object at EditorLogic.CheckSymPartsAttach (. oAttach) [0x00000] in <filename unknown>:0 at EditorLogic.UpdatePartMode () [0x00000] in <filename unknown>:0 at EditorLogic.Update () [0x00000] in <filename unknown>:0 I don't even know. Probably caused by the earlier exceptions.Then there's a few from Extraplanetary Launchpads, MechJeb, and some that are harder to figure out. You have 39 plugins installed. One of them has an old version of KSPAPIExtensions (1.5.1.8). You have TweakScale from IR as well as the official version. Near Future Technologies is according to the forum not updated for 0.24, and several of the others are impossible to identify the version of. It seems... rash, to me, to say that this is TweakScale's fault.If you really want to find out what's doing this, remove one plugin at a time until the problem disappears, then try adding the others back, until it appears again. If you want to be effective, use binary search. Link to comment Share on other sites More sharing options...
BigD145 Posted July 21, 2014 Share Posted July 21, 2014 (edited) KAS and Alarm Clock have been running without causing this problem for two days of numerous wacky missions ala contracts. IR was updated fairly recently and I see there's a problem of some sort there. Not a single KAS or IR part has been used in a vehicle yet except what KAS does to stock parts. I'm only using Near Future Solar which has one dll and I also have not used its panels yet. I'll replace the KSPAPI, see what IR does to its tweakscale.dll, and work from there. Edited July 21, 2014 by BigD145 Link to comment Share on other sites More sharing options...
NathanKell Posted July 21, 2014 Share Posted July 21, 2014 Check attach erroring is probably something that activates OnPartAttached or something, like RF (via KAE). Link to comment Share on other sites More sharing options...
AccidentalDisassembly Posted July 21, 2014 Share Posted July 21, 2014 I'm still having trouble with mass scaling in the new version - I have tried both massFactors (which you confirmed was deprecated, so of course I didn't expect it to work - and it didn't) and this inside a SCALETYPE {} :SCALETYPE {name = whateverotherstuff = otherstuffTWEAKSCALEEXPONENTS {mass = 2.5}}This has no effect - everything scales as if the exponent were 3 (8x the weight for 2x the size). Am I still doing this wrong? Link to comment Share on other sites More sharing options...
Sunshine Posted July 21, 2014 Share Posted July 21, 2014 (edited) This plugin crashed into my personal "KSP must have mods" list instantly, it is such a day-saver, thanks a ton for creating it! Edited July 21, 2014 by Sunshine Reported problem edited out since I'm an idiot....... Link to comment Share on other sites More sharing options...
Crimor Posted July 21, 2014 Share Posted July 21, 2014 For some reason it's not showing up for me.https://dl.dropboxusercontent.com/u/3655158/KSP.log Link to comment Share on other sites More sharing options...
Biotronic Posted July 21, 2014 Author Share Posted July 21, 2014 For some reason it's not showing up for me.https://dl.dropboxusercontent.com/u/3655158/KSP.logThis seems to be an interaction between IR's TweakScale and the other TweakScale. Fixed in 1.23. Link to comment Share on other sites More sharing options...
Biotronic Posted July 21, 2014 Author Share Posted July 21, 2014 I installed Tweakscale, but cant scale nothing. If i rightklick the parts, i just can see the data of the part and "ISshieldedfalse", where the scale slider should beThe 'isShielded: False' is from FAR. The fact that TweakScale doesn't show up... Maybe you too have IR installed and run into the problem that's been discussed and which 1.23 fixes? Link to comment Share on other sites More sharing options...
Apollo13 Posted July 21, 2014 Share Posted July 21, 2014 SUGGESTION: Allow height and width to be independently adjusted.Why would I want that?1) I want to lengthen a tank to increase it's fuel capacity, but not its width.2) I have a service pod mod in which I want to decrease its width (to fit on a narrower rocket) but keep the height so that it stores the same parts within.Just a thought. As I previously mentioned, this is a Must Have mod. I'm glad that you recompiled/tested it with KSP 0.24 so soon after release. Thanks. Link to comment Share on other sites More sharing options...
Biotronic Posted July 21, 2014 Author Share Posted July 21, 2014 SUGGESTION: Allow height and width to be independently adjusted.Why would I want that?1) I want to lengthen a tank to increase it's fuel capacity, but not its width.2) I have a service pod mod in which I want to decrease its width (to fit on a narrower rocket) but keep the height so that it stores the same parts within.Just a thought. As I previously mentioned, this is a Must Have mod. I'm glad that you recompiled/tested it with KSP 0.24 so soon after release. Thanks.It's been mentioned a few times, and wouldn't be hard to add. However, it would be hard to make it look nice, which is one reason I haven't yet done it. Cpt. Kipard, ZodiusInfuser and I discussed a few ideas for supporting this kind of scaling in a way that would look good, but thus far, nothing has come of it. Link to comment Share on other sites More sharing options...
Recommended Posts