Page 1 of 1
"Lag" in Factorio
Posted: Thu Aug 07, 2014 9:34 am
by Maddie
I have been playing Factorio for quite a while now, and only yesterday did this problem occur.
The game kind of pauses for a second, every five seconds or so (my fully upgraded shotgun can fire five shots before it pauses), even though
the game is running at 50-60 fps.
I have tried uninstalling the game and instaling it again, but it does not fix the problem.
The pauses does only happen on that savefile, if I start a new game, the pauses does not happen.
I am running Factorio 10,6 64bit on Windows.
Does anyone know how to fix this problem?
Thanks.
Re: "Lag" in Factorio
Posted: Thu Aug 07, 2014 12:22 pm
by SilverWarior
If the lag is only occuring on specific savegame it would be verry helpfull to developers if you could upload your save game to dropbox or some other file sharing site so they can download it and test it.
Based on your description this migt be caused by bitrs expansion algorithm, pathfinding or maybe even chunk generation.
The only way to know for certain is for developers to open your savegame and test it while debugging.
Re: "Lag" in Factorio
Posted: Thu Aug 07, 2014 1:12 pm
by Maddie
The lag gets worse the closer I get to any biters, so you might be right.
I have uploaded the save to dropbox:
https://www.dropbox.com/s/vb46vu4w7k3zz ... thmods.zip
The mods I have installed are:
bobassembly
bobores
bobplates
bobpower
Dytech Core
Dytech Energy
Dytech Inserters
Dytech Logistic
Dytech Metallurgy
Dytech Mining
Dytech Tools
Dytech Transportation
Dytech Warfare
F-Mod
Landfill
Liquid Station Mod
Magnet
NoMoreBots
SmartSplitters
Treefarm-Mod
Re: "Lag" in Factorio
Posted: Thu Aug 07, 2014 3:51 pm
by cube
Hi, please post a screenshot with debug info enabled (press F5). You need the game to run for at least 10-20 seconds before making that screenshot to measure all timings correctly.
Re: "Lag" in Factorio
Posted: Thu Aug 07, 2014 4:59 pm
by Maddie
Here is a screenshot with debug info enabled:
Maddie
Re: "Lag" in Factorio
Posted: Fri Aug 08, 2014 2:58 pm
by bobingabout
Bobores and DyTech Metalurgy will cause lag on chunk generation due to all the extra noise layers for generting the ores (Fortunately DyTech shares quite a few with BobOres, so having both doesn't increase the issue by much)
As for general gameplay lag, DyTech Warfare likely causes a bit due to excessive memory usage due to it loading lots of large sprites for the new biters.
Re: "Lag" in Factorio
Posted: Fri Aug 08, 2014 3:23 pm
by Maddie
I have tried removing Dytech Warfare, but it made no difference to the lag.
Maddie
Re: "Lag" in Factorio
Posted: Tue Aug 19, 2014 9:00 am
by cube
Sorry for the large response time. The lags are definitely caused by mods, but I can't see by which one exactly (due to what looks like a bug in the timing measurements).
Anyway DyTech-core takes about 30% of your update time, I'd try removing it first to see what happens.
Re: "Lag" in Factorio
Posted: Wed Aug 20, 2014 6:34 pm
by Rseding91
It's lagging due to the item collectors from DyTech. Every 60 ticks they're looking for all "item-on-ground"s in their area (100x100 centered on the chest) as well as checking if each one is on a belt or not.
You've got two of them right next to a zillion belts loaded up with items so it's checking all of them every 60 ticks if it can pick them up which is a very costly check.
Remove the DyTech item collectors you have setup and the lag will stop.