>
>
>

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: 914
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: 13832
News Credits: 3603
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: 2941
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: 914
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

Previous

Return to Heavy Metal War Forum

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