Commit Graph
295 Commits
Author SHA1 Message Date
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
lotodore 0829e80d49 Do not autostart network games. Do not start admin timer for network games. 2010-09-04 23:00:39 +00:00
lotodore 7d145bf0e1 Fixed server crash when disconnecting during login. 2010-09-04 16:43:30 +00:00
lotodore c2ba56aba9 Encrypt own cards which are sent at the beginning of the hand - only applicable to registered users. 2010-09-04 11:56:40 +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 1f5447bd1f Store avatar type of current avatar in db. 2010-08-23 17:37:22 +00:00
lotodore 6972437f64 Only set avatar hash in db if not zero. 2010-08-22 19:35:43 +00:00
lotodore 73cf41de27 Store hash of last used avatar in db. 2010-08-22 18:42:54 +00:00
lotodore 0646bc9d2e Working on storing places of all players in ranking games. 2010-08-07 23:06:59 +00:00
lotodore 9e039182ec Also check ranking game restrictions on server. 2010-08-01 20:15:49 +00:00
lotodore 896c335204 Header files cleanup work. 2010-08-01 19:23:08 +00:00
lotodore 4771ff1c39 Fixing a server crash when requesting player info of a player who is no longer online. 2010-07-25 09:31:13 +00:00
lotodore b4d02f4cb0 Do not use regex for chat bot bans. 2010-07-14 17:55:49 +00:00
lotodore 6c997ca21a Make the chat bot temporarily ban players. 2010-07-14 17:20:51 +00:00
lotodore 9248f5a15e Make chat bot really kick players. 2010-07-14 16:13:18 +00:00
lotodore 55fc5e6e39 Small message fix. 2010-07-14 15:40:14 +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 4aa2083993 Add protocol message if a game name is already in use. 2010-07-14 07:29:01 +00:00
lotodore 05bdcd1b45 Fixing bug with language code. 2010-04-01 20:33:39 +00:00
lotodore 652a9e55b4 Adding country code to protocol (currently broken). 2010-04-01 17:09:49 +00:00
lotodore 2dc3ab64ec Adding country information of player (optional). 2010-04-01 16:20:57 +00:00