Server - Pregame
Posted: 07 Dec 2006 17:53
Okay...
We have an initial signal which say "Okay server, start setting up the game please" (this could be just through running TEServer.exe or whatnot)
Should this be {scripted or a GUI} on the {server or client} side.
Who gets the say on the overall game options? Everyone or just one person?
The server has now been set up and has to wait for people to join.
The initiator, or someone else, gets options as to the specifics of the games options. (Map details, general options, etc)
People join and choose their individual options.
Everyone clicks "okay", and/or the initiator says "force start the game"
A signal has been sent which says "Okay server, the options are all in, the players are all nomiated, lets start the game" (The options may specify that people are allowed to join after the game has proceeded, etc)
iterate through all players
{
Send Data (send what?)
- the map perhaps?
- the game options?
}
Wait for x seconds and/or
Wait for signal that everyone has got the map/etc
Start the game...
Okay...so how should everything BEFORE the game starts be handled?
We have an initial signal which say "Okay server, start setting up the game please" (this could be just through running TEServer.exe or whatnot)
Should this be {scripted or a GUI} on the {server or client} side.
Who gets the say on the overall game options? Everyone or just one person?
The server has now been set up and has to wait for people to join.
The initiator, or someone else, gets options as to the specifics of the games options. (Map details, general options, etc)
People join and choose their individual options.
Everyone clicks "okay", and/or the initiator says "force start the game"
A signal has been sent which says "Okay server, the options are all in, the players are all nomiated, lets start the game" (The options may specify that people are allowed to join after the game has proceeded, etc)
iterate through all players
{
Send Data (send what?)
- the map perhaps?
- the game options?
}
Wait for x seconds and/or
Wait for signal that everyone has got the map/etc
Start the game...
Okay...so how should everything BEFORE the game starts be handled?