Commit Graph
32 Commits
Author SHA1 Message Date
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
lotodore 945c4a102a Completely rewriting all NetPacket stuff to use ASN.1. Finally this big chunk of work is completed. Compiles and links fine, but still partly non-functional.
PLEASE NOTE: This is NOT COMPATIBLE to 0.7.x, because it is a new network protocol.
2009-08-02 15:11:40 +00:00
lotodore efe20f6275 Fixing game termination if an error occurs. 2009-07-12 09:13:49 +00:00
lotodore 22edd63dde Further paranoia changes to prevent timer callbacks from occurring in an uncontrolled state. 2009-06-15 22:34:07 +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 5f3369432a Rewriting sender yet again to fit the new asio design. Polling for new send data is no longer needed, this also reduces lag. 2009-06-07 08:51:43 +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