Commit Graph

  • 70b0af699d Handle invalid packet size more gracefully json-api Jack Garrard 2025-04-20 13:16:32 -07:00
  • dabc9231ac Add flake files Jack Garrard 2025-04-20 13:16:19 -07:00
  • 9b2b76f5f2 Change replay client to work with multiple mock clients Jack Garrard 2023-03-07 15:49:37 -07:00
  • 8c5494ecc7 Fix some references in json api Jack Garrard 2023-03-07 15:44:25 -07:00
  • e1e7e2d1f0 Fix missing await Jack Garrard 2023-03-07 15:44:18 -07:00
  • 3bf388c17b Precheck player permissions Jack Garrard 2023-03-04 22:13:38 -07:00
  • b14a612675 Add player seeking status to json api Jack Garrard 2023-03-04 21:57:09 -07:00
  • 114940ed20 Prefer option mapping for permissions Jack Garrard 2023-03-04 21:51:15 -07:00
  • 215565a2e5 Change location to be named position in reply Jack Garrard 2023-03-02 00:46:16 -07:00
  • 4299d352ff Update string manipulation in status_player Jack Garrard 2023-03-02 00:45:36 -07:00
  • b7079a41ff Reduce logging priority of responces Jack Garrard 2023-03-02 00:45:11 -07:00
  • 55087bc9df Merge branch 'json-api' into enet enet Jack Garrard 2023-03-01 03:06:52 -07:00
  • 44bddb06ba Change test script Jack Garrard 2023-02-23 12:42:32 -07:00
  • 7142c454a8 Fix json string being read Jack Garrard 2023-02-23 04:33:25 -07:00
  • 38c5daa707 Fix saving of position data Jack Garrard 2023-02-23 04:33:07 -07:00
  • ea8c6ef210 Merge branch 'data-sharing' into json-api Jack Garrard 2023-02-23 04:03:18 -07:00
  • b93215f9a6 Fix not handling commands data-sharing Jack Garrard 2023-02-23 04:03:00 -07:00
  • 98a3e1f1e8 Add position reporting to json api Jack Garrard 2023-02-23 03:37:16 -07:00
  • 09f408c796 Hook up json api as external Jack Garrard 2023-02-23 03:13:15 -07:00
  • 52fb83a0b7 Refactor to use lobby view instead of coordinator Jack Garrard 2023-02-23 02:26:38 -07:00
  • 0131b9b884 Run formatting Jack Garrard 2023-02-23 02:04:14 -07:00
  • 503bf6fcb7 Merge most of Istador's json api Jack Garrard 2023-02-23 01:17:45 -07:00
  • 99ad0b8c17 Fix a missing await in the code Jack Garrard 2023-02-23 00:42:44 -07:00
  • d138d1f0dd Ran cargo fix Jack Garrard 2023-02-23 00:29:41 -07:00
  • 96251aa102 Fix player map duplication Jack Garrard 2023-02-22 23:58:27 -07:00
  • 2690547e84 Huge refactor Jack Garrard 2023-02-22 23:27:44 -07:00
  • 70f142c1fb Replace sync client names with bimap Jack Garrard 2023-02-20 02:00:18 -07:00
  • 92cdee4491 Allowed serialization of strings Jack Garrard 2023-02-19 21:11:06 -07:00
  • 949c4a4c6d Made most of server use enet Jack Garrard 2023-02-18 16:48:39 -07:00
  • f196067cc0 JSON API: readme and test.sh Robin C. Ladiges 2023-02-12 18:19:27 +01:00
  • 34b24b1e07 remove unsused enum (build warning) Robin C. Ladiges 2023-02-12 18:04:49 +01:00
  • e03cbcc63b ability to send server commands via the JSON API Robin C. Ladiges 2023-02-12 18:04:22 +01:00
  • ac050278f5 JSON API: output player kingdom Robin C. Ladiges 2023-02-12 08:34:38 +01:00
  • fcb20f3107 verify stage values for send and sendall Robin C. Ladiges 2023-02-12 08:33:36 +01:00
  • 92fcf9d4cc Merge branch 'udp' into udp-json-api Robin C. Ladiges 2022-10-28 08:49:54 +02:00
  • ba6aa316e6 Made tcp socket no delay udp net-api Jack Garrard 2022-10-27 17:00:00 -07:00
  • c2dd19f6d6 Packet names in wireshark Jack Garrard 2022-10-27 05:03:09 -07:00
  • 0b7d66e6d5 Match max packet size for client Jack Garrard 2022-10-27 03:27:48 -07:00
  • 10defaf6ae Made sure disconnect only disconnect self if targeted Jack Garrard 2022-10-27 03:27:11 -07:00
  • 61cac392bc Merge branch 'udp' into udp-json-api Robin C. Ladiges 2022-10-26 22:17:13 +02:00
  • 7173bc4e44 Disabled flip settings by default for performance Jack Garrard 2022-10-25 19:21:06 -07:00
  • 03026539c2 Formatting Jack Garrard 2022-10-25 19:20:36 -07:00
  • 14abb61a39 Fix player flipping on pov both when not added Jack Garrard 2022-10-25 19:20:25 -07:00
  • e0a64f5897 Better ip map Jack Garrard 2022-10-25 19:03:32 -07:00
  • 01ef3532d1 Add ip ban to ban command Jack Garrard 2022-10-25 18:50:46 -07:00
  • 5f18ab0b12 Merge pull request #3 from Istador/patch-1 Jack Garrard 2022-10-25 18:38:07 -07:00
  • 4f4b96430d Actually use udp ports in config Jack Garrard 2022-10-25 03:11:36 -07:00
  • 3777d9b92c Changed ban list settings to use original naming Jack Garrard 2022-10-25 03:03:12 -07:00
  • 1105eca4ed Condense client imports Jack Garrard 2022-10-25 03:00:37 -07:00
  • 2b1002ab60 Small warning cleanup Jack Garrard 2022-10-25 02:58:31 -07:00
  • a123105f18 Made server settings load not overwrite old settings on json problem Jack Garrard 2022-10-25 02:56:13 -07:00
  • 3263ccd5db Made guids save as string format Jack Garrard 2022-10-25 02:55:51 -07:00
  • ad2e1cc34a Add ability to sync shines Jack Garrard 2022-10-25 02:55:32 -07:00
  • a8fb1ef4a2 JSON API Robin C. Ladiges 2022-09-18 02:27:22 +02:00
  • deeeb364fe copy IPv4 into PlayerData, to be able to access it later Robin C. Ladiges 2022-09-18 02:20:05 +02:00
  • e846338d30 client: move player connect code into Connect handler Robin C. Ladiges 2022-09-18 02:18:55 +02:00
  • c94544cfc7 packets: split header size Robin C. Ladiges 2022-09-18 02:15:45 +02:00
  • 2fa0f8accd attempting to connect: info => debug Robin C. Ladiges 2022-09-18 02:11:21 +02:00
  • 71b4cfd3b5 optional costume packet Robin C. Ladiges 2022-09-18 02:09:20 +02:00
  • e602cb6b5b dockerignore build artifacts Robin C. Ladiges 2022-09-18 02:04:47 +02:00
  • 9e95593664 Fix performing udp handshake if not enabled in tests Jack Garrard 2022-10-23 17:10:06 -07:00
  • d80d3b232c Consume all hole punch packets Jack Garrard 2022-10-23 16:50:38 -07:00
  • 1644ab6581 Add cmd to set auto handshake cmds Jack Garrard 2022-10-23 15:09:41 -07:00
  • 272e8ce585 Fix set bools being flags not setting values in console Jack Garrard 2022-10-23 15:09:07 -07:00
  • b2c944bc11 Set package versions Jack Garrard 2022-10-23 15:08:01 -07:00
  • fe54e967bd Add serenity in preparation for discord integration Jack Garrard 2022-10-23 15:05:42 -07:00
  • 4c8aa1b026 Update clap version Jack Garrard 2022-10-23 15:05:16 -07:00
  • d6b0ca1fdf Attempt to hole punch to client on udp init Jack Garrard 2022-10-23 04:59:42 -07:00
  • 76da80019c Only send udp data to client if data has been received Jack Garrard 2022-10-23 04:59:14 -07:00
  • efd8e9ce7e Condense packet send match statement Jack Garrard 2022-10-23 04:56:34 -07:00
  • 9598a5293a Simplified handle packet conditional Jack Garrard 2022-10-23 04:52:10 -07:00
  • a42024adec Add udp debug log info Jack Garrard 2022-10-23 04:37:27 -07:00
  • bec35806f1 Remove debug statements Jack Garrard 2022-10-23 04:36:56 -07:00
  • 2626381030 Add a flatten players function Jack Garrard 2022-10-23 04:31:26 -07:00
  • 02a0f0b307 Fix flip orientations Jack Garrard 2022-10-23 04:31:16 -07:00
  • 678721a4ab Add a shortcircuit around logging in send_packet Jack Garrard 2022-10-23 04:15:25 -07:00
  • 1b8dd29308 Add a udp handshake init cmd Jack Garrard 2022-10-22 19:16:55 -07:00
  • ff840ca13f Add flipping of players Jack Garrard 2022-10-22 19:16:32 -07:00
  • a6ca8c4c97 Fix quaternion sending/recving ordering Jack Garrard 2022-10-22 18:10:51 -07:00
  • 4bdc542cdf Add udp control to settings Jack Garrard 2022-10-22 04:21:10 -07:00
  • e2fbd21061 Move settings out of playerdata and into client Jack Garrard 2022-10-22 04:20:07 -07:00
  • b889a73945 Fix fast failing of banned ips Jack Garrard 2022-10-20 04:11:49 -07:00
  • 8bfd9b90ba Remove debug statement Jack Garrard 2022-10-20 04:10:19 -07:00
  • 2329a7db8f Fix max players off by one Jack Garrard 2022-10-20 04:10:06 -07:00
  • 6f3d843596 Add shine persisting Jack Garrard 2022-10-20 04:08:50 -07:00
  • 73f814e356 Add save and load of shine functions Jack Garrard 2022-10-20 04:07:53 -07:00
  • 98847b5b74 Made shine public type Jack Garrard 2022-10-20 04:07:43 -07:00
  • f5f090545e Fix shine syncing Jack Garrard 2022-10-20 04:07:31 -07:00
  • 49433a9efa Cleaning up and commenting Jack Garrard 2022-10-20 03:14:46 -07:00
  • 16e8249975 Change how commands are handled for client Jack Garrard 2022-10-20 03:14:24 -07:00
  • 87228f8067 Remove player and cap from trace information Jack Garrard 2022-10-20 03:13:25 -07:00
  • 4c337a98e6 Fix scenario merging Jack Garrard 2022-10-20 03:12:18 -07:00
  • 96489fd66c Clean up tracing logging Jack Garrard 2022-10-20 02:23:34 -07:00
  • 7302e180ab Doc strings Jack Garrard 2022-10-20 02:19:38 -07:00
  • 093d2c6fb3 Allowed for full server restarts Jack Garrard 2022-10-19 03:54:04 -07:00
  • 7ba87ac62b Fixed unused imports Jack Garrard 2022-10-18 16:03:33 -07:00
  • af4e889265 Finished commands Jack Garrard 2022-10-18 16:00:25 -07:00
  • be9ede19b4 Moved around file settings and more console commands Jack Garrard 2022-10-12 01:23:48 -07:00
  • 5d2dee73eb Add replys to cmds and more commands Jack Garrard 2022-10-11 05:10:00 -07:00
  • 4277b2c3b0 Refactor out console commands Jack Garrard 2022-10-11 04:03:42 -07:00