Commit Graph
167 Commits
Author SHA1 Message Date
Thilo Behnke a97b25b896 set state of session to closed on close event 2022-06-30 00:01:38 +02:00
Thilo Behnke 71c818edd0 fix inputs 2022-06-29 23:58:44 +02:00
Thilo Behnke c994277d9e fix network inputs 2022-06-29 23:45:45 +02:00
Thilo Behnke 357bc39f36 rough solution for session event persistence 2022-06-29 23:39:29 +02:00
Thilo Behnke 1a54a9781a event ticker 2022-06-29 23:16:30 +02:00
Thilo Behnke 17bab0df17 working move event read 2022-06-29 22:50:54 +02:00
Thilo Behnke 9b831e4d77 handle initial gamefield value 2022-06-29 22:26:47 +02:00
Thilo Behnke 25feba56ab update peer on every tick 2022-06-29 22:16:39 +02:00
Thilo Behnke 5fb7725dae don't send heartbeat in menu + don't send snapshot for peer if objects change 2022-06-29 00:11:58 +02:00
Thilo Behnke d3df67e4ce persist move events from host 2022-06-28 23:59:30 +02:00
Thilo Behnke 0cc7a499fc added todos 2022-06-28 23:40:52 +02:00
Thilo Behnke a9a9d14c03 inputs vs render mode 2022-06-28 23:30:42 +02:00
Thilo Behnke 882c83b589 combined store 2022-06-28 23:13:53 +02:00
Thilo Behnke be1fe741f8 refactoring 2022-06-28 23:05:47 +02:00
Thilo Behnke ff31e0618e refactoring 2022-06-28 22:35:54 +02:00
Thilo Behnke 45a977921e issues with sending inputs to tick 2022-06-28 22:11:43 +02:00
Thilo Behnke ef59cb9de8 send input events, fixes for heartbeat 2022-06-28 22:01:42 +02:00
Thilo Behnke f32cd1b507 investigating issue with failed heartbeat persists 2022-06-27 23:15:43 +02:00
Thilo Behnke 8e900882b6 fix error display 2022-06-27 23:15:27 +02:00
Thilo Behnke 979a2252ed sending heartbeat 2022-06-27 23:08:28 +02:00
Thilo Behnke 321dda9934 sending snapshots 2022-06-27 22:47:14 +02:00
Thilo Behnke 0f1f7c62e0 consume/produce event store 2022-06-27 22:38:53 +02:00
Thilo Behnke 06df1df510 wip - write events 2022-06-26 21:37:40 +02:00
Thilo Behnke b73206c216 added todo 2022-06-26 21:30:48 +02:00
Thilo Behnke a0cbc82074 create observer snapshot model 2022-06-26 21:30:33 +02:00
Thilo Behnke 992827e1c2 create snapshot models 2022-06-26 21:29:06 +02:00
Thilo Behnke 30c539bb3c unsubscribe functions 2022-06-26 21:25:41 +02:00
Thilo Behnke f4b64c4159 working session events 2022-06-26 21:20:10 +02:00
Thilo Behnke ac0025a0ae wip - streamline session event store 2022-06-26 21:01:33 +02:00
Thilo Behnke 7f6f50d676 refactor store 2022-06-26 20:36:20 +02:00
Thilo Behnke 0e9517256d correct value for 'you' in network session 2022-06-26 20:06:57 +02:00
Thilo Behnke 720594a59d propagate session state between host and peer 2022-06-26 16:07:44 +02:00
Thilo Behnke 6c36860908 avoid repeating websocket creation 2022-06-26 15:48:23 +02:00
Thilo Behnke fe64d62c5c session event received but how to update session in client 2022-06-26 15:29:47 +02:00
Thilo Behnke cb4a8aabdc don't double serialize event - only the payload is relevant 2022-06-26 14:01:30 +02:00
Thilo Behnke 080c754eeb don't double serialize string in event 2022-06-26 13:42:39 +02:00
Thilo Behnke 19ed978fe1 Revert "issues with dynamic event payload"
This reverts commit 5cabde9409.
2022-06-26 13:38:26 +02:00
Thilo Behnke 5cabde9409 issues with dynamic event payload 2022-06-26 13:28:33 +02:00
Thilo Behnke 5246235909 write session events to specific partitions 2022-06-26 12:57:03 +02:00
Thilo Behnke 72e829f7d5 more logs 2022-06-26 12:24:34 +02:00
Thilo Behnke db789ac256 more kafka logs 2022-06-26 12:16:47 +02:00
Thilo Behnke 49bc5c5e79 more ws logs 2022-06-26 12:02:55 +02:00
Thilo Behnke b6b3a6f846 more logging 2022-06-23 22:15:43 +02:00
Thilo Behnke 0da54c1324 more logging 2022-06-23 22:00:22 +02:00
Thilo Behnke 726e18ba46 more logging 2022-06-23 21:52:18 +02:00
Thilo Behnke bc144785ea use env_logger 2022-06-23 21:49:41 +02:00
Thilo Behnke 7d065530b8 subscribe to session events 2022-06-23 21:24:39 +02:00
Thilo Behnke d8293011ea bugfixing 2022-06-23 21:04:28 +02:00
Thilo Behnke f950bb0bbb remove session type output 2022-06-23 20:47:33 +02:00
Thilo Behnke 2975687b35 show session info 2022-06-23 20:40:05 +02:00