lotodore
e107cf98fa
Network timeout system also works from within a game now.
2008-03-06 15:27:31 +00:00
lotodore
a24a93caba
Use unix linefeeds for all files. Finally. It's about time.
2007-11-16 15:24:25 +00:00
lotodore
639df29bdc
Server now requests unknown avatar files from client and stores them in the cache dir. Error handling is still missing. Clients not yet request avatar files from the server, this is the next step.
...
AvatarManager is now thread safe.
Default and cached avatars are handled in different lists to prevent deleting the default avatars when clearing the cache.
2007-10-07 15:52:12 +00:00
lotodore
3bb28de5ae
More work on sending/receiving avatars. Introduces low priority send queue, so that the server send thread is not stalled when sending loads of avatars. Not functional yet.
2007-10-06 12:50:19 +00:00
lotodore
f1761a3793
First steps towards transferring avatars.
2007-10-04 23:05:50 +00:00
lotodore
3c88ba8bbe
Game list in Lobby is now shown and updated even after joining or creating a game. Game updates will be sent by the server at all times (even during the game).
2007-09-29 14:05:41 +00:00
lotodore
e8eddd3b1b
Show avatars in network games. User defined avatars are not transfered yet, but this is already prepared for integration.
2007-09-09 00:00:19 +00:00
lotodore
d35f4ae997
Player list is now sent in Game List New notification. Not shown in dialog yet.
2007-09-01 22:59:55 +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
9d63df9218
More work on server redesign. Network mode still broken.
2007-08-20 15:30:22 +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
2ce67297ee
Tools - random number function is now static. Fixed player number issue with network games (GUI player number needs to be 0), this still requires some work.
2007-05-21 19:00:06 +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
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
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
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
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