lotodore
ef84c7b81a
Fixed kick bug by letting the client reverse iterate over its cached player data when looking for a player name. Added several exceptions.
2007-11-10 22:18:31 +00:00
lotodore
001ac0272b
Additional log messages.
2007-10-29 12:57:29 +00:00
lotodore
b833b05787
Added error code and message for server maintenance.
2007-10-12 15:35:58 +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
54ad5e17e7
Added new networking-related error messages.
2007-10-11 22:13:20 +00:00
lotodore
253778bf30
Added error handling for networking stuff. Now checking the player action.
2007-10-10 22:21:24 +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
f1761a3793
First steps towards transferring avatars.
2007-10-04 23:05:50 +00:00
lotodore
6bfea736cf
Transfer new blind options in network games.
2007-10-02 15:00:33 +00:00
lotodore
087a0d0cda
IRC polishing work - kicks are shown, error messages are displayed. Rename somehow buggy still.
2007-09-30 16:19:44 +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
636a49c1ef
Work on error messages.
2007-08-21 20:46:55 +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
697f063eb1
First work on client code to support multiple games per server.
2007-08-20 23:25:12 +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
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
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
05a86be4fe
Delay after showing cards when all in condition is true. Added option TCP_NODELAY. Round is now shown before dealing cards.
2007-06-07 14:06:22 +00:00
lotodore
ce6f489fba
Added additional packet for showing cards when allInCondition is true.
2007-06-05 23:04:51 +00:00
lotodore
9a3e45d710
Added delays between dealing cards. Added check for IPv6.
2007-06-05 21:28:47 +00:00
lotodore
1fcb0c80fd
Fixed init gui in networking (is now thread safe). Fixed displaying of game/hand number for network games.
2007-06-03 13:36:24 +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
lotodore
5431f0b93a
Network: First round seems to work fine now. Pot/sets not yet displayed correctly.
2007-05-24 20:26:23 +00:00
lotodore
5438aa487c
Added connect timeout.
2007-05-20 11:11:07 +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
lotodore
da2939a7a8
Error messages are shown when joining a network game fails. Still need to handle players which left and kicking players.
2007-04-28 13:07:06 +00:00
lotodore
2f5c8d7da1
Redone network packet abstraction. Prepared for easy access to packet data.
2007-04-08 16:18:20 +00:00
lotodore
ef10602d5c
Initial handshake and network game start. Works with multiple clients. Not yet stable, because it is not thread-safe. GUI callbacks not complete yet (server dialog not updated).
2007-03-20 02:20:50 +00:00
lotodore
ca354dce7f
Started to implement server state engine.
2007-03-13 23:27:17 +00:00
lotodore
f5289a6fcf
Added helper class for receiving data. Modified sender thread to support sending partial packets. Prepared abstractions for server state machine.
2007-03-13 02:23:12 +00:00
lotodore
d4855a2ca2
Added simple server. Added session establishment (only test code). Added sender thread.
2007-02-25 23:16:26 +00:00
lotodore
82cf963f0a
Connect is now non-blocking. Fixed problem in resolver thread where socket was closed.
2007-02-25 18:22:19 +00:00
lotodore
4e40f11f90
Made the callback work. Updated error messages.
2007-02-18 19:16:34 +00:00
lotodore
9ec3e020dd
Cleaned up the code. Added client exception for error handling.
2007-02-18 11:26:57 +00:00
lotodore
592863ecf5
Client thread test version. Ready to connect.
2007-02-17 23:44:45 +00:00