network.c
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)
Tue, 21 Dec 2004 16:56:43 +0000 truelight (svn r1202) -Fix: removed unused variable
Mon, 20 Dec 2004 22:14:39 +0000 dominik (svn r1194) Feature: You can now add and remove servers from the server list. Those will be remembered until you delete them by pressing the Delete key.
Mon, 20 Dec 2004 16:02:01 +0000 truelight (svn r1186) -Fix: [Network] You can now join a company on a server where a company
Mon, 20 Dec 2004 15:25:39 +0000 truelight (svn r1184) -Fix: [Network] %p as chat message no longer gives funny result (tnx to
Sun, 19 Dec 2004 15:14:55 +0000 truelight (svn r1174) -Fix: [Network] All strings can now be translated (no more hardcoded strings)
Sun, 19 Dec 2004 10:17:26 +0000 truelight (svn r1168) -Cleanup: [Network] Cleaned the network code a bit. Added 'const'
Sat, 18 Dec 2004 18:58:03 +0000 dominik (svn r1162) The server list can now be automatically filled from the config file. Add a section [servers] with the addresses each in a new line. Those will be checked upon OpenTTD startup.
Thu, 16 Dec 2004 15:51:18 +0000 truelight (svn r1137) -Fix: [Network] Replaces all strncpy with ttd_strlcpy.. windows really
Thu, 16 Dec 2004 11:04:43 +0000 truelight (svn r1124) -Fix: [Network] Also the server now has the option Give Money in
Wed, 15 Dec 2004 22:18:54 +0000 tron (svn r1117) Move map arrays and some related macros into their own files map.c and map.h
Wed, 15 Dec 2004 21:54:07 +0000 truelight (svn r1113) -Add: [Network] Added the GUI part for server advertising. When you go
Wed, 15 Dec 2004 20:10:34 +0000 truelight (svn r1106) -Add: [Network] Added master-server protocol and advertise to
Wed, 15 Dec 2004 16:51:55 +0000 darkvater (svn r1098) -Fix: server without revision build doesn't care about the client's version. Also moved all revision things where it belongs (network.c)
Wed, 15 Dec 2004 15:19:51 +0000 truelight (svn r1096) -Fix: [Network] PlayAs is now registered correctly
Wed, 15 Dec 2004 00:31:08 +0000 darkvater (svn r1093) -Fix: Hopefully fixed windows revision issues once and for all. Removed globalness of _openttd_revision and put all such ifdefs into one place. If server has a revision only the same revisions can join; if the server has no revision everyone can join. I reckon this should be a server-side option to allow people to join or not to join.
Tue, 14 Dec 2004 20:27:00 +0000 truelight (svn r1090) -Fix: Made the _openttd_revision variable global, and with that