Commit Graph
16 Commits
Author SHA1 Message Date
lotodore e8eda4f189 Delay auto-start of games when they are full. 2010-09-04 20:08:40 +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 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 0a15afacbb Let the server send cards on request of the corresponding user. 2010-07-17 21:11:12 +00:00
lotodore 79e7a47343 Preparing network functions to let a player show his cards. 2010-07-15 21:55:52 +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 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 3b25e18fde Rewriting boost asio timer stuff. (Did I mention I dislike the asio "cancel" semantics?!). TimerManager is no longer used. Should be stable now, but might leak some memory (needs further testing). 2009-06-12 15:48:34 +00:00
lotodore c8594e8e7b Canceling asio timers has bad semantics, and causes loads of trouble. Therefore, cancelled timers are simply marked as such, and the asio callback is silently ignored. This fixes several crashes, if players were removed from a game due to an error, because some timers were not cancelled. *sigh* This one took a lot of nerve. 2009-06-07 23:25:13 +00:00
lotodore 47648392fb Use boost::asio timer callbacks instead of self-made ones. There are still some termination issues (terminating a network game will result in a crash). However, it should be quite effective now with a large number of users. 2009-06-01 19:49:16 +00:00
lotodore 24abedbbab Renaming class ServerGameThread to ServerGame. 2009-05-31 20:14:46 +00:00
lotodore f2bd0c6111 ServerGameThread is no longer a thread. 2009-05-31 19:45:20 +00:00