Commit Graph
257 Commits
Author SHA1 Message Date
lotodore ef91702d66 Call gui callbacks for server list. 2009-04-05 13:11:52 +00:00
lotodore acd5267412 Compiler error fixes. 2009-04-05 12:37:14 +00:00
lotodore 534b6066a8 More work on server selection. Currently untested. 2009-04-05 12:31:12 +00:00
lotodore 59a6b35dd1 Fixing compiler errors. 2009-04-05 11:34:40 +00:00
lotodore 009249e41a Adding stuff for server list (choosing a server). Might not compile (untested yet). 2009-04-05 11:19:50 +00:00
lotodore c5d55884b6 Fixed config settings for avatar server. 2009-03-21 22:47:39 +00:00
lotodore c3dc770c2e More work to let clients download avatars from an external server. 2009-03-21 11:36:10 +00:00
lotodore ebac9c9574 Fixed nasty cleanup crash on Windows. 2009-03-21 10:28:27 +00:00
lotodore ebce3ee214 Warning: Enables debug mode.
More steps towards downloading avatars from external server. This is currently BROKEN.
2009-03-21 01:39:00 +00:00
lotodore b1bad8d144 Preparing client use of external avatar servers. 2009-03-18 15:01:43 +00:00
lotodore d72cdb6873 One sender thread per client. Requires loads of resources. Kind of hacked, because the internal dependencies are very ugly now. Requires loads of testing. A problem might be the last packet sent by the server to a specific client before closing the connection, for example an error message. It might never even reach the client, because the sender thread is terminated before. I have not yet found a good way to fix this. 2009-01-07 21:52:16 +00:00
lotodore 23c3ae3849 Enable sending of a global message box through the irc bot, to inform clients about server reboots. 2008-12-26 16:47:14 +00:00
lotodore 4f48fdbe2a Allow the server to send a global notice to all players (for example if a server reboot is going to happen). Does not work with current client version 0.6.3. 2008-12-26 13:50:09 +00:00
lotodore 80883dd409 Update number of votes on client. 2008-12-07 12:22:35 +00:00
lotodore bd55b69817 Client side vote kick changes - tab closes now. Server side fixes. 2008-12-07 11:48:01 +00:00
lotodore c57ea0985b Trying to send reason why the player leaves the game. 2008-11-25 23:19:34 +00:00
lotodore b236fa9d62 Vote kick kind of working. Only the forward case - no timeout, no error handling, no display update. 2008-11-25 22:18:17 +00:00
lotodore 78d039bac1 Next steps for voting to kick a user. 2008-11-19 23:15:38 +00:00
lotodore 1cfe551f19 More work on vote kick. Some network packets are exchanged, but still not functional. 2008-11-16 22:57:11 +00:00
lotodore 269eab4774 Fixed lobby update after leaving a game. 2008-05-16 16:46:45 +00:00
lotodore d1e0e5e30d The subscribe/unsubscribe lobby messages system has been integrated in the client. 2008-05-12 10:50:19 +00:00
lotodore 0ef69297d1 Server support for unsubscribing/resubscribing of lobby messages. Not yet used by the client. 2008-05-11 21:41:30 +00:00
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