Commit Graph
1153 Commits
Author SHA1 Message Date
lotodore fee8450a74 Still trying to fix the SIGPIPE problem. 2007-10-30 21:02:52 +00:00
lotodore 7fc3ae4adf Fixed compiler warnings. 2007-10-30 17:31:14 +00:00
lotodore 3ab6211009 Fixed compiler warnings. 2007-10-30 17:26:38 +00:00
lotodore cba5ee389e Fixed compiler warnings. 2007-10-30 17:21:11 +00:00
lotodore 7000722d75 Suppress sigpipe in sender thread. 2007-10-30 16:59:47 +00:00
lotodore 9cf398d3e0 Fixed winner list issue on client. 2007-10-30 16:57:48 +00:00
lotodore b89ce1d67f Trying to fix SIGPIPE issue on server (linux). 2007-10-30 13:03:17 +00:00
doitux aac9bcb54b 2007-10-30 12:50:59 +00:00
doitux 2275a8eca8 pokerth logo in game list bg 2007-10-30 12:14:42 +00:00
lotodore 26157027dc Fixed macro redefinition. Set money won in server. 2007-10-29 22:37:42 +00:00
floty 1a5a5600ce lastMoneyWon 2007-10-29 22:26:50 +00:00
lotodore 70e2d5556f If a sender thread is stalled while trying to send, time out after 2 seconds. Use infinite timeout when terminating threads. 2007-10-29 22:16:21 +00:00
doitux f13311c9e6 2007-10-29 21:45:37 +00:00
lotodore ded7ca7daf Added winner list for network client. 2007-10-29 19:57:46 +00:00
floty 97732c8b0d 2007-10-29 19:23:52 +00:00
lotodore 3953210ad9 Use larger thread termination timeouts. 2007-10-29 18:49:28 +00:00
doitux 1f649da5c2 two avatars added 2007-10-29 14:27:48 +00:00
floty fe3caa52c8 bugfix 2007-10-29 13:44:58 +00:00
lotodore 001ac0272b Additional log messages. 2007-10-29 12:57:29 +00:00
lotodore 219a922c9e Fixed crash in the server which was caused by not waiting long enough for the termination of threads. 2007-10-29 11:57:17 +00:00
lotodore 0a42827290 fixed compiler error 2007-10-29 09:37:14 +00:00
lotodore 38b1c4bafd Use more graceful timeouts. 2007-10-29 09:34:28 +00:00
lotodore bc11d42aba Added missing log for exception. 2007-10-29 09:30:34 +00:00
lotodore 62e030d9e2 Suppress packet display for now. 2007-10-29 09:21:45 +00:00
lotodore e36d878a07 Added code to run fast test games. 2007-10-29 09:18:34 +00:00
lotodore 6cdbb4807e Run complete test games. 2007-10-29 09:17:04 +00:00
doitux fdad263fa8 translation update 2007-10-29 09:16:02 +00:00
doitux ed51c0d601 f1-f4 string fix 2007-10-29 09:09:45 +00:00
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