Commit Graph
148 Commits
Author SHA1 Message Date
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 84be9c62a8 Polishing chat and adding test cases for different chat messages. 2011-02-18 13:39:22 +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 dd3c003d7e Improving server test mode for faster testing 2011-02-11 12:59:42 +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 e55e39a979 Chat cleaner now active within ranking games (for testing it is also active in normal games). New protocol version for chat cleaner. 2011-01-30 18:28:44 +00:00
lotodore 41497c64ef Also store type of avatar if an avatar is reported as inappropriate. 2011-01-04 12:03:40 +00:00
lotodore 609a0c4f82 Preventing spam of report avatar function on server side. 2010-12-25 21:54:26 +00:00
lotodore 36445a00e7 Support report bad avatar function on server side. 2010-12-24 16:46:49 +00:00
lotodore 710affb1e5 Preparing the use of the report bad avatar function. 2010-12-24 12:27:46 +00:00
lotodore f37104e6ec Kick players from a game when they try to start it without proper rights to do so (was ignored previously). 2010-11-14 01:13:23 +00:00
lotodore 39a235d020 Mark game as running when start process is initiated. 2010-11-13 12:37:28 +00:00
lotodore d633321154 Fixing game create game ack text bug found through test case. 2010-11-11 00:45:30 +00:00
lotodore 0cb1d75ce3 Adding code for private chat messages (server side). These messages are not allowed within a game. Adding config option to disable brute force protection. 2010-11-07 08:24:31 +00:00
lotodore 1886d91009 Randomize player list before starting the game. 2010-10-22 19:42:48 +00:00
lotodore 7c790312e1 Testing build bot. 2010-10-11 20:03:14 +00:00
lotodore 972f678730 Fix some compiler warnings. 2010-10-11 15:44:56 +00:00
lotodore 5be4818731 Removing superfluous code. 2010-09-25 09:07:23 +00:00
lotodore 3016d6b3b2 Make small delay which prevents auto-kick from occurring configurable. 2010-09-11 21:37:27 +00:00
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