
Not really sure what I did. I wanted to test something so I took my scripts folder out to go back to "stock" TPT. Tested what I needed, was fine, and I just moved the scripts folder back to where it was.
All I did was create a simple block of titanium. 60FPS down to 22-25, steady.
Anyone have any clue what is super unhappy? If I pause the game it goes back up to 60FPS, but as soon as I unpause, massive drop.
Cover the entire screen in dust with gravity? Perfectly smooth 60fps.
Use certain solids and make a block? Drops.
It seems to be super random elements, such as titanium, ice, battery, and weirdly, rubidium drops it SUPER hard down to like 10fps. Liquid form? Perfectly fine. Solid form? 10FPS.

what
Try removing all your scripts & restarting TPT.
@8a742ce284f535d3200 (View Post)
So, funnily enough, while waiting for a response I did this. Even went as far as reinstalling a fresh version of TPT.
I originally thought because when I checked in my folders, the autorunsettings and scriptinfo weren't updated to what I actually had in my folder, I realized they don't re-create and it's not as easy as just moving them in/out and definitely need to be done through the script manager.
Because of this I re-did everything, fresh install, started it, still.. broken.
Well, I dived deeper into some stuff, because obviously it was a script issue. I know sometimes the scripts love to fight and both want to rename a chemical, however, I didn't think anything was wrong because there was no error output like there usually is (like line XXX, element identifier already in use)
Come to find out, it was because I had two scripts that kept fighting. Realistic Propellants and Chem-Mod. Both of them want to rename + use Nitrogen. Both rename it to literally the same exact thing except a slightly different pre-fix (KEV vs KERF)
As soon as I just simply disabled specifically the realistic propellants (Since I prefer the chem-mod more) everything snapped back to running perfectly fine. Super weird since it only effected certain chemicals, and also that the script wasn't enabled, but must have been still messing some stuff up in the background.
TLDR: LuA being LuA I suppose. The N2 error wasn't showing in console but it was the only thing they seemed to overlap with (at least at first since I didn't have to go very deep of comparing chemicals since N2 is line 16 of chem-mod)
Yeah, part of my thinking is that the specific elements that were laggy was related to it having to do a bunch of checks in the background, but something was causing some sort of weird loop.
Yeah for sure, that was my confusion though as none of the scripts touch something like titanium, it seemed to stem from both of them screwing with nitrogen, but the weird thing is that nitrogen isn't a vanilla element but we do have liquid nitrogen and nitrogen ice, and neither script appeared to touch titanium for example. The main overlap seemed to be that they were fighting with the nitrogen and it might have been causing some sort of death spiral.
Is there any sort of way to get a more detailed output for when things like this happen? The default output from the script manager seems to give you the main heavy things at times, but small stuff slips through it seems.
Yeah LuA is super touchy.