Commit Graph

210 Commits (c4af57ad3b4ed128e70eacbec8ea318a442066d0)

Author SHA1 Message Date
rubidium c4af57ad3b (svn r22365) -Codechange: add overload of NetworkServerKickOrBanIP using the ClientID, which later resolves the IP address to ban. This to consolidate the knowledge about resolving IP addresses 13 years ago
rubidium 074644a3f0 (svn r22364) -Codechange: don't show the (unknown) client address in the client list at clients 13 years ago
rubidium 9328b8b63d (svn r22363) -Codechange: NetworkFindClientStateFromClientID -> NetworkClientSocket::GetByClientID 13 years ago
rubidium 0a7dcc9781 (svn r22362) -Codechange: NetworkFindClientInfoFromClientID -> NetworkClientInfo::GetByClientID 13 years ago
rubidium c90e28d184 (svn r22361) -Codechange: delete the client list popup when the client got removed (instead of previously selecting some other client) 13 years ago
smatz f695324fe3 (svn r22335) -Cleanup (r22308): remove superfluous tabs 13 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 13 years ago
rubidium 2d36797b85 (svn r22092) -Fix-ish (r22068): when you change a boolean to a enum, check specifically for a particular value 14 years ago
smatz 03c1b0df4b (svn r22086) -Fix: do not check if we can allocate an item if we won't try to do so anyway 14 years ago
rubidium 1516299bca (svn r22070) -Fix [FS#4503] (r21399): crashes when disconnecting after requesting the map 14 years ago
rubidium 65b17b32ef (svn r22069) -Fix: delete all savegame packets, not just the first one 14 years ago
rubidium c70499b4b6 (svn r22068) -Codechange/Fix: return "connection lost" instead of "okay" when SendPackets closed the connection 14 years ago
rubidium 6248138e67 (svn r22067) -Fix: don't hold a mutex when sending packets and thus possibly closing the connection as that wants to acquire the mutex again 14 years ago
rubidium e92f2d6b9a (svn r22064) -Fix [FS#4497] (r21399): crash when disconnecting and reconnecting while the server is still saving the savegame 14 years ago
rubidium 6e898d4bba (svn r22032) -Codechange: add some asserts to verify we don't allocate too many NetworkClientSockets/Infos 14 years ago
rubidium 05199a641a (svn r21890) -Cleanup: remove some unneeded includes 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 a5108a1fa2 (svn r21853) -Codechange: HashCurrentCompanyPassword is only used by servers, so move it to network_server.* (dihedral) 14 years ago
rubidium c060890062 (svn r21727) -Fix [FS#4377]: admin bots weren't always notified of password changes (dihedral) 14 years ago
smatz a57d2243de (svn r21704) -Fix [FS#4374]: no need to perform any more checks after the connection is closed (Rubidium) 14 years ago
rubidium 692e61d1dc (svn r21701) -Codechange: ConsoleColour = TextColour, so make it that way and remove some unneeded casts 14 years ago
alberth 135c5b3fd7 (svn r21571) -Codechange: Having a break after a return is no good. 14 years ago
rubidium 95934b9f49 (svn r21405) -Codechange: prepare sending of company information in the UDP packet for longer company names (in bytes), by truncating the names if needed 14 years ago
rubidium 12efdff6c6 (svn r21401) -Fix: ofcourse MSVC x64 has something to complain about... 14 years ago
rubidium 9b53982428 (svn r21399) -Change/Feature/Fix [FS#4284]: perform the compression of savegames to send to the client asynchroniously. This will reduce the lag of the other clients to the time it takes to make the memory dump and it will speed up downloading the map as the download starts earlier (possibly with a slightly lower bandwidth due to slow compression). This should also fix the lag message people get when the savegame compression takes more than a few seconds. 14 years ago
rubidium f929107665 (svn r21398) -Change/Feature-ish: when making a savegame to send to a client, don't write it to disk but create the packets immediately 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 71abb66b46 (svn r21363) -Add: support for limiting the amount of (accepted) incoming data 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 b2c1f12b44 (svn r21350) -Fix: some indentation 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 d7eafddc18 (svn r21254) -Change: show a different "lag" message when a client is lagging because of connection trouble or lagging because the client is just slow 14 years ago
rubidium df8b493d6e (svn r21182) -Fix: possible just-freed memory reads 14 years ago
rubidium 75aa37cf9a (svn r21032) -Codechange: perform some more strict tests on the server side when receiving some packets and don't send some when the clients aren't ready for them 14 years ago
rubidium 242110b8cb (svn r21030) -Codechange: move ClientStatus into the network server socket class 14 years ago
rubidium 9012b54fa2 (svn r21029) -Codechange: split the map downloading packet + 3-state enum into 3 separate packets 14 years ago
rubidium 2d32dc29a9 (svn r21024) -Fix: erroneous tab 14 years ago
rubidium abb9835f0a (svn r21001) -Fix [FS#4170] (r20936): clients were not always notified of a player leaving the game 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
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