From 40bcc4e63d72479f02edbd098729408a8c92a2be Mon Sep 17 00:00:00 2001 From: Cody Brittain <1779662+Generalcamo@users.noreply.github.com> Date: Thu, 6 Mar 2025 12:37:06 -0500 Subject: [PATCH 1/2] Allow blank issues --- .github/ISSUE_TEMPLATE/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 41563c3382..ff9345ac2b 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -1,4 +1,4 @@ -blank_issues_enabled: false +blank_issues_enabled: true contact_links: - name: Ideas & Feature Requests url: https://github.com/TheSuperHackers/GeneralsGameCode/discussions/categories/ideas From 514b819e0916845a1994716314743e7e55cd812e Mon Sep 17 00:00:00 2001 From: andrew-2e128 Date: Fri, 7 Mar 2025 22:25:37 +0200 Subject: [PATCH 2/2] Hackers pack and unpack unnecessary when selected in a group fixed. --- .../Object/Update/AIUpdate/HackInternetAIUpdate.cpp | 10 ++++++++++ .../Object/Update/AIUpdate/HackInternetAIUpdate.cpp | 10 ++++++++++ 2 files changed, 20 insertions(+) diff --git a/Generals/Code/GameEngine/Source/GameLogic/Object/Update/AIUpdate/HackInternetAIUpdate.cpp b/Generals/Code/GameEngine/Source/GameLogic/Object/Update/AIUpdate/HackInternetAIUpdate.cpp index cf2d4c677b..1227deb5db 100644 --- a/Generals/Code/GameEngine/Source/GameLogic/Object/Update/AIUpdate/HackInternetAIUpdate.cpp +++ b/Generals/Code/GameEngine/Source/GameLogic/Object/Update/AIUpdate/HackInternetAIUpdate.cpp @@ -131,6 +131,16 @@ void HackInternetAIUpdate::aiDoCommand(const AICommandParms* parms) if (!isAllowedToRespondToAiCommands(parms)) return; + // TheSuperHackers @bugfix andrew-2e128 07/03/2025 Hackers pack and unpack unnecessary when selected in a group fixed. - issue #223 + if (parms->m_cmd == AICMD_HACK_INTERNET) + { + if ( getStateMachine()->getCurrentStateID() == HACK_INTERNET || getStateMachine()->getCurrentStateID() == UNPACKING ) + { + return; + } + } + // end @bugfix + //If our hacker is currently packing up his gear, we need to prevent him //from moving until completed. In order to accomplish this, we'll detect, //then diff --git a/GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Update/AIUpdate/HackInternetAIUpdate.cpp b/GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Update/AIUpdate/HackInternetAIUpdate.cpp index f98c482922..90e9fe65cd 100644 --- a/GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Update/AIUpdate/HackInternetAIUpdate.cpp +++ b/GeneralsMD/Code/GameEngine/Source/GameLogic/Object/Update/AIUpdate/HackInternetAIUpdate.cpp @@ -131,6 +131,16 @@ void HackInternetAIUpdate::aiDoCommand(const AICommandParms* parms) if (!isAllowedToRespondToAiCommands(parms)) return; + // TheSuperHackers @bugfix andrew-2e128 07/03/2025 Hackers pack and unpack unnecessary when selected in a group fixed. - issue #223 + if (parms->m_cmd == AICMD_HACK_INTERNET) + { + if ( getStateMachine()->getCurrentStateID() == HACK_INTERNET || getStateMachine()->getCurrentStateID() == UNPACKING ) + { + return; + } + } + // end @bugfix + //If our hacker is currently packing up his gear, we need to prevent him //from moving until completed. In order to accomplish this, we'll detect, //then