Commit Graph
793 Commits
Author SHA1 Message Date
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
lotodore 32843b2100 Use boost::random for random number generation. 2011-10-11 15:15:22 +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
doitux a23ccb10f1 rejoin dialog with gameId instead of gameName string 2011-08-08 19:50:28 +00:00
doitux ade189fdc5 new rejoin possible dialog added 2011-08-07 20:16: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 db9e7f1ac2 One more warning fixed. 2011-04-10 10:56:16 +00:00
lotodore 8bac902580 Fixing loads of msvc warnings (mainly size_t vs int issues). 2011-04-10 10:04:42 +00:00
lotodore 979f079a57 No longer use database game id, because it may not exist yet (related to issue #14) 2011-03-20 22:38:03 +00:00
lotodore 16ca90621e Fixing template typo. 2011-03-14 20:08:10 +00:00
lotodore c877e0ef74 Remove libircclient from client (pokerth_game no longer depends on it). 2011-03-11 21:56:24 +00:00
lotodore 13c9517d98 Removing use of internal libircclient, use external lib. 2011-03-11 01:43:21 +00:00
lotodore 95305e7ba5 Each network session now has a weak ptr to its game, to prevent looking up the game id all the time. 2011-03-10 21:53:25 +00:00
lotodore 9b9a921867 Removing SessionWrapper to prepare rejoin. This also improves dispatching network packets. 2011-03-10 20:55:46 +00:00
lotodore 5857f07309 Remove reference to network session from player objects. 2011-03-10 19:26:04 +00:00
lotodore 4ec5f4eae9 Removing dependency to gnutls, only gcrypt is required now. 2011-03-08 18:42:57 +00:00
lotodore 629ec5929d Limiting total number of sessions to prevent hitting the file descriptor ulimit. 2011-03-07 20:54:55 +00:00
lotodore 5122c26f8a Cleaning up compatibility stuff of very old boost versions. 2011-03-05 12:26:55 +00:00
lotodore 14d951243b Fixing more implicit memory leaks to make it easier to look for the serious ones. 2011-02-28 23:47:33 +00:00
lotodore beb18d32b9 Fixing implicit memory leaks. 2011-02-28 23:06:23 +00:00
floty 9c2dc64fbd sqlite-log: deleting unused parameters and implementing logging board cards 2011-02-27 16:34:39 +00:00
lotodore 63b28d7167 Running astyle. 2011-02-26 10:09:45 +00:00
lotodore 787f8d4d81 Fixing client error messages. 2011-02-23 09:53:01 +00:00
lotodore bbe0a19340 Preparing integration of SCTP support (again). Note that server error messages are currently broken. 2011-02-22 21:53:56 +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 0618dbd74e Rename SendDataManager to SendBuffer, which is a clear and proper name. (Part 2: File names) 2011-02-19 18:18:00 +00:00
lotodore d3d16b8f4c Rename SendDataManager to SendBuffer, which is a clear and proper name. 2011-02-19 17:55:21 +00:00
lotodore b824b8beb7 Moving send buf limitation to its proper place. 2011-02-19 15:19:50 +00:00
lotodore f7315cd9e5 Improving possible multithreading in new send code. 2011-02-19 15:01:50 +00:00