[UPDATED 3-5-18] Simulation Lag Fix updated for 1.40

SCREENSHOTS
Downloaded 217,358 times 1,445 Thanks 645 Favourited 248,493 Views
 Say Thanks!
Uploaded: 10th Aug 2017 at 11:19 PM
Updated: 5th Mar 2018 at 9:15 AM - updated for 1.40
UPDATE 3-5-18: Autonomy lag should (hopefully) be fixed.

This is an update to SimmyTheSim's Simulation Lag Fix to the latest patch.

As per SimmyTheSim's description:

"This mod alters the game's simulation so that sim autonomy does not cause massive simulation lag in instances where there are many autonomy requests.

This should eliminate, or at the very least, alleviate, the following problems:
sims head bobbing, sims doing nothing for a few hours, time slowing down on Speed 3, and time going back to the past."


Differences from the old mod:
  • The MAX_TIME_SLICE_MILLISECONDS variable is now a tunable XML in the latest version
  • Only two Python functions are overridden.

COMPARISONS:

Before


After


ISSUES:
  • Some head-bobbing activity might still be present, but it should be way less than before
  • Times sometimes still rolls back from "ultra speed mode" (when all sims are either out or sleeping). Still trying to figure out how to fix this.

Resources
This mod overrides the following python functions:
time_service.TimeService.start
time_service.TimeService.update

It also overrides the following XML values:
03B33DDF!00000000!2BE55516548A9522.time_service.Tuning
03B33DDF!00000000!143F98639E4FDED3.autonomy.autonomy_modes

INSTALLATION
Unzip the mod files into your mods folder. Make sure script mods and custom content is enabled in your game!

Additional Credits:
SimmytheSim for the original mod