Commit Graph
135 Commits
Author SHA1 Message Date
lotodore 710affb1e5 Preparing the use of the report bad avatar function. 2010-12-24 12:27:46 +00:00
lotodore 0cb1d75ce3 Adding code for private chat messages (server side). These messages are not allowed within a game. Adding config option to disable brute force protection. 2010-11-07 08:24:31 +00:00
lotodore 0bb801acdf Preparing 0.8 release. 2010-09-25 15:27:09 +00:00
lotodore 896c335204 Header files cleanup work. 2010-08-01 19:23:08 +00:00
lotodore 79e7a47343 Preparing network functions to let a player show his cards. 2010-07-15 21:55:52 +00:00
lotodore c0947c9d54 Adding function to find out in which game a user is playing. 2010-07-15 10:34:24 +00:00
lotodore 0da0b4f8a0 Fixing compiler warnings. 2010-03-30 12:20:17 +00:00
lotodore 499c2b72e6 First parts of implementation of invite system in server. 2010-03-30 12:07:48 +00:00
lotodore 866e9b9e48 Making the network part compile. 2010-03-29 12:33:12 +00:00
lotodore d4b82d7dbc Fixing game admin stuff. 2010-03-27 12:50:05 +00:00
lotodore a02a9cacf6 (Hopefully) fixing guest & game admin stuff. 2010-03-26 21:41:35 +00:00
lotodore 5ea56bbf0d Allow retrieving of own player id by gui. 2010-03-24 20:10:36 +00:00
lotodore 4692c16a92 Starting to add sha-1 and aes wrapper. 2009-12-28 12:16:52 +00:00
lotodore d727a7fd5d Network game, dedicated server without auth backend and dedicated server with auth backend should work now. Guest login still broken. 2009-11-14 15:04:31 +00:00
lotodore 059da0232a Preparing to fix login for network game and dedicated server without login backend. Currently broken. 2009-11-14 12:39:25 +00:00
doitux e2d99f1fe8 set minimum gui speed to prevent gui lags in fast internet games 2009-10-25 00:00:33 +00:00
lotodore b61d43859e Trying to make gsasl authentication work... 2009-10-13 21:03:32 +00:00
lotodore 39285263b7 Starting login dialog integration on client side. 2009-09-24 20:10:40 +00:00
lotodore 6eb25757bc Prevent exceptions when closing sockets. 2009-08-17 10:11:51 +00:00
lotodore 4c340d5bdc Use own lobby chat instead of IRC. First steps, still incomplete. 2009-08-15 10:25:13 +00:00
lotodore 9f3dd94a71 Fixing lobby button bug. 2009-08-06 21:32:45 +00:00
lotodore dce88bf3da Set game id for vote kick messages. 2009-08-03 22:39:08 +00:00
lotodore 5faad7b288 Fixing resubscription of lobby messages after game. There are no known errors now. 2009-08-03 21:02:37 +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 a2e692d844 Fixing delayed sending of create/join game for network games. 2009-06-20 18:41:03 +00:00
lotodore eefbd9e79f Some minor polishing. 2009-06-17 21:22:01 +00:00
lotodore 35d0988f78 Removing a buffered delay when the client sends data (no longer necessary with asio). 2009-06-16 22:36:07 +00:00
lotodore 31dadd6fa2 Removing old native socket stuff which is now unused (replaced by asio calls). 2009-06-16 22:00:07 +00:00
lotodore 22edd63dde Further paranoia changes to prevent timer callbacks from occurring in an uncontrolled state. 2009-06-15 22:34:07 +00:00
lotodore 3d57f65e2b Fixed a bug in the packet handling of the client. This fixes the problem that games are not properly started, and that the player list is not properly updated. 2009-06-15 21:42:57 +00:00
lotodore 1acbeba426 Close the socket before client termination, don't let asio close it later because the callbacks might no longer be valid. 2009-06-15 06:42:52 +00:00
lotodore 4b5d78af81 The client network code was rewritten to use boost::asio. Some optimization is still required, and some code files can now be removed. 2009-06-14 22:07:41 +00:00
lotodore 5f3369432a Rewriting sender yet again to fit the new asio design. Polling for new send data is no longer needed, this also reduces lag. 2009-06-07 08:51:43 +00:00
lotodore 8ab2fed1a2 More restructuring. Still broken. 2009-05-10 22:21:20 +00:00
lotodore 2541f28ff2 Sender thread is no longer a thread (part of boost::asio integration). Warning: Network games are still broken! 2009-05-10 17:53:37 +00:00
lotodore 60b5d45c53 Adopting changes from asio branch. Currently broken. 2009-05-04 21:11:29 +00:00
lotodore ef91702d66 Call gui callbacks for server list. 2009-04-05 13:11:52 +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 f2ec0b1ef4 Detect avatar file type for download. Not fully working yet. 2009-03-22 00:39:25 +00:00
lotodore 43a13f5297 Avatar upload/download fixes. Verbose logging (temporary). 2009-03-21 21:14:09 +00:00
lotodore a102be7b8c Close file stream before upload. Hard code jpg http avatars (temporary). Still broken. 2009-03-21 19:56:53 +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 16decacb6b New configuration options for automatically uploading the avatars to an external server. 2009-03-01 23:09:14 +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 618ed80e2d Fixed network game bug which was introduced in the bugfix release by changing the id of the first game to 1. 2009-01-03 11:36:03 +00:00