Skip to content

[Vanilla Fix] IsSimpleDeployer Deploy Fix when using Deploy Script (9,0) - #2461

Open
deathreaperz wants to merge 4 commits into
Phobos-developers:developfrom
deathreaperz:SimpleDeployerFix
Open

deathreaperz wants to merge 4 commits into
Phobos-developers:developfrom
deathreaperz:SimpleDeployerFix

Conversation

@deathreaperz

@deathreaperz deathreaperz commented Oct 8, 2026 •

Copy link
Copy Markdown

What kind of change is this?

  • New feature, vanilla bugfix or enhancement of a released feature - changelog, docs and credits entries are needed.
  • Improvement to a new (unreleased) feature - docs and credits entries are needed; no changelog entry (Skip Changelog).
  • Bugfix to a new (unreleased) feature - credits entry is needed; no changelog or docs entries (Skip Changelog, Skip Docs).
  • Bugfix to an old (released) feature - changelog and credits entries are needed; no docs entry (Skip Docs).
  • Completely minor change (e.g. a typo fix) - no entries are needed (Skip Changelog, Skip Docs, Skip Credits).

Description

In vanilla, IsSimpleDeployer units (especially Siege Chopper) cannot deploy or bugged deploy (deploy-then-undeploy loop) when using Deploy Script (9,0). This patch fixes it.

Before

beforeDeployerfix

Note: The land and air IsSimpleDeployer sometimes bugged during deploy. This preview only shows the air bug.

After

Deployerfix

Note: The land IsSimpleDeployer was also tested without DeployingAnim and worked.

@Coronia
Coronia requested a review from NetsuNegi October 8, 2026 16:16
@NetsuNegi NetsuNegi added ❓Vanilla bug Vanilla game bugs that are requested to be fixed Needs testing ⚙️T1 T1 maintainer review is sufficient labels Oct 8, 2026
@NetsuNegi

Copy link
Copy Markdown
Contributor

Needs docs.

@deathreaperz

Copy link
Copy Markdown
Author

Needs docs.

Done

Comment thread src/Ext/Team/Hooks.cpp
}
else
{
R->Stack<BYTE>(0x13, 0);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
R->Stack<BYTE>(0x13, 0);
R->Stack<BYTE>(STACK_OFFSET(0x24, -0x11), 0);

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it's same as 0x6ED667, right?

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yessir.

@github-actions

github-actions Bot commented Oct 9, 2026

Copy link
Copy Markdown

Nightly build for this pull request:

This comment is automatic and is meant to allow guests to get latest nightly builds for this pull request without registering. It is updated on every successful build.

@DeathFishAtEase

Copy link
Copy Markdown
Collaborator

Could you attach a map where, as soon as it starts, you can see two units switching back and forth because of one 9,0? I have encountered similar things before, and I have also encountered a specific need for multiple deploy commands, so I need to reproduce this issue and do some testing, but here I cannot reproduce the original issue directly using the following configuration.

[SCRIPT - A]  ; Single action, for pure testing use
0=9,0

[SCRIPT - B]  ; Multiple actions, simulating regular actions
0=3,88
1=9,0
2=49,0

[TNKD]
IsSimpleDeployer=true
Convert.Deploy=DTRUCK

[DTRUCK]
IsSimpleDeployer=true
Convert.Deploy=TNKD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Needs testing ⚙️T1 T1 maintainer review is sufficient ❓Vanilla bug Vanilla game bugs that are requested to be fixed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants