Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,16 @@ void HackInternetAIUpdate::aiDoCommand(const AICommandParms* parms)
const StateID currentState = getStateMachine()->getCurrentStateID();

#if !RETAIL_COMPATIBLE_CRC
const Bool isUnpackingOrHacking = currentState == UNPACKING || currentState == HACK_INTERNET;

// TheSuperHackers @bugfix arcticdolphin 15/10/2026 prevent the player-issued Stop command from interrupting contained hackers, e.g. in the Internet Center.
if (parms->m_cmd == AICMD_IDLE && parms->m_cmdSource == CMD_FROM_PLAYER && isUnpackingOrHacking && getObject()->isContained())
{
return;
}

// TheSuperHackers @bugfix andrew-2e128 / Mauller 14/07/2025 prevent hacking hackers packing and unpacking when commanded to hack the internet
if (parms->m_cmd == AICMD_HACK_INTERNET && ( currentState == HACK_INTERNET || currentState == UNPACKING ) )
if (parms->m_cmd == AICMD_HACK_INTERNET && isUnpackingOrHacking)
{
return;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,16 @@ void HackInternetAIUpdate::aiDoCommand(const AICommandParms* parms)
const StateID currentState = getStateMachine()->getCurrentStateID();

#if !RETAIL_COMPATIBLE_CRC
const Bool isUnpackingOrHacking = currentState == UNPACKING || currentState == HACK_INTERNET;

// TheSuperHackers @bugfix arcticdolphin 15/10/2026 prevent the player-issued Stop command from interrupting contained hackers, e.g. in the Internet Center.
if (parms->m_cmd == AICMD_IDLE && parms->m_cmdSource == CMD_FROM_PLAYER && isUnpackingOrHacking && getObject()->isContained())
{
return;
}

// TheSuperHackers @bugfix andrew-2e128 / Mauller 14/07/2025 prevent hacking hackers packing and unpacking when commanded to hack the internet
if (parms->m_cmd == AICMD_HACK_INTERNET && ( currentState == HACK_INTERNET || currentState == UNPACKING ) )
if (parms->m_cmd == AICMD_HACK_INTERNET && isUnpackingOrHacking)
{
return;
}
Expand Down
Loading