Commit Graph

207 Commits

Author SHA1 Message Date
Richard Reiber 97a2cbb74e sonarqube: removed some smells.
biggest change is that the HashSet and HashMap in LobbyConnection is now a Set and Map instead.
2021-08-09 23:19:30 +02:00
punchready d54d2004dd fix: fix method call 2021-08-09 20:33:57 +02:00
punchready d46471e601 fix: send gamestructure to players joining a running game 2021-08-09 20:29:46 +02:00
Yannik Bretschneider 3fff60f125 build: added fancy test logging 2021-08-06 18:22:52 +02:00
Richard Reiber 8e4148009a sonarqube: fixed some smells in the test section 2021-08-05 23:24:15 +02:00
Yannik Bretschneider 21536b9151 build: added jacoco coverage support 2021-08-05 23:12:28 +02:00
Richard Reiber 6f19056fde sonarqube: fixed some smells 2021-08-05 22:19:27 +02:00
Yannik Bretschneider 905bdbccd6 doc: added better log message for PlayerFilterSegment 2021-07-29 01:56:34 +02:00
punchready 9f67808139 fix: add gamestate event to all responses 2021-07-26 00:00:47 +02:00
Yannik Bretschneider 1d257b3c08 test: fixed MarvelousServerTest with non-erroring tinylog config 2021-07-22 15:57:32 +02:00
Yannik Bretschneider fc4127a679 fix: fixed being able to control other player's characters 2021-07-21 00:18:29 +02:00
Yannik Bretschneider 48a378e75c fix: fixed bug where too many wrong events would cause a null pointer 2021-07-20 23:48:32 +02:00
Yannik Bretschneider 09c5545c6d fix: re-implemented the segment, this time properly 2021-07-07 18:04:19 +02:00
Yannik Bretschneider e02fd0879a feat: implemented proper filtering of EndRoundRequests 2021-07-07 14:47:54 +02:00
punchready bb5d002cb4 fix: actually add the segment 2021-07-06 13:18:55 +02:00
punchready 8c8a4752e3 fix: update tests 2021-07-06 13:15:15 +02:00
punchready 8f12084308 fix: prevent EndRoundRequests and invalid pausing 2021-07-06 13:14:00 +02:00
punchready f8aa2c9bf2 fix: destroy lobbies properly after ended games and during grouping 2021-07-06 12:59:37 +02:00
punchready ec6236c57f fix: only set runningGame to true if the client actually had a started game 2021-07-01 12:33:33 +02:00
punchready 1a8566895b fix: improve server test coverage and functionality 2021-06-29 08:40:57 +02:00
punchready bf3bd7d0a4 fix: adjust login process for standard 2021-06-29 08:40:00 +02:00
Yannik Bretschneider 4943f1ce1a fix: fixed refactoring error 2021-06-24 15:17:09 +02:00
Yannik Bretschneider c01afab0ab test: the test now has a friendly comment 2021-06-08 16:15:07 +02:00
punchready 805e8e5f9e wip: switch to synchronized handling during testing 2021-06-08 16:04:46 +02:00
punchready afc413507a wip: add overengineered full socket test 2021-06-08 05:01:32 +02:00
Yannik Bretschneider 8daa7afac3 test: begun to write some tests for the Server components 2021-06-08 03:16:43 +02:00
Yannik Bretschneider 5f30982cfb feat: added userCount and containsConnection methods to UserManager 2021-06-08 03:16:13 +02:00
Yannik Bretschneider 8d536ddcb0 test: completed test for Client 2021-06-08 02:47:36 +02:00
Yannik Bretschneider be08c6f1c4 refactor: changed Client field accessors to getters / setters 2021-06-08 02:47:17 +02:00
Yannik Bretschneider 7f717f5fe2 feat: now ignoring empty request messages instead of sending them 2021-06-08 02:33:06 +02:00
Yannik Bretschneider 80ad60a658 refactor: re-formated LobbyConnection 2021-06-08 02:28:58 +02:00
Yannik Bretschneider 07ce02b937 test: adjusted test to reflect actual requirements 2021-06-08 02:05:37 +02:00
Yannik Bretschneider 8dd4a4b60f fix: fixed major bug where lobbyConnection termination wouldn't remove clients 2021-06-08 02:02:50 +02:00
Yannik Bretschneider 96ce2ebde2 fix: fixed a bug where the the timeoutTime is negative 2021-06-08 01:39:17 +02:00
Yannik Bretschneider 7d486df64f HOTFIX: hotfixed show-stopping bug 2021-06-07 18:21:30 +02:00
Yannik Bretschneider 2da32cb397 fix: fixed a bug where spectators that join aren't in the playing state 2021-06-07 17:57:13 +02:00
Yannik Bretschneider 17eb44ce49 fix: fixed doc 2021-06-07 17:47:57 +02:00
Yannik Bretschneider 054662957a fix: fixed bug where spectators would never be in the playing state 2021-06-07 17:47:41 +02:00
Yannik Bretschneider 383fa456fc fix: fixed bug where spectators joining later won't be able to send events 2021-06-07 17:47:22 +02:00
Yannik Bretschneider 0248eaf154 fix: fixed bug where winner was not declared in WinEvent 2021-06-07 17:47:04 +02:00
Yannik Bretschneider 3c49c5bbd8 fix: fixed bug where sending reoconnect while not able to do so breaks the server 2021-06-07 17:26:59 +02:00
Yannik Bretschneider 8d26c3f2ea fix: fixed bug where spectators sending character selection would blow up the server 2021-06-07 17:26:30 +02:00
Yannik Bretschneider 6122c55025 fix: fixed null pointer exception at getting participant from null-valued EntityID 2021-06-07 17:10:30 +02:00
Yannik Bretschneider 5e6745ee23 fix: fixed bug where spectator joins as player if free spot available 2021-06-07 17:05:56 +02:00
Yannik Bretschneider 1be8a503bf refactor: changed method order in LobbyManager 2021-06-07 17:03:06 +02:00
Yannik Bretschneider c2ad2e118e fix: using proper maxRoundTime in TurnTimeoutTimer 2021-06-07 17:00:54 +02:00
Yannik Bretschneider 0b41a9c7d8 refactor: adjusted DisconnectSegment to API changes 2021-06-07 16:45:19 +02:00
Yannik Bretschneider ad2dff3eb9 feat: properly used timeouts and timers in Lobby 2021-06-07 16:44:54 +02:00
Yannik Bretschneider 11923b89a0 feat: implemented Lifetime- and TimeoutTimer 2021-06-07 16:44:41 +02:00
Yannik Bretschneider 6b10287808 refactor: more class name changes 2021-06-07 16:44:29 +02:00