2025-08-28 00:29 CEST

spring: develop 153123aa Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
Andrea Piras Andrea Piras develop 2013-02-27 15:34:57 develop 5f88e383
Changeset removed the engine poll-system for speedcontrol ( notice, this is NOT user manual speed adjust, this is how game speed is adjusted according to the player's load )
made the command host-only, and changed so it only controls current game, it doesn't change saved value
while the system allowed the host to override the poll, the whole code is redundant with authosts poll system
moreover, only few players were aware of the command, making it a "secret poll"
to further make the situation worse, according to each player's personal saved preference, as players join/leaved the server, speed control mechanism changed
now that the command is host only, autohosts can reimplement the poll to adjust server speed control on top of their normal poll framework if they wish to
it should only be a couple of lines, which will also have more flexibility about user permissions and poll params
they should also use the normal config mechanism to set the default speed control policy
mod - rts/Game/Game.cpp Diff ] File ]
mod - rts/Game/GameServer.cpp Diff ] File ]
mod - rts/Game/UnsyncedGameCommands.cpp Diff ] File ]
mod - rts/System/BaseNetProtocol.cpp Diff ] File ]
mod - rts/System/BaseNetProtocol.h Diff ] File ]