emipa606 / RoumorHasIt

Repository for the Rimworld mod named [RF] Rumor Has It.... (Continued)
https://steamcommunity.com/sharedfiles/filedetails/?id=2013940581
MIT License
0 stars 0 forks source link

Rumor has it - Rumor Code Watcher creates a lag spike upon first use? Then most game movement is extremely stuttery from then on. #3

Closed CullyDC closed 1 month ago

CullyDC commented 2 months ago

20240818073705_1 Here is from my save and most other saves where seemingly there is enough pawns to trigger it (possibly something related to clique or defecting code?) and also there has been enough time to have rumors start up (I don't know if my pawns have a huge rumor history or something that causes it too?) As shown, this is the only time dubs performance analyzer actually picks up this tick, but the effects are now present until quitting to main menu, reloading the save. The game (camera and pawns) is quite stuttery, even in pause, even in 1x speed... TPS is mostly unaffected, you can 3x and 2x totally fine... lag spike area Just want to say before any of this code analysis that: I have no idea how to do .dll modding or editing in Rimworld Code. At all. I've done some .xml editing for many mods and generally have gotten good at figuring out bugs but this is out of my depth. Basically I just straight up removed the: 'MapComponentTick() : void 06000014' using dnSpy and literally just right click > delete.

Obviously this is not a great fix. But my save works fine, no lag spike and then also no stutter present anymore, pawns are still using the Rumor has it mod to spread rumors and apologise for them ect... So I came here to hopefully see if there is a more elegant solution. Any ideas? Thanks for any sort of help or response. Just want to also say, Thanks for all the great work in the rimworld modding community with the (continued) series.

Edit: Man I forgot to mention this at all. But I'm playing version 1.2 of Rimworld and all mods, a very handcrafted (400-500?) modlist that is built for compatibility (almost no errors in console, most errors can be fixed with debug tool anyway).

emipa606 commented 2 months ago

I will look into it but be aware that I only change the code for the latest game version if I find some solution.

emipa606 commented 1 month ago

After reviewing this I cannot really include it as it will remove some functionality from the mod.