lotodore
26299e80c0
Server states can now handle multiple games (are multithreading capable).
2007-08-11 10:02:04 +00:00
lotodore
0aef0d9e42
Removed dependencies on old preflop/flop/turn/river interface from networking. Compiles, but networking is BROKEN. Also includes first try of computer players for networking, which is broken, too.
2007-08-06 21:38:09 +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
bd08245c1c
(Hopefully) solved the player number problem, when players join and leave an existing game. Numbers are now assigned on game start, not before. Note: Network play is not compatible to the current official version.
2007-07-24 14:55:14 +00:00
lotodore
e19f6c7471
Rewrote the code which handles leaving of players during the network game. Some bug is still remaining.
2007-06-15 10:38:41 +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
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
lotodore
9a3e45d710
Added delays between dealing cards. Added check for IPv6.
2007-06-05 21:28:47 +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
lotodore
5431f0b93a
Network: First round seems to work fine now. Pot/sets not yet displayed correctly.
2007-05-24 20:26:23 +00:00
lotodore
2556f43340
First try: Transferring client action.
2007-05-23 22:31:56 +00:00
lotodore
e01ea96727
Fixed some small server issues. Players in the process of establishing a session are now kicked on game start.
...
If someone tries to join a game which is already running, a proper error message is shown.
When sending a message to all or all but one players, the players which do not have the session established are now correctly ignored.
2007-05-23 08:57:34 +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
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
lotodore
476035f791
Fixed error reporting (temporary fix).
2007-05-05 21:40:24 +00:00
lotodore
82b5392ff5
Added new boost timer. Prepared fixes for removing players.
2007-05-05 21:14:23 +00:00
lotodore
da2939a7a8
Error messages are shown when joining a network game fails. Still need to handle players which left and kicking players.
2007-04-28 13:07:06 +00:00
lotodore
73a5117066
Configuration is transferred. A new game should be started on client side, but signal/slot is not working yet. Oh well.
2007-04-27 21:35:18 +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
07a0e01620
Added callback to display player names of connected players.
2007-04-08 20:35:42 +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
804c7eaaa2
Fixed design problem: Thread objects can now be created in any context.
...
Sender thread output queue is now limited.
Server thread now terminates correctly.
Now cloning packets when sending them to multiple recipients.
Fixed one thread issue - GameStart still needs to be made thread safe.
2007-03-20 11:56:30 +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