Commit Graph
100 Commits
Author SHA1 Message Date
lotodore 269eab4774 Fixed lobby update after leaving a game. 2008-05-16 16:46:45 +00:00
lotodore 626b778c77 Mingw script should not run if tools are not present. 2008-05-16 16:12:20 +00:00
lotodore a2105ceb07 Checking in the build mingw scripts so that they are in svn to better follow the changes. 2008-05-16 16:07:04 +00:00
lotodore 4710c5a51b Use static gnutls with mingw (finally got it working). 2008-05-16 15:52:36 +00:00
lotodore d1e0e5e30d The subscribe/unsubscribe lobby messages system has been integrated in the client. 2008-05-12 10:50:19 +00:00
lotodore 0ef69297d1 Server support for unsubscribing/resubscribing of lobby messages. Not yet used by the client. 2008-05-11 21:41:30 +00:00
lotodore 27ccb79edc Added paranoia check before deleting file from the cache directory. 2008-05-10 18:43:17 +00:00
lotodore 17d68255b6 Added loads of error handling to the new server list download code. Added several new error messages. 2008-05-10 18:07:46 +00:00
lotodore b5c2399603 Use configuration setting to decide whether to download the server list or directly connect to the server. Accept other server lists. Accept un'zlib'ed server lists. Use IPv6 address from server list if configured. 2008-05-10 15:47:48 +00:00
lotodore 4b04aedc3f Download only md5 of the server list if the list is still in the cache. 2008-04-29 22:46:27 +00:00
lotodore 3f544342a7 Updating dependencies. 2008-04-25 16:30:53 +00:00
lotodore bc084abc9f More mingw fixes. Works now, but uses the gnutls dll (as I keep getting linker errors with the static release). 2008-04-25 16:06:40 +00:00
lotodore 6dcb5879f1 More mingw fixes. 2008-04-25 14:52:19 +00:00
lotodore 3cd799edd9 Mingw fixes. 2008-04-25 14:40:57 +00:00
lotodore 8eb96aca77 Use the quick random number generator. 2008-04-25 09:55:46 +00:00
lotodore c31a43e64d 2008-04-25 09:32:50 +00:00
lotodore 2e9e7e3aed Fix for boost 1.34.1. 2008-04-25 09:28:03 +00:00
lotodore 56c9dd4863 Disable test mode. 2008-04-24 22:35:59 +00:00
lotodore dd3453d364 Fixed multithreading issue with gnutls. 2008-04-24 22:11:43 +00:00
lotodore 873b626c5f Increment protocol version. 2008-04-24 19:58:54 +00:00
lotodore fc0a1371b4 Minor fixes for Windows build. 2008-04-24 19:51:29 +00:00
lotodore 431576436f Use long as ssize_t on windows. 2008-04-23 21:20:18 +00:00
lotodore df97fcc725 Fixed a problem in the SenderThread, where packet order was not maintained when a session had stalled packets in the send buffer. 2008-04-23 21:19:00 +00:00
lotodore 85435f0ce5 Back to curl multi mode, as things are now working :-). 2008-04-22 23:02:25 +00:00
lotodore 440460cce1 Copy the url string before passing it to curl. 2008-04-22 22:41:31 +00:00
lotodore d7c6cdd75c Use GnuTLS-OpenSSL instead of OpenSSL. Thanks to Zhenech for help with this patch. 2008-04-21 22:27:15 +00:00
lotodore 7b9e16d3a2 2008-04-19 23:30:06 +00:00
lotodore fc5efc13b1 Forgot closing handle. 2008-04-19 23:26:20 +00:00
lotodore 01bd6cb1f8 Still trying to make it work on linux. 2008-04-19 23:22:34 +00:00
lotodore 7d51a144dd Preparing unsubscribing/resubscribing of the game list updates to (hopefully) limit server bandwidth usage. 2008-04-19 20:00:21 +00:00
lotodore 801846d1a9 Extract error code for debugging (download does not work on linux yet). 2008-04-19 17:05:17 +00:00
lotodore fc90792e8f Changed curl_global_init call to initialize everything. Added missing cleanup call. 2008-04-19 13:36:55 +00:00
lotodore 18ed95bfc8 Use default libcurl callback function. 2008-04-19 12:56:30 +00:00
lotodore 08b7e3a63c Ret val as variable for debugging. 2008-04-19 12:48:55 +00:00
lotodore 09cce642cf Callback not static. 2008-04-19 12:16:57 +00:00
lotodore 03b8c56b67 Fixed linefeeds. 2008-04-19 11:56:27 +00:00
lotodore 00d23f0219 Include tinyxml header only in cpp file. 2008-04-19 11:48:36 +00:00
lotodore 7a157b682a The client now downloads a zipped server list file from pokerth.net. This is parsed and the first server entry is used for now. Error handling still missing. boost::iostreams now required. 2008-04-19 11:48:09 +00:00
lotodore 17a7a19298 gun.c example not needed - didn't work as expected. 2008-04-19 11:47:08 +00:00
lotodore 2e38f58e13 Fixes for boost 1.35.0 with msvc - mainly winsock vs. winsock2 related. 2008-04-16 20:38:11 +00:00
lotodore f981ea504c Added gunzip function (taken from the zlib examples). Made it compile on Windows. 2008-04-15 22:44:26 +00:00
lotodore 8f77e7ba0d Adds libcurl on MacOS. 2008-04-12 20:30:29 +00:00
lotodore d97e3d8ef6 Now using libcurl and zlib. 2008-04-11 08:32:48 +00:00
lotodore ff0ceabd20 Use boost 1.35.0 with mingw on Windows. 2008-04-04 11:33:18 +00:00
lotodore b5f17bdcc3 Changes for boost 1.35.0 compatibility. 2008-04-03 19:04:17 +00:00
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