>
>
>

Armor issues

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

Re: Armor Issue

Postby Psychout » Sat Jun 14, 2025 4:18 pm

Motto: "This post clearly was meant to offend, and if you are affected by it in any way please close your browser and discuss it with someone who knows not to take the internet seriously."
Weapon: Black Magic
Dragonslayer wrote:
Glyph wrote:Yep, still giving the same error message as before.

Can confirm. Poor Watchdog is gathering dust instead of armor.

May as well just lob them back into it though, its not like they get negative XP for being naked.
This issue likely isn't being fixed any time soon. >:oP
Psychout
HMW Moderator
Posts: 9739
News Credits: 42
Joined: Tue Aug 17, 2004 8:04 am
Location: Vatican City
Alt Mode: Cassette. The 80s ROCKED
Strength: 1
Intelligence: 1
Speed: 1
Endurance: 1
Rank: 10
Courage: 1
Firepower: 1
Skill: 10

Re: Armor Issue

Postby ashe5k » Mon Jun 16, 2025 7:24 am

Motto: "He who hesitates, is lost."
Naked tournament sounds like it could be fun. :P
ashe5k
Pretender
Posts: 721
Joined: Mon Sep 30, 2002 5:11 am
Location: OH
Strength: N/A
Intelligence: N/A
Speed: N/A
Endurance: N/A
Rank: N/A
Courage: N/A
Firepower: N/A
Skill: N/A

Re: Armor Issue

Postby Burn » Wed Jun 18, 2025 2:31 pm

Motto: "Freedom is the right of all sentient beings to randomly click things in the Admin Panel to see what it breaks."
ashe5k wrote:Naked tournament sounds like it could be fun. :P

This works for me. I don't need much of an excuse to not wear pants.
Burn
Forum Admin
Posts: 28743
News Credits: 226
Joined: Mon Jun 30, 2003 3:37 am

Re: Armor Issue

Postby steve2275 » Fri Jun 20, 2025 12:56 am

Motto: "it may not get better
but it wont get any worse"
I'll pass on that
https://www.google.com/search?q=the+str ... ASvw%3D%3D
boogity, boogity
(There he goes) boogity, boogity
(And he ain't wearin' no clothes)

the streak lyrics
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: 3275
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: Armor Issue

Postby Zordon » Tue Nov 18, 2025 2:16 am

Motto: "I'm sure on some planet your style is impressive, but your weak link is: this is seibertron"
Weapon: Indepentently Targetable Particle Beam Cannons
Zordon wrote:
Red Sentinel wrote:Is the armor installation error going to be ongoing long-term?

11 out of my 12 bots have armor, but I know others are going to be feeling the hurt a lot (a low level bot used to be able to survive a Magnus Hammer hit from a level 11 bot :HEADHURTS: LOL).

:KREMZEEK:


Ryan said in the bug report thread he was going to look into it but that was over a week ago. Will just have to wait it out, I’ve also got a bot running around without armour too :BOOM:



We missed the one year anniversary of the armour issue :KREMZEEK:
Image
Zordon
Headmaster Jr
Posts: 583
News Credits: 2
Joined: Sat Oct 11, 2003 4:55 pm
Location: Newcastle Upon Tyne
Strength: 7
Intelligence: 9
Speed: 5
Endurance: 8
Rank: 6
Courage: 9
Firepower: 9
Skill: 9

Re: Armor Issue

Postby Bun-Bun » Tue Nov 18, 2025 7:31 am

Truly a new Golden Age for the site :lol:
The opinions expressed in this post are well-reasoned and insightful.
Needless to say, they are not those of SEIBERTRON.COM, its staff members, or any other site lackeys.
Anyone who says otherwise is itching for a fight.

Image
User avatar
Bun-Bun
Gestalt
Posts: 2563
Joined: Thu Mar 25, 2004 7:23 am

Re: Armor Issue

Postby Glyph » Tue Nov 18, 2025 7:45 am

And it blocks so much else.

