Network code in .77b3 slows down game alot

Network code in .77b3 slows down game alot

Discuss your problems with the latest release of the engine here. Problems with games, maps or other utilities belong in their respective forums.

Moderator: Moderators

Post Reply
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Network code in .77b3 slows down game alot

Post by Beherith »

It seems that the network code was changed to wait for the slowest players, this causes massive slowdowns on any bigger teamgame even if there is just 1 person who is slow. Sometimes games go down to .4 speed even when there is no fighter spam.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Network code in .77b3 slows down game alot

Post by imbaczek »

It's always been like this; people who lag more need to fix their settings and perhaps do a /luaui reload.
User avatar
Beherith
Posts: 5145
Joined: 26 Oct 2007, 16:21

Re: Network code in .77b3 slows down game alot

Post by Beherith »

It hasnt always been like this, ppl who cpu lagged also had higher and higher pings as they lagged out of game. But now, spring waits for all the high cpu players and grinds to an agonizingly slow speed.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Network code in .77b3 slows down game alot

Post by imbaczek »

Either way the game becomes unplayable. I am a proponent of correctness, therefore the current behaviour is what I consider desirable. If the game didn't slow down, the lagging player would have trouble even quitting due to the way spring processes keystrokes.
User avatar
lurker
Posts: 3842
Joined: 08 Jan 2007, 06:13

Re: Network code in .77b3 slows down game alot

Post by lurker »

It just seems to be too lenient. It should push the slow pcs somewhat, not enough to completely lag them out, but they should have high cpu percentages and a reduced framerate. I heard one person complain about a game running at less than half speed and not a single player had high cpu usage.
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Network code in .77b3 slows down game alot

Post by imbaczek »

this could mean bad network conditions, like huge packet loss...
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Network code in .77b3 slows down game alot

Post by Auswaschbar »

imbaczek wrote:this could mean bad network conditions, like huge packet loss...
If I remember right, network conntection does not affect game speed, its purely CPU based.
User avatar
momfreeek
Posts: 625
Joined: 29 Apr 2008, 16:50

Re: Network code in .77b3 slows down game alot

Post by momfreeek »

I've played commercial games before which acted this way (wait for the slowest player), but its certainly new to me in spring.

Would be nice to know if this is an intended feature..?
imbaczek
Posts: 3629
Joined: 22 Aug 2006, 16:19

Re: Network code in .77b3 slows down game alot

Post by imbaczek »

what if nextframes get lost? that could mean effective slowdown... don't know enough about netcode internals though.
Auswaschbar
Spring Developer
Posts: 1254
Joined: 24 Jun 2007, 08:34

Re: Network code in .77b3 slows down game alot

Post by Auswaschbar »

imbaczek wrote:what if nextframes get lost? that could mean effective slowdown... don't know enough about netcode internals though.
No, messages are reliable. Also, it would go slower for the player whose connection is slow, and not to other players.
Post Reply

Return to “Help & Bugs”