Commit Graph
34 Commits
Author SHA1 Message Date
lotodore 087a0d0cda IRC polishing work - kicks are shown, error messages are displayed. Rename somehow buggy still. 2007-09-30 16:19:44 +00:00
lotodore aaf4106c20 Send notification to clients when a game in the lobby was started. Mark games as running in lobby dialog. 2007-09-29 20:20:01 +00:00
lotodore eb62635e02 Additional irc stuff - list of nicks, leaving/joining players. Not complete yet, renames are missing, as well as special stuff like being kicked. 2007-09-27 20:59:00 +00:00
lotodore 7bbf76fe5d Added irc support for lobby dialog. Takes some time to connect before messages can be sent/received. No special stuff yet, no user list, no connection notifications. Still work in progress. 2007-09-26 11:48:33 +00:00
lotodore 9d0edc5eee Major redesign: The game can not be left without disconnecting from the server. This happens if a player is kicked, if he wishes to leave, or for other reasons. Error packets from the server will always cause a disconnect, however.
If joining a game fails, there is a proper failure packet now.
2007-09-06 19:09:05 +00:00
lotodore 9ed217609b Internet game lobby dialog shows now overview of games and whether they are private. Now showing connection progress before the internet game lobby. 2007-09-04 12:44:11 +00:00
lotodore bd53403752 Major redesign: Using game ids and player ids in gui (associated with tree view items).
Player list of all network games is now dynamically updated in lobby (no polling, server sends events).
2007-09-02 16:36:52 +00:00
lotodore 56b24e09eb Major design change in network protocol: Player information is now requested by clients whenever it is needed. The server only sends player ids. The client has a cache with player information. 2007-08-26 22:41:37 +00:00
lotodore 839a4f7112 More steps towards supporting multiple games per server. Player rights still broken, so starting the game is not possible. Games are not yet terminated after all players have left. 2007-08-21 12:34:33 +00:00
doitux c34f683c41 BeRo refactoring 2007-08-07 13:07:39 +00:00
doitux 2f76bb82f9 BeRo refactoring 2007-08-07 00:05:29 +00:00
lotodore 0da29b3874 The console server can now be fully used for a single game. The first player to join the game is admin, he can start the game and kick players.
However, if the admin player leaves, a new game can only be started if all players have left before (this is a bug, admin status should be passed to another player).
2007-08-02 20:52:13 +00:00
lotodore 5c63a12104 All sounds are now only played if sound output is on (even the ping in network game). Audio is only initialized if it is enabled. Fixed double sounds in network games. Simplified fading out cards on fold. 2007-06-16 09:48:23 +00:00
doitux 4bfe82d214 signalFadeOutHumanPlayerCards() 2007-06-15 21:46:02 +00:00
lotodore 5af91f4ea2 Winning a game is now logged. 2007-06-11 20:35:12 +00:00
doitux ec841e0a3a 2007-06-11 05:30:39 +00:00
lotodore baf2c82864 Added new packet type as end of game notification. Now displaying dialogs at end of game, to start a new game. Server errors are displayed. 2007-06-10 23:28:25 +00:00
lotodore b624714f5d Resetting cards value on client side each hand. Added GUI synchronization function. Fixed update of pot when all but one fold. Reset sets on end of hand. 2007-06-10 12:46:29 +00:00
lotodore db4aea3f78 Automatic action when for player timeout. First try, not finished yet. 2007-06-08 22:14:05 +00:00
lotodore 9a29830532 Player action timeout - display is working, function still missing. 2007-06-07 23:24:22 +00:00
lotodore 9a59e688e6 Logging in network games should work now. 2007-06-07 18:41:11 +00:00
lotodore 05a86be4fe Delay after showing cards when all in condition is true. Added option TCP_NODELAY. Round is now shown before dealing cards. 2007-06-07 14:06:22 +00:00
doitux ffbe8ac924 add logPlayerLeftMsg() 2007-06-04 07:43:44 +00:00
lotodore 1fcb0c80fd Fixed init gui in networking (is now thread safe). Fixed displaying of game/hand number for network games. 2007-06-03 13:36:24 +00:00
doitux ccb339be04 highlightRoundLabel --> refreshGameLabels 2007-05-29 18:37:49 +00:00
doitux fbfd9eb96a playerbuttons hand after get incative bugfix
logDealBoardCards now in engine
2007-05-26 19:28:34 +00:00
lotodore 5cb5509dec Networking should mostly be working now. Some small issues concerning the display of pot/sets, and some delays are still needed. 2007-05-26 17:06:03 +00:00
lotodore 13a731e041 Chat messages are now working. 2007-05-25 16:03:12 +00:00
doitux 2333079b13 add chat functions 2007-05-25 00:09:51 +00:00
lotodore 4a53678291 Client engine factory needs to be free of configuration file (configuration provided by server). Separated specific start data from general game data. Sending client game object to GUI after creation. Client thread now manages player and game data. 2007-05-20 00:16:29 +00:00
lotodore 5f033730da Restructured network server. 2007-05-14 21:18:24 +00:00
lotodore 2d894c6a2c Trying to bring life to the server. 2007-05-14 12:40:42 +00:00
lotodore 7540ea17bd Fixed relationship of network session and player data to be consistent with the game engine. Now sending card's values via network. Fixed net packet checks. 2007-05-13 22:25:59 +00:00
lotodore 37bf6e4eb9 Added packet type to start a "Hand". Added generic gui for the server. 2007-05-13 17:50:48 +00:00