Commit Graph
35 Commits
Author SHA1 Message Date
lotodore 32ba77709e More work on rejoin: The server now detects when a rejoin is possible and allows the player to login directly, without waiting for a possible existing connection to be terminated. A session GUID is stored in the cache directory on client side for this purpose. 2011-08-28 17:14:03 +00:00
lotodore 2c62a097e4 Switching license from GPL2 to AGPL3. 2011-07-02 14:45:12 +00:00
lotodore 8bac902580 Fixing loads of msvc warnings (mainly size_t vs int issues). 2011-04-10 10:04:42 +00:00
lotodore 5857f07309 Remove reference to network session from player objects. 2011-03-10 19:26:04 +00:00
lotodore 02518c67b2 Reformatting code using Kernighan & Ritchie style, tabs, tab width=4.
Command line: astyle --style=kr --indent=force-tab=4 --lineend=linux -n -r <file names>
2011-02-11 20:02:08 +00:00
lotodore c2ba56aba9 Encrypt own cards which are sent at the beginning of the hand - only applicable to registered users. 2010-09-04 11:56:40 +00:00
lotodore 652a9e55b4 Adding country code to protocol (currently broken). 2010-04-01 17:09:49 +00:00
lotodore 2dc3ab64ec Adding country information of player (optional). 2010-04-01 16:20:57 +00:00
lotodore a02a9cacf6 (Hopefully) fixing guest & game admin stuff. 2010-03-26 21:41:35 +00:00
lotodore f10e4c3423 Extending player rights by guest mode. Kind of broken, because it interferes with the current system where you automatically gain admin rights when creating a game. 2010-03-24 15:54:04 +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 ac4c2e9aef Integrating precompiled headers support (might speed up compilation). Currently disabled (in .pro files). 2009-05-07 22:36:51 +00:00
lotodore f2ec0b1ef4 Detect avatar file type for download. Not fully working yet. 2009-03-22 00:39:25 +00:00
lotodore e107cf98fa Network timeout system also works from within a game now. 2008-03-06 15:27:31 +00:00
lotodore a24a93caba Use unix linefeeds for all files. Finally. It's about time. 2007-11-16 15:24:25 +00:00
lotodore 639df29bdc Server now requests unknown avatar files from client and stores them in the cache dir. Error handling is still missing. Clients not yet request avatar files from the server, this is the next step.
AvatarManager is now thread safe.
Default and cached avatars are handled in different lists to prevent deleting the default avatars when clearing the cache.
2007-10-07 15:52:12 +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 f1761a3793 First steps towards transferring avatars. 2007-10-04 23:05:50 +00:00
lotodore 3c88ba8bbe Game list in Lobby is now shown and updated even after joining or creating a game. Game updates will be sent by the server at all times (even during the game). 2007-09-29 14:05:41 +00:00
lotodore e8eddd3b1b Show avatars in network games. User defined avatars are not transfered yet, but this is already prepared for integration. 2007-09-09 00:00:19 +00:00
lotodore d35f4ae997 Player list is now sent in Game List New notification. Not shown in dialog yet. 2007-09-01 22:59:55 +00:00
lotodore 56b24e09eb Major design change in network protocol: Player information is now requested by clients whenever it is needed. The server only sends player ids. The client has a cache with player information. 2007-08-26 22:41:37 +00:00
lotodore 9d63df9218 More work on server redesign. Network mode still broken. 2007-08-20 15:30:22 +00:00
lotodore 0da29b3874 The console server can now be fully used for a single game. The first player to join the game is admin, he can start the game and kick players.
However, if the admin player leaves, a new game can only be started if all players have left before (this is a bug, admin status should be passed to another player).
2007-08-02 20:52:13 +00:00
lotodore f11998c28c Added console server app. First try. Depends on qt for locale-specific stuff. Cannot start a game yet, only join is possible. Cannot run multiple games yet.
Not yet as service/daemon, because testing is easier with a simple console app.
2007-07-30 23:22:58 +00:00
lotodore 2ce67297ee Tools - random number function is now static. Fixed player number issue with network games (GUI player number needs to be 0), this still requires some work. 2007-05-21 19:00:06 +00:00
lotodore 4a53678291 Client engine factory needs to be free of configuration file (configuration provided by server). Separated specific start data from general game data. Sending client game object to GUI after creation. Client thread now manages player and game data. 2007-05-20 00:16:29 +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 4a10d6188c Fixed player counting bug. Fixed player number. Joining/leaving network game should work now. Added player type to localplayer. 2007-05-08 06:45:46 +00:00
lotodore a85ec4ee5a Players can now join and leave as they wish. Still TODO: Need to fix player number. 2007-05-06 23:27:08 +00:00
lotodore 73a5117066 Configuration is transferred. A new game should be started on client side, but signal/slot is not working yet. Oh well. 2007-04-27 21:35:18 +00:00
lotodore 29b6050ee1 Game configuration now placed in a struct. Prepared to send/receive game configuration over tcp. 2007-04-26 23:07:08 +00:00
lotodore e202a83fbc Fixed bug: "hands before raise" is now taken from dialog. Removed config from game.cpp for networking. 2007-04-26 21:11:13 +00:00