rubidium
|
9194ff28b7
|
(svn r22805) -Codechange: move use of magic number for version checking to more logical location
|
13 years ago |
rubidium
|
1ef751e855
|
(svn r22423) -Document: some network stuff
|
14 years ago |
rubidium
|
8e39557a2e
|
(svn r22400) -Codechange: replace some defines in the tcp/game code so doxygen can create better documentation
|
14 years ago |
rubidium
|
1615b81d64
|
(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
|
14 years ago |
rubidium
|
074644a3f0
|
(svn r22364) -Codechange: don't show the (unknown) client address in the client list at clients
|
14 years ago |
rubidium
|
0a7dcc9781
|
(svn r22362) -Codechange: NetworkFindClientInfoFromClientID -> NetworkClientInfo::GetByClientID
|
14 years ago |
rubidium
|
960380639f
|
(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
|
14 years ago |
terkhen
|
1383a6ded7
|
(svn r22154) -Fix [FS#4529]: _current_company was modified when moving a client to spectators, causing issues in bankruptcy (Rubidium)
|
14 years ago |
rubidium
|
ac28a10197
|
(svn r22063) -Change: make the "has network" check also check whether the client is actually fully connected
|
14 years ago |
rubidium
|
1708df0d4b
|
(svn r22031) -Fix: bad servers could crash a client
|
14 years ago |
rubidium
|
05199a641a
|
(svn r21890) -Cleanup: remove some unneeded includes
|
14 years ago |
smatz
|
f2006f36a1
|
(svn r21875) -Codechange: indentation of some comments was wrong
|
14 years ago |
rubidium
|
f1e42dc23b
|
(svn r21854) -Codechange: refactor the password setting methods to make it possible to change the password of other companies (on the server)
|
14 years ago |
rubidium
|
ebc3fa3b93
|
(svn r21852) -Codechange: generalise GenerateCompanyPasswordHash (dihedral)
|
14 years ago |
rubidium
|
01b7b94052
|
(svn r21851) -Codechange: rename NetworkClientSetPassword to NetworkClientSetCompanyPassword (dihedral)
|
14 years ago |
rubidium
|
29ecb58682
|
(svn r21850) -Codechange: move password hashing to a more general location (dihedral)
|
14 years ago |
rubidium
|
692e61d1dc
|
(svn r21701) -Codechange: ConsoleColour = TextColour, so make it that way and remove some unneeded casts
|
14 years ago |
smatz
|
b84a618575
|
(svn r21693) -Codechange: no need to cast char[] to const uint8*
|
14 years ago |
smatz
|
03ad8ae5ea
|
(svn r21692) -Cleanup: remove unused extern declaration of HashCurrentCompanyPassword(), make it static
|
14 years ago |
smatz
|
1a59b8d35a
|
(svn r21691) -Codechange: make sure GenerateCompanyPasswordHash() behaves deterministically when/if the value of NETWORK_SERVER_ID_LENGTH is changed
|
14 years ago |
smatz
|
fee10eeb18
|
(svn r21687) -Fix: verify the colour code we received from the server is valid
|
14 years ago |
rubidium
|
12efdff6c6
|
(svn r21401) -Fix: ofcourse MSVC x64 has something to complain about...
|
14 years ago |
rubidium
|
dd4f02aa6f
|
(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
|
14 years ago |
rubidium
|
3f851a4b8b
|
(svn r21397) -Change/Feature-ish: when getting a savegame from the server, just keep it in memory instead of writing it to a file
|
14 years ago |
rubidium
|
c780091c26
|
(svn r21396) -Codechange: rename SafeSaveOrLoad to SaveLoad (it only did load), and add support for (safe) loading with a LoadFilter
|
14 years ago |
rubidium
|
5a40992e84
|
(svn r21392) -Change: prepare the network protocol for getting the file size later in the download process
|
14 years ago |
rubidium
|
4c76d8eaf6
|
(svn r21361) -Change: make sure the client is listening, or rather receiving, our frames
|
14 years ago |
rubidium
|
c7066d00af
|
(svn r21358) -Codechange: make some network function names conform to coding style
|
14 years ago |
rubidium
|
2a465f152b
|
(svn r21334) -Fix [FS#4271]: make (more) sure that the savegame and transferred file are the same file and not different ones
|
14 years ago |
rubidium
|
e638c7e3b6
|
(svn r21256) -Fix [FS#4189]: Clients weren't always notified when the connection was lost
|
14 years ago |
rubidium
|
0b37e60fe2
|
(svn r21033) -Codechange: be more strict with the packets a client accepts at a given moment
|
14 years ago |
rubidium
|
9012b54fa2
|
(svn r21029) -Codechange: split the map downloading packet + 3-state enum into 3 separate packets
|
14 years ago |
rubidium
|
7b9aa9b72f
|
(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
|
14 years ago |
rubidium
|
c226ed777d
|
(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.
|
14 years ago |
rubidium
|
6012a9074c
|
(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)
|
14 years ago |
frosch
|
a7e486360d
|
(svn r20957) -Codechange: Add another parameter to FindGRFConfig() to define search restrictions.
|
14 years ago |
rubidium
|
1ae97e4d0e
|
(svn r20933) -Codechange: move some more client related methods and such to network_client.cpp
|
14 years ago |
rubidium
|
6ff39fc5ec
|
(svn r20929) -Codechange: make NetworkCloseClient a class method
|
14 years ago |
rubidium
|
8f4638ed0f
|
(svn r20925) -Codechange: make the client send commands have a slightly more sensible name
|
14 years ago |
rubidium
|
41e6567c0d
|
(svn r20924) -Codechange: make the game connection packet handling look more like UDP/content packet handling
|
14 years ago |
rubidium
|
594faf45d9
|
(svn r20923) -Codechange: prepare creating sub-classes of NetworkClientSocket for server and client side
|
14 years ago |
rubidium
|
6d3c747d05
|
(svn r20553) -Feature: allow rate limiting of incoming commands
|
14 years ago |
rubidium
|
8f82b2b588
|
(svn r20549) -Codechange: centralise the handling of the incoming commands (from clients and the server)
|
14 years ago |
rubidium
|
8c85b4ce3d
|
(svn r20281) -Codechange: unify case scope closure + break coding style
|
14 years ago |
terkhen
|
c92b2e9d3c
|
(svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH).
|
14 years ago |
rubidium
|
8b8102d30f
|
(svn r19996) -Codechange: Add NetworkVehicleType enum.
|
15 years ago |
rubidium
|
eb8ee7ad5e
|
(svn r19809) -Codechange: make some unnamed network related enums/defines static const variables
|
15 years ago |
rubidium
|
0a703ae70a
|
(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
|
15 years ago |
smatz
|
abaf6b5b42
|
(svn r19651) -Fix [FS#3745]: when a company is sold, move connected clients to spectators
|
15 years ago |
rubidium
|
21cc1b1079
|
(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
|
15 years ago |