>
shop.seibertron.com amazon.seibertron.com Facebook Twitter X YouTube Pinterest Instagram Myspace LinkedIn Patreon Podcast RSS
This page runs on affiliate links — your clicks may earn us a few Shanix. Want the full transmission? Roll out to our Affiliate Disclosure.

HMW Bug Reporting Thread

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

Re: HMW Bug Reporting Thread

Postby Glyph » Sun Aug 17, 2025 11:02 pm

Seibertron wrote:Well, then there is definitely a discrepancy then if the code doesn't match the database.
There is, but it's a moot point because the bits that are still in use apparently DO match. The discrepancy in the IDs doesn't affect anything, and the table is used, just not in the battle script.

Seibertron wrote:
Glyph wrote:And if you're looking at the database, could you also check that the highest mission_id in mission_characters isn't higher than the latest ID in the missions table?
It's not logging missions currently.
Yeah, I get that - what I mean is that in the past we've had an issue where old mission_character records interfered with new missions. I don't believe that's the root issue here, but if there are any records in mission_characters with a mission_id much higher than about 368850, it would be *a* cause - and if there aren't, it can be eliminated from consideration.
Psychout wrote:Im not scared of a gender confused minibot! :P
User avatar
Glyph
HMW Moderator
Posts: 917
News Credits: 34
Joined: Thu Mar 25, 2004 2:15 pm
Location: Manchester, UK

Re: HMW Bug Reporting Thread

Postby Seibertron » Mon Aug 18, 2025 2:41 am

Motto: "'Til All Are One!"
Weapon: Twin Shock-Concussion Missiles
Sorry guys ... I couldn't figure out what I did earlier that broke the missions. I've been hammering away at this for 14 hours. I'll tackle it again tomorrow night hopefully. Bear with me!

I enabled some new logging functionality tonight so that i can take a look at what's going on. please feel free to add characters into missions and arena battles so that i can take a look at the logs tomorrow to see if any patterns come to light.

If I can't figure this out, I might just rewrite the whole mission and arena log process which has been needed to be done since day 1 of HMW. That's on the agenda anyways but it might happen sooner than later if I can't figure this out.
Image
User avatar
Seibertron
Site Owner
Posts: 13834
News Credits: 3604
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: HMW Bug Reporting Thread

Postby ThunderThruster » Mon Aug 18, 2025 4:28 am

Weapon: Twin Shoulder-Mounted Rocket Launchers
Missions might be a bit of an intermitant problem:

[phpBB Debug] PHP Warning: in file /var/www/vhosts/seibertron.com/httpdocs/heavymetalwar/includes/game_shared.php on line 2519: error_log(/var/www/vhosts/seibertron.com/logs/errors/heavymetalwar.log): failed to open stream: Permission denied
[phpBB Debug] PHP Warning: in file /var/www/vhosts/seibertron.com/httpdocs/heavymetalwar/missions.php on line 83: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3992)
HMW - debug error log Mon 18 Aug 2025.jpg
Tekka wrote:What she doesn't realize is that Springer actually loves Rodimus.
User avatar
ThunderThruster
Gestalt
Posts: 2942
Joined: Thu Jun 01, 2006 8:56 am
Location: Nottingham

Re: HMW Bug Reporting Thread

Postby Glyph » Mon Aug 18, 2025 4:42 am

^ Re above: Getting a bunch of the same [phpBB Debug] permission warnings on War Room, CR & High Scores, missions.php seems to be ok if there's an available mission but emits the debug warnings if it has to generate a new mission. Forms on War Room, Join Missions etc (probably all) emit "headers already sent" errors on submit (probably because of the debug warnings).
Psychout wrote:Im not scared of a gender confused minibot! :P
User avatar
Glyph
HMW Moderator
Posts: 917
News Credits: 34
Joined: Thu Mar 25, 2004 2:15 pm
Location: Manchester, UK

Re: HMW Bug Reporting Thread

Postby ashe5k » Mon Aug 18, 2025 7:54 am

Motto: "He who hesitates, is lost."
I got this every time I put a bot in a mission or activated a Transformer

[phpBB Debug] PHP Warning: in file /var/www/vhosts/seibertron.com/httpdocs/heavymetalwar/includes/game_shared.php on line 2519: error_log(/var/www/vhosts/seibertron.com/logs/errors/heavymetalwar.log): failed to open stream: Permission denied
[phpBB Debug] PHP Warning: in file /var/www/vhosts/seibertron.com/httpdocs/heavymetalwar/missions.php on line 83: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3992)

But if I went directly to the page right after that, mission or war room, it loaded fine.
ashe5k
Pretender
Posts: 707
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: HMW Bug Reporting Thread

Postby Psychout » Mon Aug 18, 2025 11:56 am

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
managed to get a bot into a mission.

https://www.seibertron.com/heavymetalwa ... _id=368891

No log generated.
Psychout
HMW Moderator
Posts: 9736
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: HMW Bug Reporting Thread

Postby ThunderThruster » Mon Aug 18, 2025 12:54 pm

