MTS has all free content, all the time. Find out how YOU can help to keep it running. Tell me how...

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

by duderocks Posted 10th Aug 2017 at 11:19 PM - Updated 5th Mar 2018 at 9:15 AM by duderocks : updated for 1.40
339 Comments / replies (Who?) - 17 Feedback Posts, 7 Thanks Posts
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

Type: Fixed

You must have the expansion, game version or stuff packs listed below installed to use this custom content. Please see the post text for any exceptions.

Sims 4
Built with Game Version: 1.33.38.10
Key: - File was updated after upload was posted
Filename - Tip: You can click the magnifying glass to see the archive contents Size Downloads Date
SimulationLagFix_2.2.7z | LATEST

Size: 2.6 KB · Downloads: 112,641 · 5th Mar 2018
2.6 KB 112,641 5th Mar 2018
SimulationLagFix_SOURCE (for Developers).zip | SOURCE CODE FOR DEVELOPERS

Size: 1,015 Bytes · Downloads: 21,058 · 22nd Jan 2018
1,015 Bytes 21,058 22nd Jan 2018
Don't forget to Thank the creator after downloading! Use the Thanks button located above the screenshots above.
Basic Download and Install Instructions:
1. Download: Click the File tab to see the download link. Click the link to save the .rar or .zip file(s) to your computer.
Read the upload description for installation instructions. If nothing else is specified, do the following:
2. Extract: Use WinRAR (Windows) to extract the .package file(s) (if included, ts4script as well) from the .rar or .zip file(s).
3. Cut and paste the .package file(s) (if included, ts4script as well) into your Mods folder
  • Windows XP: Documents and Settings\(Current User Account)\My Documents\Electronic Arts\The Sims 4\Mods\
  • Windows Vista/7/8/8.1: Users\(Current User Account)\Documents\Electronic Arts\The Sims 4\Mods\

Need more information?
  • Anyone can use both .rar and .zip files easily! On Windows, use WinRAR.
  • If you don't have a Mods folder, just make one.
  • Mod still not working? Make sure you have script mods enabled
 
339 Comments / Replies (Who?) - 214 Feedback Posts, 114 Thanks Posts
Hide Thanks Posts for this thread (Show only feedback)
Page 5 of 14
Instructor
#101 Old 24th Sep 2017 at 8:16 PM
Quote:
Originally Posted by heidi137
I will do this, a big thank you for your update. I have not thought of putting it in the mods file directly, I will place this one this way


I put in the mods file directly, the new version, it works, again a big thank you for your kindness, your mod is a great service for the game
Test Subject
#102 Old 24th Sep 2017 at 11:21 PM
hi duderock, just saying the current version of your mod not working on me, especially on restaurant its frickkin terible, its weirc considering version 1.4 its work fine with me... but hey apperciate your work
Lab Assistant
THANKS POST
#103 Old 25th Sep 2017 at 8:57 AM
I feel like I'm going crazy or having some kind of placebo effect since there are still complaints, so I'm curious to know what other people's (especially the mod author's) experience has been with the 1.6 update? Everything seems to be working as described but the ultra speed rollback specifically is why I'm asking. It was extremely noticeable before and every single time I used it my game was guaranteed to be set back a few hours, with the sleeping speed being even worse... now it's smooth and when I unpause it's usually either exactly or super close to the time it should be.
Instructor
Original Poster
#104 Old 26th Sep 2017 at 4:10 AM
Quote:
Originally Posted by Deer_Lord
I feel like I'm going crazy or having some kind of placebo effect since there are still complaints, so I'm curious to know what other people's (especially the mod author's) experience has been with the 1.6 update? Everything seems to be working as described but the ultra speed rollback specifically is why I'm asking. It was extremely noticeable before and every single time I used it my game was guaranteed to be set back a few hours, with the sleeping speed being even worse... now it's smooth and when I unpause it's usually either exactly or super close to the time it should be.

I still get the time rollback myself especially when ultra speed is on for a while. Based on my analysis of the simulation code, fixing this will might require me to mess with the actual simulation function, which is kind of risky and very prone to breakage since this is basically the heart of the simulation process. I'm going to try another method, but I need loads of testing for this one first before I upload it.
Instructor
Original Poster
#105 Old 26th Sep 2017 at 4:14 AM
Quote:
Originally Posted by Alvin1708
hi duderock, just saying the current version of your mod not working on me, especially on restaurant its frickkin terible, its weirc considering version 1.4 its work fine with me... but hey apperciate your work

