Commit Graph
281 Commits
Author SHA1 Message Date
lotodore d3cd97c666 Running astyle. 2012-12-21 01:01:01 +01:00
lotodore 02016381ef Multiple player info requests can be placed in one packet. 2012-09-24 12:22:13 +02:00
lotodore f0ee0af6ec Some work on protocol buffer details. 2012-09-23 23:19:53 +02:00
lotodore 895a174a08 Fixing gcc compiler warnings. 2012-09-20 22:14:17 +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 e38b2665c0 Fixing issue #147: No longer show synchronization error, so that rejoin is possible if sync problems occur. 2012-09-08 11:53:28 +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 ed43fa107c Server feedback after report game. 2012-04-09 10:22:24 +00: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
lotodore 58a0d3fb2e Download serverlist only once a day. Delete the current list if the connection to the server fails. #119 2012-02-04 20:33:39 +00:00
lotodore 33cdfdaed7 Fixing rejoin for non-official server. 2012-01-28 11:23:26 +00:00
lotodore 3ef29cb7ea Rejected chat is not a global notice, it is just a notice. 2012-01-09 18:41:31 +00:00
lotodore 1fc25fc96b Show chat reject message if player is muted. 2012-01-08 19:18:55 +00:00
lotodore 2cdb5ce215 No longer use the server list md5, it caused only trouble, and the serverlist .z file is small enough to be downloaded each time (#95). 2012-01-08 18:47:30 +00:00
lotodore 1379babe38 Properly converting remove reason on client side (#94). 2012-01-08 08:33:06 +00:00
floty 2604e2b962 bugfix: proper current round in sqlite log when board cards shown on board 2012-01-07 22:31:32 +00:00
lotodore 44ba6cba68 Set new round in log object. 2012-01-07 21:02:58 +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 86cf46bdd6 Use proper linefeeds. 2011-12-30 13:07:01 +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 3aa998070f Fixing ticket #85: Compatibility issue with boost::filesystem v3 when creating the serverlist md5-filename. 2011-12-25 12:34:07 +00:00
lotodore b90fa705aa Set "stayOnTableStatus" in engine. 2011-12-23 19:32:56 +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 fc7be88602 Fixing interpretation of seat state in client. 2011-12-22 21:57:18 +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 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 7bb9841f83 More timer cleanup. 2011-12-11 17:12:26 +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 f968aae6c0 Fixing nasty crash when a player left a game which was not running. 2011-11-15 19:56:23 +00:00
lotodore c3f12fe190 Properly mark player as kicked on client side. 2011-11-13 16:47:33 +00:00
lotodore edde9137ae CardsValue is now optionally sent by the server. 2011-11-13 15:31:35 +00:00
floty 2437407ffc optimizing local sqlite-logging; implementing second steps network client sqlite-logging 2011-11-13 01:05:28 +00:00
floty 385a641ede optimizing local sqlite-logging; implementing first steps network client sqlite-logging 2011-11-09 21:39:37 +00:00
lotodore 32d26e3644 Removing AFK-warning message. Preparing integration of a new auto-AFK mode. 2011-11-07 21:07:13 +00:00
lotodore 26f01f0946 Trying to fix problem with client active status on rejoin. 2011-11-05 20:53:59 +00:00
floty 7f13da91e5 applying astyle 2011-10-26 22:29:47 +00:00
lotodore fa01ab57d6 Fixing order of messages. 2011-10-26 21:51:29 +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
floty fb01a698d5 - some changes in sqlite logging
- replace myAction-int by PlayerAction in player-object
2011-10-24 20:44:22 +00:00
floty ad4aace71d - some changes in sqlite logging
- replace beroID-int by GameState in hand
2011-10-22 23:57:02 +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 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 f8c89304d1 Some changes to make cppcheck happy. 2011-09-29 20:54:24 +00:00