lotodore
219a922c9e
Fixed crash in the server which was caused by not waiting long enough for the termination of threads.
2007-10-29 11:57:17 +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
2152b90e20
Added code to automatically clean up avatar cache. There is a time limit (how long avatars are kept) as well as a number limit (how many avatars will be cached).
2007-10-24 22:20:35 +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
c65434fabb
Config option completely disables irc.
2007-10-10 11:56:09 +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
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
351d32659f
Fixed server termination issue.
2007-10-02 18:58:54 +00:00
lotodore
5edf38a6cb
Fixed some msvc problems with libircclient. Fixed auto start boost timer issue. Fixed irc thread termination (this time for real). Using strdup and free on MSVC causes "heap corruption error" in debug mode - use _strdup instead in libircclient.
2007-09-30 13:15:52 +00:00
lotodore
879cac4bbc
Don't use runningPlayerLists in server, as all in players are not in these lists. Fixed game state in lobby for players joining after a game started.
2007-09-29 22:50:57 +00:00
doitux
fc435f2769
exceptions & bugfixes
2007-09-29 00:08:19 +00:00
lotodore
eb62635e02
Additional irc stuff - list of nicks, leaving/joining players. Not complete yet, renames are missing, as well as special stuff like being kicked.
2007-09-27 20:59:00 +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
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
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
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