log src/network/network_client.cpp @ 20681:eda0607222af draft

age author description
Tue, 08 Jan 2013 22:46:42 +0000 planetmaker (svn r24900) -Fix [FS#5389]: Comments with typos (most fixes supplied by Eagle_rainbow) draft
Tue, 17 Jan 2012 17:27:38 +0000 rubidium (svn r23817) -Fix [FS#4962]: desync due to different NewGRF version. So reduce the chance that it happens significantly with betas/RCs/nightlies by doing the same as is done for stable releases: check the NewGRF version of server vs client. draft
Sun, 15 Jan 2012 12:56:13 +0000 yexo (svn r23802) -Fix [FS#4968] (r23601): game lobby gui not updated when new company information becomes available draft
Mon, 09 Jan 2012 21:22:48 +0000 truebrain (svn r23780) -Fix [FS#4963] (r23764): also name the two new errors server-side. As extra, split up one of the errors in 3 errors, to be more specific what goes wrong. As cherry on top, make sure on all sides we can never again forget to add such entries on both sides, by introducing an assert_compile() draft
Fri, 06 Jan 2012 21:49:06 +0000 rubidium (svn r23764) -Fix [FS#4955]: make default timeouts for certain states lower and configurable draft
Tue, 03 Jan 2012 21:32:51 +0000 rubidium (svn r23740) -Codechange: remove some 300 unneeded includes from the .cpp files draft
Mon, 19 Dec 2011 20:50:21 +0000 truebrain (svn r23601) -Fix: fix the conflict in window number draft
Sat, 10 Dec 2011 15:16:58 +0000 rubidium (svn r23476) -Codechange: use the error queue to replace switch mode error strings, again making it possible to return multiple errors draft
Sat, 10 Dec 2011 15:14:11 +0000 rubidium (svn r23475) -Codechange: queue critical error messages, so when multiple happen you won't miss any draft
Sat, 10 Dec 2011 13:54:10 +0000 rubidium (svn r23474) -Codechange: move the declaration error related functions to error.h draft
Sun, 21 Aug 2011 18:57:45 +0000 rubidium (svn r22805) -Codechange: move use of magic number for version checking to more logical location draft
Wed, 04 May 2011 20:24:23 +0000 rubidium (svn r22423) -Document: some network stuff draft
Sun, 01 May 2011 11:30:03 +0000 rubidium (svn r22400) -Codechange: replace some defines in the tcp/game code so doxygen can create better documentation draft
Sat, 30 Apr 2011 17:41:14 +0000 rubidium (svn r22387) -Fix-ish [FS#4601]: Windows' recv seems to return "graceful closed" before having passed the remaining buffer which causes OpenTTD to think all connections are "incorrectly" terminated, i.e. without the "I'm leaving" packet from the client. So let the client wait a tiny bit after sending the "I'm leaving" packet and before gracefully closing the connection draft
Fri, 22 Apr 2011 15:57:05 +0000 rubidium (svn r22364) -Codechange: don't show the (unknown) client address in the client list at clients draft
Fri, 22 Apr 2011 15:54:16 +0000 rubidium (svn r22362) -Codechange: NetworkFindClientInfoFromClientID -> NetworkClientInfo::GetByClientID draft
Sat, 09 Apr 2011 21:52:38 +0000 rubidium (svn r22308) -Fix [FS#4574]: waiting on a server could kick the client, or rather the client would kick itself due to an unexpected packet draft
Sun, 27 Feb 2011 11:38:28 +0000 terkhen (svn r22154) -Fix [FS#4529]: _current_company was modified when moving a client to spectators, causing issues in bankruptcy (Rubidium) draft
Fri, 11 Feb 2011 22:10:10 +0000 rubidium (svn r22063) -Change: make the "has network" check also check whether the client is actually fully connected draft
Tue, 08 Feb 2011 21:45:38 +0000 rubidium (svn r22031) -Fix: bad servers could crash a client draft
Sat, 22 Jan 2011 14:52:20 +0000 rubidium (svn r21890) -Cleanup: remove some unneeded includes draft
Fri, 21 Jan 2011 01:38:30 +0000 smatz (svn r21875) -Codechange: indentation of some comments was wrong draft
Wed, 19 Jan 2011 16:47:40 +0000 rubidium (svn r21854) -Codechange: refactor the password setting methods to make it possible to change the password of other companies (on the server) draft
Wed, 19 Jan 2011 16:35:11 +0000 rubidium (svn r21852) -Codechange: generalise GenerateCompanyPasswordHash (dihedral) draft
Wed, 19 Jan 2011 16:32:23 +0000 rubidium (svn r21851) -Codechange: rename NetworkClientSetPassword to NetworkClientSetCompanyPassword (dihedral) draft
Wed, 19 Jan 2011 16:30:09 +0000 rubidium (svn r21850) -Codechange: move password hashing to a more general location (dihedral) draft
Mon, 03 Jan 2011 12:01:41 +0000 rubidium (svn r21701) -Codechange: ConsoleColour = TextColour, so make it that way and remove some unneeded casts draft
Sat, 01 Jan 2011 21:41:01 +0000 smatz (svn r21693) -Codechange: no need to cast char[] to const uint8* draft
Sat, 01 Jan 2011 21:39:52 +0000 smatz (svn r21692) -Cleanup: remove unused extern declaration of HashCurrentCompanyPassword(), make it static draft
Sat, 01 Jan 2011 21:38:13 +0000 smatz (svn r21691) -Codechange: make sure GenerateCompanyPasswordHash() behaves deterministically when/if the value of NETWORK_SERVER_ID_LENGTH is changed draft
Sat, 01 Jan 2011 17:02:29 +0000 smatz (svn r21687) -Fix: verify the colour code we received from the server is valid draft
Sun, 05 Dec 2010 15:08:41 +0000 rubidium (svn r21401) -Fix: ofcourse MSVC x64 has something to complain about... draft
Sun, 05 Dec 2010 14:49:46 +0000 rubidium (svn r21400) -Fix [FS#4284]: when loading a savegame takes more than 2 seconds locally, don't see that as lag of the server. Also increase the client side's lag thresholds a bit draft
Sun, 05 Dec 2010 14:44:31 +0000 rubidium (svn r21397) -Change/Feature-ish: when getting a savegame from the server, just keep it in memory instead of writing it to a file draft
Sun, 05 Dec 2010 14:43:10 +0000 rubidium (svn r21396) -Codechange: rename SafeSaveOrLoad to SaveLoad (it only did load), and add support for (safe) loading with a LoadFilter draft
Sun, 05 Dec 2010 14:34:19 +0000 rubidium (svn r21392) -Change: prepare the network protocol for getting the file size later in the download process draft
Tue, 30 Nov 2010 14:18:20 +0000 rubidium (svn r21361) -Change: make sure the client is listening, or rather receiving, our frames draft
Tue, 30 Nov 2010 13:38:46 +0000 rubidium (svn r21358) -Codechange: make some network function names conform to coding style draft
Fri, 26 Nov 2010 22:25:02 +0000 rubidium (svn r21334) -Fix [FS#4271]: make (more) sure that the savegame and transferred file are the same file and not different ones draft
Fri, 19 Nov 2010 15:55:53 +0000 rubidium (svn r21256) -Fix [FS#4189]: Clients weren't always notified when the connection was lost draft
Sun, 24 Oct 2010 20:51:12 +0000 rubidium (svn r21033) -Codechange: be more strict with the packets a client accepts at a given moment draft
Sun, 24 Oct 2010 20:03:33 +0000 rubidium (svn r21029) -Codechange: split the map downloading packet + 3-state enum into 3 separate packets draft
Sun, 24 Oct 2010 16:40:02 +0000 rubidium (svn r21027) -Change/Fix: under some circumstances the file handle of the downloaded savegame wouldn't be closed, and validity of the handled wasn't checked in all cases draft
Fri, 22 Oct 2010 14:41:26 +0000 rubidium (svn r21008) -Change: don't make client reconnect waiting time depend on the company; in coop games that does not spread clients at all, and most companies have a low number causing it not to be spread out either. Use the ClientID instead. Based on a patch by dihedral. draft
Mon, 18 Oct 2010 20:41:53 +0000 rubidium (svn r20993) -Codechange: some shuffling of game protocol packet description so they're documented in the "same" place as UDP, content and admin packets (dihedral) draft
Sun, 17 Oct 2010 12:12:13 +0000 frosch (svn r20957) -Codechange: Add another parameter to FindGRFConfig() to define search restrictions. draft
Fri, 15 Oct 2010 19:33:08 +0000 rubidium (svn r20933) -Codechange: move some more client related methods and such to network_client.cpp draft
Fri, 15 Oct 2010 18:42:52 +0000 rubidium (svn r20929) -Codechange: make NetworkCloseClient a class method draft
Fri, 15 Oct 2010 14:29:13 +0000 rubidium (svn r20925) -Codechange: make the client send commands have a slightly more sensible name draft
Fri, 15 Oct 2010 13:47:37 +0000 rubidium (svn r20924) -Codechange: make the game connection packet handling look more like UDP/content packet handling draft
Fri, 15 Oct 2010 13:22:00 +0000 rubidium (svn r20923) -Codechange: prepare creating sub-classes of NetworkClientSocket for server and client side draft
Thu, 19 Aug 2010 08:59:36 +0000 rubidium (svn r20553) -Feature: allow rate limiting of incoming commands draft
Wed, 18 Aug 2010 22:40:17 +0000 rubidium (svn r20549) -Codechange: centralise the handling of the incoming commands (from clients and the server) draft
Sun, 01 Aug 2010 18:53:30 +0000 rubidium (svn r20281) -Codechange: unify case scope closure + break coding style draft
Thu, 29 Jul 2010 14:26:28 +0000 terkhen (svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH). draft
Sat, 19 Jun 2010 16:37:56 +0000 rubidium (svn r19996) -Codechange: Add NetworkVehicleType enum. draft
Thu, 13 May 2010 09:04:41 +0000 rubidium (svn r19809) -Codechange: make some unnamed network related enums/defines static const variables draft
Tue, 20 Apr 2010 11:29:51 +0000 rubidium (svn r19680) -Fix [FS#3775] (r19648): when joining a MP game all clients with company ID > 0 would be shown as if they were a spectator draft
Sat, 17 Apr 2010 11:39:46 +0000 smatz (svn r19651) -Fix [FS#3745]: when a company is sold, move connected clients to spectators draft
Sat, 17 Apr 2010 10:52:26 +0000 rubidium (svn r19648) -Fix [FS#3760]: a client would not be properly moved when moved while joining, e.g. when entering a company's password. This caused the client to be in the wrong company (according to the rest of the clients) and the client being kicked on the first command draft