lotodore
27ccb79edc
Added paranoia check before deleting file from the cache directory.
2008-05-10 18:43:17 +00:00
lotodore
17d68255b6
Added loads of error handling to the new server list download code. Added several new error messages.
2008-05-10 18:07:46 +00:00
lotodore
b5c2399603
Use configuration setting to decide whether to download the server list or directly connect to the server. Accept other server lists. Accept un'zlib'ed server lists. Use IPv6 address from server list if configured.
2008-05-10 15:47:48 +00:00
lotodore
4b04aedc3f
Download only md5 of the server list if the list is still in the cache.
2008-04-29 22:46:27 +00:00
lotodore
01bd6cb1f8
Still trying to make it work on linux.
2008-04-19 23:22:34 +00:00
lotodore
03b8c56b67
Fixed linefeeds.
2008-04-19 11:56:27 +00:00
lotodore
7a157b682a
The client now downloads a zipped server list file from pokerth.net. This is parsed and the first server entry is used for now. Error handling still missing. boost::iostreams now required.
2008-04-19 11:48:09 +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
ee00741931
More avatar related utf8 fixes.
2007-12-12 13:37:45 +00:00
lotodore
1b53a64fbb
Changes for MacOS. Can be compiled, but there are still some issues.
2007-11-24 14:04:18 +00:00
lotodore
689b22e0b9
The sender thread has been rewritten with a new algorithm in mind. The sender should not stall any more, and no timeout is required. There are no more send priorities.
...
The avatar manager no longer serializes access to avatar files.
2007-11-20 23:58:24 +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
c4b1afaadc
Try to fix minimum raise.
2007-11-17 00:49:25 +00:00
lotodore
a24a93caba
Use unix linefeeds for all files. Finally. It's about time.
2007-11-16 15:24:25 +00:00
floty
9dd683fb59
log side pot in network & handRanking-redraw
2007-11-11 23:47:38 +00:00
lotodore
9de1712aa9
Revert last change.
2007-11-03 21:13:08 +00:00
lotodore
8e4901719c
Fixed setting last players turn
2007-11-03 21:05:20 +00:00
lotodore
4ed7ec46fd
Reset last players turn on bero change for client.
2007-11-01 21:24:26 +00:00
lotodore
7cff145cd3
Fixed last players turn in client - do not update for blinds.
2007-11-01 20:54:32 +00:00
lotodore
9691a6f263
Set all in condition on client.
2007-11-01 20:45:57 +00:00
lotodore
864af81193
Don't request own avatar from the server. Only request avatars of other players after joining a game.
2007-11-01 18:36:03 +00:00
lotodore
3a0fc4a71e
Also disable avatar retrieval on server. Fixed nasty send "wrong return value" (Linux only).
2007-10-31 22:33:52 +00:00
lotodore
9cf398d3e0
Fixed winner list issue on client.
2007-10-30 16:57:48 +00:00
lotodore
ded7ca7daf
Added winner list for network client.
2007-10-29 19:57:46 +00:00
lotodore
3ea61381ef
Use client game id when kicking players during game.
2007-10-28 19:38:49 +00:00
lotodore
cdea81b2ba
Fixed sender again, as it did not work when sending errors.
2007-10-28 15:06:57 +00:00
lotodore
fa7af40a49
Fixed a very nasty bug concerning the sender thread. SOCKETs were assumed to be kind of unique, but Windows tends to return the socket number of a socket which was just closed as new socket number in accept. This led to very strange behavior when the server was flooded with inits, because the sender thread still had entries for this socket number (which were not removed because they should just fail).
...
No longer use socket as key in maps, instead, use the session id. Only use the session id in the sender thread, "resolve" it to the socket only in the moment when it is needed. Outstanding requests will be detected to have an invalid session id then.
Also, as side effect, fixed an issue with two callback classes which were named the same and caused unexpected behavior.
2007-10-28 12:53:54 +00:00
lotodore
bb64e07657
Show lobby for players if they are kicked during a game.
2007-10-27 20:29:46 +00:00
lotodore
9e180d01f3
Fixed error when transfering avatars. Additional logging.
2007-10-24 23:17:12 +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
doitux
f89a1c8c23
hide previous action for current player in network-game (like in local-game)
2007-10-20 20:10:48 +00:00
doitux
7da3ad5481
starts human player input filed redesign - PART VII (firtst steps for network game)
2007-10-19 20:43:53 +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
06a8fd5730
actual -> current ;)
2007-10-18 17:40:12 +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
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
253778bf30
Added error handling for networking stuff. Now checking the player action.
2007-10-10 22:21:24 +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
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
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
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
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