Commit Graph
172 Commits
Author SHA1 Message Date
lotodore 99616b4eed Send player state with each player action. autofold/disconnect timeout now depends on player action timeout. 2011-12-17 23:34:34 +00:00
lotodore 0a8cd1cce4 Implementing automatic kick of players after a certain timeout within a game. 2011-12-16 22:39:24 +00:00
lotodore 1bf12328ee Remove players from game (without possibility to rejoin) if they did not act within a certain time. Feature is still broken, because the timer is canceled on disconnect. 2011-12-11 19:37:51 +00:00
lotodore fec3a5fb65 Only send cardsvalue if round before was "river". 2011-11-13 16:28:04 +00:00
lotodore edde9137ae CardsValue is now optionally sent by the server. 2011-11-13 15:31:35 +00:00
lotodore 32d26e3644 Removing AFK-warning message. Preparing integration of a new auto-AFK mode. 2011-11-07 21:07:13 +00:00
floty 7f13da91e5 applying astyle 2011-10-26 22:29:47 +00:00
lotodore 0230edaec2 New start event type to mark a certain game start as "rejoin" (in order to show a special dialog). 2011-10-26 21:45:39 +00:00
floty f1dc2e90a5 - rename lastPlayersTurn -> previousPlayerID and lastActionPlayer -> lastActionPlayerID 2011-10-26 19:34:57 +00:00
lotodore 94f0c3e694 Fixing compiler warning. 2011-10-23 12:02:38 +00:00
lotodore ad961de45d Polishing rejoin implementation. 2011-10-23 09:13:04 +00:00
lotodore a732baa71a Update dealer id before changing the player id. 2011-10-12 07:28:02 +00:00
lotodore ec7f5aec99 Fixing bug that players are kicked if one player leaves. 2011-10-11 21:06:16 +00:00
lotodore 03083e8ec0 Rejoin works. 2011-10-11 19:18:11 +00:00
lotodore 828fc6bfac Rejoin now works, but yet only as spectator. 2011-10-03 09:53:50 +00:00
lotodore aee0adbffe More protocol changes for rejoin. Re-adding server password to protocol. 2011-10-03 08:03:58 +00:00
lotodore d6ab25d816 Trying to make rejoin work, still broken due to change of unique id during game. 2011-09-28 20:20:08 +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 e109c0037d Preparing network protocol for rejoin. 2011-07-16 14:52:45 +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 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 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