Want to climb the levels? Sorry, you're stuck with low-level (or no) armour and can't compete with older peers.

Want to try out a different config? Nope, can't afford to reset and lose my armour.

Mods want to add new alts or hand them out as event rewards? What's the point, nobody will reset to use them.
Psychout wrote:Im not scared of a gender confused minibot! :P
User avatar
Glyph
HMW Moderator
Posts: 931
News Credits: 34
Joined: Thu Mar 25, 2004 2:15 pm
Location: Manchester, UK

Re: Armor Issue

Postby Seibertron » Sat Dec 20, 2025 3:16 pm

Motto: "'Til All Are One!"
Weapon: Twin Shock-Concussion Missiles
Sorry this wasn't resolved. Can you guys point me in the right direction about the armor. It was never a feature that I initially wanted for the game and is not something I've used on my characters. I'm not familiar with the process but if you guys can provide links, that would be helpful.

Yes, Vir programmed the game but Heavy Metal War was my initial idea. We had a lot of fun talking about the concept 21 years ago and then he built something that was pretty cool at the time. Part of me wants to reinstall the original version of HMW instead of trying to work with the code from 4+ different programmers.

Let's keep this topic on track and get Armor resolved. Sorry for the year lapse. It's been a hectic year for the site.
Image
User avatar
Seibertron
Site Owner
Posts: 13925
News Credits: 3630
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: Armor Issue

Postby Seibertron » Sat Dec 20, 2025 3:29 pm

Motto: "'Til All Are One!"
Weapon: Twin Shock-Concussion Missiles
I'm assuming the armor issue that is not described in any detail in the first few posts in this topic is pertaining to this page. I'm working on cleaning up the code. Let's just see if this is what you guys are talking about: https://www.seibertron.com/heavymetalwar/armor.php
Image
User avatar
Seibertron
Site Owner
Posts: 13925
News Credits: 3630
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: Armor Issue

Postby Psychout » Sat Dec 20, 2025 3:50 pm

Motto: "This post clearly was meant to offend, and if you are affected by it in any way please close your browser and discuss it with someone who knows not to take the internet seriously."
Weapon: Black Magic
Seibertron wrote:... if you guys can provide links, that would be helpful.


I've not touched/altered/upgraded armour in years so can't linky, but as I understand it there is a bug that prevents bots installing it and just throws out an error message instead when they try.

Glyph explains it better than I can, as always.
Glyph wrote:Can't equip armour of any kind, whether through reset or upgrading STR.
Psychout
HMW Moderator
Posts: 9739
News Credits: 42
Joined: Tue Aug 17, 2004 8:04 am
Location: Vatican City
Alt Mode: Cassette. The 80s ROCKED
Strength: 1
Intelligence: 1
Speed: 1
Endurance: 1
Rank: 10
Courage: 1
Firepower: 1
Skill: 10

Re: Armor Issue

Postby Seibertron » Sat Dec 20, 2025 3:52 pm

Motto: "'Til All Are One!"
Weapon: Twin Shock-Concussion Missiles
Armor seems to be working again. My character Waverider is currently getting armor installed.

https://www.seibertron.com/heavymetalwar/armor.php


Armor install error was fixed. It was an issue where valid armor was being rejected with an "invalid armor identifier" error. The problem was caused by armor ID values being treated as floats instead of integers, which breaks array key validation in the version of PHP that is used on Seibertron.com. Casting the submitted armor ID and quantity values to integers resolved the issue, and armor installation is now working correctly again.

Armor up!
Image
User avatar
Seibertron
Site Owner
Posts: 13925
News Credits: 3630
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: Armor Issue

Postby Psychout » Sat Dec 20, 2025 3:53 pm

Motto: "This post clearly was meant to offend, and if you are affected by it in any way please close your browser and discuss it with someone who knows not to take the internet seriously."
Weapon: Black Magic
And thus ends the era of the naked combatants.

