Commit Graph
67 Commits
Author SHA1 Message Date
lotodore 059da0232a Preparing to fix login for network game and dedicated server without login backend. Currently broken. 2009-11-14 12:39:25 +00:00
doitux 9e7792fd8e extra callback for showing internet game login dialog 2009-11-08 21:18:25 +00:00
lotodore 5424aed21e Fixing server announcement. Gui callback still needed. 2009-11-08 09:48:01 +00:00
lotodore 39285263b7 Starting login dialog integration on client side. 2009-09-24 20:10:40 +00:00
lotodore 4c340d5bdc Use own lobby chat instead of IRC. First steps, still incomplete. 2009-08-15 10:25:13 +00:00
lotodore 4b5d78af81 The client network code was rewritten to use boost::asio. Some optimization is still required, and some code files can now be removed. 2009-06-14 22:07:41 +00:00
lotodore ac4c2e9aef Integrating precompiled headers support (might speed up compilation). Currently disabled (in .pro files). 2009-05-07 22:36:51 +00:00
lotodore 534b6066a8 More work on server selection. Currently untested. 2009-04-05 12:31:12 +00:00
lotodore 009249e41a Adding stuff for server list (choosing a server). Might not compile (untested yet). 2009-04-05 11:19:50 +00:00
lotodore b236fa9d62 Vote kick kind of working. Only the forward case - no timeout, no error handling, no display update. 2008-11-25 22:18:17 +00:00
lotodore 1cfe551f19 More work on vote kick. Some network packets are exchanged, but still not functional. 2008-11-16 22:57:11 +00:00
lotodore 9f0d204f56 First test version with network timeout. Only activity timeout and global timeout, no game admin timeout yet. Set to test values (will disconnect rapidly).
Modified method for init timeout (if session cannot be established) - now using one non-modifiable timer for each session, and an additional timer which is reset whenever session data is received.
2008-03-04 23:47:45 +00:00
lotodore aa07ae1741 Fixed utf8 issue with avatar cache and server logging. 2007-12-11 19:35:02 +00:00
lotodore c0bf559ca2 Fixed two avatar related bugs, which were both result of not adding an avatar to the manager when it was configured (a restart was required). Fixed "the server requested a non-existing avatar", and fixed showing own avatar in lobby directly after setting it. 2007-11-22 01:11:17 +00:00
lotodore bc16e26616 Use server manager to allow SCTP and TCP at the same time. 2007-11-16 22:34:38 +00:00
lotodore cdd21250de Added support for password protected irc channels. Added server IRC mode for admin use, to allow requesting statistics and kicking players. 2007-11-16 00:58:23 +00:00
doitux e009f37df8 translation update ptbr and ru. backtolobby button more in foreground now. also warning window for leaving online-game 2007-11-07 01:41:17 +00:00
lotodore 864af81193 Don't request own avatar from the server. Only request avatars of other players after joining a game. 2007-11-01 18:36:03 +00:00
lotodore 392b0b8f23 Enable retrieval of avatar file name through session. 2007-11-01 10:09:29 +00:00
lotodore 3ea61381ef Use client game id when kicking players during game. 2007-10-28 19:38:49 +00:00
lotodore 8f1e5132d6 Added kick function with player name. 2007-10-27 18:51:53 +00:00
lotodore 4bc57f07d0 Add server statistics which are sent by the server to every client each time they change. 2007-10-20 22:22:11 +00:00
lotodore ad8095f379 Fixed avatars in network (non-public) games. 2007-10-15 08:37:32 +00:00
lotodore 310fadefdb Keep lobby open in the background during internet games. Show the lobby after the game finished. Re-open the game. Start and stop irc thread together with the client thread. 2007-10-08 20:14:44 +00:00
lotodore 351d32659f Fixed server termination issue. 2007-10-02 18:58:54 +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 d3be07bb17 File names of avatars are now md5sums. 2007-09-08 21:43:15 +00:00
lotodore e76be2a6ff Some more changes concerning avatars. Directory changes. App data now QApplication independent. 2007-09-08 20:40:46 +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 9f6bf5206e The checkbox "fill up with computer players" is now working (protocol has been changed to implement this). Lobby dialog is now also used after joining the game. Leaving game not possible yet. 2007-09-05 19:14:34 +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 fa8d7b14ec Information about the game is now shown in lobby, when selecting a game.
Some GUI modifications, GUI update is working properly now if the dialog is shown the second time (after clearing items).
List of players for the game is still missing. With the new on-demand model for player id/player name, this is kind of hard to implement.
2007-08-27 09:57:51 +00:00
lotodore 87941c632a Fixed local network game. Now using new config options. Client sends packets deferred to allow initialization. 2007-08-26 12:15:10 +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
lotodore 1d1d6480a9 Make it compile. Network mode not working currently. 2007-08-19 20:58:57 +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 f11998c28c Added console server app. First try. Depends on qt for locale-specific stuff. Cannot start a game yet, only join is possible. Cannot run multiple games yet.
Not yet as service/daemon, because testing is easier with a simple console app.
2007-07-30 23:22:58 +00:00
lotodore 07dc39d107 Client engine should now be completely thread safe. const int& -> int. Player CardsValue is now returned as copy, not the array itself. 2007-06-11 17:48:22 +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 fb274284f5 Kicking players at the beginning of a network game now works. 2007-06-07 21:19:06 +00:00
lotodore f886ebda86 Removed iostream includes, as they slow down compilation. 2007-06-07 19:37:35 +00:00
lotodore e6d1b46ba1 SCTP support. 2007-06-04 16:49:19 +00:00
lotodore b9ccba6ed4 Proper detection whether SCTP is available. Do not update player names on configuration change if network client is running. 2007-06-04 16:19:11 +00:00
doitux be90c8141a 2007-06-03 22:41:53 +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 2556f43340 First try: Transferring client action. 2007-05-23 22:31:56 +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 b773c30ae0 Start position of dealer is now set via network. Added files for network client engine. Added factory code. 2007-05-18 17:13:27 +00:00