Weapon: Twin Shoulder-Mounted Rocket Launchers
Had the same issue as Psychout. Any characters that I could get into a mission, generated "No record available". Just thrown a couple of bots into the Arena to see if it's working.
Tekka wrote:What she doesn't realize is that Springer actually loves Rodimus.
User avatar
ThunderThruster
Gestalt
Posts: 2942
Joined: Thu Jun 01, 2006 8:56 am
Location: Nottingham

Re: HMW Bug Reporting Thread

Postby Silver Wind » Mon Aug 18, 2025 2:02 pm

Motto: "Truth is written in the fabric of creation."
Weapon: Deflecto-Shield
ThunderThruster wrote:Had the same issue as Psychout. Any characters that I could get into a mission, generated "No record available". Just thrown a couple of bots into the Arena to see if it's working.

Arena fights completed.

Serene v. Raider

Alacrity v. Windcon

Ascendant v. Nyxara

Erudition v. S.S. Georgie

Everything functioned correctly as far as I can tell. I also had the CR set to manual and yeah the button is there again, but like Glyph stated it has no border and a passcode is required.
Silver Wind
Headmaster Jr
Posts: 564
Joined: Sun Dec 21, 2003 8:28 pm
Location: Oregon, USA
Alt Mode: I have no idea
Strength: 2
Intelligence: 5
Speed: 2
Endurance: 2
Rank: ???
Courage: 3
Firepower: 2
Skill: 6

Re: HMW Bug Reporting Thread

Postby steve2275 » Mon Aug 18, 2025 4:44 pm

Motto: "it may not get better
but it wont get any worse"
Seibertron wrote:Sorry guys ... I couldn't figure out what I did earlier that broke the missions. I've been hammering away at this for 14 hours. I'll tackle it again tomorrow night hopefully. Bear with me!

I enabled some new logging functionality tonight so that i can take a look at what's going on. please feel free to add characters into missions and arena battles so that i can take a look at the logs tomorrow to see if any patterns come to light.

If I can't figure this out, I might just rewrite the whole mission and arena log process which has been needed to be done since day 1 of HMW. That's on the agenda anyways but it might happen sooner than later if I can't figure this out.

very much appreciated
https://www.seibertron.com/heavymetalwa ... ena_id=668 i wonder who i am fighting thanks occult
i must confess i have missed fighting in the arena
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: 3267
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: HMW Bug Reporting Thread

Postby Seibertron » Mon Aug 18, 2025 9:29 pm

Motto: "'Til All Are One!"
Weapon: Twin Shock-Concussion Missiles
I'm doing some debugging right now. I'm on 3.5 hours of sleep from last night's marathon of trying to fix these HMW problems so I don't know how far I'll get tonight but I wanted to give you guys an update.

Basically, I'm working on creating a script that will "requeue" and "reprocess" failed missions (and we'll take a look at arenas later if it's not resolved with this process). The script will grab a few missions which has characters not currently doing something else at the moment, requeue the mission using current timestamps, and then forcing their processing so that I can properly debug this damn code. I'm surprised this hadn't been done before but here we go.

Once I get all of this working again, I'll modify this script to process all battles that failed that are in the database still. So please keep putting your characters in missions and arenas. Regardless if it failed or not, I'll figure out how to reprocess them all later.

If it doesn't work in the end, then oh well. I'll figure out something to do to thank all of you if it doesn't work (and maybe a little something extra if it does as I've got another big thing in the works with the rest of SEIBERTRON that will help encourage HMW gameplay).

Just wanted to keep you guys posted so that you aren't discouraged.
Image
User avatar
Seibertron
Site Owner
Posts: 13834
News Credits: 3604
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: HMW Bug Reporting Thread

Postby Glyph » Tue Aug 19, 2025 8:07 am

