From 1c13026f260ffb2b2e427a570fc05d39dec22a85 Mon Sep 17 00:00:00 2001 From: JonatanRek Date: Fri, 6 Sep 2024 16:47:50 +0200 Subject: [PATCH] Progress --- FakeeDeck/ButtonType/HelldiversTwoMacro.cs | 25 +++++++++++++++++++--- FakeeDeck/HttpServer.cs | 2 +- 2 files changed, 23 insertions(+), 4 deletions(-) diff --git a/FakeeDeck/ButtonType/HelldiversTwoMacro.cs b/FakeeDeck/ButtonType/HelldiversTwoMacro.cs index 082b1de..ed29be5 100644 --- a/FakeeDeck/ButtonType/HelldiversTwoMacro.cs +++ b/FakeeDeck/ButtonType/HelldiversTwoMacro.cs @@ -3,29 +3,48 @@ using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; +using static System.Net.WebRequestMethods; namespace FakeeDeck.ButtonType { class HelldiversTwoMacro { + //https://helldivers.wiki.gg/wiki/Stratagems + //https://helldivers.fandom.com/wiki/Stratagems_(Helldivers_2) + public static Dictionary stratogems = new Dictionary { { "reinforce", new uint[] { 0x65, 0x68, 0x62, 0x66, 0x64, 0x68}}, { "resupply", new uint[] { 0x65, 0x62, 0x62, 0x68, 0x66 }}, - { "orbital-precision-strike", new uint[] { 0x65, 0x66, 0x66, 0x66}}, - { "anti-material", new uint[] { 0x65, 0x62, 0x66, 0x64, 0x68, 0x62}}, + //Patriotic Administration Center + { "anti-material", new uint[] { 0x65, 0x62, 0x64, 0x66, 0x68, 0x62}}, + { "flamethrower", new uint[] { 0x65, 0x62, 0x64, 0x68, 0x62, 0x68}}, + { "autocannon", new uint[] { 0x65, 0x62, 0x64, 0x62, 0x68, 0x68, 0x66}}, + { "grenade-launcher", new uint[] { 0x65, 0x62, 0x64, 0x68, 0x64, 0x62}}, + + //Orbital Cannons + { "orbital-precision-strike", new uint[] { 0x65, 0x66, 0x66, 0x68}}, + //Robotics Workshop { "mortar-sentry", new uint[] { 0x65, 0x62, 0x68, 0x66, 0x62}}, { "gatling-sentry", new uint[] { 0x65, 0x62, 0x68, 0x66, 0x64}}, + //Hangar + { "rocket-pods", new uint[] { 0x65, 0x68, 0x66, 0x68, 0x64}}, + { "bomb", new uint[] { 0x65, 0x68, 0x66, 0x68, 0x64}}, }; public static Dictionary stratogemsIcons = new Dictionary { { "reinforce", "https://static.wikia.nocookie.net/helldivers_gamepedia/images/5/5a/HD2_Reinforce.png"}, { "resupply", "https://static.wikia.nocookie.net/helldivers_gamepedia/images/7/72/HD2_Resupply.png"}, - { "orbital-precision-strike", "https://static.wikia.nocookie.net/helldivers_gamepedia/images/4/47/Orbital_Precision_Strike_Icon.png"}, { "anti-material", "https://static.wikia.nocookie.net/helldivers_gamepedia/images/c/c3/APW-1_Anti-Materiel_Rifle_Icon.png"}, + { "flamethrower", "https://static.wikia.nocookie.net/helldivers_gamepedia/images/c/cc/FLAM-40_Flamethrower_Icon.png"}, + { "autocannon", "https://static.wikia.nocookie.net/helldivers_gamepedia/images/c/c6/AC-8_Autocannon_Icon.png"}, + { "grenade-launcher","https://static.wikia.nocookie.net/helldivers_gamepedia/images/6/66/GL-21_Grenade_Launcher_Icon.png"}, + { "orbital-precision-strike", "https://static.wikia.nocookie.net/helldivers_gamepedia/images/4/47/Orbital_Precision_Strike_Icon.png"}, { "mortar-sentry", "https://static.wikia.nocookie.net/helldivers_gamepedia/images/1/1d/A_M-12_Mortar_Sentry_Icon.png"}, { "gatling-sentry","https://static.wikia.nocookie.net/helldivers_gamepedia/images/4/48/A_G-16_Gatling_Sentry_Icon.png"}, + { "rocket-pods","https://static.wikia.nocookie.net/helldivers_gamepedia/images/e/e3/Eagle_110MM_Rocket_Pods_Icon.png"}, + { "bomb","https://static.wikia.nocookie.net/helldivers_gamepedia/images/5/5a/Eagle_500KG_Bomb_Icon.png"}, }; } } diff --git a/FakeeDeck/HttpServer.cs b/FakeeDeck/HttpServer.cs index a20179f..a9b00b8 100644 --- a/FakeeDeck/HttpServer.cs +++ b/FakeeDeck/HttpServer.cs @@ -132,7 +132,7 @@ namespace FakeeDeck pageData += "
" + "
" + - " " + + " " + " " + "
" + "
";