lotodore
4c78706d14
Fist steps to implement vote kick in network protocol.
2008-10-02 22:15:46 +00:00
lotodore
7d51a144dd
Preparing unsubscribing/resubscribing of the game list updates to (hopefully) limit server bandwidth usage.
2008-04-19 20:00:21 +00:00
lotodore
91b62abf7b
Fixed nasty synchronization bug when players leave during start of a game. Fixed netpacket error which occured occasionally during game start when only one player was left, the last player will be removed from the game now, but stay in the lobby. Added new stat to IRC bot.
2008-04-02 21:41:39 +00:00
lotodore
e0be7e9490
Save more and send less statistics.
2008-04-01 21:44:05 +00:00
lotodore
f6f68cab43
Additional verbose logging.
2008-03-26 22:37:58 +00:00
lotodore
d8d816f8dc
Do not kick the player from the server on game admin timeout - just remove the player from the game.
2008-03-07 21:45:26 +00:00
lotodore
4bc902b229
New error messages.
2008-03-06 21:48:14 +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
188f7e171f
New packet types implemented for timeout system - unused yet.
2008-03-04 14:52:29 +00:00
lotodore
9e0ffe4317
Prepare to send reason for leaving a game. New protocol version as it is not compatible to the current beta.
2007-11-18 12:53:42 +00:00
lotodore
88c55eb68a
Send minimum raise value on players action done, not players turn. This version is NOT compatible to the current internet server.
2007-11-18 00:06:14 +00:00
lotodore
a24a93caba
Use unix linefeeds for all files. Finally. It's about time.
2007-11-16 15:24:25 +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
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
4c56390dc7
Exceptions are now derived from std::exception and tell source code file and line.
2007-10-18 20:36:49 +00:00
lotodore
13e32d0656
Added placeholder for future change.
2007-10-12 16:04:00 +00:00
lotodore
b833b05787
Added error code and message for server maintenance.
2007-10-12 15:35:58 +00:00
lotodore
6cf0d8777a
Fixed protocol issue: Avatar data packets did not have any padding. Increased maximum packet size.
2007-10-12 15:15:03 +00:00
lotodore
4f00333599
Show and update admin player of a game even when in lobby and not in the game.
2007-10-12 14:32:25 +00:00
lotodore
96d1f34f5c
Added notification if a new release or beta release of PokerTH is available.
...
Removed last traces of deprecated blind values.
2007-10-12 13:07:04 +00:00
lotodore
9f478855db
Added error packets for unknown avatar and unknown player id (unused yet).
2007-10-10 23:41:50 +00:00
doitux
6292029954
improve nick-autocompletition, remove smallblinds //TODO's
2007-10-10 23:31:53 +00:00
lotodore
253778bf30
Added error handling for networking stuff. Now checking the player action.
2007-10-10 22:21:24 +00:00
lotodore
bbb1377741
Transfer blind values as 32 bit values in network games. This version is not compatible to the current beta server.
2007-10-10 11:38:58 +00:00
lotodore
e92cbf2dc5
Fixed nasty bug in the create game notification.
2007-10-09 23:22:36 +00:00
lotodore
5aa08d03fb
Fixed byte order conversion for blind lists.
2007-10-09 22:47:20 +00:00
lotodore
67b3d8fb6c
Fixed compiler warnings.
2007-10-09 22:01:36 +00:00
lotodore
d11b35a1a7
Transfer small blind and minimum raise amount to client.
2007-10-07 22:49:07 +00:00
lotodore
0d0d8dc810
Synchronize on network game start, so that everyone has received all avatars and player names before the game starts. Store all computer players in a separate list on the server for name retrieval.
2007-10-07 21:23:37 +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
4e649450b2
The server is now sending the highest set, and the client is no longer calculating it on his own. This should fix some bugs when someone goes all in with the big/small blind.
2007-10-06 14:16:36 +00:00
lotodore
5d974a6450
More preparation towards transferring avatars.
2007-10-05 14:23:36 +00:00
lotodore
f1761a3793
First steps towards transferring avatars.
2007-10-04 23:05:50 +00:00
lotodore
076d44b0ae
Pass on admin state if the admin leaves the network game, so that someone else can start the game.
2007-10-03 13:36:47 +00:00
lotodore
45a09b3016
Transfer blinds data for the game list in the lobby.
2007-10-03 11:06:57 +00:00
lotodore
6bfea736cf
Transfer new blind options in network games.
2007-10-02 15:00:33 +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
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
23d9bb71c3
Fixed some compiler warnings. Added error if game is running.
2007-09-03 18:05:39 +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
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
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
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
95e5ee47cc
Fixed multithreading issues when creating/joining a game. Sessions are now queued.
2007-08-20 22:55:39 +00:00
lotodore
59b7438376
Work on dedicated server. This svn revision is totally broken, it is part of a complete redesign of the server.
...
There is a lobby thread for the server, and each game has its own game processing thread and a sender thread. Connections can be accepted from different sources, i.e. TCP/SCTP over IPv4, IPv6, all those work well in parallel.
2007-08-15 13:28:28 +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
5d13dd7803
Went over netpacket.cpp - additional checks, check function in base class. More restrictive concerning size of packets.
2007-07-29 23:45:10 +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