summaryrefslogtreecommitdiff
path: root/src/net_server.c
AgeCommit message (Collapse)Author
2008-02-21Shut up compile warning.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1087
2008-02-17Add command line option for server to allow client version checking toSimon Howard
be disabled. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1086
2007-08-09Remove debugging message.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 956
2007-08-09Disconnect any remaining drones when the last real player quits.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 954
2007-04-16Fix crash: don't check for client resends after they have disconnected.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 870
2006-11-16Display lowres turning warning message client-side, not throughSimon Howard
server-side broadcast messages. This avoids the possibility of malicious servers that might not send the message. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 755
2006-10-18Strip out CVS logs, RCS Id tags.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 704
2006-10-14Display drone indicator on the netgame waiting screen if drones are connected.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 699
2006-10-14Display a different message from the normal WAD directory warning ifSimon Howard
players are mixing Freedoom/Original IWADs. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 698
2006-10-11Shut up compiler warnings.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 694
2006-10-06Send deh/wad md5sums to players at the waiting screen. Display a warningSimon Howard
on the waiting screen if the checksums differ from the other players. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 689
2006-10-06Send deh/wad checksums to the server when connecting.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 688
2006-10-05Prevent against deadlock where client and server are both stuck waitingSimon Howard
for each other to send data. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 685
2006-09-30Make the server stop sending if one of the clients stops acknowledging.Simon Howard
Fix check on number of players on connect. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 682
2006-09-29Working drone clients!Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 680
2006-09-21Fix a lot of warnings (for fussy compilers) and one always-true checkRussell Rice
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 641
2006-09-17Split off query data into a net_querydata_t structure in net_structrw.cSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 612
2006-04-06Add the ability to query the current state of servers, and '-query'Simon Howard
command line option to do so. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 464
2006-04-06Sanity check data received by the server. Send version string earlierSimon Howard
in SYN packets to allow the fields that follow to be changed later on if necessary. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 461
2006-04-01Don't add modules to the server context until after they have been Simon Howard
initialised - avoids crash when bombing out in the init function Subversion-branch: /trunk/chocolate-doom Subversion-revision: 460
2006-03-30When all players leave a server, start accepting new connections again.Simon Howard
This lets people run proper dedicated servers. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 457
2006-03-30Split off timer code into separate i_timer.c file. Add d_dedicated.cSimon Howard
and build chocolate-server, a standalone dedicated server. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 455
2006-03-30Remove hard-coded use of network modules from server code.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 453
2006-03-24Adjust anti-CPU-hogging sleep times.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 440
2006-03-07Store the reason when a connection is disconnected, and display a Simon Howard
message indicating when clients time out from the server. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 412
2006-03-07Generic console message mechanism. Inform all players when recordingSimon Howard
a low-res demo. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 410
2006-03-06Give a server-side warning when recording low resolution demos.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 409
2006-02-27Working client sync: adjust the clock to try to match the latency of other Simon Howard
players. Allow the menu ticker to run even if the main game ticker doesn't run. Remove time request/response code (now using game latency). Subversion-branch: /trunk/chocolate-doom Subversion-revision: 394
2006-02-24Fix -extraticsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 389
2006-02-24Only advance the receive window if we have received ticcmds from allSimon Howard
connected players. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 387
2006-02-23Free back packets sent to the server after parsing themSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 384
2006-02-23Fix crash when NOT recording lowresSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 380
2006-02-23Add lowres_turn to indicate whether we generate angleturns which areSimon Howard
8-bit as opposed to 16-bit. This is used when recording demos without -longtics enabled. Sync this option between clients in a netgame, so that if one player is recording a Vanilla demo, all clients record in lowres. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 378
2006-02-23Fix bugs in resend code for server->client dataSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 377
2006-02-22Packet resends for server->client gamedataSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 375
2006-02-19Move tic number expansion code to common code. Parse game data packetsSimon Howard
received from the server. Strip down d_net.[ch] to work through the new networking code. Remove game sync code. Remove i_net.[ch] as it is no longer needed. Working networking! Subversion-branch: /trunk/chocolate-doom Subversion-revision: 374
2006-02-17Remove debug codeSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 372
2006-02-17Full working resends for client->server commsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 371
2006-02-17Request resends for missed packetsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 370
2006-02-16Define a new type net_full_ticcmd_t, a structure containing all ticcmdsSimon Howard
for a given tic. Store received game data in a receive window. Add send queues for clients and add data from the receive window to generate complete sets of ticcmds. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 369
2006-01-22Periodically request the time from clients to estimate their offset toSimon Howard
the server time. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 323
2006-01-21Add first game data sending code. Check the client version when connecting.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 312
2006-01-12Only start new games when in the waiting-for-start state.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 285
2006-01-12Game start packetsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 284
2006-01-10Reliable packet transport mechanismSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 279
2006-01-09Send clients their player number, and indicate on the waiting screenSimon Howard
which client we are. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 278
2006-01-09Deduce a sane player name by examining environment variables. AddSimon Howard
a "player_name" setting to chocolate-doom.cfg. Transmit the name to the server and use the names players send in the waiting data list. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 277
2006-01-08Reject new connections if the server is not in the waiting state.Simon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 270
2006-01-08Allow the server to reject clientsSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 268
2006-01-08Fix packet sendSimon Howard
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 266