Jump to content

AccidentalDisassembly

Members
  • Posts

    1,209
  • Joined

  • Last visited

Everything posted by AccidentalDisassembly

  1. I'm excited for better performance!
  2. OK, I was able to reproduce the problem on a log less than a couple hundred MB, so... hooray? To trigger it, it seemed to require launching a craft; I didn't see the exception in the log until I had loaded KSP, loaded a save game, constructed a craft, and launched the craft: https://www.dropbox.com/s/umzt9cz39lx2iaq/ts_log_after_launch.zip?dl=0 EDIT: Out of curiosity, I tried removing TS 2.4.6.23 and replacing it with Beta 2.5.0.52 (because I happened to have downloaded it previously) - the same problem does not occur on .52, although a new problematic behavior does - unable to launch directly from launch pad with Beta 2.5.0.52 (have not tried with 53), i.e., click on launch pad, select craft, click launch - but can launch from VAB. When launching from VAB, beta .52 does not create the same TS-companion-Waterfall related nullref spam... FWIW EDIT EDIT: I tried Beta 2.5.0.53 as well - a change between 2.5.0.52 and 2.5.0.53 (which, based on Github, seems to be similar to a change on the main branch) is the cause of the Waterfall-companion-related nullref spam - although .53 corrects the behavior of being unable to launch directly from the launch pad. In other words: changing nothing but version .52 to .53 introduces the Waterfall-companion-related problem.
  3. https://www.dropbox.com/s/bb6ve6xbm1rhwn8/mysterious_ts_waterfall_2023_02_08.zip?dl=0 True to KSP form, of course the error does not occur in the log I generate to send... Who knows why anything happens on KSP, really.
  4. Something seems to be going haywire between the Waterfall companion with the newest .23 tweakscale - sorry, full log was much too large to share due to tens of thousands of the following exception; I think the relevant exception is:
  5. One word of caution on the nodeType - mods like KSTS seem to use the nodeType defined in a part's config (maybe even as a string value or something) to determine what kinds of vessels can interact, so if a 3.75m docking port got scaled down to 2.5m and the intended behavior is to be able to dock with 2.5m ports, it would need to acquire the nodeType of the 2.5m ports and lose all others, I think... But not totally sure. Not sure what you might do with intermediate sizes other than disallow them...
  6. Tried it out - I could not reproduce the 'leftover tank type' problem anymore, hooray! The odd values reported in the editor and the "tank de-fills when you place it the third time if it has both tank switching and mesh switching from B9PS, but doesn't happen on parts with B9PS tank switching and stock variants, and only after 3 tries" are still present, but if you drag the slider up to full, the tank values will be correct when launching, so easy enough to work around!
  7. Wellllll.... shoot. I didn't even think to test saving/loading or simply launching the craft; the values do seem to turn out right (extraneous tanks deleted, both symmetry parts have same contents). However, INCORRECT values are preserved after launching a craft if you pick up and re-place the CryoTanks a couple times on my CryoTanks test setup, reproducing the weird phenomenon I described where picking up and re-placing the original tank once probably won't change anything, twice maybe will change things, three times probably will end up with the original tank being partially filled in the editor - it also will be partially filled in flight (for instance, a tank with original capacity of 400 LF or Ox, scaled up 1.5x, picked up and re-placed a couple times, can end up with 405/1350 fuel contents in the editor; 1350 is the right max number, but where did that 405 come from...?), or when reverting to hangar, or when saving/loading. When launching or loading, the amount of fuel in the both the original tank and the symmetry clone will be 400/1350, not 405 - the fill amount is equal to the part's unscaled capacity in Ox (I was using Ox-only tank type to test), max values will be correct. Not sure why the tanks are getting de-filled and why it at first reports 405/1350 in the editor... I could not reproduce this partial-filling thing on parts without B9PS fuel/tank switching AND mesh-switching, but I didn't try every part exhaustively.
  8. Yes - However, is KSPAPIExtensions a dependency? TweakScale applies patches without that installed, but no TweakScale control appears in the editor PAW if I don't also have KSPAPIExtensions. Meaning: if my GameData folder consists only of 999_KSP-Recall, ModuleManagerWatchDog, Squad, SquadExpansion, TweakScale, 666_ModuleManagerWatchDog.dll, 999_Scale_Redist.dll, ModuleManager4.2.2.dll - then TweakScale does not function. If it's a hard dependency, might want to mention that somewhere in the OP... unless I missed it! Anyhoo, here is a .zip with 3 log files. Hopefully named clearly. One is a log where I loaded KSP without KSPAPIExtensions (no part scaling, because nonfunctional); one is with only the above in GameData, plus 000_KSPAPIExtensions, plus KSPe.dll, plus the KSPe config in the KSP_win64/PluginData/ folder, and the last one is with B9PS and CryoTanks added (with dependencies). Logs: https://www.dropbox.com/s/hqonxkxlqkv9ywe/ts_logs_2023_01_27.zip?dl=0 On the log with kspapiextensions, these are the actions I performed in game: Start game -> new Sandbox. Go to VAB; place Mk1 fuel tank. Select Mk1 fuel from part list and Place 2 additional Mk1 fuel tanks in radial symmetry, surface attached, no snap. Check volumes; scale up original (non-clone) tank, check new volumes. Clone volume incorrect. Remove original non-clone tank and delete (drop on parts list). Repeat above process, but then, after scaling up to 1.875 and observing incorrect volumes, pick up original tank, place original tank again on the root Mk1 fuel tank (still radial symmetry 2x). Check volumes: they are both correct now. Alt-F4 to exit game. On the CryoTanks log, here's what I did: Same steps as above with Mk1 fuel tanks, except rather than Alt-F4 to exit, continued by doing this: Place two H125-4 cryo tanks in radial symmetry 2x. Scale up the original tank, observe new volumes. Both volumes correct. Change tank contents of original tank to LH2 only (from LH2Ox) - Clone tank gains LH2 in the correct amount, but retains original LH2Ox tanks as well (so: two LH2 resources, one Ox resource). Pick up original tank and delete (drop on part list). Place two new H125-4 cryo tanks in same symmetry. WITHOUT scaling the original tank, change its contents to LqdMethane (only). Clone tank has correct LqdMethane amount and no extra resources. Scale up original tank - clone tank does not update LqdMethane resource quantity correctly. Pick up and re-place original tank: clone tank does not update LqdMethane resource quantity correctly. Pick up original tank a second time, re-place it a second time: Original tank now only partially filled (2075 of 6750) - what the hell?; clone tank still full, but still incorrect capacity for LqdMethane Try the same thing with a Mk1 fuel tank: place 2 in symmetry, scale original up, clone tank does not update. Pick up original tank, place again, clone tank updates. Pick up original tank and re-place two or three more times: clone tank still has correct values. Alt-F4 to exit game Hope that helps!
  9. Get some sleep! I can report that opening and closing the TweakScale options button (in the stock toolbar in the editor) does not seem to change the behavior... also, I don't see any green on the icon, before or after pressing... Odd. The setup I used was the same (just TS, Recall, CryoTanks + dependency for the handy fuel-switching patches, and KSPAPIExtensions). I had removed the patch that stripped everything of AttachedOnEditor as well. I tried with and without the TS Companion for CryoTanks just in case something weird was happening there. I can also report a pattern I didn't notice before, I think it can be reproduced: After first loading game and entering editor, do normal thing: place a part, then place stock tank (with B9PS fuel switching patched onto it by CryoTanks) in symmetry; scale the original up. Clone will not have correct fuel. Pick up the original and delete the part. Place a new fuel tank as before in symmetry; scale up original. Clone will have correct fuel values. So something is happening where every second time you place a part in symmetry, something appears to be set such that the clone will get updated with the fuel value correctly. Then the next time you place a tank, it will be incorrect when scaled up; the time after that, the values will be correct when scaling up... odd. This every-second-placement thing does not seem to affect the problem where tanks aren't removed when switching the tank contents, it just seems to affect the updating of the values on the clone tank... I think... hard to say. Hope you feel better soon!
  10. Not sure what to make of the results, but I tried that out, and it does change the behavior - it doesn't fix things, but it makes them... different... With that patch, the incorrect fuel tank scaling is now more reliably reproduced - scale up the first part you place, and the symmetry tank will never (or ... rarely? not sure) be updated with the right contents (whereas before, it only seemed reliable when scaling the tank created by symmetry). I see the same "tank didn't get deleted when changing contents" behavior, as far as I can tell, but now that behavior also occurs on the stock tanks (that don't also have mesh switching). This now happens without needing to scale the tank to trigger the behavior (although I can't be totally sure that is different from before) as well. Sometimes, at least, with stock tanks (only fuel switching), if you place tanks in symmetry, scale up a tank, look at the other tank (which will have incorrect fuel amounts), then pick up the tank you just scaled, place it back in symmetry - re-placing the tank will update the symmetry tank to have the correct values... Other odd stuff happened with picking up and re-placing tanks as well, where volumes did not get updated correctly - all I could figure is that this would happen if you picked up the tank with the incorrect volume, then re-placed it (volumes not updated). But if you picked up whichever tank had the correct volume, and re-placed it, both would get updated correctly. All of this seemed different between tanks with only fuel switching and tanks with mesh switching. In any case, all of these behaviors are different from what happened on .19, so... effects are happening!
  11. Hooray indeed! ... Unfortunately (Sorry, I am perpetually the bearer of bad and annoying news :)) I can also confirm that .20 has not fixed similar issues with B9 Part Switch, and has introduced a new bug specifically on parts that have both a fuel switch and mesh switch from B9 part switch. To reproduce each, follow these steps: Fuel volume issue on parts w/ B9 tank type switcher in symmetry: Clean KSP; install TweakScale, Recall, (I also have KSPAPIExtensions... not sure if required), B9 Part Switch, and CryoTanks (because it has parts with mesh and tank switching, AND applies tank switching to parts without mesh switching too - handy!) In editor, place <anything>, then place two stock fuel tanks on that part/on those parts in radial symmetry. Note that stock tanks do not have a mesh switching option from B9PS (they have stock variants, though), but they do have fuel switching (patched in by CryoTanks). Scale up one of the symmetry tanks; note new fuel volume on the part you justright-clicked on to change scale. Its volume will be correct. Right click on the other symmetry tank - note its fuel volume may not have been updated - sometimes it will work, sometimes it won't; here's what I think I've found about the pattern: I THINK it might have to do with which tank you click on - if you right click on and change scale on the "original" tank (the one you actually placed with your mouse, not the one 'generated by symmetry', so to speak), it seems like the fuel volume scales correctly most (?) of the time. If you right click on (one of) the tank(s) created by symmetry, then scale that tank, then check the volume on the originally-placed tank, the originally-placed tank's volume will not have updated. That said, it also did happen when scaling the "originally placed" tank, just couldn't reliably reproduce. Seems decently reliable when you scale the "generated-by-symmetry" tank, though... Tank-removal failure on parts w/ B9 tank type switcher AND mesh switch in symmetry: This one I could reproduce reliably. Same setup as above. In editor, place a tank from the CryoTanks mod in symmetry rather than a stock tank - these tanks have both a tank switch and a mesh switch option. Scale up one of the tanks (or down) - it may or may not update the fuel volume on the other symmetry tank(s) correctly, but now: Change the B9 tank type of the tank (e.g. change it from LH2/Ox to LH2 only). I do not think it matters whether you change the tank type of the 'originally placed' part or one generated by symmetry. The new content and volume of the tank you right clicked on to do this tank-type switching will be correct. Right click on one of the other symmetry tanks - note that the original tank (LH2/Ox, in this case) is still present in addition to a probably-correct-volume additional tank of the new type. I don't think this happens on parts that have the stock variants + fuel switch - just on parts that have the B9PS mesh switch + fuel switch, but I didn't test extensively. Hope that helps track down the B9 Part Switch issues... sorry to be a bummer!
  12. Just a note to let you know that the github link in your post doesn't go where you want it to
  13. defaultScale is (as I understand it) the default scale value (from the TweakScale SCALETYPE) definitions where the scale slider will be set when you right click on a part in the editor. Short answer: yes, defaultScale of 1.25 for 1.25m parts, 2.5 for 2.5m parts, etc. No defaultScale needed for surface attached parts if you define type = surface or type = free; they will default to 100% or 1x and scale up or down from there.
  14. A module manager patch such as this will do the trick, I think - hopefully without wrecking anything else:
  15. @blackrack Looked great in the pictures, then figured... sure, why not, I've never patreon-ed anyone before. Result? Holy mother of pearl, it's a masterpiece. Well done.
  16. Out of curiosity, is there a way to rearm a craft while in flight in addition to transferring ammo from one craft's container to another? Is it possible to re-populate the bombs or missiles that were on pylons when a craft was launched after it's dropped them? Or would a kerbal have to re-place them manually (assuming that's possible)?
  17. Can confirm that with 2.4.6.19 on 1.12.5, the issue with B9 Part Switch and symmetry persists, just FYI in case that's useful info!
  18. Just an opinion from a player/user, and an opinion that doesn't matter much since I'm not the one making the mod, but here's how I think players similar to myself might experience the mod you're describing - most all of it sounds like a great idea, basically a jump drive, but there are a few bits that might introduce some frustration -- I would suggest architecting the system to allow the timing feature to be optional, and abstracting it out (when turned off) through a simpler system. Just an example, not necessarily the 'right' idea: whatever your target destination, the underlying game idea is that you may or may not arrive exactly where you want: in 'simplicity mode', simply calculate a larger or smaller sphere of possible arrival points around the target destination (based on a kerbal engineer's skill level, maybe even stupidity, where higher skill = smaller sphere, maybe also based on any gravity wells on the line between you and destination) and you'll end up somewhere (random? not sure) in the sphere without having to try to time the movement of a dot. The semi-skill-based approach to jumping could be interesting, but it also could be seen as something one of the *kerbals* would be doing, and something where kerbal stats in KSP2 (whatever they will be) will actually matter - the player instead interacting with the game world in a more commander-type role... just a thought. The sphere size or deviation of the initial line to target (or whatever other confounding factors) could be shaped similarly by any combination of crew skills; maybe pilots would be better at reducing the confounding influence of other gravity wells, or at jumping from nearer/farther from a body, or better at jumping out of an atmosphere...etc. I think being unable to jump to an arbitrary distance/point in space might prove frustrating - I would argue that it might be nice to plan this as an optional feature too (for increased difficulty); another way of making celestial bodies influential in jumps might be simply to modify the area of arrival probability depending on how close the intended point is to a celestial body, and/or giving a (bigger or smaller) velocity to the craft upon arrival, or other things like that. What does this snagging mechanic do, though? I'm not sure I understand this part - if a planet is almost directly in between you and where you're jumping, does that mean you'd end up at the Whipping Post (if there is one) and not your destination? Or would a whipping post just make the sphere (or whatever shape) of possible arrival locations smaller, so to speak, if you're trying to jump to a point near it, all else being equal? Edit: In any case, I think the underlying jump-drive-type idea is a good one, lots of interesting possibilities with how it could work (or send you hurtling straight toward a gas giant on accident - whoops...!)
  19. Is the issue of "using stock construction, dropped parts weigh 20 tons regardless of their actual weight" phenomenon a known issue? It happens when (for example), rather than placing a deployable science experiment via the correct method (the little place button in the lower right corner of the icon when it's in a kerbal's inventory), you do this instead: Enter construction mode Click on part from wherever it is (in a container's inventory, in a kerbal's inventory) Mouse over open ground near the constructing kerbal - part will appear orange (if not blocked) Click to drop part on terrain; part will drop, and about 1-2 seconds after dropping it, it will magically weigh 20 tons Quite annoying! The workaround of Cheats -> Ignore max weight for construction definitely lets you fix it, but... kind of janky
  20. Any luck with the b9 part switch + pick-up and re-place issue? I seem to remember some version of TS fixing this exact thing in the past...
  21. Does Galaxies Unbound in any way alter the asteroid sizes or resource contents of asteroids/belts in the stock system, esp. the asteroids that tend to come into Kerbin's SOI? With GU + Lich + Alpha Centauri installed, I only see asteroids of a given class (like 'Medium' or 'Small' or whatever) that are MANY times larger than normal - up to (what appears to be) hundreds of meters across and weighing tens of thousands of tons. Without GU + systems installed, they go back to what seem to be more 'normal' sizes. The issue with this is that asteroid redirects are basically impossible with the bigger sizes - it's cool that they exist, but it seems like everything got multiplied by 10 or 50 or something, assuming GU actually does anything with asteroid sizes...
  22. For those with the expansion packs, is it possible to add a check that detects their presence and adds all the IR parts to the stock Robotics category? Would be handy, but obviously not terribly important/crucial. I got the same error as stk2008 about multiple versions of scale_redist, perhaps because I have tweakscale installed as well; removing both scale .dlls from IR does not seem to cause problems *if* tweakscale is installed alongside, at least for now...
  23. All of this is spectacular. The columns of clouds make me wonder whether the same volumetric magic could be applied to rocket smoke as well... +1 passenger on the eager anticipation train.
×
×
  • Create New...