Commit Graph
61 Commits
Author SHA1 Message Date
doitux 6c48924667 fixed 2007-08-10 23:40:38 +00:00
doitux 7a0ae803e2 buggy!!! 2007-08-10 23:34:56 +00:00
doitux e696fb4257 BeRo refactoring 2007-08-07 23:59:34 +00:00
lotodore 829f094ce8 Fixed networking (LocalHand::getPreflop etc. now return the correct objects). Removed even more code which is no longer needed. 2007-08-07 21:17:11 +00:00
lotodore 03ecc5b9cb Removed client code which is no longer needed now. Networking still somewhat broken. 2007-08-07 20:37:34 +00:00
lotodore 0aef0d9e42 Removed dependencies on old preflop/flop/turn/river interface from networking. Compiles, but networking is BROKEN. Also includes first try of computer players for networking, which is broken, too. 2007-08-06 21:38:09 +00:00
lotodore 0da29b3874 The console server can now be fully used for a single game. The first player to join the game is admin, he can start the game and kick players.
However, if the admin player leaves, a new game can only be started if all players have left before (this is a bug, admin status should be passed to another player).
2007-08-02 20:52:13 +00:00
lotodore f11998c28c Added console server app. First try. Depends on qt for locale-specific stuff. Cannot start a game yet, only join is possible. Cannot run multiple games yet.
Not yet as service/daemon, because testing is easier with a simple console app.
2007-07-30 23:22:58 +00:00
lotodore bd08245c1c (Hopefully) solved the player number problem, when players join and leave an existing game. Numbers are now assigned on game start, not before. Note: Network play is not compatible to the current official version. 2007-07-24 14:55:14 +00:00
lotodore 4e6a78dcb5 Fixed player disconnects (again). 2007-06-15 20:56:31 +00:00
lotodore e19f6c7471 Rewrote the code which handles leaving of players during the network game. Some bug is still remaining. 2007-06-15 10:38:41 +00:00
lotodore 7345630c0d boost timer: total_seconds instead of just seconds. Fixed bug where an invalid hand object was accessed. Only set action to "fold" for leaving players if they are active and are not fold. 2007-06-14 20:29:59 +00:00
lotodore 0d4e38705d It is now possible to start the network game with a player number below the maximum player count. 2007-06-11 19:46:18 +00:00
lotodore 07dc39d107 Client engine should now be completely thread safe. const int& -> int. Player CardsValue is now returned as copy, not the array itself. 2007-06-11 17:48:22 +00:00
lotodore baf2c82864 Added new packet type as end of game notification. Now displaying dialogs at end of game, to start a new game. Server errors are displayed. 2007-06-10 23:28:25 +00:00
doitux 0eb3e7e706 network allintimer changes 2007-06-10 21:45:31 +00:00
lotodore 6c9e6a6a28 On player action timeout, check will now be done if possible. 2007-06-10 10:11:00 +00:00
lotodore db4aea3f78 Automatic action when for player timeout. First try, not finished yet. 2007-06-08 22:14:05 +00:00
lotodore 056ae1aa32 Cleaned up some networking code. Total sets are now calculated by the client. 2007-06-08 20:19:21 +00:00
lotodore 48c7a27145 Pot and total sets are now displayed correctly. 2007-06-07 15:09:51 +00:00
lotodore 05a86be4fe Delay after showing cards when all in condition is true. Added option TCP_NODELAY. Round is now shown before dealing cards. 2007-06-07 14:06:22 +00:00
doitux cfdc52a8d5 net timer changes 2007-06-07 07:55:18 +00:00
lotodore 8a22157cbd First try of showing cards when everybody is all in. 2007-06-06 21:16:52 +00:00
lotodore 9a3e45d710 Added delays between dealing cards. Added check for IPv6. 2007-06-05 21:28:47 +00:00
lotodore f932e39983 Players should now be able to leave a network game, the other players can continue the game (if it wasn't the server who left). 2007-06-03 14:57:33 +00:00
lotodore b7b09aed0b Fixed bug when folding after raising. 2007-06-02 16:35:41 +00:00
lotodore 9512133490 Made it compile on windows. Fixed bug: Chat during change of hand did not work. Changed audio extension to wav. 2007-06-02 15:53:19 +00:00
lotodore 875750a998 Game now properly continues after someone looses. 2007-05-27 21:39:16 +00:00
lotodore 4dc13d9661 Fixed wrong assert. Chat now continues after end of game. 2007-05-27 20:50:24 +00:00
lotodore 1232017e3a Fixed running more than the first hand in network games. 2007-05-27 13:24:52 +00:00
lotodore 5cb5509dec Networking should mostly be working now. Some small issues concerning the display of pot/sets, and some delays are still needed. 2007-05-26 17:06:03 +00:00
lotodore c5e34fe186 Should be working to play up to river. 2007-05-25 19:53:07 +00:00
lotodore e14d01432c Flop/turn/river cards are now sent in a network game. 2007-05-25 18:28:05 +00:00
lotodore 13a731e041 Chat messages are now working. 2007-05-25 16:03:12 +00:00
lotodore e8d7009106 Fixed GUI refresh. Added calls to setHighestSet. 2007-05-24 23:38:40 +00:00
lotodore 5431f0b93a Network: First round seems to work fine now. Pot/sets not yet displayed correctly. 2007-05-24 20:26:23 +00:00
lotodore 2556f43340 First try: Transferring client action. 2007-05-23 22:31:56 +00:00
lotodore e01ea96727 Fixed some small server issues. Players in the process of establishing a session are now kicked on game start.
If someone tries to join a game which is already running, a proper error message is shown.
When sending a message to all or all but one players, the players which do not have the session established are now correctly ignored.
2007-05-23 08:57:34 +00:00
lotodore 2e12f1bc25 Fixed id bug in networking code. Dealer id is now set correctly. Phew. 2007-05-22 23:27:21 +00:00
lotodore 5744980d36 First try for small blind / big blind before start of hand. There seems to be a problem with player ids or numbers, however. 2007-05-21 22:16:32 +00:00
lotodore 4dd26a3c3a Fixed g++ warnings. Additional client displaying. 2007-05-21 19:52:26 +00:00
lotodore 2ce67297ee Tools - random number function is now static. Fixed player number issue with network games (GUI player number needs to be 0), this still requires some work. 2007-05-21 19:00:06 +00:00
lotodore e4039695c0 Protocol changes for big blind / small blind. GUI Player is now stored in Game. 2007-05-20 22:49:07 +00:00
lotodore 4a53678291 Client engine factory needs to be free of configuration file (configuration provided by server). Separated specific start data from general game data. Sending client game object to GUI after creation. Client thread now manages player and game data. 2007-05-20 00:16:29 +00:00
lotodore b773c30ae0 Start position of dealer is now set via network. Added files for network client engine. Added factory code. 2007-05-18 17:13:27 +00:00
lotodore c160a09811 Some include file optimizations. Fixes for the server. 2007-05-15 20:37:37 +00:00
lotodore 5f033730da Restructured network server. 2007-05-14 21:18:24 +00:00
lotodore 2d894c6a2c Trying to bring life to the server. 2007-05-14 12:40:42 +00:00
lotodore 7540ea17bd Fixed relationship of network session and player data to be consistent with the game engine. Now sending card's values via network. Fixed net packet checks. 2007-05-13 22:25:59 +00:00
lotodore 4a10d6188c Fixed player counting bug. Fixed player number. Joining/leaving network game should work now. Added player type to localplayer. 2007-05-08 06:45:46 +00:00