doitux
7da3ad5481
starts human player input filed redesign - PART VII (firtst steps for network game)
2007-10-19 20:43:53 +00:00
floty
7c2e8dc777
cleaning code and hopefully last part of refactoring playerArray to playerLists ;)
2007-10-19 14:03:12 +00:00
lotodore
6a297effc1
Try to prevent (as much as possible) transfering and, more important, storing, any other files than avatars as png, gif and jpg. The headers of the files are checked whether they are valid for the corresponding format. Files without gif/png/jpg header are never stored on the server, and thus cannot be requested by any client.
2007-10-18 23:00:55 +00:00
lotodore
3e373be458
Fixed gcc compiler error.
2007-10-18 21:16:49 +00:00
lotodore
e2fc19af93
Enable TCP keepalive on server side for all connected sockets. Won't help too much but better than nothing.
2007-10-18 21:00: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
floty
211d8fcefc
comment out playerArray
2007-10-18 17:58:51 +00:00
floty
06a8fd5730
actual -> current ;)
2007-10-18 17:40:12 +00:00
lotodore
94fbbe9ac5
Disallow space as first char of the player name.
2007-10-15 08:35:56 +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
9663a225d5
Fixed two bugs concerning lobby player notifications: Game state is now set correctly after a game was finished and reopened, for players which are joining afterwards.
...
Computer players are now properly removed from finished games.
2007-10-11 21:15:04 +00:00
lotodore
5218e038d4
Don't wait endlessly for player or avatar requests to complete if the other side does not have the required data. Send notifications and react accordingly.
2007-10-11 20:42:44 +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
6f765d311b
Fixed changing admin when admin player leaves.
2007-10-09 22:01:12 +00:00
floty
64119ee680
minimumRaise for network
2007-10-09 21:56:01 +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
dc8f9e0c73
Use player id as request id for avatar requests by the server.
2007-10-08 18:49:13 +00:00
lotodore
24ae6a66ed
Always use IPv6 for the server if a "dual stack" is available. This means a server on vista (as well as most linux systems) will support IPv6 by default. IPv4 requests will be mapped by the OS.
2007-10-08 18:25:40 +00:00
lotodore
d0ccc68d1f
IRC IPv6 support.
2007-10-08 11:07:32 +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
d16312111f
Finally: User supplied avatars are transfered! They are stored on the server and clients request them if needed. Make sure the server has write access to the cache dir to make it work.
2007-10-07 18:46:40 +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
floty
b437d8f7d2
firstRunGui
2007-10-07 11:12:02 +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
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
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
doitux
edee654b1b
bugfix: no bigblind in network logs
2007-10-03 22:42:24 +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
6ec214562f
Paranoia sleep in irc thread. Just in case.
2007-10-02 23:24:45 +00:00
lotodore
cb5315dd73
Set small/big blind position id on client.
2007-10-02 22:56:26 +00:00
lotodore
eb651b53fd
Fixed another networking bug.
2007-10-02 21:17:58 +00:00
lotodore
4d68e58da2
Fixed a few nasty networking-related bugs.
2007-10-02 20:50:28 +00:00
lotodore
73c90d4106
Fixed a crash on game end of network games.
2007-10-02 18:26:22 +00:00
lotodore
6bfea736cf
Transfer new blind options in network games.
2007-10-02 15:00:33 +00:00
lotodore
b4a1ce8bd5
Dedicated server no longer depends on qt. Added code for utf-8 conversion on windows and linux (without qt). Some small issues remain (like the data-dir and charset for the server).
2007-10-01 00:33:05 +00:00
lotodore
0d1650e9a9
Fixed a bunch of compiler warnings.
2007-09-30 18:50:46 +00:00
lotodore
6fcc400443
Fixed connection issue with libircthread.
2007-09-30 17:47:40 +00:00