Commit Graph
100 Commits
Author SHA1 Message Date
lotodore 91b62abf7b Fixed nasty synchronization bug when players leave during start of a game. Fixed netpacket error which occured occasionally during game start when only one player was left, the last player will be removed from the game now, but stay in the lobby. Added new stat to IRC bot. 2008-04-02 21:41:39 +00:00
lotodore e0be7e9490 Save more and send less statistics. 2008-04-01 21:44:05 +00:00
lotodore f6f68cab43 Additional verbose logging. 2008-03-26 22:37:58 +00:00
lotodore 1acf4e4187 Additional fixes. 2008-03-23 10:43:23 +00:00
lotodore 5beaa816b4 Moving third party sources to third_party folder so that they can be easily distinguished. This should help package maintainers. 2008-03-23 10:36:17 +00:00
lotodore 6a241f0a02 Cosmetic work. 2008-03-23 10:17:55 +00:00
lotodore 962cf172ff Cleaned up libircclient a bit - submitted patch to the author. 2008-03-22 23:39:24 +00:00
lotodore ea98054050 Patch by Hiru, mainly concerning boost build issues. Parts of this will also make it into pokerth_game.pro after further testing. 2008-03-20 21:04:21 +00:00
lotodore b5023351ee Fixed strings. 2008-03-20 00:24:13 +00:00
lotodore dbcedc889b Even more logging. 2008-03-20 00:06:19 +00:00
lotodore c8b38d0e57 More verbose logging for the server. 2008-03-19 23:39:59 +00:00
lotodore c3092146e5 Update version numbers for 0.61. 2008-03-11 19:38:09 +00:00
lotodore 683e1cc51b Real timeout values. 2008-03-09 23:32:45 +00:00
lotodore e7dd1adfbf Fixed problem with uncaught boost::filesystem exceptions. The g++ optimizer did something evil... 2008-03-09 21:06:31 +00:00
lotodore cf085939e9 Fixed linefeeds. 2008-03-09 20:16:29 +00:00
lotodore d8d816f8dc Do not kick the player from the server on game admin timeout - just remove the player from the game. 2008-03-07 21:45:26 +00:00
lotodore 4bc902b229 New error messages. 2008-03-06 21:48:14 +00:00
lotodore e85eb879bb Game admin timeout in lobby (test version). 2008-03-06 20:44:37 +00:00
lotodore e107cf98fa Network timeout system also works from within a game now. 2008-03-06 15:27:31 +00:00
lotodore a3aee2b33a Reset network activity timeout only for certain packets. 2008-03-05 18:41:25 +00:00
lotodore 9f0d204f56 First test version with network timeout. Only activity timeout and global timeout, no game admin timeout yet. Set to test values (will disconnect rapidly).
Modified method for init timeout (if session cannot be established) - now using one non-modifiable timer for each session, and an additional timer which is reset whenever session data is received.
2008-03-04 23:47:45 +00:00
lotodore 188f7e171f New packet types implemented for timeout system - unused yet. 2008-03-04 14:52:29 +00:00
lotodore c0e45e9f8e New packets for timeout messages. 2008-03-04 00:01:09 +00:00
lotodore d272576527 Hide timeout dialog on network error. 2008-03-03 23:54:15 +00:00
lotodore 89170ca190 Fixed Linux build. 2008-02-24 13:14:04 +00:00
lotodore 7283431c8c Limit the avatar requests by the server - clients may only upload one avatar within a certain time. This is checked by IP address, so two players within the same NAT system might have to wait for a few seconds. 2008-02-24 12:56:39 +00:00
lotodore 75ef6616e8 Paranoia change - also check original BSD return value. 2008-02-22 15:43:09 +00:00
lotodore 809f7c1a0f Fixed Linux build. 2008-02-10 13:35:13 +00:00
lotodore 0792402a7b Mingw/Mac: boost::program_options. 2008-02-10 12:55:05 +00:00
lotodore 1175f5ffe3 Fixed linefeeds. 2008-02-10 12:48:49 +00:00
lotodore aebc9d911e Updated dependencies documentation. 2008-02-10 12:48:21 +00:00
lotodore c58aff2658 Store server pid in file, location can be changed by. First try, needs some cleanup work. Might require additional link options on Linux (new dependency: boost::program_options). 2008-02-10 12:38:12 +00:00
lotodore 2ddf198c97 Specify file name of project for qmake, in case the directory has a different name. 2008-01-30 23:56:52 +00:00
lotodore 973486a8b2 Added init script and monit configuration to the server howto. 2008-01-06 17:49:39 +00:00
lotodore fcd7371fdc Added first version of the server setup howto. 2007-12-23 22:10:45 +00:00
lotodore fc93d3d634 Changed MSG_NOSIGNAL usage for better portability. 2007-12-20 14:21:44 +00:00
lotodore 50d077a69f Make it a bit easier to compile with mingw (Win32)... 2007-12-15 17:34:11 +00:00
lotodore 7fcd752377 Fixed qt plugin handling for MacOS. This fix is still for 0.6 final. 2007-12-14 02:47:02 +00:00
lotodore a1e3a3f461 0.6 Final... 2007-12-13 21:53:39 +00:00
lotodore f602155f73 PokerTH 0.6 final. 2007-12-13 21:42:37 +00:00
lotodore a666130277 Make qt plugin stuff a bit nicer... 2007-12-13 20:06:55 +00:00
lotodore b62765c517 Use gif/jpeg plugins on MacOS. 2007-12-13 19:52:48 +00:00
lotodore 1a99169556 Clarified build instructions. 2007-12-12 16:15:59 +00:00
lotodore ee00741931 More avatar related utf8 fixes. 2007-12-12 13:37:45 +00:00
lotodore d3207f723b Fixed client termination (pure virtual function called issue). Utf8 is all fine. 2007-12-11 22:42:58 +00:00
lotodore 477aeff288 Log if non-cryptographic random numbers are used. 2007-12-11 21:07:06 +00:00
lotodore c14bb9470b More utf8 related fixes (some issues remain). 2007-12-11 20:40:39 +00:00
lotodore aa07ae1741 Fixed utf8 issue with avatar cache and server logging. 2007-12-11 19:35:02 +00:00
lotodore e2c18bfbfd Fixes related to kicking players. 2007-12-10 20:56:00 +00:00
lotodore 8485db5ade Fixed kicking players with spaces in their name from within a game. 2007-12-10 19:59:11 +00:00
lotodore d60f53228e Windows fix for OpenSSL lib names. 2007-12-09 22:28:51 +00:00
lotodore 9ce09df604 Update build instructions for MSVC 2008. 2007-12-09 22:27:10 +00:00
lotodore 4196f1be3a Very graceful auto-reconnect for the server irc bot. Will give up after two attempts within 60 seconds. 2007-12-08 00:40:46 +00:00
lotodore 5f0fc7ab93 Workaround for boost uncaught exception problem on MacOS 10.5. 2007-12-07 23:29:49 +00:00
lotodore 87c1713926 rc2 2007-12-06 23:59:15 +00:00
lotodore 20a6cdf49a Use MacOS 10.4u SDK (instead of 10.5, which causes libiconv incompatibility). Use libboost 1.34.1 universal as built for adobe open source lib. 2007-12-02 20:01:21 +00:00
lotodore c76f6eaa91 Display uptime in days, not hours. 2007-11-30 21:29:42 +00:00
lotodore b97c56cd26 Use alternate dns name if name resolution fails for internet server (6dns.org seems to be unreliable, but is still the only one to provide both ipv4 and ipv6 name resolution for free). 2007-11-30 21:28:38 +00:00
lotodore e0b6e16994 Added uptime stat in admin irc. 2007-11-28 23:31:34 +00:00
lotodore d500712ec8 Fixed compiler warning. 2007-11-26 19:52:14 +00:00
lotodore f76bfece37 Fixed compiler warning. 2007-11-26 19:34:35 +00:00
lotodore 1b53a64fbb Changes for MacOS. Can be compiled, but there are still some issues. 2007-11-24 14:04:18 +00:00
lotodore 4ff47b70bd Report all stats in irc admin channel. 2007-11-22 22:16:52 +00:00
lotodore ad2f568a7c Fixed issue with irc auto rename. 2007-11-22 21:37:52 +00:00
lotodore 37d905e1d3 Fixed avatar message, as it was misleading. 2007-11-22 20:43:03 +00:00
lotodore c0ba1a04e6 Fixed sender buffer (push to front if send or select successful). 2007-11-22 20:18:19 +00:00
lotodore 49e39adfbb Fixed typo. 2007-11-22 20:08:45 +00:00
lotodore af12e4f35e Enable logging of netpacket errors. 2007-11-22 20:07:41 +00:00
lotodore 49162870a1 Use one sender thread for everything, as there may occur conflicts with multiple sender threads. This is a temporary solution, the best solution would be having multiple sender threads, but sending all packets for the same target using the same thread, so that no packets are corrupted. 2007-11-22 19:11:45 +00:00
lotodore 6489f28e93 Remove sender thread for avatars, it caused loads of problems, one of these being that packets were "destroyed" because half-sent packets were made invalid. Use main sender instead. 2007-11-22 17:56:49 +00:00
lotodore 65a3f969bf Log to file as dedicated server (do not use syslog any more). 2007-11-22 17:25:55 +00:00
lotodore c0bf559ca2 Fixed two avatar related bugs, which were both result of not adding an avatar to the manager when it was configured (a restart was required). Fixed "the server requested a non-existing avatar", and fixed showing own avatar in lobby directly after setting it. 2007-11-22 01:11:17 +00:00
lotodore c5bae66142 Move server configuration to dedicated server only. Separate error logging for client and server, in preparation of creating a log file on the dedicated server. 2007-11-22 00:57:03 +00:00
lotodore e28220a8ad Refactored server states - removed all thread local storage objects to ensure that they do not cause resource leaks. 2007-11-21 23:34:25 +00:00
lotodore a7f0a23f22 Fixed 100% processor time issue. 2007-11-21 00:26:14 +00:00
lotodore 46b8ae54b8 Disable test mode. Oo. 2007-11-21 00:19:43 +00:00
lotodore 689b22e0b9 The sender thread has been rewritten with a new algorithm in mind. The sender should not stall any more, and no timeout is required. There are no more send priorities.
The avatar manager no longer serializes access to avatar files.
2007-11-20 23:58:24 +00:00
lotodore a5999eb30b Fixed minimum message size issue. 2007-11-20 23:14:53 +00:00
lotodore e6d85739ce Update protocol version in tests. 2007-11-20 23:01:27 +00:00
lotodore b5208759bd Added admin irc channel to changelog. 2007-11-20 12:47:30 +00:00
lotodore 0f07315ef2 Increment beta revision. 2007-11-18 18:38:45 +00:00
lotodore 9e0ffe4317 Prepare to send reason for leaving a game. New protocol version as it is not compatible to the current beta. 2007-11-18 12:53:42 +00:00
lotodore 6ab852966f Minimum raise is now in players action done. 2007-11-18 00:28:45 +00:00
lotodore 8cffc9bc49 Fixed minimum raise for blind actions in network game. 2007-11-18 00:21:04 +00:00
lotodore 88c55eb68a Send minimum raise value on players action done, not players turn. This version is NOT compatible to the current internet server. 2007-11-18 00:06:14 +00:00
lotodore c4b1afaadc Try to fix minimum raise. 2007-11-17 00:49:25 +00:00
lotodore bc16e26616 Use server manager to allow SCTP and TCP at the same time. 2007-11-16 22:34:38 +00:00
lotodore a24a93caba Use unix linefeeds for all files. Finally. It's about time. 2007-11-16 15:24:25 +00:00
lotodore f428fb7904 Fixed linefeeds. 2007-11-16 15:01:40 +00:00
lotodore 26bde9388d Fixed kicking players with spaces in their names through the new admin interface. 2007-11-16 01:30:07 +00:00
lotodore 09d8156089 Reduce number of avatar sender threads to 1, as there is an issue with the load balancing. 2007-11-16 00:59:51 +00:00
lotodore cdd21250de Added support for password protected irc channels. Added server IRC mode for admin use, to allow requesting statistics and kicking players. 2007-11-16 00:58:23 +00:00
lotodore 7f5ff4af97 Fixed bug where computer players where displayed as numbers in lobby. 2007-11-14 22:54:47 +00:00
lotodore d21ef93ea0 Suppress displaying messages. 2007-11-14 22:15:19 +00:00
lotodore 82a1be763b Use several sender threads with load balancing for sending the avatars. Remember last failed send operation (not yet a list, just the last) and cancel any more low prio sends to that sender. 2007-11-14 22:11:04 +00:00
lotodore 5328bf082f Use boost::shared_ptr instead of std::auto_ptr where threads are involved, because std::auto_ptr is not thread safe. 2007-11-14 13:19:28 +00:00
lotodore f1f45c9b0b Truncate any existing avatar file when saving in cache dir. 2007-11-11 15:59:41 +00:00
lotodore d905359251 Store server statistics data in a log file and reload it when the server is restarted. 2007-11-11 15:58:35 +00:00
lotodore da559c8d88 Removed the qt static plugin libs again. 2007-11-11 14:07:41 +00:00
lotodore 96eb74992e Fixed long term client issue when player id overflows (very unlikely, as it is 32 bits). 2007-11-11 11:31:07 +00:00