Commit Graph
159 Commits
Author SHA1 Message Date
lotodore 48c4c69277 Integrating authentication - now all authentication attempts fail (still work in progress). 2009-09-26 16:05:35 +00:00
lotodore 39285263b7 Starting login dialog integration on client side. 2009-09-24 20:10:40 +00:00
lotodore 3112c9ded7 Fixing compiler error. 2009-09-19 21:01:51 +00:00
lotodore 4856dc2a45 Adding plain text password authentication for testing. 2009-09-19 20:49:17 +00:00
lotodore 97e01d6b80 Starting database callback integration. 2009-09-19 20:28:30 +00:00
lotodore 460090e383 Forward all lobby chat messages to irc admin bot. Game chat is still private, so don't worry :-). 2009-08-20 11:42:13 +00:00
lotodore b796b0cbe7 Adding server function to reconnect to the chat server. 2009-08-17 11:26:03 +00:00
lotodore 836ec60e6d Chat bot integration now fully functional. 2009-08-17 09:45:06 +00:00
lotodore 7a518fab76 Send lobby chat text to cleaner bot. 2009-08-15 22:32:42 +00:00
lotodore a380497bc2 Implementing player list for new lobby chat. 2009-08-15 22:20:19 +00:00
lotodore 4cf42d2113 Lobby chat works now, but player list ist not yet shown. 2009-08-15 14:51:21 +00:00
lotodore 68ed10fd1e More fixes concerning lobby chat. 2009-08-15 14:08:48 +00:00
lotodore 150d8930dc More work on lobby chat. Still not functional. 2009-08-15 13:43:00 +00:00
lotodore 4c340d5bdc Use own lobby chat instead of IRC. First steps, still incomplete. 2009-08-15 10:25:13 +00:00
lotodore 4593308da8 Integrating chat cleaner manager in lobby. 2009-08-14 22:05:01 +00:00
lotodore c8d5cc16c9 Fixed kicking someone from the game in the lobby. Vote kick still seems to be broken, could not find the bug yet. 2009-08-04 22:24:31 +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 3e8512a2ea Adding logging. 2009-07-30 22:11:12 +00:00
lotodore c769884c56 Removing duplicate condition. 2009-07-30 21:50:50 +00:00
lotodore b81d357f1a Handle interrupted/retry error code in read handler. 2009-07-30 21:47:30 +00:00
doitux e6c1043993 error log for closed connections 2009-07-30 15:05:05 +00:00
lotodore 9450e8a459 Log session id. 2009-07-22 22:00:07 +00:00
lotodore a37f56f09b More paranoia stuff. 2009-07-22 20:48:21 +00:00
lotodore 1783218e6a Adding error handling and additional checks. 2009-07-22 20:22:14 +00:00
lotodore d4ae6d0e8b Fixing compiler errors (some ASN.1 code was commited by accident). 2009-07-22 18:02:15 +00:00
lotodore cac09280a0 Adding an additional exception handler to the receive callback. 2009-07-21 21:40:24 +00:00
lotodore 58d471e0de Fixing possible server issues. 2009-07-13 22:49:32 +00:00
lotodore f7a8cb1419 Adding additional logging. 2009-07-12 21:12:55 +00:00
lotodore a284f27750 Fixing state transition when joining a game. Since this is synchronous now, order is important. 2009-06-20 12:14:06 +00:00
lotodore 993c2529c3 IP address bans are now time limited and will be removed automatically (minimum duration: 1 hour). 2009-06-18 21:32:01 +00:00
lotodore 9ed8368700 Moving server ban code to a separate class, in order to prepare time-limited bans. 2009-06-18 20:16:22 +00:00
lotodore eefbd9e79f Some minor polishing. 2009-06-17 21:22:01 +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 6269b94db1 Properly restarting lobby timers. 2009-06-12 16:04:58 +00:00
lotodore 3b25e18fde Rewriting boost asio timer stuff. (Did I mention I dislike the asio "cancel" semantics?!). TimerManager is no longer used. Should be stable now, but might leak some memory (needs further testing). 2009-06-12 15:48:34 +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 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 55bd832955 Fixed network game termination. 2009-06-04 22:13:52 +00:00
lotodore 8005cc82c6 Fixed server termination crash. However, network games are still not properly terminated. 2009-06-04 20:37:18 +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 cee2d787d0 Adding some error handling. Some is still missing. 2009-06-01 10:23:44 +00:00
lotodore 24abedbbab Renaming class ServerGameThread to ServerGame. 2009-05-31 20:14:46 +00:00
lotodore f2bd0c6111 ServerGameThread is no longer a thread. 2009-05-31 19:45:20 +00:00
lotodore b48209a5e4 Termination of games is now working. Error handling is still missing in some cases, and it is very slow if there are a lot of players, but other than that all is fine :-). 2009-05-31 19:11:59 +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 08ed5e0496 Almost complete rewrite of server game state due to porting the network engine to asio. Server is still broken in a lot of ways. A game is no longer run in a separate thread (but this change is still incomplete). 2009-05-30 22:20:40 +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 d258bc25d0 Server accept thread is no longer a thread. 2009-05-10 14:57:51 +00:00
lotodore d7ca4d67b5 Fixing compiler errors. Still broken in terms of network functionality. 2009-05-06 21:09:58 +00:00