Commit Graph
100 Commits
Author SHA1 Message Date
lotodore 55a29f9a38 Do not use asio cancel, because it is not portable. It will cause an exception on Windows XP. Just let the socket be closed. 2009-03-21 10:44:31 +00:00
lotodore ebac9c9574 Fixed nasty cleanup crash on Windows. 2009-03-21 10:28:27 +00:00
lotodore 5be8403d07 Explicitly include fstream. Still broken stuff. 2009-03-21 09:11:39 +00:00
lotodore ebce3ee214 Warning: Enables debug mode.
More steps towards downloading avatars from external server. This is currently BROKEN.
2009-03-21 01:39:00 +00:00
lotodore b1bad8d144 Preparing client use of external avatar servers. 2009-03-18 15:01:43 +00:00
lotodore 64ec42aaa3 Fix buffer overflow in libircclient (concerning DCC, which was unused, so this is just to satisfy pedantic compilers :-) ). 2009-03-16 22:13:55 +00:00
lotodore e8f9d917f8 Fixed Windows build issues. 2009-03-02 19:24:16 +00:00
lotodore 6948d86d9f Forgot some changes for avatar upload. 2009-03-01 23:38:29 +00:00
lotodore 16decacb6b New configuration options for automatically uploading the avatars to an external server. 2009-03-01 23:09:14 +00:00
lotodore ab046cc1fb Fixed linefeeds. 2009-02-28 11:29:28 +00:00
lotodore 7b25cf12c8 Use TDM's g++ 4.3.3 mingw Dwarf2 compiler (instead of SJLJ, which seems to cause exception problems). 2009-02-28 11:28:57 +00:00
lotodore 5374f1d102 Use boost 1.38 on Windows. Requires update of Windows build scripts, but these are currently broken anyway, because the new g++ 4.3.3 SJLJ TDM mingw compiler causes a crash during exception unwinding when the client is disconnected by the server. Need to switch to the Dwarf2 compiler. 2009-02-28 00:52:45 +00:00
lotodore ec878731c9 Fixing terminate error, this time for real. 2009-02-27 22:41:16 +00:00
lotodore e5ecc5d133 Trying to fix server termination issue. 2009-02-27 22:09:03 +00:00
lotodore 8a02490262 Changes for boost 1.38.0 on Windows. 2009-02-22 20:43:45 +00:00
lotodore e7c70ad9ad First version of server side avatar upload feature (support for external avatar server). Still hard coded, cannot be configured. 2009-02-21 23:33:30 +00:00
lotodore e8654fb2f5 Fixed linefeeds. 2009-02-20 17:28:52 +00:00
lotodore 684d779483 Adding a note explaining the OpenSSL license issues. Thanks coldz. 2009-02-20 17:27:48 +00:00
lotodore 8b63c84da3 Updated windows build scripts for mingw gcc 4.3.3 (TDM). 2009-02-18 20:03:10 +00:00
lotodore 8e131aae8b Proper patches for mingw gcc 4.3.3 (qt/boost). 2009-02-18 19:57:49 +00:00
lotodore 5ae32a1073 Adding Qt patch for mingw gcc 4.3.3. 2009-02-16 23:47:08 +00:00
lotodore f1c5ff3ba2 BSD related fixes. Thanks to coldz. 2009-02-16 20:14:12 +00:00
lotodore 24c0ceb7b6 Use TDM's gcc mingw32 compiler on Windows. (Tired of waiting for official mingw releases.) There is still a small Qt issue (will be patched from the build script) and a boost date_time issue in the server (will also be patched from the build script). Anyway, this is finally gcc 4.3 on Windows :-). Hooray! 2009-02-16 15:51:46 +00:00
lotodore 82b758e5a7 Clarifying build error messages (patch by coldz, thanks). 2009-02-10 23:21:04 +00:00
lotodore ac7d448d09 Fixed sending error messages before closing session. 2009-02-05 19:29:44 +00:00
lotodore 8f59de0c62 Proper destruction of sockets (crashed previously). 2009-02-01 17:21:02 +00:00
lotodore c998edf219 Fixed cleanup issue - the previous version had kind of a resource leak. 2009-01-31 22:20:08 +00:00
lotodore 3f8d3c8d55 Reworked asio sender thread implementation. Optimized it for speed. Some cleanup still needed, but should work. 2009-01-31 21:03:34 +00:00
lotodore e0ff6db98e Create I/O service object in sender thread. 2009-01-26 20:57:39 +00:00
lotodore 7d1021cde7 Optimising sender thread. 2009-01-26 19:05:24 +00:00
lotodore f2c3b2b723 Fixed boost asio stuff. Now working but probably some polishing required. 2009-01-25 21:56:43 +00:00
lotodore 3c820445c6 Fixed missing completion call issue. However, boost::asio now automatically closes the socket. This cannot be disabled. So the next step is to use the boost::asio socket class for the session and everywhere else. 2009-01-25 21:12:33 +00:00
lotodore 17377f5a6b New boost::asio based sender thread. Does not work on windows yet, because the completion routine is never called. No idea why not. 2009-01-25 20:19:09 +00:00
lotodore 1e42a9e211 Fixed client termination. 2009-01-11 21:54:09 +00:00
lotodore b2ccee2267 Fixed initialization order. 2009-01-11 21:10:12 +00:00
lotodore b5b1796b1e Console client: Some changes for better reuse of components. 2009-01-11 20:14:29 +00:00
lotodore 29061b661c Fixed one thread per session implementation. Kind of. Still seems to have a handle leak on Windows. However, it does not scale at all and needs to be reverted. It won't even handle 500 players with 500 games on a dual core high end machine. 2009-01-11 20:12:26 +00:00
lotodore 4f7cf0bdb2 Console client: Adding support for additional network packets (avatar handling). This is not specifically for use in the console, but for .NET based test cases. 2009-01-11 11:18:51 +00:00
lotodore d72cdb6873 One sender thread per client. Requires loads of resources. Kind of hacked, because the internal dependencies are very ugly now. Requires loads of testing. A problem might be the last packet sent by the server to a specific client before closing the connection, for example an error message. It might never even reach the client, because the sender thread is terminated before. I have not yet found a good way to fix this. 2009-01-07 21:52:16 +00:00
lotodore 606158c4f0 Preparing new send engine. 2009-01-07 19:37:05 +00:00
lotodore 4515996959 Yet another (important) network game fix. Last fix was not sufficient. 2009-01-03 20:40:14 +00:00
lotodore 618ed80e2d Fixed network game bug which was introduced in the bugfix release by changing the id of the first game to 1. 2009-01-03 11:36:03 +00:00
lotodore 31d1b9a011 Console client: Allow better use of the lib for testing. 2008-12-30 16:05:21 +00:00
lotodore 128c917a5b Console client: Adding support for password protected games. Fixed issue with custom blinds. Cosmetic changes. 2008-12-28 01:37:59 +00:00
lotodore e4ead9e706 Console client: Several fixes and improvements (thanks to heyn). 2008-12-27 16:24:49 +00:00
lotodore e3d7f3d124 Console client: Print a message if the action was rejected by the server. 2008-12-27 09:37:53 +00:00
lotodore 26391b57d1 Console client: Several fixes, added handling of removed from game event. 2008-12-26 23:05:45 +00:00
lotodore 52fc37a8b7 Console client: Display chat messages. 2008-12-26 20:01:25 +00:00
lotodore 6f9129818c Console client: Adding proper termination after the game. Adding missing source files. 2008-12-26 18:27:48 +00:00
lotodore 8de66094f3 Restrict message sizes. 2008-12-26 16:55:46 +00:00
lotodore 23c3ae3849 Enable sending of a global message box through the irc bot, to inform clients about server reboots. 2008-12-26 16:47:14 +00:00
lotodore 36ef30bedc Console client: Several fixes (mainly mono specific). 2008-12-26 13:54:36 +00:00
lotodore 4f48fdbe2a Allow the server to send a global notice to all players (for example if a server reboot is going to happen). Does not work with current client version 0.6.3. 2008-12-26 13:50:09 +00:00
lotodore 5623e0865d Console client: Now functional, but several features are still missing. 2008-12-25 21:12:59 +00:00
lotodore 77bb02113a Let the server automatically perform call/all in without the client having to provide values. 2008-12-25 21:11:05 +00:00
lotodore 4e6b9d9357 Console client: Show cards and result at end of hand. All-in still not working. 2008-12-25 16:46:38 +00:00
lotodore 6797fa3f54 Console client: Output similar to PokerTH log. 2008-12-24 23:22:23 +00:00
lotodore 60fd3e2010 Console client: Show flop/turn/river cards. 2008-12-23 23:29:18 +00:00
lotodore 660168b8aa Console client: Print player action. 2008-12-23 22:30:02 +00:00
lotodore 1548598944 Fix access violation when someone votes after the vote timeout. 2008-12-23 18:17:14 +00:00
lotodore a46d07f24e Cleanup work 2008-12-23 17:55:35 +00:00
lotodore 457ce36a98 Console client: Separate lib stuff from console client, in order to use it for tests. 2008-12-23 17:24:31 +00:00
lotodore 04616ef89c Console client: Added console callback, display more information. Cache hand state. 2008-12-23 14:24:37 +00:00
lotodore 28e7accd90 Console client: Display cards of player for each hand. Display server messages. 2008-12-23 02:15:49 +00:00
lotodore 6fa4f6585b Disabled kicking computer players, which causes the current crashes of the server. 2008-12-23 01:34:32 +00:00
lotodore ea2a1288be Console client: Support for additional network packets. Preparing game. 2008-12-22 23:03:15 +00:00
lotodore 16ac9b161e Updated for 0.6.3 2008-12-22 00:19:36 +00:00
lotodore b106ddffe3 Increment network protocol version. 2008-12-21 22:11:49 +00:00
lotodore 23c9bf136b Updated release paths for mingw. 2008-12-21 21:39:47 +00:00
lotodore eaefc64dd4 Fix mingw boost version. Release build. 2008-12-21 21:14:14 +00:00
lotodore 0ce85c0077 Console client: Now able to join game, and (passively) start game. Cannot play yet, though ;-). 2008-12-21 17:38:59 +00:00
lotodore 73778494b7 Console client: Retrieve player names. 2008-12-21 14:23:40 +00:00
lotodore 7decd7ba1c Linefeeds. 2008-12-21 01:38:53 +00:00
lotodore 2aec6c8534 Console client: New packet types. Preparing to join game. 2008-12-21 01:37:17 +00:00
lotodore 4f78b32f9d Fix compiler error. 2008-12-20 20:16:26 +00:00
lotodore 10624d5399 Clarification: The password protection flag is not a general game flag. General flags should be in the game info block. 2008-12-19 12:10:50 +00:00
lotodore b2dae6e4f7 Mainly cosmetic changes. 2008-12-19 10:26:02 +00:00
lotodore e78ce57e5d Normalizing linefeeds. 2008-12-19 00:39:56 +00:00
lotodore 03c82b3e7c Adding pokerth console client. Written in C#, .NET 2.0, License is Gnu AGPL 3 or later. Very early stuff, currently only displays list of games. Runs with Mono. 2008-12-19 00:36:04 +00:00
lotodore c89ecd9f8c Fixed windows build, because SDL downloads are back to usual again. New boost release. New gnutls version. 2008-12-15 17:47:40 +00:00
lotodore 4bf9ceff6d Deny ask kick if the player is not/no longer present. 2008-12-12 22:38:35 +00:00
lotodore 4905f618ad Allow kicking of computer players. 2008-12-08 23:06:11 +00:00
lotodore c90b46e5f6 Count only number of human players for number of votes to kick. 2008-12-08 22:17:14 +00:00
lotodore 80883dd409 Update number of votes on client. 2008-12-07 12:22:35 +00:00
lotodore bd55b69817 Client side vote kick changes - tab closes now. Server side fixes. 2008-12-07 11:48:01 +00:00
lotodore 89450a9a32 More work on server side vote kick. Most error handling complete now. Client side still lacking. 2008-12-07 11:04:42 +00:00
lotodore e0c1662fa5 Work on timeout of kick votes. 2008-12-06 21:10:46 +00:00
lotodore 2652625828 Started error handling for vote kick. 2008-12-06 00:18:36 +00:00
lotodore e3e3846a15 Fixed byte order issue with player leave reason. Works now. 2008-11-25 23:28:44 +00:00
lotodore c57ea0985b Trying to send reason why the player leaves the game. 2008-11-25 23:19:34 +00:00
lotodore b236fa9d62 Vote kick kind of working. Only the forward case - no timeout, no error handling, no display update. 2008-11-25 22:18:17 +00:00
lotodore 78d039bac1 Next steps for voting to kick a user. 2008-11-19 23:15:38 +00:00
lotodore c3b763f192 New version of GnuTLS. Optional. 2008-11-19 23:07:41 +00:00
lotodore daeb349059 Updated server instructions - at least some points. Thanks for the hint, heyn :-). 2008-11-19 23:06:33 +00:00
lotodore 1cfe551f19 More work on vote kick. Some network packets are exchanged, but still not functional. 2008-11-16 22:57:11 +00:00
lotodore 4ba76e60dd Disallow kicking from within a game. 2008-11-10 23:06:24 +00:00
lotodore 9943e34d4a Let the server irc bot reconnect once every day. 2008-11-02 21:25:42 +00:00
lotodore eff1919831 Fixed win32 lib download script. The script runs fine, but PokerTH build is still untested. 2008-10-30 23:33:36 +00:00
lotodore 716e45c881 More work on vote kick network protocol. 2008-10-16 22:19:10 +00:00
lotodore 13cc3d5aeb Fixed linker error. 2008-10-07 20:19:41 +00:00