Commit Graph
267 Commits
Author SHA1 Message Date
lotodore edef79e9d1 Disable rejoin for players who have been kicked. 2011-11-13 14:28:54 +00:00
floty 385a641ede optimizing local sqlite-logging; implementing first steps network client sqlite-logging 2011-11-09 21:39:37 +00:00
lotodore 32d26e3644 Removing AFK-warning message. Preparing integration of a new auto-AFK mode. 2011-11-07 21:07:13 +00:00
floty 7f13da91e5 applying astyle 2011-10-26 22:29:47 +00:00
lotodore 0230edaec2 New start event type to mark a certain game start as "rejoin" (in order to show a special dialog). 2011-10-26 21:45:39 +00:00
floty 8ae7db3e96 - updating sqlite-log
- handID in bero is unnecessary; removing parameter value
2011-10-21 00:16:43 +00:00
lotodore d14d1b4787 Do not check server password on official server (to prevent misconfiguration on client side). Only user auth is performed. 2011-10-20 21:41:37 +00:00
lotodore ddf2ca784b Adding enhancement #76 (server password). The server password is checked during init, in addition to possible player auth. It can be set as option "ServerPassword" in config.xml, on client and server. 2011-10-20 21:19:58 +00:00
lotodore 75b84f9401 Fixing ticket #75: Game names are now trimmed, and it is verified that the first character is printable. 2011-10-12 08:37:22 +00:00
lotodore aee0adbffe More protocol changes for rejoin. Re-adding server password to protocol. 2011-10-03 08:03:58 +00:00
lotodore 2488ea43cd More work on rejoin. This is still broken because the player id is not yet updated on client side, and the server still does not activate the rejoining player. 2011-09-11 20:38:18 +00:00
lotodore 945a8f4588 More work on rejoin. Server still sends a denial message. 2011-09-11 17:41:56 +00:00
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 0ed12e0ac8 Switching license from GPL2 to AGPL3. 2011-07-02 14:38:06 +00:00
lotodore db9e7f1ac2 One more warning fixed. 2011-04-10 10:56:16 +00:00
lotodore 8bac902580 Fixing loads of msvc warnings (mainly size_t vs int issues). 2011-04-10 10:04:42 +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 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 5857f07309 Remove reference to network session from player objects. 2011-03-10 19:26:04 +00:00
lotodore 629ec5929d Limiting total number of sessions to prevent hitting the file descriptor ulimit. 2011-03-07 20:54:55 +00:00
lotodore 14d951243b Fixing more implicit memory leaks to make it easier to look for the serious ones. 2011-02-28 23:47:33 +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 8279868417 Further simplifying sending network data. This improves performance, because sending sessions no longer need to be looked up in a map. 2011-02-19 13:56:49 +00:00
lotodore e5b9b29564 Adding chat reject message if chat is tried to be sent in an invalid state. Otherwise testing won't work. 2011-02-17 23:57:58 +00:00
lotodore dafd78c578 Fixing player counter - only count sessions which are established (after login). Send number of players in announce message. (Bug found through test case.) 2011-02-13 17:24:40 +00:00
lotodore c4b8e567ed Implementing private messages in lobby chat, ticket #12. Some cosmetic improvements are still missing. 2011-02-11 23:02:29 +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 c1b1ae2fe0 Updating Guid stuff. 2011-02-09 22:23:45 +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 bfacc2323d Fixing another ipv4 only issue. 2011-02-06 14:56:08 +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 e729647cec Implementing optional unlimited thinking time in LAN games on server side (GUI missing) ticket #24 2011-02-06 10:37:40 +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 be3767b15e Make test cases ipv4 compatible (they were ipv6 only...) 2011-01-29 16:35:04 +00:00
lotodore a2df4b2655 Remove TODO. No message will be shown if an avatar is blocked. 2011-01-09 22:51:10 +00:00
lotodore 19327d7076 Reset avatar if blacklisted (do not show error message yet). 2011-01-09 20:50:58 +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 8e8e173884 Adding new join game failed message if two players with the same ip address want to join a ranking game. 2010-11-14 18:26:50 +00:00
lotodore 58897ae786 Multiple connections in one ranking game from localhost are allowed (for testing). 2010-11-14 01:11:47 +00:00
lotodore 67b01746da Adding tests for ranking games, fixing small issue when creating ranking games. 2010-11-12 22:43:17 +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 46112c202a Testing build bot (again and again). 2010-10-11 20:53:19 +00:00
lotodore 972f678730 Fix some compiler warnings. 2010-10-11 15:44:56 +00:00
lotodore 812ea63ba0 Server side fix: Allow lobby chat only if player is registered. 2010-10-06 21:50:39 +00:00
lotodore 0402313115 All players within a single ranking game need different ip addresses. 2010-10-02 19:50:49 +00:00
lotodore 981bea60ce Adding new protocol notification. 2010-09-05 00:20:24 +00:00
lotodore 7a1a10abf5 Block bad game names on server. 2010-09-05 00:15:25 +00:00