Commit Graph
63 Commits
Author SHA1 Message Date
Kai Philipp cb51ee79f2 isallowed returns true now 2019-09-09 22:23:22 +02:00
Kai Philipp d882d4f675 timestamp stored debuglog 2019-09-09 22:18:47 +02:00
Kai Philipp 02e8c81974 array to vector now 2019-09-09 20:34:58 +02:00
Kai Philipp ee6c80406a bugfix 2019-09-09 20:28:22 +02:00
Kai Philipp 17036816af bugfix 2019-09-09 20:27:40 +02:00
Kai Philipp 8964467ef9 bugfix 2019-09-09 20:26:41 +02:00
Kai Philipp 9285fa1e32 re-structuring 2019-09-09 20:24:29 +02:00
Kai Philipp ad5735b9fd std:array ? 2019-09-09 20:06:12 +02:00
Kai Philipp 24c05f6d74 another bugfix array declaration 2019-09-09 20:02:16 +02:00
Kai Philipp a3337dd869 another bugfix array declaration 2019-09-09 20:01:20 +02:00
Kai Philipp 835a0f6df8 std:array to array 2019-09-09 19:40:03 +02:00
Kai Philipp 962eb48148 switch from std::time to long timestamp only 2019-09-09 19:37:32 +02:00
Kai Philipp 13ebae6618 bugfix array def 2019-09-09 19:33:20 +02:00
Kai Philipp e18e459434 limitrank - draft with return false always 2019-09-09 19:21:15 +02:00
Albert Medela 65e10c71b0 run astyle 2017-08-16 13:55:18 +02:00
lotodore 0ed986399f Switching from asio deadline_timer to asio steady_timer in order to fix #55. This requires the (boost or native) chrono lib. 2017-04-05 14:07:36 +02:00
Albert Medela 19f95f6204 #319, #320, c++11 mode, mysql errors to server log 2017-02-05 00:44:48 +01:00
lotodore 3cbb365c61 Don't let a websocket login kick a normal login. 2014-02-15 23:15:27 +01:00
lotodore 20eb7b94bd Fixing several compiler warnings. 2013-09-16 23:11:16 +02:00
lotodore 496a668a15 Fixing retrieval of remote webclient address for login blocker. 2013-09-16 22:33:52 +02:00
lotodore 8e39432754 Adding websocket server code, so that a gateway is no longer required. Still kind of untested. Requires websocketpp. 2013-09-15 22:54:45 +02:00
lotodore 45a5c7cef8 License change: OpenSSL exception (for Windows 8 support, because gcrypt does not work on Windows 8). 2012-12-25 15:06:23 +01:00
lotodore aad9e271db Cleaning up the different timeouts and how players can be removed from the game. 2011-12-11 14:54:17 +00:00
lotodore 0ed12e0ac8 Switching license from GPL2 to AGPL3. 2011-07-02 14:38:06 +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 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 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 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 246c99e62e Trying to fix more cppcheck messages. 2011-02-10 13:54:53 +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 0cb1f11a52 Removing comments. 2010-03-26 20:51:34 +00:00
lotodore 9063f2c9e1 Trying to use gsasl utf-8 support with libidn. 2010-03-24 12:23:20 +00:00
lotodore c999f2d813 Reverting some change, as it does not seem to have any effect. 2010-03-21 18:07:23 +00:00
lotodore bd69bc9ced Trying to fix base64 problems. 2010-03-21 17:56:50 +00:00
lotodore 5575e6e2b0 Fixing utf-8 problems by sending username as base64. 2010-03-21 16:59:41 +00:00
lotodore 7ae35122b8 Adding more server side gsasl stuff. Client side now broken. 2009-10-18 20:53:58 +00:00
lotodore 3b245ee87b More fixes (seems I'm too tired...). 2009-10-13 22:03:41 +00:00
lotodore 1809a6ba74 More fixes. 2009-10-13 22:02:19 +00:00
lotodore 88659e69ce More gsasl changes. 2009-10-13 21:52:10 +00:00
lotodore b61d43859e Trying to make gsasl authentication work... 2009-10-13 21:03:32 +00:00
lotodore cfc11f7f89 More work on gsasl authentication. 2009-10-11 12:07:56 +00:00
lotodore 1f7f045d15 Starting gsasl integration to perform challenge response authentication. Note that gsasl 1.3 is required (previous versions are not supported). Authentication is currently broken. 2009-10-11 09:20:17 +00:00
lotodore 87363094d2 Fixing linux compiler error. 2009-06-16 22:35:05 +00:00
lotodore 5f3369432a Rewriting sender yet again to fit the new asio design. Polling for new send data is no longer needed, this also reduces lag. 2009-06-07 08:51:43 +00:00
lotodore 60b5d45c53 Adopting changes from asio branch. Currently broken. 2009-05-04 21:11:29 +00:00
lotodore 992dd4b618 Adding backward compatibility for 0.6 clients. They cannot join games with > 7 players. 2009-04-11 12:32:54 +00:00
lotodore 55a29f9a38 Do not use asio cancel, because it is not portable. It will cause an exception on Windows XP. Just let the socket be closed. 2009-03-21 10:44:31 +00:00