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
9d63df9218
More work on server redesign. Network mode still broken.
2007-08-20 15:30:22 +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
0d4e38705d
It is now possible to start the network game with a player number below the maximum player count.
2007-06-11 19:46:18 +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
dcbfe39fc9
Fixed typeo. *sigh*
2007-06-04 17:42:20 +00:00
lotodore
8c9fbca0fb
Changed IPv6 loopback name, since ubuntu does not seem to resolve localhost for ipv6.
2007-06-04 16:57:01 +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
2022e794ae
Removed some TODOs. Fixed network error message.
2007-06-02 21:19:19 +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
2e12f1bc25
Fixed id bug in networking code. Dealer id is now set correctly. Phew.
2007-05-22 23:27:21 +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
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
doitux
e2d394f576
one ConfigFile for all
2007-05-13 18:17:25 +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
4a10d6188c
Fixed player counting bug. Fixed player number. Joining/leaving network game should work now. Added player type to localplayer.
2007-05-08 06:45:46 +00:00
lotodore
a85ec4ee5a
Players can now join and leave as they wish. Still TODO: Need to fix player number.
2007-05-06 23:27:08 +00:00
doitux
e72c25203b
create app-directories only on startup
2007-05-05 19:02:11 +00:00
lotodore
f6fb29b883
GUI initialization now called by session.
2007-05-02 21:20:54 +00:00
lotodore
e0bc14282f
Now using int as parameters for the signal/slot method. This needs to be fixed some time...
2007-04-27 22:55:19 +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
doitux
6230dc8581
utf8 for logdir and datadir xml stream
2007-04-21 20:42:50 +00:00
lotodore
a8cce94d3b
Back to rev. 347
2007-04-20 23:14:08 +00:00
doitux
5437f91315
2007-04-20 08:18:18 +00:00
doitux
2b94ce958f
path to UTF8
...
configfile split
2007-04-18 00:11:24 +00:00
lotodore
2f5c8d7da1
Redone network packet abstraction. Prepared for easy access to packet data.
2007-04-08 16:18:20 +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
ca354dce7f
Started to implement server state engine.
2007-03-13 23:27:17 +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
doitux
e67c72e010
2007-01-22 22:25:58 +00:00