Commit Graph
916 Commits
Author SHA1 Message Date
lotodore 4ec5f4eae9 Removing dependency to gnutls, only gcrypt is required now. 2011-03-08 18:42:57 +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 5122c26f8a Cleaning up compatibility stuff of very old boost versions. 2011-03-05 12:26: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 beb18d32b9 Fixing implicit memory leaks. 2011-02-28 23:06:23 +00:00
floty 9c2dc64fbd sqlite-log: deleting unused parameters and implementing logging board cards 2011-02-27 16:34:39 +00:00
lotodore 63b28d7167 Running astyle. 2011-02-26 10:09:45 +00:00
lotodore 787f8d4d81 Fixing client error messages. 2011-02-23 09:53:01 +00:00
lotodore bbe0a19340 Preparing integration of SCTP support (again). Note that server error messages are currently broken. 2011-02-22 21:53:56 +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 0618dbd74e Rename SendDataManager to SendBuffer, which is a clear and proper name. (Part 2: File names) 2011-02-19 18:18:00 +00:00
lotodore d3d16b8f4c Rename SendDataManager to SendBuffer, which is a clear and proper name. 2011-02-19 17:55:21 +00:00
lotodore b824b8beb7 Moving send buf limitation to its proper place. 2011-02-19 15:19:50 +00:00
lotodore f7315cd9e5 Improving possible multithreading in new send code. 2011-02-19 15:01:50 +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 a69c248d1c Running astyle. 2011-02-18 20:14:16 +00:00
lotodore db3fa66ec5 Place new send code in a separate class, and use it also for the chat cleaner communication. Data class "encoded packet" is no longer used, it was overhead. 2011-02-18 19:22:44 +00:00
lotodore 46a136bc8b Tremendously improving the speed of the network send code (ticket #52). The code has also been simplified, and uses some kind of double buffering as in graphics programming. There are now a lot less memory allocations and a lot less copying. However, memory usage is also increased. 2011-02-18 18:36:30 +00:00
lotodore 84be9c62a8 Polishing chat and adding test cases for different chat messages. 2011-02-18 13:39:22 +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 dd3c003d7e Improving server test mode for faster testing 2011-02-11 12:59:42 +00:00
lotodore 387739c84f Implementing ticket #47 Automatic notifications before server restart. 2011-02-10 22:16:36 +00:00
lotodore 246c99e62e Trying to fix more cppcheck messages. 2011-02-10 13:54:53 +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 49f6c4e757 More cppcheck fixes. 2011-02-09 16:25:05 +00:00
lotodore 4032bf48a2 Fixing cppcheck "Prefer prefix ++/-- operators for non-primitive types." issues. 2011-02-09 14:33:39 +00:00
lotodore c55c003f1f Fixing nasty bugs found with the help of cppcheck. This should be backported to the current server asap. 2011-02-08 16:41:46 +00:00
lotodore 55a5903142 Removing unnecessary include. 2011-02-08 16:21:21 +00:00
lotodore 2dd18020a7 CppCheck fixes. 2011-02-08 16:00:43 +00:00
lotodore f9bbd9199f Simplifying memory cleanup. 2011-02-08 10:02:12 +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 5f8e662457 Show message whether avatar report was successful. 2011-01-16 16:35:54 +00:00
lotodore 2a7456998a Improve thread safety. 2011-01-12 23:35:45 +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 41497c64ef Also store type of avatar if an avatar is reported as inappropriate. 2011-01-04 12:03:40 +00:00
lotodore ddaf311c12 New log object for network/internet games. Preliminary code. 2011-01-03 18:41:28 +00:00
lotodore 609a0c4f82 Preventing spam of report avatar function on server side. 2010-12-25 21:54:26 +00:00
lotodore 36445a00e7 Support report bad avatar function on server side. 2010-12-24 16:46:49 +00:00
lotodore 710affb1e5 Preparing the use of the report bad avatar function. 2010-12-24 12:27:46 +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