Commit Graph
109 Commits
Author SHA1 Message Date
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 2678bd9101 Fixed the action when players are kicked who left before being kicked. 2011-11-13 15:36:01 +00:00
lotodore edef79e9d1 Disable rejoin for players who have been kicked. 2011-11-13 14:28:54 +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 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 aee0adbffe More protocol changes for rejoin. Re-adding server password to protocol. 2011-10-03 08:03:58 +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 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
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 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 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 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 c55c003f1f Fixing nasty bugs found with the help of cppcheck. This should be backported to the current server asap. 2011-02-08 16:41:46 +00:00
lotodore e823b7b788 Implementing ticket #2 - optionally remove players from games after it was finished. This breaks protocol compatibility with 0.8. Config file option is NetAutoLeaveGameAfterFinish. 2011-02-06 13:17:07 +00:00
lotodore e729647cec Implementing optional unlimited thinking time in LAN games on server side (GUI missing) ticket #24 2011-02-06 10:37:40 +00:00
lotodore ddaf311c12 New log object for network/internet games. Preliminary code. 2011-01-03 18:41:28 +00:00
lotodore 609a0c4f82 Preventing spam of report avatar function on server side. 2010-12-25 21:54:26 +00:00
lotodore 39a235d020 Mark game as running when start process is initiated. 2010-11-13 12:37:28 +00:00
lotodore 67b01746da Adding tests for ranking games, fixing small issue when creating ranking games. 2010-11-12 22:43:17 +00:00
lotodore 1886d91009 Randomize player list before starting the game. 2010-10-22 19:42:48 +00:00
lotodore 045218c2e3 Use one timer less per game (optimisation). 2010-10-19 13:13:39 +00:00
lotodore 0402313115 All players within a single ranking game need different ip addresses. 2010-10-02 19:50:49 +00:00
lotodore 04436c260b Fixing "game does not start automatically" issue. 2010-09-26 06:58:49 +00:00
lotodore 3016d6b3b2 Make small delay which prevents auto-kick from occurring configurable. 2010-09-11 21:37:27 +00:00
lotodore e8eda4f189 Delay auto-start of games when they are full. 2010-09-04 20:08:40 +00:00
lotodore 35b3edfa12 2010-08-30 09:16:57 +00:00
lotodore 4ebc245c0e Fixing runtime error (wrong iterator used). 2010-08-30 09:13:07 +00:00
lotodore 9fe9f3ce07 If multiple players leave/sit out at the same time, the one with more money at start of hand will get the better place. If people have the same stack, all will get the worse place. 2010-08-29 16:51:41 +00:00
lotodore 698432279f Set place for all players (not only first place) in ranked games. Simple version (all players who leave/lose at the same time get the same place). 2010-08-28 14:34:02 +00:00
lotodore 660535690d Fixing issue with player ranks. 2010-08-08 12:17:31 +00:00
lotodore 76d5317299 Store all players of each game in the database. 2010-08-08 10:23:40 +00:00
lotodore 0646bc9d2e Working on storing places of all players in ranking games. 2010-08-07 23:06:59 +00:00
lotodore 9e039182ec Also check ranking game restrictions on server. 2010-08-01 20:15:49 +00:00
lotodore 20028cb07f Store date/time when the game ends. 2010-08-01 15:21:31 +00:00
lotodore 5e9c33e7ff Only log ranking games in db. 2010-07-23 22:16:19 +00:00
lotodore 0a15afacbb Let the server send cards on request of the corresponding user. 2010-07-17 21:11:12 +00:00
lotodore 72fa1fb9ec Do not invite players who are already in the group. 2010-03-30 18:03:08 +00:00
lotodore 5239f496f3 Finishing server side invitation system. 2010-03-30 17:10:37 +00:00
lotodore d4b82d7dbc Fixing game admin stuff. 2010-03-27 12:50:05 +00:00
lotodore a02a9cacf6 (Hopefully) fixing guest & game admin stuff. 2010-03-26 21:41:35 +00:00
lotodore 1f7f045d15 Starting gsasl integration to perform challenge response authentication. Note that gsasl 1.3 is required (previous versions are not supported). Authentication is currently broken. 2009-10-11 09:20:17 +00:00
lotodore 51e393823a Game database entry is created only once the game is started. 2009-10-03 20:19:51 +00:00
lotodore 68ed10fd1e More fixes concerning lobby chat. 2009-08-15 14:08:48 +00:00
lotodore dce88bf3da Set game id for vote kick messages. 2009-08-03 22:39:08 +00:00