Commit Graph

899 Commits

Author SHA1 Message Date
alberth
135c5b3fd7 (svn r21571) -Codechange: Having a break after a return is no good. 2010-12-21 15:23:54 +00:00
rubidium
30e78752a9 (svn r21513) -Feature [FS#532]: make the chat message timeout user configurable 2010-12-14 15:00:43 +00:00
rubidium
2074b4ddce (svn r21512) -Change/Feature: make the delay of the chat messages timing out unrelated to the number of passed game days, i.e. don't stop aging chat messages when the server is paused 2010-12-14 14:57:51 +00:00
rubidium
8bcba1000f (svn r21463) -Fix [FS#4296] (r21405): when packets are filled their pos and size aren't the same as when they're read. As a check was incorrect. 2010-12-11 13:34:23 +00:00
rubidium
b469b1dc51 (svn r21429) -Fix [FS#3771]: the server didn't check for the paused state when allowing to execute commands 2010-12-07 21:12:23 +00:00
rubidium
b28c192292 (svn r21420) -Fix: admins were always given the stats of company 0 2010-12-06 14:55:47 +00:00
rubidium
72f86f4660 (svn r21418) -Fix: core.h needs config.h 2010-12-06 11:53:05 +00:00
rubidium
cd7b7ca9d8 (svn r21417) -Fix: ofcourse MSVC x64 has something to complain about 2010-12-05 22:43:56 +00:00
rubidium
dd618051a7 (svn r21412) -Codechange: limit company name by amount of characters, not bytes 2010-12-05 22:24:50 +00:00
rubidium
28da832781 (svn r21406) -Codechange: rename some textbuf related names to make them a bit more descriptive 2010-12-05 22:21:37 +00:00
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 2010-12-05 22:21:13 +00:00
rubidium
12efdff6c6 (svn r21401) -Fix: ofcourse MSVC x64 has something to complain about... 2010-12-05 15:08:41 +00:00
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 2010-12-05 14:49:46 +00:00
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. 2010-12-05 14:48:39 +00:00
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 2010-12-05 14:45:52 +00:00
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 2010-12-05 14:44:31 +00:00
rubidium
c780091c26 (svn r21396) -Codechange: rename SafeSaveOrLoad to SaveLoad (it only did load), and add support for (safe) loading with a LoadFilter 2010-12-05 14:43:10 +00:00
rubidium
5a40992e84 (svn r21392) -Change: prepare the network protocol for getting the file size later in the download process 2010-12-05 14:34:19 +00:00
rubidium
ee087fb581 (svn r21390) -Codechange: prepare the network join progress bar for getting the file size later in the download process, i.e. when a chunk of the savegame is already received by the client 2010-12-05 14:32:13 +00:00
rubidium
71abb66b46 (svn r21363) -Add: support for limiting the amount of (accepted) incoming data 2010-11-30 20:01:26 +00:00
rubidium
4c76d8eaf6 (svn r21361) -Change: make sure the client is listening, or rather receiving, our frames 2010-11-30 14:18:20 +00:00
rubidium
c7066d00af (svn r21358) -Codechange: make some network function names conform to coding style 2010-11-30 13:38:46 +00:00
rubidium
9f9141c3c1 (svn r21357) -Codechange: make it possible to resize the packet's buffer 2010-11-30 13:22:29 +00:00
rubidium
b2c1f12b44 (svn r21350) -Fix: some indentation 2010-11-28 22:45:47 +00:00
terkhen
64c200a25e (svn r21344) -Feature [FS#4214]: Natural sorting of strings using ICU. 2010-11-27 22:52:12 +00:00
rubidium
2a465f152b (svn r21334) -Fix [FS#4271]: make (more) sure that the savegame and transferred file are the same file and not different ones 2010-11-26 22:25:02 +00:00
alberth
0722492c1b (svn r21331) -Codechange: Make drawing the widgets default behaviour in OnPaint(). 2010-11-26 15:22:18 +00:00
rubidium
916048f5e8 (svn r21322) -Fix [FS#4268] (r20924): packets were leaked 2010-11-25 16:00:04 +00:00
smatz
a6be993967 (svn r21319) -Fix: crash when creating file download by the content download system failed 2010-11-25 13:43:09 +00:00
smatz
8f250f7a2d (svn r21318) -Fix: parameters to ShowErrorMessage() were swapped when content download failed 2010-11-25 13:41:30 +00:00
rubidium
e1aeb90ca5 (svn r21308) -Fix [FS#4262] (r20933-ish): crash upon desync 2010-11-23 23:59:24 +00:00
smatz
8c98915955 (svn r21302) -Fix (r18994): do not add HTTP connection to list of connections when it fails in the beginning 2010-11-23 22:16:11 +00:00
smatz
beb66c05ac (svn r21285) -Codechange: prevent ICC warning 2010-11-21 16:32:53 +00:00
rubidium
e638c7e3b6 (svn r21256) -Fix [FS#4189]: Clients weren't always notified when the connection was lost 2010-11-19 15:55:53 +00:00
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 2010-11-19 12:33:19 +00:00
rubidium
59b6c9a85e (svn r21248) -Codechange: don't run the tar scanner twice upon startup 2010-11-18 22:27:15 +00:00
rubidium
cc5fd40a74 (svn r21246) -Fix: upon rescanning AIs the new AIs would (after some time) show up in the AI list but you could not select all 2010-11-18 22:24:10 +00:00
rubidium
df8b493d6e (svn r21182) -Fix: possible just-freed memory reads 2010-11-14 12:05:24 +00:00
rubidium
5ec2bcc0d9 (svn r21157) -Codechange: remove information about the text direction out of the language "list" 2010-11-13 09:56:25 +00:00
rubidium
457b9c9c2e (svn r21071) -Fix: ofcourse the svn properties weren't set properly either :( 2010-11-01 14:26:57 +00:00
rubidium
89ab118d0c (svn r21070) -Fix: file not being picked up by doxygen 2010-11-01 14:18:22 +00:00
rubidium
0b37e60fe2 (svn r21033) -Codechange: be more strict with the packets a client accepts at a given moment 2010-10-24 20:51:12 +00:00
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 2010-10-24 20:30:53 +00:00
rubidium
242110b8cb (svn r21030) -Codechange: move ClientStatus into the network server socket class 2010-10-24 20:07:32 +00:00
rubidium
9012b54fa2 (svn r21029) -Codechange: split the map downloading packet + 3-state enum into 3 separate packets 2010-10-24 20:03:33 +00:00
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 2010-10-24 16:40:02 +00:00
rubidium
7c6b360e01 (svn r21025) -Codechange: document PacketGameType's enums and reshuffle them slightly to make the whole more readable and easier to understand 2010-10-24 15:22:59 +00:00
rubidium
2d32dc29a9 (svn r21024) -Fix: erroneous tab 2010-10-24 15:02:43 +00:00
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. 2010-10-22 14:41:26 +00:00
rubidium
5f4a1fa39d (svn r21004) -Fix [FS#3746]: chat/console messages got sometimes messed up due to LTR names in RTL translations and vice-versa 2010-10-21 20:12:48 +00:00