Commit Graph
260 Commits
Author SHA1 Message Date
lotodore d12ee37bac Try to update the player name after rejoin, if another player was not active during rejoin. 2011-12-29 22:09:11 +00:00
lotodore 64156cfa69 Use generic PlayerData objects for no-longer-connected players when rejoining a game. This fixes ticket #88 (client patch only). 2011-12-29 21:19:06 +00:00
lotodore 3aa998070f Fixing ticket #85: Compatibility issue with boost::filesystem v3 when creating the serverlist md5-filename. 2011-12-25 12:34:07 +00:00
lotodore b90fa705aa Set "stayOnTableStatus" in engine. 2011-12-23 19:32:56 +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 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 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 f968aae6c0 Fixing nasty crash when a player left a game which was not running. 2011-11-15 19:56:23 +00:00
lotodore c3f12fe190 Properly mark player as kicked on client side. 2011-11-13 16:47:33 +00:00
lotodore edde9137ae CardsValue is now optionally sent by the server. 2011-11-13 15:31:35 +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
lotodore 26f01f0946 Trying to fix problem with client active status on rejoin. 2011-11-05 20:53:59 +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
floty ad4aace71d - some changes in sqlite logging
- replace beroID-int by GameState in hand
2011-10-22 23:57:02 +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 03083e8ec0 Rejoin works. 2011-10-11 19:18:11 +00:00
lotodore 828fc6bfac Rejoin now works, but yet only as spectator. 2011-10-03 09:53:50 +00:00
lotodore aee0adbffe More protocol changes for rejoin. Re-adding server password to protocol. 2011-10-03 08:03:58 +00:00
lotodore f8c89304d1 Some changes to make cppcheck happy. 2011-09-29 20:54:24 +00:00
lotodore d6ab25d816 Trying to make rejoin work, still broken due to change of unique id during game. 2011-09-28 20:20:08 +00:00
lotodore 2488ea43cd More work on rejoin. This is still broken because the player id is not yet updated on client side, and the server still does not activate the rejoining player. 2011-09-11 20:38:18 +00:00
lotodore 945a8f4588 More work on rejoin. Server still sends a denial message. 2011-09-11 17:41:56 +00:00
lotodore 32ba77709e More work on rejoin: The server now detects when a rejoin is possible and allows the player to login directly, without waiting for a possible existing connection to be terminated. A session GUID is stored in the cache directory on client side for this purpose. 2011-08-28 17:14:03 +00:00
lotodore e109c0037d Preparing network protocol for rejoin. 2011-07-16 14:52:45 +00:00
lotodore 0ed12e0ac8 Switching license from GPL2 to AGPL3. 2011-07-02 14:38:06 +00:00
lotodore 8bac902580 Fixing loads of msvc warnings (mainly size_t vs int issues). 2011-04-10 10:04:42 +00:00
floty 9c2dc64fbd sqlite-log: deleting unused parameters and implementing logging board cards 2011-02-27 16:34:39 +00:00
lotodore 5730cd321d Rewriting network receive functions. This is still work in progress to make it more efficient. 2011-02-19 23:47:24 +00:00
lotodore c4b8e567ed Implementing private messages in lobby chat, ticket #12. Some cosmetic improvements are still missing. 2011-02-11 23:02:29 +00:00
lotodore 02518c67b2 Reformatting code using Kernighan & Ritchie style, tabs, tab width=4.
Command line: astyle --style=kr --indent=force-tab=4 --lineend=linux -n -r <file names>
2011-02-11 20:02:08 +00:00
lotodore 55a5903142 Removing unnecessary include. 2011-02-08 16:21:21 +00:00
lotodore 2dd18020a7 CppCheck fixes. 2011-02-08 16:00:43 +00:00
lotodore e55e39a979 Chat cleaner now active within ranking games (for testing it is also active in normal games). New protocol version for chat cleaner. 2011-01-30 18:28:44 +00:00
lotodore 5f8e662457 Show message whether avatar report was successful. 2011-01-16 16:35:54 +00:00
lotodore 2a7456998a Improve thread safety. 2011-01-12 23:35:45 +00:00
lotodore 8e8e173884 Adding new join game failed message if two players with the same ip address want to join a ranking game. 2010-11-14 18:26:50 +00:00
floty 3141743430 delete no longer required "playersTurn" 2010-09-29 20:56:38 +00:00
lotodore 7a4b1d2840 Notify GUI when start synchronization is running. 2010-09-25 09:06:28 +00:00
lotodore 6464700d94 AFK players are now kicked from ranking games after some timeouts if they do not enable autocheck/fold. 2010-09-05 14:33:34 +00:00
lotodore 981bea60ce Adding new protocol notification. 2010-09-05 00:20:24 +00:00