2025-07-18 05:21 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0001121Spring engineGeneralpublic2008-10-21 16:45
ReporterLicho 
Assigned Toimbaczek 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
Product Version0.77b3 
Target VersionFixed in Version 
Summary0001121: Game slows down rapidly if single player "lags"
DescriptionBehavior was much nicer in .71
Now single player with poor CPU or connection can make game unplayable for all.
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
related to 0001151resolvedAuswaschbar Game sometimes fails to increase speed back when conditions improve 
+Relationships

-Notes

~0002865

Beherith (reporter)

I must agree with Licho on this one, imo this is the currently most serious bug, and it makes green fields completely unplayable.

~0002869

imbaczek (reporter)

I'm not sure what we're supposed to do with it - if a player doesn't have the cpu power to run the sim at a decent speed, we can't really make him lag out. Maybe we could skip Lua Draw callins if the player can't keep up...?

~0002871

lurker (reporter)

You don't have to make him lag out. If all you do is push his computer hard enough that his cpu is at maybe 75% of a core, but he still has a non-slideshow fps, the game should be able to run along pretty well. But when you take it easy on the bad computers the game slows down horribly.

~0002872

Auswaschbar (reporter)

I made following changes:
- limit the slowdown to the half of the user speed settings (1 userspeed -> 0.5 min speed)
- increase the wantedCPU base to 0.5 (was 0.35)

~0002873

Licho (reporter)

Is that enough? In the .71 it never slowed down to 0.5 and people almost never lagged out, so what was different?

~0002875

Licho (reporter)

Err i mean it was fine in 76, not in 71, sorry :)

~0002876

lurker (reporter)

It would be nice if wantedcpu had the number of cores available to divide by.

~0002877

Auswaschbar (reporter)

Difference was that this feature has had a bug in 0.76 and didn't work, it worked in previous versions and the algorithm didn't changed since then.

And the second core is mostly idling and not used by spring, so why take it into account?

~0002878

Licho (reporter)

Do we need this feature then? I prefered the bugged version over version that slows down..

~0002994

DavetheBrave (reporter)

I've been noticing some slowdown thats completely independent of players cpu power. aka the game slows down even in 1v1s, where there is never much cpu needed.

~0003004

imbaczek (reporter)

reportedly fixed in next version. reopen otherwise.
+Notes

-Issue History
Date Modified Username Field Change
2008-10-12 15:53 Licho New Issue
2008-10-14 00:30 Beherith Note Added: 0002865
2008-10-14 09:49 imbaczek Note Added: 0002869
2008-10-14 10:08 lurker Note Added: 0002871
2008-10-14 11:27 Auswaschbar Note Added: 0002872
2008-10-14 12:05 Licho Note Added: 0002873
2008-10-14 12:45 Licho Note Added: 0002875
2008-10-14 13:26 lurker Note Added: 0002876
2008-10-14 14:52 Auswaschbar Note Added: 0002877
2008-10-14 14:58 Licho Note Added: 0002878
2008-10-16 18:03 Kloot Relationship added related to 0001151
2008-10-19 16:57 DavetheBrave Note Added: 0002994
2008-10-21 16:45 imbaczek Note Added: 0003004
2008-10-21 16:45 imbaczek Status new => resolved
2008-10-21 16:45 imbaczek Resolution open => fixed
2008-10-21 16:45 imbaczek Assigned To => imbaczek
+Issue History