Commit Graph

224 Commits

Author SHA1 Message Date
4943f1ce1a fix: fixed refactoring error 2021-06-24 15:17:09 +02:00
df9268ce17 updated submodule 2021-06-09 16:03:20 +02:00
c01afab0ab test: the test now has a friendly comment 2021-06-08 16:15:07 +02:00
805e8e5f9e wip: switch to synchronized handling during testing 2021-06-08 16:04:46 +02:00
afc413507a wip: add overengineered full socket test 2021-06-08 05:01:32 +02:00
8daa7afac3 test: begun to write some tests for the Server components 2021-06-08 03:16:43 +02:00
5f30982cfb feat: added userCount and containsConnection methods to UserManager 2021-06-08 03:16:13 +02:00
8d536ddcb0 test: completed test for Client 2021-06-08 02:47:36 +02:00
be08c6f1c4 refactor: changed Client field accessors to getters / setters 2021-06-08 02:47:17 +02:00
7f717f5fe2 feat: now ignoring empty request messages instead of sending them 2021-06-08 02:33:06 +02:00
80ad60a658 refactor: re-formated LobbyConnection 2021-06-08 02:28:58 +02:00
07ce02b937 test: adjusted test to reflect actual requirements 2021-06-08 02:05:37 +02:00
8dd4a4b60f fix: fixed major bug where lobbyConnection termination wouldn't remove clients 2021-06-08 02:02:50 +02:00
96ce2ebde2 fix: fixed a bug where the the timeoutTime is negative 2021-06-08 01:39:17 +02:00
7d486df64f HOTFIX: hotfixed show-stopping bug 2021-06-07 18:21:30 +02:00
2da32cb397 fix: fixed a bug where spectators that join aren't in the playing state 2021-06-07 17:57:13 +02:00
17eb44ce49 fix: fixed doc 2021-06-07 17:47:57 +02:00
054662957a fix: fixed bug where spectators would never be in the playing state 2021-06-07 17:47:41 +02:00
383fa456fc fix: fixed bug where spectators joining later won't be able to send events 2021-06-07 17:47:22 +02:00
0248eaf154 fix: fixed bug where winner was not declared in WinEvent 2021-06-07 17:47:04 +02:00
3c49c5bbd8 fix: fixed bug where sending reoconnect while not able to do so breaks the server 2021-06-07 17:26:59 +02:00
8d26c3f2ea fix: fixed bug where spectators sending character selection would blow up the server 2021-06-07 17:26:30 +02:00
6122c55025 fix: fixed null pointer exception at getting participant from null-valued EntityID 2021-06-07 17:10:30 +02:00
5e6745ee23 fix: fixed bug where spectator joins as player if free spot available 2021-06-07 17:05:56 +02:00
1be8a503bf refactor: changed method order in LobbyManager 2021-06-07 17:03:06 +02:00
c2ad2e118e fix: using proper maxRoundTime in TurnTimeoutTimer 2021-06-07 17:00:54 +02:00
0b41a9c7d8 refactor: adjusted DisconnectSegment to API changes 2021-06-07 16:45:19 +02:00
ad2dff3eb9 feat: properly used timeouts and timers in Lobby 2021-06-07 16:44:54 +02:00
11923b89a0 feat: implemented Lifetime- and TimeoutTimer 2021-06-07 16:44:41 +02:00
6b10287808 refactor: more class name changes 2021-06-07 16:44:29 +02:00
c4badaf4ef test: refactored tests 2021-06-07 16:44:04 +02:00
7653f5217c refactor: renamed GameLogic segment 2021-06-07 16:43:22 +02:00
6a0bef616f refactor: changed class names to reflect their uses better 2021-06-07 16:42:19 +02:00
f0a4cd0adb test: commented out non-working tests 2021-06-07 15:44:30 +02:00
b087eee99d refactor: added hasFreePlayerSlot method to LobbyConnection 2021-06-07 15:34:22 +02:00
d58f0dfca9 update: updated submodule 2021-06-07 15:33:42 +02:00
9f366c7776 doc: added comments and logs to LobbyManager 2021-06-07 15:33:27 +02:00
8c1e55d9b0 build: removed redundant ARG from dockerfile 2021-06-07 15:12:38 +02:00
e288c8d4a4 fix: fixed the No-Events-bug in the lobby 2021-06-07 15:12:22 +02:00
1e37bf8ff3 fix: remove faulty participant deletion 2021-06-07 15:00:39 +02:00
e40218b2cf refactor: major refactor for UserManager, and comments for LobbyManager 2021-06-07 14:51:38 +02:00
3ea1cc6cf5 fix: resolve some more connection opening and closing issues 2021-06-07 13:11:09 +02:00
3be518f13b fix: send GameStructure on reconnect 2021-06-07 09:04:18 +02:00
efa5ce3848 fix: remove stored sessions when clients get disconnected by the server 2021-06-07 08:55:53 +02:00
0d1af0ed62 feat: add disconnect and reconnect methods to lobby 2021-06-07 08:51:38 +02:00
ca0999d06b refactor: minor fixes 2021-06-07 08:41:13 +02:00
522558bb16 refactor: switch more classes to singleton, simplify handling greatly 2021-06-07 07:36:51 +02:00
d9b5b3db2f cleanup: code cleanup 2021-06-07 03:49:06 +02:00
48d9626c06 fix: now sends goodbyeClient message on disconnect 2021-06-07 02:13:12 +02:00
a25b429e1e fix: fixed bug where selectionComplete is always false 2021-06-07 02:08:52 +02:00