Seibertron wrote:Basically, I'm working on creating a script that will "requeue" and "reprocess" failed missions [...] The script will grab a few missions which has characters not currently doing something else at the moment, requeue the mission using current timestamps, and then forcing their processing so that I can properly debug this damn code. [...] Once I get all of this working again, I'll modify this script to process all battles that failed that are in the database still.
Nearly all missions have 20 minutes between closing signups and updating characters with the cached results, with nearly all battles/logs getting processed within the first minute. That should give a decent amount of time to try the battle again if it's got the process flag but hasn't been properly completed in, say, five minutes after its start time (or, for that matter, to run a mission multiple times for debug purposes and just keep the last run's result). Outside of that time, no guarantee that bots would be available or that they'd have the same level & stats as when they entered, and you could get some very strange effects if characters suddenly & randomly became busy while players are e.g. doing upgrades - I'd honestly rather shrug off the failed mission than have my bots unexpectedly dropping into a battle/CR at some future point.

Would it be easier to amend the end-of-mission update to not release the characters from the mission if it's not correctly processed, and clear the process flag? That should automatically re-queue the mission as I understand it, since the battle script was just looking for missions in the queue that were 1) past their start time and 2) not marked as processing (also applies to the suggestion above - just substitute "has participants but no winner" and "marked as processing at least 5 min ago" in the queue check). Feel free to ignore if that's no longer the case.

Seibertron wrote:If I can't figure this out, I might just rewrite the whole mission and arena log process which has been needed to be done since day 1 of HMW. That's on the agenda anyways but it might happen sooner than later if I can't figure this out.
Given how much time a full rewrite would take and that one of the earlier Silver Age announcements was that the whole site's code is now under version control, can the recent changes not just be rolled back while you're investigating what went wrong?
Psychout wrote:Im not scared of a gender confused minibot! :P
User avatar
Glyph
HMW Moderator
Posts: 917
News Credits: 34
Joined: Thu Mar 25, 2004 2:15 pm
Location: Manchester, UK

Previous

Return to Heavy Metal War Forum


[ Incoming message. Source unknown. ] No Signal - Please Stand By [ Click to attempt signal recovery... ]


Transformers and More @ The Seibertron Store

Visit shop.seibertron.com to buy "CHEETOR Transformers Legacy United Core Beast Machines Hasbro 2024 New"
NEW!
CHEETOR Transforme ...
Visit shop.seibertron.com to buy "Rescue Bot HEATWAVE Transformers Age of the Primes AOTP Voyager Hasbro 2025 New"
NEW!
Rescue Bot HEATWAV ...
Visit shop.seibertron.com to buy "IGUANUS Transformers Legacy Core Class G1 Hasbro 2022 New"
NEW!
IGUANUS Transforme ...
Visit shop.seibertron.com to buy "SHOCKWAVE Transformers Legacy Core Class G1 Hasbro 2022 New"
NEW!
SHOCKWAVE Transfor ...
Visit shop.seibertron.com to buy "ALCHEMIST PRIME Transformers Age of the Primes AOTP Deluxe Class Hasbro 2025 New"
NEW!
ALCHEMIST PRIME Tr ...
Visit shop.seibertron.com to buy "MEGATRON Transformers Legacy Core Class G2 Universe Hasbro 2022 New 250212"
NEW!
MEGATRON Transform ...
Visit shop.seibertron.com to buy "GEOCRON Transformers Legacy United Core Class Hasbro 2024 New"
NEW!
GEOCRON Transforme ...
Visit shop.seibertron.com to buy "BOMB-BURST Transformers Legacy Core Class G1 Hasbro 2022 New"
NEW!
BOMB-BURST Transfo ...
Visit shop.seibertron.com to buy "ENERGON MEGATRON Transformers Legacy United Core Class Hasbro 2024 New"
NEW!
ENERGON MEGATRON T ...
Visit shop.seibertron.com to buy "SKIDS Transformers Legacy Deluxe G1 Universe Hasbro 2022 New"
SKIDS Transformers ...
Visit shop.seibertron.com to buy "INFERNO Transformers Legacy Voyager Beast Wars Predacon Hasbro 2022 250724"
NEW!
INFERNO Transforme ...
Visit shop.seibertron.com to buy "SKY-BYTE Transformers Age of the Primes AOTP Voyager RID Hasbro 2025 New"
NEW!
SKY-BYTE Transform ...
Visit shop.seibertron.com to buy "OPTIMUS PRIME Transformers Legacy Core Class G1 Hasbro 2022 New"
NEW!
OPTIMUS PRIME Tran ...
Visit shop.seibertron.com to buy "ENERGON GALVATRON Transformers Legacy United Core Class Hasbro 2024 New"
NEW!
ENERGON GALVATRON ...
These are affiliate links. We may earn a commission.
Details subject to change. See listing for latest price and availability.

Featured Products on Amazon.com

Buy "Transformers Toys Optimus Prime Cyberverse Ultimate Class Action Figure - Repeatable Matrix Mega Shot Action Attack Move - Toys for Kids 6 & Up, 11.5"" on AMAZON
Buy "Transformers Authentics Grimlock Action Figure" on AMAZON
Buy "Transformers Studio Series 11 Deluxe Class Movie 4 Lockdown" on AMAZON
Buy "Transformers Deluxe Stryker 1 Action Figure" on AMAZON
Buy "Transformers Generations Power of The Primes Deluxe Class Autobot Moonracer" on AMAZON
Buy "Transformers Generations Titans Return Deluxe Misfire and Aimless" on AMAZON
Buy "Transformers Generations Combiner Wars Computron Collection Pack" on AMAZON
Buy "Transformers Studio Series 08 Leader Class Movie 1 Decepticon Blackout" on AMAZON
Buy "Transformers Generations Titans Return Titan Master Brawn" on AMAZON
Buy "Transformers RID Combiner Force Warriors Class Starscream" on AMAZON
Buy "Transformers Generations Combiner Wars Devastator Figure Set(Discontinued by manufacturer)" on AMAZON
Buy "TRANSFORMERS PLATINUM EDITION HOT ROD JUNKION SCRAPHEAP WRECK GAR SET" on AMAZON
These are affiliate links. We may earn a commission.
Details subject to change. See listing for latest price and availability.