server
server copied to clipboard
Game launch message should include the faf version
On patch day there will be desyncs as people are playing with different versions of the game. It would be good to have the version included in the game launch message to avoid this.
Not a big issue as it happens rarely.
is the server able to figure out the faf version or do the clients have to send the used version?
Right now the Server is not aware that such thing as versions even exist. The clients take care of that themselves. The information is available in the database but it's not very straightforward due to a very weird table setup.
I think we actually used to send some sort of version numbers in either game_launch or game_info a few years ago but I removed it at some point. It wasn’t very robust though because it was just caching the version in memory and only checking the database every 10 minutes. Probably getting it from the host would make more sense.