Have you tried moving the mod to the root of the Mods folder? It seems to fix the issues for a lot of users.
Lab Assistant
#106 Old 26th Sep 2017 at 11:50 PM
Quote:
Originally Posted by duderocks
I still get the time rollback myself especially when ultra speed is on for a while. Based on my analysis of the simulation code, fixing this will might require me to mess with the actual simulation function, which is kind of risky and very prone to breakage since this is basically the heart of the simulation process. I'm going to try another method, but I need loads of testing for this one first before I upload it.

thank you for all your work on this mod!
Test Subject
THANKS POST
#107 Old 29th Sep 2017 at 12:32 PM
A must have mod it helps a ton! If you do however still have issues with out of sync sims(ie if they have school at 8:00 and it doesn't appear right away) what you can do is wait until 8:00. Then hit ESC and *wait* until the action(ie go to school) appears in the queue then hit ESC again and voila, your sim is in sync.
Test Subject
#108 Old 1st Oct 2017 at 5:51 AM
Is it just me or this mod doesn't seem to work as intended? Or does it need a new game instead of a existing one to function? I still get moments of simulation lag where sims will stand idle for 20 seconds before moving on with their autonomy. I've tried everything up to clearing caches and yet this mod doesnt seem to have fixed anything but made it worse hitting speed 3 at times now results in not being able to switch back to "Normal" speed for a few seconds after installing this mod.
Instructor
Original Poster
#109 Old 2nd Oct 2017 at 4:50 AM
Quote:
Originally Posted by Nulis
Is it just me or this mod doesn't seem to work as intended? Or does it need a new game instead of a existing one to function? I still get moments of simulation lag where sims will stand idle for 20 seconds before moving on with their autonomy. I've tried everything up to clearing caches and yet this mod doesnt seem to have fixed anything but made it worse hitting speed 3 at times now results in not being able to switch back to "Normal" speed for a few seconds after installing this mod.

Can you try the latest version I uploaded just now (version 1.7)?
Test Subject
DELETED POST
2nd Oct 2017 at 6:15 AM
This message has been deleted by Nulis. Reason: double post
Test Subject
#110 Old 2nd Oct 2017 at 6:30 AM
Quote:
Originally Posted by duderocks
Can you try the latest version I uploaded just now (version 1.7)?


Thanks! it seems to have done the trick it also fixed the relationship bug my file was having lmao with the whole acquaintance / soulmates thing so thanks for the simulation lag fix duderocks !
Test Subject
THANKS POST
#111 Old 3rd Oct 2017 at 12:48 AM
I tried 1.7 and I noticed a delay/lag when you switch between speed 1 and 2 right away on game start. Normally the game is quite responsive when you switch between speed 1 and 2. This kind of lag doesn't happen to me until several hours of game play and not even then. It made me a bit confused so I switched back to 1.6 and behold, worked perfectly fine and very responsive.
Lab Assistant
#112 Old 3rd Oct 2017 at 1:42 AM
same lag/delay as reported by huldu.
Test Subject
THANKS POST
#113 Old 4th Oct 2017 at 6:30 PM
Thanks so much man! You've been so dedicated and have been updating this mod, you really deserve gratitude. I experience more rollbacks without this mod so maybe EA has to fix something base game first. Keep up the good job!
Test Subject
#114 Old 6th Oct 2017 at 8:38 AM
Animation delays still happening at the following: Festivals (heavy lag), Lounges and Restaurants. With my neighborhood setup on City Living, Karaoke Bar + Romance Festival and Flea Market + Lounge or Cafe or Bar, sims won't move for around 20sec. At home, it works great and fully-functional but with a full house, there are still spikes which are bearable yet noticeable.

Still, thank you very much for updating this one. <3
Lab Assistant
THANKS POST
#115 Old 8th Oct 2017 at 8:06 PM
Same problems as the ones reported by huldu and fewlines. For me v1.6 works flawlesly most of the times
Test Subject
#116 Old 9th Oct 2017 at 5:35 AM
Appreciate the update. Still having problem though. Lots of lag when switching between speeds and sims standing idle.
Top Secret Researcher
#117 Old 9th Oct 2017 at 10:11 PM
Quote:
Originally Posted by mufasa_16
Appreciate the update. Still having problem though. Lots of lag when switching between speeds and sims standing idle.


Having this issue too with 1.6 and 1.7.
Test Subject
#118 Old 12th Oct 2017 at 5:44 PM
Comment on the description page says "Updated 9th Oct 2017 at 4:32 AM by duderocks : made an adjustment to the script file that should (hopefully) alleviate the time lags."

Where is the updated version? Latest version on the download page is 1.7, with files last modified in late September.

If you do have a new version, please post it! I'm having horrible lag issues, Sims standing still for ages, etc., with 1.7. I have the latest version of MC Command Center installed (version 3.8.0), if that makes a difference. Thanks.

Karen
Smeg Head
#119 Old 13th Oct 2017 at 1:36 AM Last edited by coolspear1 : 13th Oct 2017 at 5:08 AM.
I've read through a few of these post trying to establish a pattern. I too am one of those folks who have never had any noticeable success with this mod, apart from the negative, not when simmythesim first did it, nor with any of the duderocks iterations.

I'm wondering if it because I also use MC to slow default time? I play a half default time speed, and I'm thinking that may be part of the reason this mod has never had any worthwhile effect in my game. I also might be using the wrong measuring stick to gauge, as one of the worst venues in game for agonising autonomy delay and ages waiting for your sim to move their ass even after a direct command, is at the GTW Science labs. Boy, is it horrendous. And when this mod does nothing to alleviate that in the slightest, I assume it is not working for whatever reason.

Now, as I said, I have been using a time slowing function of MC. Also have 20-odd sims turn up for work at the labs. If these are all elements that will cause this mod to fail or seriously under-perform, they need to be mentioned here. As most people who say it is not working for them, say only that; it is not working for them. They postulate no possible reasons why, or if their game is set up on different time speeds or large numbers of sims - given that most do use MC and may well be using its time altering function or its function to allow large numbers of sims. Let's help this great modder and the work he is doing for this great mod, and get to the bottom of why it is continuous and utter fail in some games, where others are reporting great success. I would like to be one of the latter one day.

I will now attempt using 1.7 in a game with no more slow time function. Default time speed only.

Update - 1.7 still having no visible positive effect. Negative effect being switching between sims in a household, whether right clicking them or clicking their portrait has too much of a delay. 1.6 better with sim switching, but still no positive effect in sims moving their asses quicker. And default time at the labs, still utterly horrendous with sim autonomy moving their ass to do something, even after a direct command. This long delay is the same speed no matter if the game time itself is default time or slower time. I've gotta go with the 20-odd sims being the reason for the agonising delay per interaction push. Though this mod does not cause that as it has always been the way of it, with or without this mod or any others that aim to speed up autonomy and sims moving their asses quicker.

So, in conclusion, if I want to see the same benefits this mod is supposed to provide, as some users have reported, do I need to stick to default time only, small lots with limited objects and activities, and have the Maxis limited number of sims per lot, especially community or work venues? If that's the case, I'd rather never play the game than go back to boring, because I don't see myself persevering with this game and its crappy catatonic sims much longer. The catatonic crap is certainly not getting any better, and Maxis refuse to address it. It's TS3 all over again.

"Become a government informer. Betray your family and friends. Fabulous prizes to be won!" Red Dwarf - Back to Reality.

Find all my TS4 mods and lots here: Main Website - simsasylum.com My Section - coolspear's Mods & Lots
Test Subject
#120 Old 13th Oct 2017 at 10:15 AM
I went back to version 1.6 and now I'm having no issues at all.
Lab Assistant
#121 Old 13th Oct 2017 at 11:42 PM
good idea, @coolspear1. i'm adding my experience with both 1.6 and 1.7.

i only own the base game and the Fitness pack. i'm playing a 6-Sim household at the moment. the only other mod i play with is UI Cheats Extension, but i used this one on its own and there was no difference. i play at default time speed, sometimes at speed 2.

you say, "Negative effect being switching between sims in a household, whether right clicking them or clicking their portrait has too much of a delay. 1.6 better with sim switching, but still no positive effect in sims moving their asses quicker." and i agree. switching between Sims' info tabs/skills/etc., same issue. clicking on them to produce the pie menu, same thing. i'm not sure if this can be considered as part of the same "lag" though.

also, i have to say the lag doesn't improve when playing a single-Sim household either. i am willing to test out different scenarios if needed. thank you, @duderocks.
Test Subject
THANKS POST
#122 Old 15th Oct 2017 at 2:43 PM
Thanks for the update
Test Subject
THANKS POST
#123 Old 16th Oct 2017 at 6:19 AM
this has been so helpful! Thank you!
Test Subject
#124 Old 19th Oct 2017 at 1:20 AM
Hello,

I would like to add my experience as well. I have seen no improvement on the lag, with the current and previous version of the mod. I also play with MC and a slower time. I have many mods, but it doesn't matter if I remove them or not. I get the same amount of lag as the number of sims in the zone increases.

I hope this mod will get better at handling this, as EA doesn't seem to care.
Page 5 of 14