summaryrefslogtreecommitdiff
path: root/src/network/network_client.cpp
AgeCommit message (Collapse)Author
2011-02-11(svn r22063) -Change: make the "has network" check also check whether the ↵rubidium
client is actually fully connected
2011-02-08(svn r22031) -Fix: bad servers could crash a clientrubidium
2011-01-22(svn r21890) -Cleanup: remove some unneeded includesrubidium
2011-01-21(svn r21875) -Codechange: indentation of some comments was wrongsmatz
2011-01-19(svn r21854) -Codechange: refactor the password setting methods to make it ↵rubidium
possible to change the password of other companies (on the server)
2011-01-19(svn r21852) -Codechange: generalise GenerateCompanyPasswordHash (dihedral)rubidium
2011-01-19(svn r21851) -Codechange: rename NetworkClientSetPassword to ↵rubidium
NetworkClientSetCompanyPassword (dihedral)
2011-01-19(svn r21850) -Codechange: move password hashing to a more general location ↵rubidium
(dihedral)
2011-01-03(svn r21701) -Codechange: ConsoleColour = TextColour, so make it that way ↵rubidium
and remove some unneeded casts
2011-01-01(svn r21693) -Codechange: no need to cast char[] to const uint8*smatz
2011-01-01(svn r21692) -Cleanup: remove unused extern declaration of ↵smatz
HashCurrentCompanyPassword(), make it static
2011-01-01(svn r21691) -Codechange: make sure GenerateCompanyPasswordHash() behaves ↵smatz
deterministically when/if the value of NETWORK_SERVER_ID_LENGTH is changed
2011-01-01(svn r21687) -Fix: verify the colour code we received from the server is validsmatz
2010-12-05(svn r21401) -Fix: ofcourse MSVC x64 has something to complain about...rubidium
2010-12-05(svn r21400) -Fix [FS#4284]: when loading a savegame takes more than 2 ↵rubidium
seconds locally, don't see that as lag of the server. Also increase the client side's lag thresholds a bit
2010-12-05(svn r21397) -Change/Feature-ish: when getting a savegame from the server, ↵rubidium
just keep it in memory instead of writing it to a file
2010-12-05(svn r21396) -Codechange: rename SafeSaveOrLoad to SaveLoad (it only did ↵rubidium
load), and add support for (safe) loading with a LoadFilter
2010-12-05(svn r21392) -Change: prepare the network protocol for getting the file size ↵rubidium
later in the download process
2010-11-30(svn r21361) -Change: make sure the client is listening, or rather ↵rubidium
receiving, our frames
2010-11-30(svn r21358) -Codechange: make some network function names conform to coding ↵rubidium
style
2010-11-26(svn r21334) -Fix [FS#4271]: make (more) sure that the savegame and ↵rubidium
transferred file are the same file and not different ones
2010-11-19(svn r21256) -Fix [FS#4189]: Clients weren't always notified when the ↵rubidium
connection was lost
2010-10-24(svn r21033) -Codechange: be more strict with the packets a client accepts ↵rubidium
at a given moment
2010-10-24(svn r21029) -Codechange: split the map downloading packet + 3-state enum ↵rubidium
into 3 separate packets
2010-10-24(svn r21027) -Change/Fix: under some circumstances the file handle of the ↵rubidium
downloaded savegame wouldn't be closed, and validity of the handled wasn't checked in all cases
2010-10-22(svn r21008) -Change: don't make client reconnect waiting time depend on the ↵rubidium
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.
2010-10-18(svn r20993) -Codechange: some shuffling of game protocol packet description ↵rubidium
so they're documented in the "same" place as UDP, content and admin packets (dihedral)
2010-10-17(svn r20957) -Codechange: Add another parameter to FindGRFConfig() to define ↵frosch
search restrictions.
2010-10-15(svn r20933) -Codechange: move some more client related methods and such to ↵rubidium
network_client.cpp
2010-10-15(svn r20929) -Codechange: make NetworkCloseClient a class methodrubidium
2010-10-15(svn r20925) -Codechange: make the client send commands have a slightly more ↵rubidium
sensible name
2010-10-15(svn r20924) -Codechange: make the game connection packet handling look more ↵rubidium
like UDP/content packet handling
2010-10-15(svn r20923) -Codechange: prepare creating sub-classes of ↵rubidium
NetworkClientSocket for server and client side
2010-08-19(svn r20553) -Feature: allow rate limiting of incoming commandsrubidium
2010-08-18(svn r20549) -Codechange: centralise the handling of the incoming commands ↵rubidium
(from clients and the server)
2010-08-01(svn r20281) -Codechange: unify case scope closure + break coding stylerubidium
2010-07-29(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).terkhen
2010-06-19(svn r19996) -Codechange: Add NetworkVehicleType enum.rubidium
2010-05-13(svn r19809) -Codechange: make some unnamed network related enums/defines ↵rubidium
static const variables
2010-04-20(svn r19680) -Fix [FS#3775] (r19648): when joining a MP game all clients ↵rubidium
with company ID > 0 would be shown as if they were a spectator
2010-04-17(svn r19651) -Fix [FS#3745]: when a company is sold, move connected clients ↵smatz
to spectators
2010-04-17(svn r19648) -Fix [FS#3760]: a client would not be properly moved when moved ↵rubidium
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
2010-04-11(svn r19607) -Codechange: use different packet types instead of packet subtypessmatz
2010-02-27(svn r19283) -Fix (r19256): GRFConfig is not zeroed for non-dynamic ↵frosch
construction. GRFIdentifier is sufficient though.
2010-02-25(svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of ↵yexo
subclassing it
2010-02-14(svn r19132) -Codechange: No need to end a line with ;;.alberth
2010-02-10(svn r19075) -Codechange: unhackify NetworkChangeCompanyPassword()smatz
2010-02-09(svn r19072) -Fix [FS#3599]: possible read/write after free when the client ↵rubidium
triggered the server to close the connection
2010-01-21(svn r18875) -Codechange: remove some unneeded bits from the network ↵rubidium
protocol and improve the naming of some variables
2010-01-15(svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, ↵rubidium
if a header require a header make it include that header