Commit Graph
183 Commits
Author SHA1 Message Date
lotodore 0d60360fca Update server ping with each game action (#239). 2013-12-08 12:20:51 +01:00
lotodore d82c9a510d Add spectator list during the game (when lobby messages are disabled). 2013-09-29 13:15:37 +02:00
lotodore 8e39432754 Adding websocket server code, so that a gateway is no longer required. Still kind of untested. Requires websocketpp. 2013-09-15 22:54:45 +02:00
lotodore 1d0b9fc5f2 Signals/callbacks when spectators join or leave. 2013-08-19 22:50:56 +02:00
lotodore 0052de02e1 Enabling banning a player from the client (as admin). 2013-02-28 20:38:37 +01:00
lotodore 19f27a890c Implementing packet validation for new packets and client side game removal for admin players. 2013-02-24 23:04:02 +01:00
lotodore ccdd838900 Fixing reset timeout and show own cards messages. 2013-01-01 14:31:04 +01:00
lotodore 45a5c7cef8 License change: OpenSSL exception (for Windows 8 support, because gcrypt does not work on Windows 8). 2012-12-25 15:06:23 +01:00
lotodore 02016381ef Multiple player info requests can be placed in one packet. 2012-09-24 12:22:13 +02:00
lotodore 86c58fc7c8 Switching from ASN.1 (asn1c) to google protocol buffers. Some things are still missing (packet verification, tests, ...), this is very early stuff. 2012-09-18 15:57:58 +02:00
lotodore 7bc8c1b9f2 Fixing issue #138: No longer throw an exception if the server list is invalid, because the server list is always invalid in network games. 2012-06-17 13:35:31 +02:00
lotodore ac0041cb8f Preparing "reportGameName" network message. 2012-03-31 20:14:11 +00:00
lotodore 2d19013fae Cleaning up serverlist caching. 2012-02-04 21:39:24 +00:00
floty 5769423595 last bugfixes for sqlite-log; activating sqlite-log for release version 0.9.1 2012-01-09 12:42:04 +00:00
floty 800199f6f0 changing parameter in some log-functions; run astyle 2012-01-07 18:42:24 +00:00
floty 3a659dd5d5 logging missing network actions in sqlite; run astyle. 2012-01-05 20:54:27 +00:00
lotodore d12ee37bac Try to update the player name after rejoin, if another player was not active during rejoin. 2011-12-29 22:09:11 +00:00
lotodore 64156cfa69 Use generic PlayerData objects for no-longer-connected players when rejoining a game. This fixes ticket #88 (client patch only). 2011-12-29 21:19:06 +00:00
lotodore b90fa705aa Set "stayOnTableStatus" in engine. 2011-12-23 19:32:56 +00:00
lotodore 25ed93f477 Making cppcheck happy. 2011-12-23 17:14:36 +00:00
lotodore ae842b9a2d Calculate player numbers in a different way, so that a player number on the server can be converted to a player number on the client. 2011-12-22 23:16:58 +00:00
lotodore f8c1cdf56e Inform players when another player is no longer allowed to rejoin. 2011-12-22 20:10:18 +00:00
lotodore 38d224590a Send state of seats at the beginning of each hand. 2011-12-21 20:56:41 +00:00
lotodore aad9e271db Cleaning up the different timeouts and how players can be removed from the game. 2011-12-11 14:54:17 +00:00
lotodore c3f12fe190 Properly mark player as kicked on client side. 2011-11-13 16:47:33 +00:00
floty 385a641ede optimizing local sqlite-logging; implementing first steps network client sqlite-logging 2011-11-09 21:39:37 +00:00
floty 77cda8da32 clientThreat gets log-object now 2011-11-06 20:03:32 +00:00
lotodore 26f01f0946 Trying to fix problem with client active status on rejoin. 2011-11-05 20:53:59 +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 8ae7db3e96 - updating sqlite-log
- handID in bero is unnecessary; removing parameter value
2011-10-21 00:16:43 +00:00
lotodore ddf2ca784b Adding enhancement #76 (server password). The server password is checked during init, in addition to possible player auth. It can be set as option "ServerPassword" in config.xml, on client and server. 2011-10-20 21:19:58 +00:00
lotodore 2f588ffed7 Running astyle. 2011-10-20 14:13:25 +00:00
lotodore 28d7904265 Pass ConfigFile to ClientThread constructor. 2011-10-20 12:03:20 +00:00
lotodore aee0adbffe More protocol changes for rejoin. Re-adding server password to protocol. 2011-10-03 08:03:58 +00:00
lotodore f8c89304d1 Some changes to make cppcheck happy. 2011-09-29 20:54:24 +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 945a8f4588 More work on rejoin. Server still sends a denial message. 2011-09-11 17:41:56 +00:00
lotodore 32ba77709e More work on rejoin: The server now detects when a rejoin is possible and allows the player to login directly, without waiting for a possible existing connection to be terminated. A session GUID is stored in the cache directory on client side for this purpose. 2011-08-28 17:14:03 +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 787f8d4d81 Fixing client error messages. 2011-02-23 09:53:01 +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 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 c55c003f1f Fixing nasty bugs found with the help of cppcheck. This should be backported to the current server asap. 2011-02-08 16:41:46 +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 2a7456998a Improve thread safety. 2011-01-12 23:35:45 +00:00
lotodore ddaf311c12 New log object for network/internet games. Preliminary code. 2011-01-03 18:41:28 +00:00
lotodore 710affb1e5 Preparing the use of the report bad avatar function. 2010-12-24 12:27:46 +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