Commit Graph

49 Commits (6bcc750e0ac397a2566e1c716597cc9c30a519d6)
 

Author SHA1 Message Date
noah metz 6bcc750e0a Add time offset publish 2024-01-27 16:32:43 -07:00
Noah Metz b7c09dcbd5
Merge pull request #2 from mekkanized/liconway/fix_oversized_messages
Fix oversized messages
2024-01-25 23:43:11 -07:00
Liam Conway 2496c2a22a
Fix bug with missing bytes 2024-01-25 22:36:17 -07:00
Liam Conway 1e435c419e
Fix env_logger anstream feature on Darwin 2024-01-25 22:22:54 -07:00
Liam Conway e08037619b
Fix messages of size >16384 breaking 2024-01-25 22:22:03 -07:00
noah metz 5089684c70 Lowered read timeout on ssl to 10ms 2024-01-22 21:26:41 -07:00
Noah Metz 43f270ab28
Merge pull request #1 from mekkanized/liconway/dotenv_config
Add basic config for TM/MQTT host
2024-01-22 20:12:15 -07:00
Liam Conway 5ada41f454
Add basic config for TM/MQTT host 2024-01-22 19:36:47 -07:00
noah metz e707420e3c Got match restart/pause working gracefully 2024-01-22 14:13:09 -07:00
noah metz 9c7a6aaa01 Moved offset calulation to happen every incoming packet 2024-01-22 13:50:37 -07:00
noah metz 4ddef293bc Fixed clock drift by calculating offset every request 2024-01-22 13:47:36 -07:00
noah metz 8732193a4c Fixes to get live display working basic 2024-01-22 12:38:07 -07:00
noah metz c98d2bd531 Added initial publish to state topics 2024-01-22 11:23:11 -07:00
noah metz d8ad2c7bd2 Added initial metadata publish 2024-01-22 02:28:30 -07:00
noah metz d72cb2c732 Removed extra call to get match info 2024-01-22 02:24:08 -07:00
noah metz 10a1175941 Added some more setup functions to populate the event on boot 2024-01-22 02:08:53 -07:00
noah metz d1dd10e090 Added status publish on arena scheduled 2024-01-21 23:30:57 -07:00
noah metz 5a4e7b0a24 Added score publishing 2024-01-21 23:15:59 -07:00
noah metz ea21d4728a Changed notice queue to work_queue so that multiple threads can pass the main thread work to do on the event/connection 2024-01-21 20:10:23 -07:00
noah metz 2b30e64c14 Cleaned up unused structures, and added fields to structures that didn't have them 2024-01-21 17:40:33 -07:00
noah metz 38cfa8e932 Can't remember what changed tbh 2024-01-21 15:33:00 -07:00
noah metz 0642a9980a Changed to use game topic for score, need to add arena topic still 2024-01-21 14:01:28 -07:00
noah metz fdcdd59629 Filled out the scoring calculation function 2024-01-21 13:53:07 -07:00
noah metz 03bb8cd926 Added debug log 2024-01-21 01:25:15 -07:00
noah metz 4273d926a6 Added cert for convenience(it's public already) and and fleshed out on_match_list_update 2024-01-21 01:24:16 -07:00
noah metz c6d4336abc Cleanup 2024-01-21 01:09:11 -07:00
noah metz acff43c6f6 Added function to parse match list into map of match tuples by division 2024-01-21 01:04:58 -07:00
noah metz cd36ee4957 Changed println to log 2024-01-21 00:35:00 -07:00
noah metz cb8c57e1b9 Added comment 2024-01-21 00:24:22 -07:00
noah metz 5da2fb29c6 Fixed request sending 2024-01-21 00:19:44 -07:00
noah metz 9ff15e3864 More parsing fixes 2024-01-20 23:28:58 -07:00
noah metz b25fa4e36d Fixed to use correct netcomm protobuf 2024-01-20 21:26:16 -07:00
noah metz 8efdc7b5ab Added incrementing sequence number 2024-01-20 18:05:16 -07:00
noah metz 452dd2986d Fixed connect packet typo 2024-01-20 18:02:13 -07:00
noah metz 4eb4f5774b Added connection sequence 2024-01-20 17:54:59 -07:00
noah metz 3ebd80fedb Added structures and methods for connect messages 2024-01-20 17:12:16 -07:00
noah metz 7b4fafa3bd Added some logic to connect to the tournament manager TLS socket, not handling the hello or anything though. 2024-01-20 16:04:22 -07:00
noah metz 47d243ff84 Added match to process incoming requests to tm client 2024-01-18 20:40:17 -07:00
noah metz 751a047bd8 Made TMClient have a mirrored TMConnection for sending/receiving out of band commands 2024-01-18 20:36:40 -07:00
noah metz 1cc7150f5d Revert to using a separate thread for tcp socket handling 2024-01-18 20:29:15 -07:00
noah metz f2e2590c74 Removed a thread to simplify 2024-01-18 20:23:39 -07:00
noah metz bfc9b9ec5b Added framework for TMClient struct/impl 2024-01-18 20:20:19 -07:00
noah metz 005fb13e21 Added Event struct which can be modified by callbacks 2024-01-18 18:01:39 -07:00
noah metz 52d7cfe2f7 Added last will and testement 2024-01-18 17:38:27 -07:00
noah metz fb92058ec7 Cleanup 2024-01-18 17:28:08 -07:00
noah metz c6a19c4a63 Changed sleep_ms to sleep 2024-01-18 17:23:20 -07:00
noah metz 64c77b259d Added callback mechanism with dummy function to retrieve notices 2024-01-18 17:22:41 -07:00
noah metz 0b33a9e580 Added structures for MQTT JSON messages 2024-01-18 14:58:54 -07:00
noah metz fe3b476556 Initial commit 2024-01-15 11:42:12 -07:00