lotodore
|
fa01ab57d6
|
Fixing order of messages.
|
2011-10-26 21:51:29 +00:00 |
|
lotodore
|
60b96976b8
|
Removing unintended asn_system.h-change.
|
2011-10-26 21:47:25 +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 |
|
lotodore
|
94f0c3e694
|
Fixing compiler warning.
|
2011-10-23 12:02:38 +00:00 |
|
lotodore
|
ad961de45d
|
Polishing rejoin implementation.
|
2011-10-23 09:13:04 +00:00 |
|
lotodore
|
5b9a6c532c
|
Fixing MacOS build. Runs on 10.6/10.7 only.
|
2011-10-21 10:24:25 +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
|
2f588ffed7
|
Running astyle.
|
2011-10-20 14:13:25 +00:00 |
|
lotodore
|
28d7904265
|
Pass ConfigFile to ClientThread constructor.
|
2011-10-20 12:03:20 +00:00 |
|
lotodore
|
603d4826fd
|
Fixing thread safety of ConfigFile.
|
2011-10-20 11:36:41 +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
|
a732baa71a
|
Update dealer id before changing the player id.
|
2011-10-12 07:28:02 +00:00 |
|
lotodore
|
ec7f5aec99
|
Fixing bug that players are kicked if one player leaves.
|
2011-10-11 21:06:16 +00:00 |
|
lotodore
|
03083e8ec0
|
Rejoin works.
|
2011-10-11 19:18:11 +00:00 |
|
lotodore
|
32843b2100
|
Use boost::random for random number generation.
|
2011-10-11 15:15:22 +00:00 |
|
lotodore
|
0d9bf08934
|
Still trying to fix the test cases.
|
2011-10-03 16:07:41 +00:00 |
|
lotodore
|
a472bdb2fb
|
Fixing compiler warning.
|
2011-10-03 14:44:09 +00:00 |
|
lotodore
|
1e1de466b8
|
Fixing test cases.
|
2011-10-03 13:21:58 +00:00 |
|
lotodore
|
b5b698ce44
|
Considering protocol changes in tests.
|
2011-10-03 12:44:57 +00:00 |
|
lotodore
|
828fc6bfac
|
Rejoin now works, but yet only as spectator.
|
2011-10-03 09:53:50 +00:00 |
|
lotodore
|
7bda27d793
|
Adding missing protocol files.
|
2011-10-03 09:08:32 +00:00 |
|
lotodore
|
aee0adbffe
|
More protocol changes for rejoin. Re-adding server password to protocol.
|
2011-10-03 08:03:58 +00:00 |
|
lotodore
|
f8c89304d1
|
Some changes to make cppcheck happy.
|
2011-09-29 20:54:24 +00:00 |
|
lotodore
|
d6ab25d816
|
Trying to make rejoin work, still broken due to change of unique id during game.
|
2011-09-28 20:20:08 +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
|
b5a30d7def
|
Adding missing protocol files.
|
2011-07-17 14:47:01 +00:00 |
|
lotodore
|
8e31b459d6
|
Updating test protocol file.
|
2011-07-17 14:33:52 +00:00 |
|
lotodore
|
d2720467b2
|
Last session id is only sent optionally, it can be omitted if not available.
|
2011-07-17 14:32:28 +00:00 |
|
lotodore
|
77f7287851
|
Updating protocol files for tests.
|
2011-07-17 14:16:13 +00:00 |
|
lotodore
|
d8ccf015d3
|
Protocol updates for more flexibility and better testing.
|
2011-07-17 14:12:10 +00:00 |
|
lotodore
|
d14d1d4a2b
|
Regenerating protocol files for tests.
|
2011-07-17 12:19:54 +00:00 |
|
lotodore
|
e109c0037d
|
Preparing network protocol for rejoin.
|
2011-07-16 14:52:45 +00:00 |
|
lotodore
|
711091bcd9
|
Fixing path to game.h.
|
2011-07-16 07:40:43 +00:00 |
|
lotodore
|
070319da52
|
Moving game.cpp and game.h to engine folder, because they are part of the engine.
|
2011-07-02 15:00:47 +00:00 |
|
lotodore
|
0e85294519
|
Switching license from GPL2 to AGPL3.
|
2011-07-02 14:57:03 +00:00 |
|
lotodore
|
ea82f58815
|
Switching license from GPL2 to AGPL3.
|
2011-07-02 14:52:16 +00:00 |
|
lotodore
|
3107ea1dff
|
Switching license from GPL2 to AGPL3.
|
2011-07-02 14:49:09 +00:00 |
|
lotodore
|
2c62a097e4
|
Switching license from GPL2 to AGPL3.
|
2011-07-02 14:45:12 +00:00 |
|
lotodore
|
0ed12e0ac8
|
Switching license from GPL2 to AGPL3.
|
2011-07-02 14:38:06 +00:00 |
|
lotodore
|
bc2c31acf0
|
Updating Linux build helper.
|
2011-06-12 20:32:51 +00:00 |
|
lotodore
|
41b19fd2e7
|
Deleting obsolete protocol file. New documentation is in pokerth.asn1
|
2011-06-12 20:27:14 +00:00 |
|
lotodore
|
66d965dd0b
|
Updating Windows build instructions, because libircclient is no longer included in third_party.
|
2011-06-12 20:25:57 +00:00 |
|
lotodore
|
ecc59dfee3
|
Support running the test system on Windows 7.
|
2011-06-12 18:41:48 +00:00 |
|
lotodore
|
db9e7f1ac2
|
One more warning fixed.
|
2011-04-10 10:56:16 +00:00 |
|
lotodore
|
8ad31f240a
|
Reverting this change, Linux does not define _getpid.
|
2011-04-10 10:17:30 +00:00 |
|
lotodore
|
8bac902580
|
Fixing loads of msvc warnings (mainly size_t vs int issues).
|
2011-04-10 10:04:42 +00:00 |
|
lotodore
|
3cb3a5c3a8
|
Fixing msvc issue: compiler limit : blocks nested too deeply
|
2011-04-10 08:32:40 +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
|
c877e0ef74
|
Remove libircclient from client (pokerth_game no longer depends on it).
|
2011-03-11 21:56:24 +00:00 |
|
lotodore
|
c47e74d427
|
Removing libircclient from third_party.
|
2011-03-11 02:06:29 +00:00 |
|
lotodore
|
13c9517d98
|
Removing use of internal libircclient, use external lib.
|
2011-03-11 01:43:21 +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
|
07b448cf34
|
Running astyle.
|
2011-03-10 19:27:15 +00:00 |
|
lotodore
|
5857f07309
|
Remove reference to network session from player objects.
|
2011-03-10 19:26:04 +00:00 |
|
lotodore
|
5ab043d533
|
Remove invalid comment.
|
2011-03-10 17:39:22 +00:00 |
|
lotodore
|
f4a49f0ed4
|
Verifying proper encryption of cards for registered users.
|
2011-03-10 16:37:27 +00:00 |
|
lotodore
|
8b4ed277ad
|
Modifying test cases so that it is checked whether the game winner money is the sum of all start money.
|
2011-03-08 22:49:48 +00:00 |
|
lotodore
|
087cc852f0
|
Fixing static linking, still requires gnutls due to libcurl.
|
2011-03-08 20:40:38 +00:00 |
|
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
|
5144690bee
|
Hacking around memory leak.
|
2011-03-01 09:07:39 +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 |
|
lotodore
|
6f290be894
|
Removing several unnecessary allocations.
|
2011-02-28 22:05:44 +00:00 |
|
lotodore
|
a87a12e8b0
|
Remove unnecessary allocation.
|
2011-02-28 21:19:04 +00:00 |
|
lotodore
|
2ad5f1cb40
|
Fixing possible memory leak and compiler warnings.
|
2011-02-28 19:59:14 +00:00 |
|
lotodore
|
2cd2ac57ca
|
Fixing cppcheck issue and compiler warning.
|
2011-02-28 18:29:57 +00:00 |
|
lotodore
|
b78dc5af75
|
Making list iterator standard conforming.
|
2011-02-28 17:12:55 +00:00 |
|
lotodore
|
3b3ca6339e
|
Cosmetic changes.
|
2011-02-27 22:05:15 +00:00 |
|
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 |
|