FAF Client-Server

Post here if you want to help developing something for FAF.

FAF Client-Server

Postby johndoe » 31 Mar 2019, 16:57

hi, I played like 100 FAF games and P2P gaming just blows nowadays.

What's the reason behind *not* doing client-server with a possibility to reconnect if player loses connectivity?
johndoe
 
Posts: 1
Joined: 31 Mar 2019, 16:51
Has liked: 0 time
Been liked: 0 time
FAF User Name: cowandchicken

Re: FAF Client-Server

Postby Viba » 31 Mar 2019, 17:07

In regular FPS shooters and such, simulation is run on the server, for SupCom the simulation runs client side. We do have "player-server-player" connectivity via proxy, but that is currently quite unreliable.

ICE has been WIP for quite some time now, once finished and publicly released should help connectivity issues remarkably. Latest ICE tests I've done have been a bliss compared to the current state of connectivity.

These are fairly old but offer some insight into ICE if you are interested:
- Killing connection problems - once and for all?
- Progress on ICE implementation
Viba
Councillor - Moderation
 
Posts: 746
Joined: 22 Jan 2015, 21:42
Has liked: 144 times
Been liked: 224 times
FAF User Name: !smurfcheck Viba

Re: FAF Client-Server

Postby PhilipJFry » 31 Mar 2019, 17:38

the game is not written to support server side simulation and changing that would require a lot of work
not to mention that doing all calculation on the server side would shift 99% of the computation effort on the server which would result in a massive cost increase

as gieb already mentioned - improvements regarding connectivity (especially reconnecting) are on the way
cats>dogs
post logs
User avatar
PhilipJFry
Supreme Commander
 
Posts: 2635
Joined: 23 Mar 2016, 21:16
Location: Austria
Has liked: 232 times
Been liked: 348 times
FAF User Name: PhilipJFry

Re: FAF Client-Server

Postby H-master » 05 Apr 2019, 16:27

PhilipJFry wrote:the game is not written to support server side simulation and changing that would require a lot of work
not to mention that doing all calculation on the server side would shift 99% of the computation effort on the server which would result in a massive cost increase

as gieb already mentioned - improvements regarding connectivity (especially reconnecting) are on the way


Let's say it was magically possible to change the code to run server side, wouldn't it be possible then to use one of the players pc in a game a the server?

The game isn't that heavy anymore and with a good internet connection it might be possible.
Check out my maps here:

Madness 1 - 7

viewtopic.php?f=53&t=17241&p=172070#p172070
User avatar
H-master
Avatar-of-War
 
Posts: 108
Joined: 10 Apr 2013, 17:04
Location: Netherlands
Has liked: 54 times
Been liked: 6 times
FAF User Name: H-master

Re: FAF Client-Server

Postby Katharsas » 06 Apr 2019, 16:02

H-master wrote:
PhilipJFry wrote:the game is not written to support server side simulation and changing that would require a lot of work
not to mention that doing all calculation on the server side would shift 99% of the computation effort on the server which would result in a massive cost increase

as gieb already mentioned - improvements regarding connectivity (especially reconnecting) are on the way


Let's say it was magically possible to change the code to run server side, wouldn't it be possible then to use one of the players pc in a game a the server?

The game isn't that heavy anymore and with a good internet connection it might be possible.


Whats the point? You would still have connections problems (between host and others), which means you still would need ICE in the long run, which we will get anyway.

Only it would be worse because the hosting player would be able to kick players from running games by closing his connection to them and he would be also able to cheat (like proper simulation altering cheats), since the game simulation of the host would be the only source of thruth.

Then on top of that you would have to deal with the nightmare that a host migration would be (when host leaves the game), leading to probably MORE problems than there are right now.

There is a reason why competitive games with this networking model get shit on regularly (see some call of duty games).
Katharsas
Avatar-of-War
 
Posts: 164
Joined: 29 May 2015, 21:44
Has liked: 22 times
Been liked: 34 times
FAF User Name: Katharsas

Re: FAF Client-Server

Postby H-master » 06 Apr 2019, 17:21

Katharsas wrote:
H-master wrote:
PhilipJFry wrote:the game is not written to support server side simulation and changing that would require a lot of work
not to mention that doing all calculation on the server side would shift 99% of the computation effort on the server which would result in a massive cost increase

as gieb already mentioned - improvements regarding connectivity (especially reconnecting) are on the way


Let's say it was magically possible to change the code to run server side, wouldn't it be possible then to use one of the players pc in a game a the server?

The game isn't that heavy anymore and with a good internet connection it might be possible.


Whats the point? You would still have connections problems (between host and others), which means you still would need ICE in the long run, which we will get anyway.

Only it would be worse because the hosting player would be able to kick players from running games by closing his connection to them and he would be also able to cheat (like proper simulation altering cheats), since the game simulation of the host would be the only source of thruth.

Then on top of that you would have to deal with the nightmare that a host migration would be (when host leaves the game), leading to probably MORE problems than there are right now.

There is a reason why competitive games with this networking model get shit on regularly (see some call of duty games).


Alright, I was just wondering.

Do you know when ICE will be implemented?
Check out my maps here:

Madness 1 - 7

viewtopic.php?f=53&t=17241&p=172070#p172070
User avatar
H-master
Avatar-of-War
 
Posts: 108
Joined: 10 Apr 2013, 17:04
Location: Netherlands
Has liked: 54 times
Been liked: 6 times
FAF User Name: H-master

Re: FAF Client-Server

Postby Geosearchef » 06 Apr 2019, 17:55

00110001 00110101 00110101 00110101 00110110 00110001 00110000 00110100 00110000 00110000
Developer, Server Admin, ICE, currently working on Team Matchmaking, FAF Client
User avatar
Geosearchef
Contributor
 
Posts: 392
Joined: 18 Oct 2013, 14:08
Location: Germany
Has liked: 6 times
Been liked: 127 times
FAF User Name: Geosearchef

Re: FAF Client-Server

Postby Katharsas » 09 Apr 2019, 23:06

H-master wrote:Alright, I was just wondering.

Do you know when ICE will be implemented?


Feel free to join our ICE test games (check out the channel #ice-testing on the Discord) to get more infos / help with testing :)
Katharsas
Avatar-of-War
 
Posts: 164
Joined: 29 May 2015, 21:44
Has liked: 22 times
Been liked: 34 times
FAF User Name: Katharsas


Return to Contributors

Who is online

Users browsing this forum: No registered users and 1 guest