network.c
Tue, 03 Oct 2006 16:15:34 +0000 peter1138 (svn r6628) - Feature: Add the ability to pause a server if not enough players are connected. The setting for this is 'min_players' and can be set in the config and via the console. If the number of players drops below this number, the server will pause the game.
Sun, 27 Aug 2006 10:49:43 +0000 Darkvater (svn r6170) -Feature: save max_companies/clients/spectators in the config file.
Wed, 16 Aug 2006 12:07:24 +0000 rubidium (svn r5928) -Cleanup: remove ConvertIntDate and use ConvertYMDToDate as ConvertIntDate was only called with Years.
Tue, 15 Aug 2006 14:52:17 +0000 rubidium (svn r5915) -Cleanup: some variables were named *_date while they were only holding years; rename these variables to match this.
Mon, 14 Aug 2006 14:21:15 +0000 rubidium (svn r5887) -Cleanup: move date related functions, defines and variables to date.[ch]
Tue, 27 Jun 2006 21:25:53 +0000 tron (svn r5391) Miscellaneous, mostly bracing and whitespace, nothing spectacular
Sat, 17 Jun 2006 14:11:26 +0000 tron (svn r5298) Hide function declarations and remove function stubs which aren't needed in the !ENABLE_NETWORK case
Sat, 17 Jun 2006 13:25:22 +0000 tron (svn r5297) Check the interface flags if IFF_BROADCAST is set before asking for the broadcast address
Sat, 17 Jun 2006 12:11:17 +0000 tron (svn r5295) Handle a quirk in the Windows interface detection code and fix a typo in r5293 (thanks to Darkvater for testing)
Sat, 17 Jun 2006 10:24:20 +0000 tron (svn r5293) -Fix: Not all network interfaces are capable of broadcasting. Don't record those which aren't
Sat, 17 Jun 2006 08:16:58 +0000 tron (svn r5292) -Fix: When using SIOCGIFCONF to detect network interfaces accomodate for the fact that struct sockaddr doesn't have fixed size in all implementations
Sat, 10 Jun 2006 08:37:41 +0000 tron (svn r5210) Many small changes which piled up: const, unsigned, variable scope, CSE for readability, DeMorgan, if cascades -> switch, whitespace, parentheses, bracing, misc.
Sat, 22 Apr 2006 09:46:31 +0000 Darkvater (svn r4521) - Fix: be consistent about the size of the player-name in MP. This hopefully fixes a crash on lesser OS's (eg Win98). Use ttd_strlcpy() to just copy over strings and properly terminate them because different implementations of snprintf() behave differently. Courtesy of TrueLight
Mon, 03 Apr 2006 19:09:20 +0000 Darkvater (svn r4268) - Delete the network-copy of the Patches struct as it is not needed anymore. All relevant patch-settings that are changed by a network-game are those that are saved with a savegame, so these are not affected for loaded games (since Patches are saved with them). Also there is a distinction between in-game patch settings and default patch settings and this is not affected in MP. Thus this temp copy can be removed.
Mon, 03 Apr 2006 18:31:01 +0000 Darkvater (svn r4267) - Fix (r4241): also validate the error number that a client receives from a server, and encapsulate this functionality into GetNetworkErrorMsg().
Wed, 01 Feb 2006 07:36:15 +0000 tron (svn r3511) More whitespace ([FS#46] by Rubidium)
Tue, 31 Jan 2006 22:16:15 +0000 Darkvater (svn r3500) - Workaround the inaccurate count of spectators/companies that can happen in certain border-cases. For now just dynamically get this value when requested so it is always right. To do properly all player/client creation/destruction needs a hook for networking.
Sun, 29 Jan 2006 18:34:43 +0000 Darkvater (svn r3470) - Fix: plug a memleak in _network_host_list.
Wed, 25 Jan 2006 19:03:50 +0000 Darkvater (svn r3429) - Feature (Followup): Change the gamelist window to accomodate for the new information.
Wed, 25 Jan 2006 18:11:06 +0000 Darkvater (svn r3427) - Feature: Allow seeing and setting the maximum amount of companies and spectators for a server. This can be changed/viewed during runtime as well in the console.
Thu, 19 Jan 2006 17:50:40 +0000 peter1138 (svn r3409) - Change the server advertisement interval to use the frame counter instead
Thu, 19 Jan 2006 15:58:57 +0000 Darkvater (svn r3407) - Feature: Kick and ban now with IP numbers.
Mon, 14 Nov 2005 19:48:04 +0000 tron (svn r3181) -Bracing
Sun, 28 Aug 2005 12:24:57 +0000 tron (svn r2899) -Fix: Several format string vulnerabilities and buffer overflows in the network code
Fri, 29 Jul 2005 21:55:49 +0000 ludde (svn r2755) Fix: Fix a desync issue with autoreplace
Sun, 24 Jul 2005 14:12:37 +0000 tron (svn r2701) Insert Id tags into all source files
Fri, 22 Jul 2005 07:02:20 +0000 tron (svn r2673) Include functions.h directly, not globally via openttd.h
Thu, 21 Jul 2005 18:44:27 +0000 tron (svn r2663) Include variables.h only in these files which need it, not globally via openttd.h
Sat, 16 Jul 2005 14:29:36 +0000 ludde (svn r2590) Fix: [network] Fixed NetworkHandleLocalQueue
Sat, 16 Jul 2005 12:59:23 +0000 ludde (svn r2589) Fix: [network] Fixed static variable that wasn't initialized. Would stop the sync checking from working in some cases.
Sat, 16 Jul 2005 12:30:03 +0000 ludde (svn r2588) Codechange: Remove PLAYER_SEED_RANDOM
Fri, 15 Jul 2005 20:29:06 +0000 ludde (svn r2583) Move OS specific code out of misc.c
Thu, 14 Jul 2005 09:43:59 +0000 ludde (svn r2564) Fix: Fixed conceptual issue in network_gui.c. AllocateName is not meant to be used by GUI-code, because it modifies the "game-state".
Sat, 04 Jun 2005 07:35:12 +0000 tron (svn r2405) Simplify a few '? true : false' and '? false : true', especially the latter is confusing
Tue, 17 May 2005 16:01:19 +0000 truelight (svn r2337) -Fix: NetworkUDPRemoveAdvertise wasn't fully correct (which made Darkvater go crazy ;))
Mon, 02 May 2005 15:52:19 +0000 Darkvater (svn r2243) -Fix: Rework of console. Use 'help command|variable' to get help about it. You can assign variables with =, ++, --, or just new value. Console parser is now lenient towards typed spaces, and more robust in general (at least readable). Removed the 'set' command, instead implemented all such variables as 'variables'.
Wed, 06 Apr 2005 18:44:34 +0000 Darkvater (svn r2157) - Feature (request): [ 1166978 ] Focus keyboard on input-box in Multiplayer Menu
Sat, 02 Apr 2005 15:08:31 +0000 Darkvater (svn r2126) - Fix: #2 Fix compilation with network disabled, and comment out some of the warnings (unused function) (I missed this out the last commit, sorry)
Wed, 30 Mar 2005 08:50:34 +0000 truelight (svn r2108) -Fix: the server now also unpause when a client desyncs or something
Tue, 29 Mar 2005 19:10:13 +0000 truelight (svn r2106) -Fix: improved the network-join algoritm, it is now a bit more stable
Wed, 09 Mar 2005 11:49:34 +0000 tron (svn r1970) Fix some warnings which Cygwin showed
Mon, 07 Feb 2005 09:56:16 +0000 tron (svn r1836) Clean up some strange constructs concerning socket options
Sun, 06 Feb 2005 22:25:27 +0000 tron (svn r1833) byte -> char transition: the rest
Sun, 06 Feb 2005 13:41:02 +0000 tron (svn r1821) Move generic string handling functions to string.[ch] and introduce stre{cpy,cat}, see string.h for their semantics
Sun, 06 Feb 2005 08:18:00 +0000 tron (svn r1813) Declare functions implemented in strings.c in their own shiny new header (though i think some of these function don't belong into strings.c)
Sat, 05 Feb 2005 15:58:59 +0000 tron (svn r1803) Move debugging stuff into files of it's own
Sat, 22 Jan 2005 22:47:58 +0000 tron (svn r1596) Add some more statics
Sat, 22 Jan 2005 20:23:18 +0000 tron (svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Sat, 15 Jan 2005 20:09:16 +0000 truelight (svn r1527) -Add: RCon (Remote Connection). A server can set:
Fri, 14 Jan 2005 19:44:42 +0000 tron (svn r1509) Const correctness and add static where appropriate while touching the lines anyway
Sun, 09 Jan 2005 21:25:44 +0000 tron (svn r1451) Fix some of the signed/unsigned comparison warnings
Wed, 05 Jan 2005 14:39:48 +0000 truelight (svn r1389) -Add: [Network] Added packet protection. No longer a client or server
Wed, 05 Jan 2005 09:59:45 +0000 dominik (svn r1381) Fix: [ 1095143 ] Servers list now also saves the port
Mon, 03 Jan 2005 18:59:58 +0000 tron (svn r1344) Use MapSize[XY]() (or MapSize()/MapMax[XY]() where appropriate) instead of TILES_[XY]
Sun, 02 Jan 2005 12:03:43 +0000 truelight (svn r1322) -Add: banning system (mostly tnx to guru3)
Wed, 29 Dec 2004 13:13:29 +0000 miham (svn r1297) Language fixes in the source.. (ln-)
Wed, 22 Dec 2004 23:24:53 +0000 darkvater (svn r1239) -Feature: Added gui option of setting company password. It can be found in the 'company information' window
Wed, 22 Dec 2004 21:12:36 +0000 bjarni (svn r1236) MorphOS: added make release like in OSX (tokai)
Wed, 22 Dec 2004 18:56:52 +0000 truelight (svn r1228) -Add: [Network] When a server normally shuts down, it removed itself
Wed, 22 Dec 2004 18:42:56 +0000 truelight (svn r1227) -Add: Ingame Server-list (select Internet, then Find Servers)