Commit Graph
1125 Commits
Author SHA1 Message Date
doitux 59c33b1ae9 2007-10-29 00:04:38 +00:00
lotodore f0c7fded3d Fixed packet type. 2007-10-28 20:57:36 +00:00
lotodore 08ab159bc0 Fixes and part of new test. 2007-10-28 20:45:47 +00:00
lotodore 3ea61381ef Use client game id when kicking players during game. 2007-10-28 19:38:49 +00:00
doitux ffc8bb4485 ingame log new game admin 2007-10-28 18:40:24 +00:00
lotodore 717c0fcb98 Fixed memory leak. 2007-10-28 16:20:32 +00:00
lotodore 2bae534704 Additional flooding test. 2007-10-28 16:09:25 +00:00
lotodore f821f9c0a4 No longer delay closing of sessions (not needed any more). 2007-10-28 15:21:24 +00:00
lotodore cdea81b2ba Fixed sender again, as it did not work when sending errors. 2007-10-28 15:06:57 +00:00
lotodore e951bda1db Flooding tests. 2007-10-28 13:24:06 +00:00
lotodore b848d2125f Specified some values in game info block. 2007-10-28 13:05:13 +00:00
lotodore 92f03db7a2 Always delay before closing a session. Last part of the fix. 2007-10-28 13:04:05 +00:00
lotodore fa7af40a49 Fixed a very nasty bug concerning the sender thread. SOCKETs were assumed to be kind of unique, but Windows tends to return the socket number of a socket which was just closed as new socket number in accept. This led to very strange behavior when the server was flooded with inits, because the sender thread still had entries for this socket number (which were not removed because they should just fail).
No longer use socket as key in maps, instead, use the session id. Only use the session id in the sender thread, "resolve" it to the socket only in the moment when it is needed. Outstanding requests will be detected to have an invalid session id then.
Also, as side effect, fixed an issue with two callback classes which were named the same and caused unexpected behavior.
2007-10-28 12:53:54 +00:00
doitux 2fa888062f tab order fixes 2007-10-28 00:33:25 +00:00
doitux c98465fd7b 2007-10-27 22:03:32 +00:00
doitux 2e15d25e44 gpl url fix. maximize event on windows fix 2007-10-27 21:01:44 +00:00
lotodore bb64e07657 Show lobby for players if they are kicked during a game. 2007-10-27 20:29:46 +00:00
doitux f372c2434a ingame kick implementation 2007-10-27 20:08:30 +00:00
lotodore e27be88942 Fixed bug when kicking during game. 2007-10-27 19:53:04 +00:00
lotodore 6b19b3291a Missing if to check for kick in server during game. 2007-10-27 19:48:31 +00:00
lotodore 8f1e5132d6 Added kick function with player name. 2007-10-27 18:51:53 +00:00
lotodore 0d0104107b More work on network tests. 2007-10-26 15:03:44 +00:00
lotodore 17af91ce05 More work on network tests. 2007-10-26 14:58:41 +00:00
lotodore ae33299758 If a client does not initialize properly within a certain time, remove the network session. 2007-10-26 14:54:57 +00:00
lotodore 9368c5f16e Network test fixes. 2007-10-26 10:51:03 +00:00
lotodore e0f1193963 Clarified initialization order to prevent possible race condition when initializing a new game. 2007-10-25 21:59:06 +00:00
lotodore d0c34c572b Automatically cleanup cache once a day on the dedicated server. 2007-10-25 21:20:35 +00:00
lotodore d0cea553df Fixed boost string comparison. Oo. 2007-10-25 20:35:57 +00:00
lotodore f019523879 Use boost for case insensitive comparison. 2007-10-25 20:26:44 +00:00
lotodore f3556bff57 Case-insensitive channel names for IRC. Fixed leaving admin players. 2007-10-25 19:50:43 +00:00
lotodore dc74186b5a Fixed syslog stuff. 2007-10-24 23:24:57 +00:00
lotodore 9e180d01f3 Fixed error when transfering avatars. Additional logging. 2007-10-24 23:17:12 +00:00
lotodore 2152b90e20 Added code to automatically clean up avatar cache. There is a time limit (how long avatars are kept) as well as a number limit (how many avatars will be cached). 2007-10-24 22:20:35 +00:00
lotodore b4848532f9 Added logging for server using syslog. 2007-10-23 21:26:07 +00:00
lotodore ae030a3669 Fixed Lobby Thread termination issue if an exception is thrown. 2007-10-23 20:01:56 +00:00
lotodore 07a0b8503d Fixed lobby update issue when computer players joined a game. 2007-10-21 18:36:56 +00:00
lotodore 7aec52327f Increment beta revision. 2007-10-21 00:25:53 +00:00
lotodore daa55efab7 Fixed exception issue when player statistics counter reached 0. 2007-10-21 00:17:04 +00:00
doitux c0a53018b0 2007-10-20 23:26:03 +00:00
lotodore d5453e5416 Fixed decreasing number of players when players leave. 2007-10-20 23:24:40 +00:00
lotodore 64ba7c0994 Show correct maximum player count in network games. 2007-10-20 22:34:14 +00:00
lotodore 4bc57f07d0 Add server statistics which are sent by the server to every client each time they change. 2007-10-20 22:22:11 +00:00
lotodore c5246aaef3 Remove debug message. 2007-10-20 22:18:16 +00:00
doitux 4d1d013482 norse->norwegian string fix 2007-10-20 21:10:47 +00:00
doitux f89a1c8c23 hide previous action for current player in network-game (like in local-game) 2007-10-20 20:10:48 +00:00
doitux e7f624ee6e stop at the end of local game. needs start button to start next game 2007-10-20 19:52:32 +00:00
doitux 304cff6b6c reset InternetServerAddress and IRCChannel at first run for all config revs smaller than configRev = 47; 2007-10-20 12:20:34 +00:00
doitux 402257900b gui fixes 2007-10-20 11:02:01 +00:00
doitux 0103f923f6 signal-slot bugfix 2007-10-19 22:18:08 +00:00
doitux 18e09b5cbd updated translation strings for 0.6 beta 2007-10-19 21:53:45 +00:00