Commit Graph

171 Commits (2f0d3d69f6a0bdaf5736b679cdd0ce772c6678cb)

Author SHA1 Message Date
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
rubidium 28832b68f5 (svn r20973) -Add: chat sending and receiving support for remote admins (dihedral) 14 years ago
rubidium 56a65270fc (svn r20970) -Add: company change notification to remote admins (dihedral) 14 years ago
rubidium 9f17b8ddee (svn r20969) -Add: client info change notification to remote admins (dihedral) 14 years ago
rubidium 72c85d1cdb (svn r20967) -Add: infrastructure to send information to remote admins at specific intervals (dihedral) 14 years ago
rubidium b6799a23c4 (svn r20938) -Codechange: make the code for listening on a socket (more) reusable 14 years ago
rubidium a0f7099a7d (svn r20937) -Codechange: move some variables from client/server to server only 14 years ago
rubidium 332a1bfdea (svn r20936) -Codechange: make server side packet sending methods class methods 14 years ago
rubidium 66087c5e60 (svn r20935) -Codechange: only let the server side use a pool of connected sockets 14 years ago
rubidium 04ce759165 (svn r20934) -Codechange: move NetworkGetClientName to the server's socket 14 years ago
rubidium 6ff39fc5ec (svn r20929) -Codechange: make NetworkCloseClient a class method 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
alberth 2b4da1d345 (svn r20689) -Codechange: Make some global functions used in 1 .cpp file static in that file. 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 3ed6ca0aed (svn r20548) -Codechange: rename some variables giving them slightly more meaningful names 14 years ago
rubidium 8a9929d702 (svn r20542) -Codechange: generalise the setting of "p2" to the ClientID. 14 years ago
rubidium 6f81fa7215 (svn r20510) -Codechange: unify packet queue handling and make insertion O(1) instead of O(n) 14 years ago
alberth 2182b44bb6 (svn r20291) -Codechange: Unify break coding style. 14 years ago
frosch c18839704b (svn r20286) -Codechange: Unify end of doxygen comments. 14 years ago
frosch 5b86c79fce (svn r20283) -Codechange: Unify start of doygen comments. 14 years ago
terkhen c92b2e9d3c (svn r20239) -Doc: Give a common name to all fall throughs (FALL THROUGH). 14 years ago
alberth 137e2b64c9 (svn r20211) -Codechange: Indented code should have curly braces around it. 14 years ago
rubidium 8b8102d30f (svn r19996) -Codechange: Add NetworkVehicleType enum. 14 years ago
smatz 09cb5fff3a (svn r19818) -Fix [FS#3784](r16004): kicking clients by IP didn't work 14 years ago
rubidium eb8ee7ad5e (svn r19809) -Codechange: make some unnamed network related enums/defines static const variables 14 years ago
rubidium 5732bdcdb9 (svn r19808) -Codechange: NetworkCalculateLag returned an uint, so keep it that way 14 years ago
rubidium 0cfec82674 (svn r19695) -Fix: leaking a file descriptor 14 years ago
smatz 52b5be7434 (svn r19693) -Codechange: split STATUS_INACTIVE to two states 14 years ago
rubidium a83194fad3 (svn r19678) -Fix (r19607): client status was shown incorrect in the console 14 years ago
smatz abaf6b5b42 (svn r19651) -Fix [FS#3745]: when a company is sold, move connected clients to spectators 14 years ago
rubidium 34cdcaf8b2 (svn r19620) -Fix: desync when a command is received and in the queue while a client starts joining, i.e. save the game state. This can happen in two ways: with frame_freq > 1 a command received in a previous frame might not be executed yet or when a command is received in the same frame as the join but before the savegame is made. In both cases the joining client would not get all commands to get in-sync with the server (and the other clients). 14 years ago
smatz 073af4eba2 (svn r19613) -Fix [FS#3755]: possible invalid read when server moves client to spectators before he finishes joining 14 years ago
smatz e0746e5bd3 (svn r19610) -Codechange: rename STATUS_AUTH to STATUS_AUTHORIZED 14 years ago
smatz 535a3bf847 (svn r19608) -Fix: do not kick client if he entered password and the password was cleared meanwhile 14 years ago
smatz 150ae1c707 (svn r19607) -Codechange: use different packet types instead of packet subtypes 14 years ago
rubidium ff5dfd9c7e (svn r19589) -Change: add some more useful information to the desync log and unify the formatting 14 years ago
yexo b21278659c (svn r19255) -Codechange: encapsulate GRFIdentifier in GRFConfig instead of subclassing it 15 years ago
rubidium 78f5533141 (svn r19072) -Fix [FS#3599]: possible read/write after free when the client triggered the server to close the connection 15 years ago
rubidium 149af66877 (svn r18875) -Codechange: remove some unneeded bits from the network protocol and improve the naming of some variables 15 years ago
rubidium 9467b7c6d6 (svn r18809) -Codechange/Cleanup: remove unneeded headers from some files, if a header require a header make it include that header 15 years ago
rubidium 2cbb3dd7d1 (svn r18804) -Codechange: guard against binaries claiming to be compatible with a future (stable) release of OpenTTD. 15 years ago
rubidium 89443276b1 (svn r18782) -Codechange: move the content of callback_table.cpp to network_command.cpp; it's only ever used there. 15 years ago
frosch 992bc6c345 (svn r18381) -Codechange: Add RoadVehicle::IsBus() to simplify some stuff. 15 years ago
rubidium da30e736ca (svn r18330) -Cleanup: remove some unneeded includes 15 years ago
rubidium fbcd97528a (svn r18054) -Change/Fix [FS#3310]: make pause on join pause during the whole joining (including download) phase 15 years ago
rubidium a0840ee58b (svn r18052) -Codechange/Fix: make the 'pause' chat message when actually executing the pause command. This to prevent showing paused and especially unpaused to be shown when the state doesn't change. Output now mentions whether pause changes keep the game paused and what reasons for pausing there 'currently' are. 15 years ago
frosch 4691a2069a (svn r17977) -Fix: Busses and trucks are distinguished by cargo class. 15 years ago
smatz c2c23ec661 (svn r17746) -Codechange: 'operator new' doesn't return NULL, NetworkSend_Init() is useless 15 years ago