Commit Graph
100 Commits
Author SHA1 Message Date
lotodore 9e425136f1 Adding new types of random number generators: 1. shuffle a list non-deterministic (not the default shuffle) 2. get random numbers of a range 3. get random numbers of a range, without duplicates (the latest based on floty's idea). Note that the existing random number works quite well, the new approach uses boost::random and is more flexible if other distributions are needed for the AI.
The code is currently disabled due to link problems on debian/ubuntu (boost::random seems to be missing there).
2011-02-27 21:54:43 +00:00
lotodore 22718fad46 Improving load test tool. 2011-02-27 13:40:55 +00:00
lotodore 63b28d7167 Running astyle. 2011-02-26 10:09:45 +00:00
lotodore 9264aa86eb Fixing cppcheck issue. Adding parameter to set first player name. 2011-02-25 17:10:02 +00:00
lotodore b2e0d7c719 Adding load test tool. 2011-02-24 23:51:58 +00:00
lotodore 04f26a2de4 Updating linux helper script (new boost release). 2011-02-23 09:55:34 +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 d826a19676 Adding load test. 2011-02-22 21:48:52 +00:00
lotodore 4b0b6a3e03 Add patch to remove indirect openssl dependency from Windows build. 2011-02-21 23:32:09 +00:00
lotodore 38b9e764e7 Fixing boost 1.46 compatibility (ticket #58). Still needs testing with official boost release. 2011-02-20 12:30:23 +00:00
lotodore 781d8a820e Adding test of the different methods to block a player from the server. 2011-02-19 23:50:01 +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 e4679d58e7 Rename SendDataManager to SendBuffer, which is a clear and proper name. (Part 2: File names) 2011-02-19 18:18:52 +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 8494a55b82 Adding test cases to list of tests. 2011-02-18 13:49:01 +00:00
lotodore e30591c600 Adding copyright notices (tests are AGPL3). 2011-02-18 13:48:30 +00:00
lotodore 0c09fbe40b Removing Java warnings. 2011-02-18 13:40:24 +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 1840efb60f Add new test case for unsubscribing/resubscribing lobby messages. 2011-02-17 12:09:05 +00:00
lotodore 71cc99c6ef Fix warning. 2011-02-13 21:45:04 +00:00
lotodore 672b8390b9 Adding new test case for game list updates. 2011-02-13 21:09:34 +00:00
lotodore 0b38133337 Adding test case for the player list (in the lobby) and polishing other tests. 2011-02-13 18:48:46 +00:00
lotodore 2aede6913e Also consider sessions which are closed. 2011-02-13 17:31:41 +00:00
lotodore 4d5b57f310 New test case for announce message. 2011-02-13 17:28:14 +00:00
lotodore 89c613ab85 Polishing test cases. 2011-02-13 17:26:17 +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 fdcf1ce297 New test cases for player info requests - also tests basic avatar handling. 2011-02-13 00:28:30 +00:00
lotodore 8059248c51 Updating Windows build documentation after feedback from xanax. 2011-02-13 00:23:15 +00:00
lotodore 8780b98545 New test cases for player info requests - also tests basic avatar handling. 2011-02-13 00:22:03 +00:00
lotodore 381d47deea Adding astyle script. Make sure to use the latest version of astyle. 2011-02-12 14:39:50 +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 29dca1846e Adding detailed instructions as to which packages are required for the mingw cross build. 2011-02-11 13:24:10 +00:00
lotodore dd3c003d7e Improving server test mode for faster testing 2011-02-11 12:59:42 +00:00
lotodore 6a2e993ac3 This was actually a duplicate - the file COPYING_asn1c already contains the license. 2011-02-11 09:29:28 +00:00
lotodore 562c7a3ee8 Explicitly adding boost software license 1.0 - source is http://www.boost.org/LICENSE_1_0.txt 2011-02-11 09:27:41 +00:00
lotodore 6563c3dd10 Explicitly adding asn1c "Copying" file to clarify which BSD license is used. Source for this file is https://github.com/vlm/asn1c which is exactly the asn1c version used. 2011-02-11 09:23:52 +00:00
lotodore 2e63c7e247 Updating build instructions. Windows build on Windows is no longer supported, only supported method is cross compiling on Linux. 2011-02-11 08:32:07 +00:00
lotodore cf92fecf9c Windows build scripts are now obsolete. 2011-02-11 08:14:43 +00:00
lotodore 293286900c Fixing compiler warning. 2011-02-10 22:17:07 +00:00
lotodore 387739c84f Implementing ticket #47 Automatic notifications before server restart. 2011-02-10 22:16:36 +00:00
lotodore af8e2fc63a Reverting useless change. 2011-02-10 17:09:04 +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 372c2466e8 Preparing use of boost Uuids for unique ids which can be used to rejoin a game (Ticket #5). This requires boost 1.42 or later. 2011-02-09 21:45:33 +00:00
lotodore d93aae6b50 Fixing cppcheck issues by removing unused files of the boost timer lib. 2011-02-09 19:48:22 +00:00
lotodore 26d5ab02bc More cppcheck fixes. Almost done now. 2011-02-09 16:44:26 +00:00
lotodore 49f6c4e757 More cppcheck fixes. 2011-02-09 16:25:05 +00:00
lotodore 024258e41c More cppcheck fixes. 2011-02-09 15:01:07 +00:00
lotodore 4032bf48a2 Fixing cppcheck "Prefer prefix ++/-- operators for non-primitive types." issues. 2011-02-09 14:33:39 +00:00
lotodore 07a4403e97 Fixing cppcheck issue. 2011-02-08 16:42:56 +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 48f87f0dd8 New external dependency: tinyxml. 2011-02-08 14:40:14 +00:00
lotodore dd1f46177c Removing tinyxml directory from third_party. 2011-02-08 14:39:32 +00:00
lotodore f4eb7221e3 Fixing more cppcheck issues. 2011-02-08 12:10:39 +00:00
lotodore f9bbd9199f Simplifying memory cleanup. 2011-02-08 10:02:12 +00:00
lotodore 5f3cb7aa9c Correcting leak fix. 2011-02-08 09:26:55 +00:00
lotodore 84afa5d02b Fixing memory leaks (in currently unused code). 2011-02-08 09:17:50 +00:00
lotodore cf0d7e8167 Updating test files for new protocol version. 2011-02-06 15:00:36 +00:00
lotodore bfacc2323d Fixing another ipv4 only issue. 2011-02-06 14:56:08 +00:00
lotodore f5c3b2d1c0 Fixing issues with very small timeouts in network games. 2011-02-06 14:03:45 +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 851528f290 Fixing #24 again. 2011-02-06 12:35:31 +00:00
lotodore 8d5507ddad Allow choosing zero timeout in LAN games, fixing remaining part of #24. 2011-02-06 12:29:05 +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 8c9a17f7db Trying to fix avatar file name charset issue #44 2011-02-04 21:14:49 +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 e041153b09 Adding missing files to project 2011-01-30 16:35:09 +00:00
lotodore cf49041925 Regenerating protocol code. 2011-01-30 16:27:34 +00:00
lotodore 28129b190d Fixing typo. 2011-01-30 16:24:48 +00:00
lotodore d47994dfdb Regenerating protocol code. 2011-01-30 16:24:19 +00:00
lotodore cb89dccf60 Preparing integration of chat cleaner in ranking games. 2011-01-30 16:21:53 +00:00
lotodore f28d0ad1b3 Whitespace fixes. 2011-01-30 16:20:47 +00:00
lotodore 45d10decfe Updating java protocol files from asn1 spec. 2011-01-30 11:43:35 +00:00
lotodore dcb870542c Updating asn1c to latest git version. 2011-01-30 11:30:33 +00:00
lotodore be3767b15e Make test cases ipv4 compatible (they were ipv6 only...) 2011-01-29 16:35:04 +00:00
lotodore 0055e02905 Fixing receive function. 2011-01-17 11:05:59 +00:00
lotodore 0f86071f4b Fix typo. 2011-01-17 10:51:34 +00:00
lotodore 0255568b80 Trying to fix connectivity tool. 2011-01-17 10:44:47 +00:00
lotodore 4a6367cea3 Preparing 0.8.3 release. 2011-01-16 16:46:22 +00:00
lotodore 5f8e662457 Show message whether avatar report was successful. 2011-01-16 16:35:54 +00:00
lotodore 2d05ccbafe Copy pokerth.exe file. 2011-01-16 15:39:47 +00:00
lotodore b96a3d288e Fixing removing svn directories. 2011-01-16 15:25:23 +00:00
lotodore 912db09b73 This is a shell script. 2011-01-16 15:22:39 +00:00
lotodore 5d33abc0e9 This is a shell script. 2011-01-16 15:22:24 +00:00
lotodore 4321b20987 Adding script to create Windows release 2011-01-16 15:16:47 +00:00
lotodore 6edcfe271d Deleting obsolete build file. 2011-01-16 14:54:12 +00:00
lotodore bb2ea0c48a Fixing compiler warning for daemon call. 2011-01-14 23:21:36 +00:00