Jump to content

Lisias

Members
  • Posts

    7,684
  • Joined

  • Last visited

Everything posted by Lisias

  1. I love the DLCs @Eclipse 32, do what you do, try The Dunatian: Man, Making History had a magnificent potential - I'm baffled it was so underappreciated.
  2. NAILED IT!!! https://github.com/net-lisias-ksp/AirplanePlus/issues/17#issuecomment-2723335045 It's something that happens when TCA can't balance the engine and disables the trust. Exactly what's happening I don't know, but apparently TCA when face that situation ends up creating an empty BeginVertical..EndVertical block while drawing the GUI and this by some reason freaks out Unity. Now I'm cooking a way to reproduce the problem on a Stock only installment to completely rule out AirplanePlus from the equation and make easier to reproduce the problem. ----- A FEW HOURS LATER.... ---- Oukey... I zeroed on the problem. https://github.com/net-lisias-ksp/AirplanePlus/issues/17#issuecomment-2724120048 I managed to create a simple Patch that would make a Stock part to induce TCA to a borkage. I'm pretty convinced this is a TCA bug, I'm checking its source code now that I know where to look.
  3. Me, not that much... I makes absolutely no sense! https://github.com/net-lisias-ksp/AirplanePlus/issues/17#issuecomment-2723114944 It looks like something on KSP or perhaps Unity, but how this is triggered? The PART configs are essentially identical... I will try to "break" the zeroprop using data from merlin, item by item, to see if I manage to "break" the zeroprop and , so, identify what the hell is the trigger for this problem... This is going to be a long night..
  4. I'm feeling pretty stupid now - completely missed that "enable button", just clicked on everything I could to turn it "green" and when the engine started to behave by itself, I concluded it was "enabled". Redoing the tests. --- POST EDIT --- REPRODUCED THE PROBLEM, finally. Now I have something to work!
  5. Guess what? Works for me - all engines, no exceptions. https://github.com/net-lisias-ksp/AirplanePlus/issues/17#issuecomment-2722244536 Now I need to pay attention to DayJob™, but later I will scrutinize your log, comparing it with mine, as well the craft you sent me.
  6. I would avoid it. Prevent breakage is not a hard concern on the Experimental (I can remove parts, after all) - so not breaking things on Experimental is a "best effort", the real regression tests on real life old savegames of mine are only done on Full Releases. --- ---- POST EDIT ---- This is what killed your session: Uploading Crash Report ArgumentException: Getting control 0's position in a group with only 0 controls when doing repaint Aborting at UnityEngine.GUILayoutGroup.GetNext () [0x000a0] in <58f888e0d56a4620958c8e58a768c70d>:0 at UnityEngine.GUILayoutUtility.BeginLayoutGroup (UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options, System.Type layoutType) [0x0004b] i at UnityEngine.GUILayout.BeginVertical (UnityEngine.GUIContent content, UnityEngine.GUIStyle style, UnityEngine.GUILayoutOption[] options) [0x00001] in at UnityEngine.GUILayout.BeginVertical (UnityEngine.GUILayoutOption[] options) [0x0000b] in <58f888e0d56a4620958c8e58a768c70d>:0 at ThrottleControlledAvionics.TCAGui.DrawMainWindow (System.Int32 windowID) [0x001ec] in <1bc1d073ae8049618f0a30fae9107b1e>:0 at UnityEngine.GUILayout+LayoutedWindow.DoWindow (System.Int32 windowID) [0x00070] in <58f888e0d56a4620958c8e58a768c70d>:0 at UnityEngine.GUI.CallWindowDelegate (UnityEngine.GUI+WindowFunction func, System.Int32 id, System.Int32 instanceID, UnityEngine.GUISkin _skin, System. UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object) UnityEngine.DebugLogHandler:LogException(Exception, Object) ModuleManager.UnityLogHandle.InterceptLogHandler:LogException(Exception, Object) UnityEngine.Logger:LogException(Exception, Object) UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object) This one is new for me! It looks like something getting screwed on TCA itself, and not on A+'s PAWs...
  7. Unfortunately, nope. Unless the following code is deactivated somewhere else in the codetree: if (tag.key.Equals("NEEDS", StringComparison.CurrentCultureIgnoreCase)) { if (needs != null) { progress.Warning(urlConfig, "more than one :NEEDS tag detected, ignoring all but the first: " + urlConfig.SafeUrl()); continue; } The first statement is equivalent to: @PART[turboFanSize2]:NEEDS[!RealPlume] And that had caused me a lot of headaches in the past - and I even now and then nowadays. ------ POST EDIT ----- In fact, I just confirmed the problem on KSP 1.12.5 and the latest (currently 4.3.2) Module Manager. The following test patch: @PART[*]:NEEDS[!RealPlume]:NEEDS[!StockWaterfallEffects] { @name = #$name$ } Resulted on this warning: [WRN 12:38:08.443] more than one :NEEDS tag detected, ignoring all but the first: net.lisias.ksp/testneeds/@PART[*]:NEEDS[!RealPlume]:NEEDS[!StockWaterfallEffects] What means that it would be applied if RealPlume would not be installed no matter if StockWaterfallEffects is or isn't. ---- POST POST EDIT ---- And since "gato escaldado tem medo de água fria" (i.e., I don't want do repeat my last mistake ), I double checked it by using the following patch: @PART[*]:NEEDS[!RealPlume]:NEEDS[!StockWaterfallEffects] { @name = #$name$ is bad!!! } and creating a directory called StockWaterfallEffects but not the RealPlume. And found this on the ConfigCache: UrlConfig { parentUrl = Squad/Parts/Aero/HeatShield/HeatShield0.cfg PART { name = HeatShield0 is bad!!! So unless my boolean logic is already being visited by a close relative, Mr Alzheimer , the second :NEEDS is being, indeed, ignored. And since I'm really "escaldado", I double checked the double-check and tried :NEEDS[!RealPlume&!StockWaterfallEffects] and this time the patched wasn't applied.
  8. It's a bit hard to fire the guy that built the Starship Booster, that huge building sized thingy that lands on a pair of mecha chopsticks. Every single professional on Technology tends to be promoted until reaching their level of incompetence - unless they die first. Every single one of us is doomed to this destiny, it's almost as inescapable as taxes. So, it's not impossible that the current Chief Enginner had finally reached that point. However, we are still talking about the guy that built that chopstics landing flying building, aren't we?
  9. Are you saying that SpaceX put thousands of StarLink satellites in orbit, is launching resupply missions to ISS and created the first fully reusable 1st stage rocket (Falcon 9) without one?
  10. Havelli I don't know, but TTWO is known to do it:
  11. Looks like something is not being initialized - TweakScale had a lot of these problems some time ago when scaling badly configured parts, ending up injecting some NaNs and Zeros inside the Physics engine with very entertaining results.. I'm checking this tonight. https://github.com/net-lisias-ksp/AirplanePlus/issues/17 --- POST EDIT --- Nope, it works for me. @Spike88 I will need a full report: KSP.log, Player.log, craft file and precise instructions to reproduce exactly what you did. https://github.com/net-lisias-ksp/AirplanePlus/issues/17#issuecomment-2720226529
  12. I always liked custom cars, but never heard of this one! Jetway 707 - what a monster of a car!! 15 people more luggage! Would love driving this one! (but I would need a bus license to do it, as it appears!) http://www.sixmania.fr/en/limousine-aeroportuaire-aqc-jetway-707-1968/
  13. My parents were baby boomers. My son is Millennial. And, boy, the stereotypes fit them to the perfection. I will decline to further comment on these specific subjects due Forum rules (believe me, I'm a living History Book about local politics) to keep things simple. On these decades of survivorship between these two essentially antagonistic stereotypes, I had concluded that - unsurprisingly- this is all by design. Not by a mastermind villain, but by our collective need to try to reduce the World to the length of our arms. And Manhood created God according to their own image and their likeness. As well their sons.
  14. A pretty stupid mistake on a loop that was hugely wasting CPU was discovered and fixed (hate Python's syntax sometimes! :P). Anyone using this stunt, please update (or just add a TAB on the sleep(1) line!). At the same time, it appears that there's a memory leak on the PyObjC library I'm using on MacOS, probably exacerbated by that previous mistake. This one is currently under investigation.
  15. Once is an accident; twice, a coincidence; thrice is a conspiracy!
  16. The demo was removed from Steam some years ago, I don't remember exactly when, but it happened in 2019. I remember someone asking about and being answered that "the team doesn't feels the Demo correctly represents faithfully the game anymore". Or something like that. But at least anyone that had ever downloaded the demo before could download it again. Until a couple years ago, I think.... https://steamdb.info/app/231410/history/ Curiously, the depots themselves were deleted from the public downloads and re-added back in 2023, and then removed again and reloaded into the scratchpad downloads. I'm guessing this is the reason it was removed from my library. Now in 2025 they deleted the Demo again, this time from the scratchpad. I think someone had considered updating the Demo before, but the project never fruitfied. Apparently, someone found scratchpad's depots and decided for a mercy shot on the thing.
  17. This is the 3rd article of a series aiming to allow you to run KSP on crappy potatoes! Recently, Fellow Kerbonaut @Linkageless published an article about how to prevent KSP from overloading you rig when you are not playing, for example when you pause it to look for something on the web. Pretty useful, indeed. But then I thought to myself (I do these things now and then... ) "Heck, I can use it to prevent other programs from screwing KSP too!!", and then I build this Python tool: Window Monitor. It essentially monitors the Window currently in focus and compare its name with a internal table of "Applications of Interest". When one of these AOI gets the Focus, the tool will unpause it using a special (and unprivileged) Operating System tool, and will pause all the others in that table: essentially, you define a set of mutually exclusive running programs so only one of them would be using CPU (and RAM) at a time! This little hack made my life immensely easier on my rig - I usually have tons of tabs opened on my browser, and since nowadays every single damned page you open in your browser fires many tools in the background (be to spy on you, be to receive notifications, be by any other reason - or all of them, they are not mutually exclusive!) this ton of crap have two nasty effects on your rig: It steals CPU, leaving less juice available for KSP. 50% of CPU usage sometimes... It prevents these processes' RAM to swap, and so KSP need to compete heavily for the available RAM! Last time I cared about, Firefox was using about 7G of RAM. By pausing my browser, all the tabs will just had their execution frozen - and eventually the Operating System will swap them into the swapfile giving my more RAM to use on KSP - and no need to stop/unstop the JavaScript runtime all time neither. Sweat! However... There's no free lunch: if you focus one of the browser's Windows, the focused Application's processes will take some time to come back from the freezer: it's almost sure that a good part (if not all) of the process' memory was swapped and then it must be brought back and with KSP now going to the freezer too, it will be swapped to the disk in the process. So this can take some some time, almost a minute if you are still using spinning platters as storage. You will not be able to watch videos or listen music from your browser neither - for me this is not a problem, because I use VLC and IceCast for streaming, but sometimes I just want to check a quick video on Facebook or give a peek on Forum while KSP is busy doing something lengthy, but switching will pause the game defeating the purpose of the action at first place. Obviously, you can just quit the tool for that - it will unpause any paused applications before quitting, and you can always run it again after. The program have currently the following caveats: Needs Python installed. I suggest 3.11, but I think that anything from 3.7 and above will work. And you will need to install some libraries too. I implemented support only for MacOS for now. Linux and Windows will be implemented during the week, assuming nothing explodes around here on DayJob©. The program is still dumb as a door - it blindly pauses and unpauses the registered Applications, disregarding if they are running or not. Annoying, but harmless. You can just delete one or more of the lines mentioning the Applications not installed, or that you don't want to freeze. And you can easily add others if you want (and know how to do it). No GUI support yet. You will need to run it from a Terminal or Console. I will write one, but not before implementing support for Linux and Windows. Hit CTRL-C on the Terminal running the tool to finish it. DO NOT CLOSE THE TERMINAL neither KILL the process, or it will not unpause the paused Applications! But you can always run it again to fix the mess, so no big deal. No installer. Download the thing manually, or just clone the whole repo for now. Follows a execution log from the tool while I was testing it: (3.11) lisias@macmini62 ~/Workspaces/KSP/GIT/net-lisias/ksp/KSP-Hacks/utils > ./window_monitor.py 2025-03-10 01:16:22: Running on posix : Darwin : 18.7.0 2025-03-10 01:16:22: Focused iTerm2 [/Applications/Utilities/iTerm.app] 2025-03-10 01:16:22: Pausing Firefox 2025-03-10 01:16:22: Pausing Kerbal Space Program 2025-03-10 01:16:25: Focused Kerbal Space Program [/Users/lisias/Applications/Games/KSP/Random.143/KSP.app] 2025-03-10 01:16:25: Unpausing Kerbal Space Program 2025-03-10 01:18:08: Focused Firefox [/Applications/Firefox.app] 2025-03-10 01:18:08: Pausing Kerbal Space Program 2025-03-10 01:18:08: Unpausing Firefox 2025-03-10 01:50:08: Focused Kerbal Space Program [/Users/lisias/Applications/Games/KSP/Random.143/KSP.app] 2025-03-10 01:50:08: Pausing Firefox 2025-03-10 01:50:08: Unpausing Kerbal Space Program 2025-03-10 04:32:16: Focused Firefox [/Applications/Firefox.app] 2025-03-10 04:32:17: Pausing Kerbal Space Program 2025-03-10 04:32:18: Unpausing Firefox 2025-03-10 05:18:57: Focused iTerm2 [/Applications/Utilities/iTerm.app] 2025-03-10 05:18:57: Pausing Firefox KeyboardInterrupt 2025-03-10 05:19:03: Exiting!!! Restoring any paused applications... 2025-03-10 05:19:03: Unpausing Firefox 2025-03-10 05:19:03: Unpausing Kerbal Space Program Dependencies: MacOS port install gobject-introspection I use MacPorts, but this is available also on Brew. pip install pyobjc I strongly recommend creating a Virtual Environment (venv) for running this tool. Linux WiP Windows WiP Freeze Safe!!!!
  18. No, because this mod is kinda of a "plugin" for Kerbal Konstructs, it realies heavily on it and makes no sense from the technical point of view to try to implement this feature on this add'on, instead of doing something that could benefit every other KK based mod around here. I didn't there's support for it on Contract Configurator, I said it was the better place to implement it!
  19. It's a nice idea, but I think this could be better accomplished by something like Contract Configurator or something. This would solve the problem for every other KK add'on and not only for this one!
  20. Because nobody configure the Abort button on KSP, I mean, SpaceX!
  21. TSO of my day: Waiting for Cousteau, Jean Michel Jarre.
  22. 21 hours ago, Errol said:

    I was mainly here trying to track down another bug, and was frustrated by the notion of jokes clogging up logs in general.

    I totally feel you, bro... I totally fell you...

  23. Because a replacement is not feasible under the Copyright law. Check this post below for the rationale: TL;DR: the only shot we have to do it under the Law is by going Internet Archive style.
  24. You see, it didn't worked well every time, see N1. Or the Nedelin catastropohe - and, more recently, even the Brazil's VLS-1 V03 in Alcântara (TL;DR: a safety circuit failed previously, so they deactivated it to prevent another mishap as the problem it aimed to prevent was seemed unlikely to happen at that moment. But the lack of that safety caused the booster to accidentally ignite during the preparations for the V03). As usual, the sweat spot appears to be somewhere in the middle of the two extremes. Ultimately, the degree of specialization needed nowadays (as well the competition for such specialized work-force) makes the lose of human lives way too costly, what prompts the American way more sustainable on the long run - the Nedelin accident seriously hindered the Soviet program, and the Alcântara accident effectively annihilated the Brazilian one (we just didn't had how to replace the dead specialists). The problem on NASA nowadays with SLS, IMHO, is the exactly same one that lead to the Space Shuttle disasters, but in the opposite extreme of the spectrum: use of the safety rules to maximize financial achievements instead of technological ones - but instead of minimizing expenditures on safeties, on SLS they maximize the earnings on the same safeties.
  25. Just a warning - I got some HTTP 500 from Forum today, 2025-0306 approximately at 21:10 Zulu. I got it twice, then came back 15 or 20 minutes later and everything was OK again. The error I got was like this one: Until this moment (one hour later), no more errors happened to me.
×
×
  • Create New...