Commit Graph
924 Commits
Author SHA1 Message Date
lotodore bace7cd987 Workaround for issue #282 (should be backward compatible). 2015-01-06 15:55:29 +01:00
lotodore c24e8a3fa9 Fixing problem with subscription request message. 2015-01-03 12:38:33 +01:00
lotodore bd981dd581 Fix "create game" message. 2015-01-02 16:03:19 +01:00
lotodore 1f6c3d8ccf Builds with protocol changes (currently untested). 2014-12-28 01:03:06 +01:00
lotodore fdfba430b2 Builds with protocol changes (currently untested). 2014-12-28 01:01:52 +01:00
lotodore 47093976ca More work on new network protocol. 2014-08-19 18:19:17 +02:00
lotodore 88e5f600aa Merge branch 'new_local_game' of github.com:/pokerth/pokerth into gocode 2014-08-19 18:18:32 +02:00
floty 015d6b7c72 create additional class for server time delay; remove define NEW_LOCAL_GAME 2014-07-27 18:09:19 +02:00
lotodore 7eaa23b049 Server Umbau zwischenversion. 2014-07-13 13:48:01 +02:00
floty 304eac07a3 first modifcations for new local game; enabling: uncomment define NEW_LOCAL_GAME in game_defs.h 2014-07-11 18:15:40 +02:00
floty 590f9f7a33 prepare implementing new cards value function for calculating odds: rename myCards to myHoleCards 2014-05-26 12:41:21 +02:00
lotodore c2fa235e80 Merge branch 'master' of github.com:/pokerth/pokerth 2014-05-10 21:07:15 +02:00
lotodore 36149eddfe Adding different error messages for connection failure with IPv6 (#276). 2014-05-10 21:06:50 +02:00
floty e4d358f97a cleanup game logging; delete old code and disused defines 2014-04-04 18:51:26 +02:00
lotodore 757f12f35b Switching from asio deadline_timer to asio steady_timer in order to fix #55. This requires the (boost or native) chrono lib. 2014-03-29 16:13:53 +01:00
floty b93525607e run astyle 2014-03-16 21:46:52 +01:00
lotodore 3cbb365c61 Don't let a websocket login kick a normal login. 2014-02-15 23:15:27 +01:00
lotodore 0f23bf0105 Invoke ping callback only if a new ping value has been added. 2014-01-08 22:27:10 +01:00
lotodore 6042d68454 Running astyle. 2013-12-19 14:27:24 +01:00
lotodore aa22d39d77 Fix for libgcrypt 1.6.0 compile error #247 (supported only on Linux because libgcrypt does not yet support native Windows threads). 2013-12-19 12:28:35 +01:00
lotodore 30d5b2b578 Revert "Fix for libgcrypt 1.6.0 compile error #247 (Linux only, probably does not work on Windows)."
This reverts commit a5b863f1fd.
2013-12-19 11:24:55 +01:00
lotodore a5b863f1fd Fix for libgcrypt 1.6.0 compile error #247 (Linux only, probably does not work on Windows). 2013-12-19 11:08:16 +01:00
lotodore 0d60360fca Update server ping with each game action (#239). 2013-12-08 12:20:51 +01:00
lotodore 2c6a98e998 Consider new "allow spectators" game flag in server (#215) 2013-11-02 18:13:18 +01:00
lotodore 6992c732af Preparing "allow spectators" flag in network protocol (#215). 2013-10-27 00:41:13 +02:00
lotodore aea8a6c2e9 Allow spectators to join invite-only games (for now) #214 2013-10-20 19:06:53 +02:00
lotodore 2d6db51465 Origin check tolerates http:// and http://www. 2013-10-07 22:43:03 +02:00
lotodore f0f3d2eb04 Running astyle. 2013-10-06 16:30:09 +02:00
lotodore a6f3536290 Enable validation according to WebSocket resource and origin. 2013-10-05 16:42:05 +02:00
lotodore 2c5dcc2ba0 Properly send game closed message to spectators. 2013-10-05 13:30:19 +02:00
lotodore 917f49c8bf Fixing missing if-block. 2013-10-05 13:10:40 +02:00
lotodore bc7f34a2a6 Move spectators to lobby before closing a game. 2013-10-05 12:49:21 +02:00
lotodore 04abfb658d WebSocket protocol support can now be configured and is only used in the dedicated server. 2013-10-03 00:41:07 +02:00
lotodore c8739ccd47 Adding limitation for the number of spectators per game. 2013-09-30 23:36:32 +02:00
lotodore d82c9a510d Add spectator list during the game (when lobby messages are disabled). 2013-09-29 13:15:37 +02:00
lotodore 8baecdf9e0 Send spectator list to joining players. 2013-09-28 18:58:43 +02:00
lotodore a304903883 Send dealer player id with each hand start message. 2013-09-24 23:40:10 +02:00
lotodore 20eb7b94bd Fixing several compiler warnings. 2013-09-16 23:11:16 +02:00
lotodore c6c044b784 Fixing crash when sending data to a closed websocket connection. 2013-09-16 22:57:12 +02:00
lotodore 496a668a15 Fixing retrieval of remote webclient address for login blocker. 2013-09-16 22:33:52 +02:00
lotodore 84b9b56d6a Fixing gcc problem with EncodeToBuf-function. 2013-09-15 23:11:15 +02:00
lotodore 36eeaee5d7 Adding missing files for websocket implementation. 2013-09-15 23:06:15 +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 eb571a8640 Automatically close games if only spectators are left. 2013-09-02 00:37:02 +02:00
lotodore eae6a6fae7 Trying to fix missing spectator left message when connection is closed. 2013-09-01 23:43:59 +02:00
lotodore e008ef9ad5 Send lobby etc. notifications also to players in state "spectator waiting". 2013-09-01 18:09:15 +02:00
lotodore 9686257e41 Switching from asn.1 to protobuf as chat cleaner protocol. 2013-08-29 22:18:44 +02:00
lotodore 1d0b9fc5f2 Signals/callbacks when spectators join or leave. 2013-08-19 22:50:56 +02:00
lotodore 7b305b36e2 Adding feature to leave a game as spectator. 2013-08-11 13:25:26 +02:00
lotodore be0f363af4 Spectator mode fixes. 2013-08-10 16:53:36 +02:00