Commit Graph
118 Commits
Author SHA1 Message Date
lotodore 0ed12e0ac8 Switching license from GPL2 to AGPL3. 2011-07-02 14:38:06 +00:00
lotodore 979f079a57 No longer use database game id, because it may not exist yet (related to issue #14) 2011-03-20 22:38:03 +00:00
lotodore 16ca90621e Fixing template typo. 2011-03-14 20:08:10 +00:00
lotodore 95305e7ba5 Each network session now has a weak ptr to its game, to prevent looking up the game id all the time. 2011-03-10 21:53:25 +00:00
lotodore 9b9a921867 Removing SessionWrapper to prepare rejoin. This also improves dispatching network packets. 2011-03-10 20:55:46 +00:00
lotodore 5730cd321d Rewriting network receive functions. This is still work in progress to make it more efficient. 2011-02-19 23:47:24 +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 8ac6a3f7f5 Creating session id for rejoin (ticket #5). Next step is storing this session id on the client in a file. 2011-02-09 22:09:29 +00:00
lotodore e823b7b788 Implementing ticket #2 - optionally remove players from games after it was finished. This breaks protocol compatibility with 0.8. Config file option is NetAutoLeaveGameAfterFinish. 2011-02-06 13:17:07 +00:00
lotodore e55e39a979 Chat cleaner now active within ranking games (for testing it is also active in normal games). New protocol version for chat cleaner. 2011-01-30 18:28:44 +00:00
lotodore a148adf237 Adding support for an avatar blacklist in the database. 2011-01-09 00:22:00 +00:00
lotodore ddaf311c12 New log object for network/internet games. Preliminary code. 2011-01-03 18:41:28 +00:00
lotodore 36445a00e7 Support report bad avatar function on server side. 2010-12-24 16:46:49 +00:00
lotodore 0829e80d49 Do not autostart network games. Do not start admin timer for network games. 2010-09-04 23:00:39 +00:00
lotodore 9bf9aea7f2 Do not perform denial of service check in LAN games. 2010-09-03 21:40:14 +00:00
lotodore b6723e5ebf Store server database config in config file. 2010-08-28 10:50:17 +00:00
lotodore 76d5317299 Store all players of each game in the database. 2010-08-08 10:23:40 +00:00
lotodore 0646bc9d2e Working on storing places of all players in ranking games. 2010-08-07 23:06:59 +00:00
lotodore 6c997ca21a Make the chat bot temporarily ban players. 2010-07-14 17:20:51 +00:00
lotodore 18613a2cb5 Adding callback if user is blocked by the server. 2010-07-14 14:30:16 +00:00
lotodore 7899f66cf6 The server now sends a notification if the game name is already in use. 2010-07-14 08:17:07 +00:00
lotodore 2dc3ab64ec Adding country information of player (optional). 2010-04-01 16:20:57 +00:00
lotodore 43f477e299 Fixing problems with join game error messages. 2010-03-31 14:08:46 +00:00
lotodore 5239f496f3 Finishing server side invitation system. 2010-03-30 17:10:37 +00:00
lotodore a01741846a Next steps for invitation system. 2010-03-30 13:02:43 +00:00
lotodore 499c2b72e6 First parts of implementation of invite system in server. 2010-03-30 12:07:48 +00:00
lotodore b0f764d4bd Implementing some brute force attack and denial of service countermeasure. 2009-12-23 09:53:01 +00:00
lotodore 5424aed21e Fixing server announcement. Gui callback still needed. 2009-11-08 09:48:01 +00:00
lotodore 7ae35122b8 Adding more server side gsasl stuff. Client side now broken. 2009-10-18 20:53:58 +00:00
lotodore cfc11f7f89 More work on gsasl authentication. 2009-10-11 12:07:56 +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 51e393823a Game database entry is created only once the game is started. 2009-10-03 20:19:51 +00:00
lotodore a2a27cbdb0 First steps to actually store game statistics. 2009-10-03 18:06:56 +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 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 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 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 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 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 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 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