Commit Graph
390 Commits
Author SHA1 Message Date
lotodore bb64e07657 Show lobby for players if they are kicked during a game. 2007-10-27 20:29:46 +00:00
lotodore e27be88942 Fixed bug when kicking during game. 2007-10-27 19:53:04 +00:00
lotodore 6b19b3291a Missing if to check for kick in server during game. 2007-10-27 19:48:31 +00:00
lotodore 8f1e5132d6 Added kick function with player name. 2007-10-27 18:51:53 +00:00
lotodore ae33299758 If a client does not initialize properly within a certain time, remove the network session. 2007-10-26 14:54:57 +00:00
lotodore e0f1193963 Clarified initialization order to prevent possible race condition when initializing a new game. 2007-10-25 21:59:06 +00:00
lotodore d0c34c572b Automatically cleanup cache once a day on the dedicated server. 2007-10-25 21:20:35 +00:00
lotodore d0cea553df Fixed boost string comparison. Oo. 2007-10-25 20:35:57 +00:00
lotodore f019523879 Use boost for case insensitive comparison. 2007-10-25 20:26:44 +00:00
lotodore f3556bff57 Case-insensitive channel names for IRC. Fixed leaving admin players. 2007-10-25 19:50:43 +00:00
lotodore 9e180d01f3 Fixed error when transfering avatars. Additional logging. 2007-10-24 23:17:12 +00:00
lotodore b4848532f9 Added logging for server using syslog. 2007-10-23 21:26:07 +00:00
lotodore ae030a3669 Fixed Lobby Thread termination issue if an exception is thrown. 2007-10-23 20:01:56 +00:00
lotodore 07a0b8503d Fixed lobby update issue when computer players joined a game. 2007-10-21 18:36:56 +00:00
lotodore daa55efab7 Fixed exception issue when player statistics counter reached 0. 2007-10-21 00:17:04 +00:00
lotodore d5453e5416 Fixed decreasing number of players when players leave. 2007-10-20 23:24:40 +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
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 d91c972d3c Fixed gcc compiler error. 2007-10-18 21:13:06 +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 54ad5e17e7 Added new networking-related error messages. 2007-10-11 22:13:20 +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