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
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
doitux
8ad92920cc
one ConfigFile for all
...
killed the tinyxml warnings
2007-05-13 12:35:27 +00:00
lotodore
6fbef0af20
Two step initialization for engine. First step: Create and initialize objects (constructor). Second step: Start the engine, update the UI.
2007-05-12 22:00:59 +00:00
lotodore
7c6337d810
Changes in preparation for the integration of the network server. GUI does not directly know Game and Hand any more, only Session. WARNING: This version crashes due to initialization order problems.
2007-05-11 12:01:13 +00:00
lotodore
29b6050ee1
Game configuration now placed in a struct. Prepared to send/receive game configuration over tcp.
2007-04-26 23:07:08 +00:00
lotodore
e202a83fbc
Fixed bug: "hands before raise" is now taken from dialog. Removed config from game.cpp for networking.
2007-04-26 21:11:13 +00:00
lotodore
a8cce94d3b
Back to rev. 347
2007-04-20 23:14:08 +00:00
doitux
2b94ce958f
path to UTF8
...
configfile split
2007-04-18 00:11:24 +00:00
lotodore
62e72617ba
When creating a network game, a client is also started.
...
Network errors are handled globally.
Fixed last network thread issue by using a notification queue, should work fine now.
2007-03-20 14:05:16 +00:00
lotodore
ef10602d5c
Initial handshake and network game start. Works with multiple clients. Not yet stable, because it is not thread-safe. GUI callbacks not complete yet (server dialog not updated).
2007-03-20 02:20:50 +00:00
lotodore
d4855a2ca2
Added simple server. Added session establishment (only test code). Added sender thread.
2007-02-25 23:16:26 +00:00
lotodore
a4eefbe18b
ClientThread is now created in Session.
2007-02-18 13:45:56 +00:00
doitux
a7fa1b03e7
2007-02-04 13:46:27 +00:00