Commit Graph
68 Commits
Author SHA1 Message Date
lotodore 2aba7cf7ed Add message callbacks to client admin functions. 2013-02-26 23:15:33 +01:00
lotodore 45a5c7cef8 License change: OpenSSL exception (for Windows 8 support, because gcrypt does not work on Windows 8). 2012-12-25 15:06:23 +01:00
doitux 7ff145a66a GUI preperation for #129 2012-03-29 14:28:53 +00:00
lotodore 2cdb5ce215 No longer use the server list md5, it caused only trouble, and the serverlist .z file is small enough to be downloaded each time (#95). 2012-01-08 18:47:30 +00:00
lotodore 0230edaec2 New start event type to mark a certain game start as "rejoin" (in order to show a special dialog). 2011-10-26 21:45:39 +00:00
lotodore 945a8f4588 More work on rejoin. Server still sends a denial message. 2011-09-11 17:41:56 +00:00
lotodore 0ed12e0ac8 Switching license from GPL2 to AGPL3. 2011-07-02 14:38:06 +00:00
lotodore 5f8e662457 Show message whether avatar report was successful. 2011-01-16 16:35:54 +00:00
lotodore 8e8e173884 Adding new join game failed message if two players with the same ip address want to join a ranking game. 2010-11-14 18:26:50 +00:00
lotodore 7a4b1d2840 Notify GUI when start synchronization is running. 2010-09-25 09:06:28 +00:00
lotodore 7a1a10abf5 Block bad game names on server. 2010-09-05 00:15:25 +00:00
lotodore 9e039182ec Also check ranking game restrictions on server. 2010-08-01 20:15:49 +00:00
lotodore 176dbe1d4f Send a different error if a user is permanently blocked. 2010-07-14 15:27:06 +00:00
lotodore 4aa2083993 Add protocol message if a game name is already in use. 2010-07-14 07:29:01 +00:00
lotodore 499c2b72e6 First parts of implementation of invite system in server. 2010-03-30 12:07:48 +00:00
lotodore a8d5e8b20b Preparing guest user restrictions when joining games. 2010-03-28 13:43:42 +00:00
lotodore b0f764d4bd Implementing some brute force attack and denial of service countermeasure. 2009-12-23 09:53:01 +00:00
lotodore 31c7b789a8 Adding support for custom delay between hands in protocol. 2009-10-24 21:49:11 +00:00
lotodore 1f7f045d15 Starting gsasl integration to perform challenge response authentication. Note that gsasl 1.3 is required (previous versions are not supported). Authentication is currently broken. 2009-10-11 09:20:17 +00:00
lotodore 945c4a102a Completely rewriting all NetPacket stuff to use ASN.1. Finally this big chunk of work is completed. Compiles and links fine, but still partly non-functional.
PLEASE NOTE: This is NOT COMPATIBLE to 0.7.x, because it is a new network protocol.
2009-08-02 15:11:40 +00:00
lotodore e7c70ad9ad First version of server side avatar upload feature (support for external avatar server). Still hard coded, cannot be configured. 2009-02-21 23:33:30 +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 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 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 a24a93caba Use unix linefeeds for all files. Finally. It's about time. 2007-11-16 15:24:25 +00:00
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