>
>
>

How to DEACTIVATE bots if the button isn't showing

Discuss the Heavy Metal War game, report bugs, challenge opponents, and talk some smack! Play the Heavy Metal War game here.

How to DEACTIVATE bots if the button isn't showing

Postby Glyph » Tue Jan 20, 2026 3:43 pm

Hi all - Many of you have noticed that the Deactivate button doesn't always appear in the War Room when you have bot(s) Active but not doing anything. This happens when the last bot in your Active list is busy (in a mission, etc) and stops the button from appearing when it should.

Image

As a workaround, you can use this snippet of Javascript to add the button to the form when you need it, similar to the earlier CR form workaround.

You'll need to use the javascript console for this, but hopefully the following steps are clear even if you're not comfortable with the techie side.

  1. Go to your War Room
  2. On that page, hit F12 to open the Developer tools
  3. Go to the Console tab (top left of the Developer window on Chrome / Firefox)
  4. Copy-paste the code below into the console where the flashing cursor is and hit Enter - the 'select all' button doesn't seem to work on the forum, but you can just drag-select it. It should all be on one line in the console.
    Code: Select all
    document.querySelector("form[name=deactivate_tfs]").insertAdjacentHTML('beforeEnd','<button type="submit" class="btn btn-primary">Deactivate Transformer(s)</button>')

If done correctly, this will add a temporary 'Deactivate' button to the Active section. Select the bot(s) to deactivate and click the button as normal. (Tested on Chrome/Firefox; if you're using another browser the steps should be similar.)

Hope the steps above can help out anyone affected by the bug! If you have any trouble with it, drop a reply here and I'll try to help.
Psychout wrote:Im not scared of a gender confused minibot! :P
User avatar
Glyph
HMW Moderator
Posts: 951
News Credits: 34
Joined: Thu Mar 25, 2004 2:15 pm
Location: Manchester, UK

Re: How to DEACTIVATE bots if the button isn't showing

Postby steve2275 » Wed Feb 11, 2026 8:47 pm

Motto: "it may not get better
but it wont get any worse"
s o a f b
help
Chrome/ Version 138.0.7204.184 (Official Build) (64-bit)
i come and go more than a hmw programmer
or a karma chameleon
BEAT L.A.
im content
WWWYKI!!!
BEAT THE PACERS DAMMIT THUNDER
steve2275
City Commander
Posts: 3292
Joined: Thu May 29, 2003 7:38 am
Watch steve2275 on YouTube
Strength: 2
Intelligence: 2
Speed: 2
Endurance: 2
Rank: 2
Courage: 2
Firepower: 1
Skill: 2

Re: How to DEACTIVATE bots if the button isn't showing

Postby Glyph » Wed Feb 11, 2026 9:30 pm

Should work in Chrome exactly as above?

Starting here (last bot blocking the Deactivate button):
war-room1.jpg


Press F12 to get the Developer Tools window:
devtools.jpg


Click on the Console tab:
(edit: you probably won't have the red blocked error messages I have in the screenshot, just ignore them)
console.jpg


Copy & paste the code above and hit Enter:
(Note: looks like Chrome has added a security feature where it won't let you paste into the Console prompt by default - if you get that warning when you try to paste, just type "allow pasting" to enable it as stated in the warning)
command.jpg


Button added as soon as you hit Enter, deactivate bots as normal:
war-room2.jpg


Hope that explains it!
Psychout wrote:Im not scared of a gender confused minibot! :P
User avatar
Glyph
HMW Moderator
Posts: 951
News Credits: 34
Joined: Thu Mar 25, 2004 2:15 pm
Location: Manchester, UK

Re: How to DEACTIVATE bots if the button isn't showing

Postby steve2275 » Thu Feb 12, 2026 6:58 pm

Motto: "it may not get better
but it wont get any worse"
screw it ill just wait
thanks for trying
i come and go more than a hmw programmer
or a karma chameleon
BEAT L.A.
im content
WWWYKI!!!
BEAT THE PACERS DAMMIT THUNDER
steve2275
City Commander
Posts: 3292
Joined: Thu May 29, 2003 7:38 am
Watch steve2275 on YouTube
Strength: 2
Intelligence: 2
Speed: 2
Endurance: 2
Rank: 2
Courage: 2
Firepower: 1
Skill: 2

Re: How to DEACTIVATE bots if the button isn't showing

Postby Seibertron » Thu Feb 19, 2026 10:28 am

Motto: "'Til All Are One!"
Weapon: Twin Shock-Concussion Missiles
I think this has been fixed. I don't have any characters doing anything. Can you guys confirm that I fixed the deactivate bug?
Image
User avatar
Seibertron
Site Owner
Posts: 13981
News Credits: 3638
Joined: Mon Sep 24, 2001 6:17 pm
Location: Chicago, IL USA
Watch Seibertron on YouTube
Buy from Seibertron on eBay
Alt Mode: Supersonic Cybertronian Jet
Strength: 10
Intelligence: 9
Speed: 7
Endurance: 9
Rank: 10+
Courage: 8
Firepower: 5
Skill: 10+

Re: How to DEACTIVATE bots if the button isn't showing

Postby Dragonslayer » Thu Feb 19, 2026 1:00 pm

Motto: "Keep it simple, stupid."
Weapon: Photon Blaster
Just checked mine, it appears to be working with one bot deployed and the other 5 just active.
Wingz wrote:His servos bring all Naval Strikes 'Cons to the yard
Dragonslayer
Gestalt
Posts: 2426
News Credits: 7
Joined: Tue Oct 10, 2006 5:42 pm
Location: Texas
Alt Mode: Classified
Strength: 5
Intelligence: 8
Speed: 6
Endurance: 5
Rank: 4
Courage: 9
Firepower: 4
Skill: 6

Re: How to DEACTIVATE bots if the button isn't showing

Postby Glyph » Thu Feb 19, 2026 1:22 pm

Yep, looks like it's working properly now. Thanks Ryan.

deactivate.png
Psychout wrote:Im not scared of a gender confused minibot! :P
User avatar
Glyph
HMW Moderator
Posts: 951
News Credits: 34
Joined: Thu Mar 25, 2004 2:15 pm
Location: Manchester, UK

Re: How to DEACTIVATE bots if the button isn't showing

Postby steve2275 » Mon Feb 23, 2026 5:08 pm

Motto: "it may not get better
but it wont get any worse"
Glyph wrote:Yep, looks like it's working properly now. Thanks Ryan.

deactivate.png
thank you indeed
i come and go more than a hmw programmer
or a karma chameleon
BEAT L.A.
im content
WWWYKI!!!
BEAT THE PACERS DAMMIT THUNDER
steve2275
City Commander
Posts: 3292
Joined: Thu May 29, 2003 7:38 am
Watch steve2275 on YouTube
Strength: 2
Intelligence: 2
Speed: 2
Endurance: 2
Rank: 2
Courage: 2
Firepower: 1
Skill: 2


Return to Heavy Metal War Forum

Registered users: Apple [Bot], Bing [Bot], ChatGPT [Bot], Google [Bot], Google Adsense [Bot], MSN [Bot], OpenAI [Bot], sprockitz, ThunderThruster, Transbot, Yandex [Bot]

Patreon
Charge Our Energon Reserves. Join the Seibertron Elite.
Support SEIBERTRON™