Commit Graph
128 Commits
Author SHA1 Message Date
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 7a1a10abf5 Block bad game names on server. 2010-09-05 00:15:25 +00:00
lotodore 0829e80d49 Do not autostart network games. Do not start admin timer for network games. 2010-09-04 23:00:39 +00:00
floty 8157ff63b6 bugfix: update lastActionPlayer in network-games 2010-09-04 22:45:55 +00:00
lotodore e8eda4f189 Delay auto-start of games when they are full. 2010-09-04 20:08:40 +00:00
lotodore dc9bd92fcf Fixing double name in protocol. 2010-09-04 12:59:08 +00:00
lotodore c2ba56aba9 Encrypt own cards which are sent at the beginning of the hand - only applicable to registered users. 2010-09-04 11:56: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 c3bdda9d2f Disallow any kind of kicking in ranking games on server side. 2010-08-01 21:58:55 +00:00
lotodore 9e039182ec Also check ranking game restrictions on server. 2010-08-01 20:15:49 +00:00
lotodore 896c335204 Header files cleanup work. 2010-08-01 19:23:08 +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 78c9694438 If a player wishes to show the cards, let the server send them to all players, even the one who already knows the cards. 2010-07-23 17:05:33 +00:00
lotodore cc897745c4 Send list of cards which need to be shown instead of all cards of non-fold players. 2010-07-23 15:55:52 +00:00
lotodore 3df2c28271 Set winner before game delay. 2010-07-22 22:18:56 +00:00
lotodore 37e3b85c9b Adding debug output. 2010-07-19 21:09:25 +00:00
lotodore 966fb50662 Trying to log winner in database. 2010-07-19 19:29:49 +00:00
lotodore e60b3d8d92 Fixed use of wrong variable. 2010-07-18 11:26:53 +00:00
lotodore b2e8c7222d Possibly fixing an issue with send cards. 2010-07-18 11:11:27 +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 a447ec927e Implementing auto-start of games when they are full. 2010-04-17 12:50:38 +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 a01741846a Next steps for invitation system. 2010-03-30 13:02:43 +00:00
lotodore 499c2b72e6 First parts of implementation of invite system in server. 2010-03-30 12:07:48 +00:00
lotodore 5df5d6609c Guest user is not allowed to send chat messages. 2010-03-28 12:54:11 +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 f10e4c3423 Extending player rights by guest mode. Kind of broken, because it interferes with the current system where you automatically gain admin rights when creating a game. 2010-03-24 15:54:04 +00:00
lotodore 31c7b789a8 Adding support for custom delay between hands in protocol. 2009-10-24 21:49:11 +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 4cf42d2113 Lobby chat works now, but player list ist not yet shown. 2009-08-15 14:51:21 +00:00
lotodore 4c340d5bdc Use own lobby chat instead of IRC. First steps, still incomplete. 2009-08-15 10:25:13 +00:00
lotodore e5d56ad162 Fixing vote kick. 2009-08-06 20:05:49 +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 398805a136 Handle the case if there is no winner in a game. 2009-07-13 18:10:11 +00:00
lotodore f7a8cb1419 Adding additional logging. 2009-07-12 21:12:55 +00:00
lotodore a2e692d844 Fixing delayed sending of create/join game for network games. 2009-06-20 18:41:03 +00:00
lotodore 34b251bfad Fixing all in timer issue. 2009-06-20 07:59:33 +00:00
lotodore 4c8248353a Adding error handling so that an error within a game does not terminate the server, only the single game. 2009-06-19 20:48:57 +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 744e5c81d4 Small fixes. Removing some TODO comments which are no longer valid. 2009-06-13 10:52:12 +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 a33d9b7c3b Trying to fix strange timer crashes. 2009-06-09 23:04:04 +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