Commit Graph
101 Commits
Author SHA1 Message Date
lotodore 58d471e0de Fixing possible server issues. 2009-07-13 22:49:32 +00:00
lotodore bf0fc6e9ca Removing unused files. 2009-06-12 16:42:38 +00:00
lotodore a33d9b7c3b Trying to fix strange timer crashes. 2009-06-09 23:04:04 +00:00
lotodore e53c60c263 Creating a new asio timer instead of reusing the old one. Reusing leads to strange crashes. Whoever invented the semantics of the asio timer obviously did not consider the need to restart a timer within the handler. Oh well. The asio timer service also seems to sleep all the time (not using up 100% load if timeout of all timeouts are 0). Pending further tests, asio timers might be unsuitable. 2009-06-08 21:53:14 +00:00
lotodore c8594e8e7b Canceling asio timers has bad semantics, and causes loads of trouble. Therefore, cancelled timers are simply marked as such, and the asio callback is silently ignored. This fixes several crashes, if players were removed from a game due to an error, because some timers were not cancelled. *sigh* This one took a lot of nerve. 2009-06-07 23:25:13 +00:00
lotodore 47648392fb Use boost::asio timer callbacks instead of self-made ones. There are still some termination issues (terminating a network game will result in a crash). However, it should be quite effective now with a large number of users. 2009-06-01 19:49:16 +00:00
lotodore 59358bff0e Fixed server crash when trying to start a game. Server is still broken, though... 2009-05-31 13:17:02 +00:00
lotodore 2952f0b85d Fixing some compiler warnings and single-threaded game issues. Note: The server currently crashes when trying to start a game. 2009-05-31 11:00:33 +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 60b5d45c53 Adopting changes from asio branch. Currently broken. 2009-05-04 21:11:29 +00:00
lotodore f2ec0b1ef4 Detect avatar file type for download. Not fully working yet. 2009-03-22 00:39:25 +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 16decacb6b New configuration options for automatically uploading the avatars to an external server. 2009-03-01 23:09:14 +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 e8654fb2f5 Fixed linefeeds. 2009-02-20 17:28:52 +00:00
lotodore 684d779483 Adding a note explaining the OpenSSL license issues. Thanks coldz. 2009-02-20 17:27:48 +00:00
lotodore f1c5ff3ba2 BSD related fixes. Thanks to coldz. 2009-02-16 20:14:12 +00:00
lotodore 48c63a35df Patch for OpenBSD. 2008-08-03 09:37:46 +00:00
lotodore e0202f6462 Fix for OpenBSD/FreeBSD. 2008-06-02 11:45:09 +00:00
lotodore 97b48dad56 MacOS fix. 2008-05-16 18:54:00 +00:00
lotodore 3e9423a294 2008-05-16 18:50:16 +00:00
lotodore d6979236a6 Trying to fix broken MacOS build. 2008-05-16 18:47:44 +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 6dcb5879f1 More mingw fixes. 2008-04-25 14:52:19 +00:00
lotodore dd3453d364 Fixed multithreading issue with gnutls. 2008-04-24 22:11:43 +00:00
lotodore 431576436f Use long as ssize_t on windows. 2008-04-23 21:20:18 +00:00
lotodore d7c6cdd75c Use GnuTLS-OpenSSL instead of OpenSSL. Thanks to Zhenech for help with this patch. 2008-04-21 22:27:15 +00:00
lotodore 2e38f58e13 Fixes for boost 1.35.0 with msvc - mainly winsock vs. winsock2 related. 2008-04-16 20:38:11 +00:00
lotodore b5f17bdcc3 Changes for boost 1.35.0 compatibility. 2008-04-03 19:04:17 +00:00
lotodore 5beaa816b4 Moving third party sources to third_party folder so that they can be easily distinguished. This should help package maintainers. 2008-03-23 10:36:17 +00:00
lotodore 962cf172ff Cleaned up libircclient a bit - submitted patch to the author. 2008-03-22 23:39:24 +00:00
lotodore c8b38d0e57 More verbose logging for the server. 2008-03-19 23:39:59 +00:00
doitux f39a62696c adds gcc-4.3 support 2008-01-21 22:36:28 +00:00
lotodore 5f0fc7ab93 Workaround for boost uncaught exception problem on MacOS 10.5. 2007-12-07 23:29:49 +00:00
lotodore 20a6cdf49a Use MacOS 10.4u SDK (instead of 10.5, which causes libiconv incompatibility). Use libboost 1.34.1 universal as built for adobe open source lib. 2007-12-02 20:01:21 +00:00
lotodore d500712ec8 Fixed compiler warning. 2007-11-26 19:52:14 +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 65a3f969bf Log to file as dedicated server (do not use syslog any more). 2007-11-22 17:25:55 +00:00
lotodore c5bae66142 Move server configuration to dedicated server only. Separate error logging for client and server, in preparation of creating a log file on the dedicated server. 2007-11-22 00:57:03 +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 a24a93caba Use unix linefeeds for all files. Finally. It's about time. 2007-11-16 15:24:25 +00:00
lotodore f1f45c9b0b Truncate any existing avatar file when saving in cache dir. 2007-11-11 15:59:41 +00:00
lotodore e9604d0177 Cache avatars on client only for 1 day. 2007-11-01 19:23:35 +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 e5f05c5359 Trying to fix the avatar problem. 2007-10-31 20:23:27 +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 dc74186b5a Fixed syslog stuff. 2007-10-24 23:24:57 +00:00
lotodore 9e180d01f3 Fixed error when transfering avatars. Additional logging. 2007-10-24 23:17:12 +00:00