Burn, you can put your pants back on now.
Psychout
HMW Moderator
Posts: 9739
News Credits: 42
Joined: Tue Aug 17, 2004 8:04 am
Location: Vatican City
Alt Mode: Cassette. The 80s ROCKED
Strength: 1
Intelligence: 1
Speed: 1
Endurance: 1
Rank: 10
Courage: 1
Firepower: 1
Skill: 10

Re: Armor Issue

Postby Glyph » Sat Dec 20, 2025 3:56 pm

/writes long post collecting all the detail on the armour issue

/it gets fixed while I'm posting

Ah well. Deleted. Thanks for fixing it, Ryan.
Psychout wrote:Im not scared of a gender confused minibot! :P
User avatar
Glyph
HMW Moderator
Posts: 931
News Credits: 34
Joined: Thu Mar 25, 2004 2:15 pm
Location: Manchester, UK

Re: Armor Issue

Postby Seibertron » Sat Dec 20, 2025 4:09 pm

Motto: "'Til All Are One!"
Weapon: Twin Shock-Concussion Missiles
Glyph wrote:/writes long post collecting all the detail on the armour issue

/it gets fixed while I'm posting

Ah well. Deleted. Thanks for fixing it, Ryan.


Sorry about that Glyph. Adding (int) is all that needed to be done!

Code: Select all
      $qty          = safe_post('armor_qty_' . $v, 'int');
      $ai          = safe_post('armor_id_' . $v, 'int');
      $old_qty   = safe_post('old_armor_qty_' . $v, 'int');
      $old_ai      = safe_post('old_armor_id_' . $v, 'int');
Image
User avatar
Seibertron
Site Owner
Posts: 13925
News Credits: 3630
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: Armor issues

Postby Glyph » Sat Dec 20, 2025 5:09 pm

Yup, I was certain all along that it was a one-line fix!
Psychout wrote:Im not scared of a gender confused minibot! :P
User avatar
Glyph
HMW Moderator
Posts: 931
News Credits: 34
Joined: Thu Mar 25, 2004 2:15 pm
Location: Manchester, UK

Re: Armor Issue

Postby Burn » Sat Dec 20, 2025 5:33 pm

Motto: "Freedom is the right of all sentient beings to randomly click things in the Admin Panel to see what it breaks."
Psychout wrote:Burn, you can put your pants back on now.

You can't tell me what to do, you're not my Dad!
Burn
Forum Admin
Posts: 28743
News Credits: 226
Joined: Mon Jun 30, 2003 3:37 am

Re: Armor issues

Postby Drop Bear » Sat Dec 20, 2025 6:48 pm

Motto: "Well, I'll be a Cybertronic bolt-bat!"
Weapon: Deflecto-Shield
This is a nice Christmas present, delivered as a very pleasant surprise. Honestly, I’d given up, thinking armour was busted forever and that was that. I might have to start playing again.

Thank you, Seibertron.

Also, Burn can put his pants back on if he wants, but I will be leaving mine off.



Don’t keep looking at me like that. It only makes me feel sexier.
User avatar
Drop Bear
Headmaster Jr
Posts: 522
Joined: Wed Mar 30, 2005 11:55 pm
Location: Somewhere
Strength: 1
Intelligence: 2
Speed: 3
Endurance: 4
Rank: 5
Courage: 6
Firepower: 7
Skill: 8

Re: Armor issues

Postby Burn » Sat Dec 20, 2025 6:53 pm

Motto: "Freedom is the right of all sentient beings to randomly click things in the Admin Panel to see what it breaks."
It's too damn hot for pants!

And probably armour too.
Burn
Forum Admin
Posts: 28743
News Credits: 226
Joined: Mon Jun 30, 2003 3:37 am

Previous

Return to Heavy Metal War Forum

Registered users: Apple [Bot], Bing [Bot], ChatGPT [Bot], Glyph, Google [Bot], Google Adsense [Bot], Google Feedfetcher, MSN [Bot], OpenAI [Bot], Yahoo [Bot], Yandex [Bot]

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