Commit Graph
828 Commits
Author SHA1 Message Date
lotodore b90fa705aa Set "stayOnTableStatus" in engine. 2011-12-23 19:32:56 +00:00
lotodore bf81ba1d98 Check timeout only for human players. 2011-12-23 17:23:56 +00:00
lotodore 25ed93f477 Making cppcheck happy. 2011-12-23 17:14:36 +00:00
lotodore ae842b9a2d Calculate player numbers in a different way, so that a player number on the server can be converted to a player number on the client. 2011-12-22 23:16:58 +00:00
lotodore fc7be88602 Fixing interpretation of seat state in client. 2011-12-22 21:57:18 +00:00
lotodore f8c1cdf56e Inform players when another player is no longer allowed to rejoin. 2011-12-22 20:10:18 +00:00
lotodore 38d224590a Send state of seats at the beginning of each hand. 2011-12-21 20:56:41 +00:00
lotodore 6df1a9b93c Fixing use of wrong player id. 2011-12-18 23:17:36 +00:00
lotodore 0f93d0d9b0 Properly reset activity timer. 2011-12-18 21:23:25 +00:00
lotodore c40463a215 Missing } 2011-12-18 20:35:20 +00:00
lotodore 05d4b67a50 Send timeout warning when autofold is active. 2011-12-18 20:34:04 +00:00
lotodore 99616b4eed Send player state with each player action. autofold/disconnect timeout now depends on player action timeout. 2011-12-17 23:34:34 +00:00
lotodore 1843015630 Fixing server exception when shutting down a socket which was already closed. 2011-12-17 10:29:56 +00:00
lotodore 0a8cd1cce4 Implementing automatic kick of players after a certain timeout within a game. 2011-12-16 22:39:24 +00:00
lotodore 1bf12328ee Remove players from game (without possibility to rejoin) if they did not act within a certain time. Feature is still broken, because the timer is canceled on disconnect. 2011-12-11 19:37:51 +00:00
lotodore 7bb9841f83 More timer cleanup. 2011-12-11 17:12:26 +00:00
lotodore aad9e271db Cleaning up the different timeouts and how players can be removed from the game. 2011-12-11 14:54:17 +00:00
lotodore 535502196b Still trying to fix the build. 2011-11-17 19:24:06 +00:00
lotodore 90d6955efd Trying to fix boost build problem. 2011-11-17 18:54:27 +00:00
lotodore f968aae6c0 Fixing nasty crash when a player left a game which was not running. 2011-11-15 19:56:23 +00:00
lotodore 641becb654 Fixing protocol version number. 2011-11-13 19:49:26 +00:00
lotodore d975139409 Preparing release 0.9-beta1. Fixing issue that player was not marked as kicked when kicked through the chat cleaner. Fixing java test cases. 2011-11-13 19:10:07 +00:00
lotodore c3f12fe190 Properly mark player as kicked on client side. 2011-11-13 16:47:33 +00:00
lotodore fec3a5fb65 Only send cardsvalue if round before was "river". 2011-11-13 16:28:04 +00:00
lotodore 2678bd9101 Fixed the action when players are kicked who left before being kicked. 2011-11-13 15:36:01 +00:00
lotodore edde9137ae CardsValue is now optionally sent by the server. 2011-11-13 15:31:35 +00:00
lotodore edef79e9d1 Disable rejoin for players who have been kicked. 2011-11-13 14:28:54 +00:00
floty 2437407ffc optimizing local sqlite-logging; implementing second steps network client sqlite-logging 2011-11-13 01:05:28 +00:00
floty 385a641ede optimizing local sqlite-logging; implementing first steps network client sqlite-logging 2011-11-09 21:39:37 +00:00
lotodore 32d26e3644 Removing AFK-warning message. Preparing integration of a new auto-AFK mode. 2011-11-07 21:07:13 +00:00
floty 77cda8da32 clientThreat gets log-object now 2011-11-06 20:03:32 +00:00
lotodore 26f01f0946 Trying to fix problem with client active status on rejoin. 2011-11-05 20:53:59 +00:00
lotodore 05c8667c53 Fixing crash in communication code for the chatcleaner. This code should be rewritten... 2011-10-30 08:04:22 +00:00
floty 7f13da91e5 applying astyle 2011-10-26 22:29:47 +00:00
lotodore fa01ab57d6 Fixing order of messages. 2011-10-26 21:51:29 +00:00
lotodore 0230edaec2 New start event type to mark a certain game start as "rejoin" (in order to show a special dialog). 2011-10-26 21:45:39 +00:00
floty f1dc2e90a5 - rename lastPlayersTurn -> previousPlayerID and lastActionPlayer -> lastActionPlayerID 2011-10-26 19:34:57 +00:00
floty fb01a698d5 - some changes in sqlite logging
- replace myAction-int by PlayerAction in player-object
2011-10-24 20:44:22 +00:00
lotodore 94f0c3e694 Fixing compiler warning. 2011-10-23 12:02:38 +00:00
lotodore ad961de45d Polishing rejoin implementation. 2011-10-23 09:13:04 +00:00
floty ad4aace71d - some changes in sqlite logging
- replace beroID-int by GameState in hand
2011-10-22 23:57:02 +00:00
floty 8ae7db3e96 - updating sqlite-log
- handID in bero is unnecessary; removing parameter value
2011-10-21 00:16:43 +00:00
lotodore d14d1b4787 Do not check server password on official server (to prevent misconfiguration on client side). Only user auth is performed. 2011-10-20 21:41:37 +00:00
lotodore ddf2ca784b Adding enhancement #76 (server password). The server password is checked during init, in addition to possible player auth. It can be set as option "ServerPassword" in config.xml, on client and server. 2011-10-20 21:19:58 +00:00
lotodore 2f588ffed7 Running astyle. 2011-10-20 14:13:25 +00:00
lotodore 28d7904265 Pass ConfigFile to ClientThread constructor. 2011-10-20 12:03:20 +00:00
lotodore 75b84f9401 Fixing ticket #75: Game names are now trimmed, and it is verified that the first character is printable. 2011-10-12 08:37:22 +00:00
lotodore a732baa71a Update dealer id before changing the player id. 2011-10-12 07:28:02 +00:00
lotodore ec7f5aec99 Fixing bug that players are kicked if one player leaves. 2011-10-11 21:06:16 +00:00
lotodore 03083e8ec0 Rejoin works. 2011-10-11 19:18:11 +00:00