network_server.c
Tue, 03 Oct 2006 16:25:03 +0000 peter1138 (svn r6629) - Fix (r6628): One check for the number of players got misplaced by patch...
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.
Tue, 03 Oct 2006 14:59:05 +0000 peter1138 (svn r6625) - Feature: Add the ability for servers to execute a script just after a client has connected, e.g. for a MOTD, etc.
Mon, 28 Aug 2006 06:21:48 +0000 tron (svn r6183) Move GetDrawStringPlayerColor() out of gfx.[ch]
Sun, 20 Aug 2006 19:05:28 +0000 rubidium (svn r6002) -Cleanup: remove the now redundant BASE_YEAR constant.
Sun, 20 Aug 2006 18:40:57 +0000 rubidium (svn r5999) -Feature: change the original date format to a 32 bits format based at the year 0.
Sun, 20 Aug 2006 12:09:32 +0000 truelight (svn r5974) -Codechange: added casts all around the place to make Windows 64bit happy (michi_cc)
Sat, 19 Aug 2006 10:00:30 +0000 truelight (svn r5946) -Add: merged the TGP branch to mainline. TGP adds:
Wed, 16 Aug 2006 11:39:55 +0000 rubidium (svn r5926) -Codechange: make _cur_year contain the full year, instead of the offset since 1920
Tue, 15 Aug 2006 15:18:03 +0000 rubidium (svn r5916) -Cleanup: use MIN_YEAR/MAX_YEAR for the year boundaries and BASE_YEAR when comparing _cur_year with a 'full' year.
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
Wed, 14 Jun 2006 13:22:30 +0000 tron (svn r5265) Replace a dozen bogus uses of strncmp() by strcmp()
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 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().
Sun, 02 Apr 2006 14:36:51 +0000 tron (svn r4243) Unbreak compilation
Sun, 02 Apr 2006 12:41:01 +0000 peter1138 (svn r4241) - Fix: Perform validation on the error number that a server receives from a client. An invalid value may cause the server to terminate.
Tue, 21 Mar 2006 21:07:50 +0000 Darkvater (svn r3997) - Default the patch-setting 'pause_on_join' to true.
Thu, 02 Mar 2006 02:22:15 +0000 Darkvater (svn r3726) - [6/6] Finalize conversion, finally save the patches struct.
Thu, 02 Mar 2006 00:32:48 +0000 Darkvater (svn r3721) - [3/4] Present the game with a unified structure for the configuration-ini, saveload, console and gui representations of the settings. From part 3 on, OpenTTD is once again compilable.
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.
Wed, 25 Jan 2006 19:14:50 +0000 Darkvater (svn r3430) - You can of course not join when there are more companies than the maximum set, not the other way around.
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, 05 Jan 2006 12:40:50 +0000 tron (svn r3365) Staticise 36 functions
Fri, 18 Nov 2005 23:41:03 +0000 bjarni (svn r3218) -Feature: Multiheaded train engines will now stay in the same train
Wed, 19 Oct 2005 19:38:35 +0000 Darkvater (svn r3067) - Feature: allow unbanning players based on banlist-id (as well as IP).
Sun, 28 Aug 2005 12:24:57 +0000 tron (svn r2899) -Fix: Several format string vulnerabilities and buffer overflows in the network code
Sun, 07 Aug 2005 10:03:14 +0000 tron (svn r2828) Only command.c needs to know about _docommand_recursive, so make it static. Tell me if there's a problem, because i removed it from network_server.c, but afaict it should be ok
Fri, 29 Jul 2005 21:55:49 +0000 ludde (svn r2755) Fix: Fix a desync issue with autoreplace
Tue, 26 Jul 2005 19:34:03 +0000 tron (svn r2720) Remove unused declarations and definitions
Tue, 26 Jul 2005 18:47:04 +0000 tron (svn r2716) Do not use strncat()
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
Fri, 22 Jul 2005 06:31:31 +0000 tron (svn r2672) Move saving/loading related declarations to saveload.h
Thu, 21 Jul 2005 22:15:02 +0000 tron (svn r2669) Shuffle some more stuff around to reduce dependencies
Sat, 16 Jul 2005 15:05:52 +0000 ludde (svn r2591) Codechange: [network] Cleanup NetworkHandleCommandQueue
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
Tue, 05 Jul 2005 17:47:10 +0000 celestar (svn r2521) -Codechange: Removed trailing "\n"s from DEBUG statements
Tue, 21 Jun 2005 16:28:17 +0000 celestar (svn r2468) -Codechange: Got rid of DEREF_PLAYER and replaced it by GetPlayer
Tue, 17 May 2005 18:22:59 +0000 Darkvater (svn r2339) - Fix: on a dedicated server, after the joining of a player, the player was set to player 0 instead of remaining OWNER_SPECTATOR. Fix this, and allow the dedicated server to execute commands (so 'patch <value>') now works and not only when a client is connected.
Sun, 15 May 2005 18:50:55 +0000 tron (svn r2324) Introduce _cmd_text for passing strings with a command instead of abusing _decode_parameters as text buffer. This should prevent several possible buffer overruns and is a bit cleaner to use. As bonus it reduces the size of most command packets by 79 bytes.
Sat, 14 May 2005 19:34:59 +0000 Darkvater (svn r2309) - CodeChange: Change all _iconsole_color_whatever into _icolour_wtv (abbreviated). Besides the changed into proper english, yes this commit is pretty useless ;)
Sat, 14 May 2005 19:25:18 +0000 Darkvater (svn r2308) - Fix: enforce server-only and/or offline commands by giving them flags in the process table. This also fixes bug "[ 1190944 ] Many commands not checked for security"
Thu, 12 May 2005 00:20:16 +0000 Darkvater (svn r2299) - Fix: add more verbose output to possible hack-attempt.
Mon, 02 May 2005 23:59:11 +0000 matthijs (svn r2256) - Fix: Trains cannot find a depot when they are in a tunnel. (glx)
Tue, 29 Mar 2005 19:10:13 +0000 truelight (svn r2106) -Fix: improved the network-join algoritm, it is now a bit more stable
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 20:23:18 +0000 tron (svn r1594) Convert all undefined parameter lists to (void) and add the appropriate warning flags in the Makefile
Wed, 19 Jan 2005 19:15:03 +0000 bjarni (svn r1568) made an enum of train subtypes to make the code more readable
Sun, 16 Jan 2005 17:19:37 +0000 truelight (svn r1546) -Fix: possible buffer-overflow in network
Sat, 15 Jan 2005 20:09:16 +0000 truelight (svn r1527) -Add: RCon (Remote Connection). A server can set:
Sat, 15 Jan 2005 01:52:23 +0000 darkvater (svn r1518) -Fix: server issue where some company names were wrong
Fri, 14 Jan 2005 21:47:35 +0000 truelight (svn r1510) -Add: Improved Network Lobby GUI: (bociusz)
Mon, 10 Jan 2005 14:43:00 +0000 darkvater (svn r1465) -Fix: [1099101] starting year patch goes out of range. Clamped year between 1920-2090 as wel as adding defines for it.