>
>
>

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 Psychout » Sun Nov 10, 2024 3: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
Glyph wrote:(Actually there's a second, funnier possibility - I note that the armour ID variable was called $ai in the old code I have, so it's possible the variable name somehow factors into it...)
Nerd. :lol:

Didn't you always have to strip off your old armour to add new stuff on top, I always thought adding 1 more 'ranks' worth of it screwed things up anyway?
Psychout
HMW Moderator
Posts: 9702
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 Glyph » Sun Nov 10, 2024 7:09 pm

Never had a problem just adding a ton of the same type whenever I upgraded STR; only changed type on two bots and it seemed ok.

Pre-bug, obviously - right now nothing new can be equipped at all. :(
Psychout wrote:Im not scared of a gender confused minibot! :P
User avatar
Glyph
Posts: 873
News Credits: 33
Joined: Thu Mar 25, 2004 2:15 pm
Location: Manchester, UK

Re: HMW Bug Reporting Thread

Postby Bumblevivisector » Mon Nov 11, 2024 12:07 pm

My team's last 6 missions appear to have never happened. I guess that's because the whole site's been fading in and out for a week?
User avatar
Bumblevivisector
Gestalt
Posts: 2100
News Credits: 1
Joined: Sun Feb 07, 2010 1:29 am
Strength: 7
Intelligence: 8
Speed: 6
Endurance: 5
Rank: 5
Courage: 7
Firepower: 9
Skill: 6

Re: HMW Bug Reporting Thread

Postby Glyph » Mon Nov 11, 2024 1:42 pm

Oh... checking back a few old numbers, I'm seeing "Mission log not available" on everything. Going to guess a cleardown happened as part of the efforts to fix the site problems. :(

Mission characters still seem to be there, though (which makes it a little weird that the home page summaries don't show up, but IDK what the code for that looks like these days).
Psychout wrote:Im not scared of a gender confused minibot! :P
User avatar
Glyph
Posts: 873
News Credits: 33
Joined: Thu Mar 25, 2004 2:15 pm
Location: Manchester, UK

Re: HMW Bug Reporting Thread

Postby Psycho Warrior » Sat Dec 07, 2024 12:58 pm

Motto: "Afternoon everybody."
Weapon: Corrosive Slime Shooter
I'm hoping the armor glitch can be fixed sometime. I regret resetting some of my transformers since now they're glass canons.
Image
The Happy Locust wrote:Effort is not power, knowledge is not power, even money is not power. True power is not caring that you f*ck up all the time.
User avatar
Psycho Warrior
Guardian Of Seibertron
Posts: 7000
Joined: Wed Aug 06, 2003 9:54 pm
Location: Antarctica, enjoying summer.
Alt Mode: Plague Tank
Strength: 5
Intelligence: 7
Speed: 6
Endurance: 8
Rank: 2
Courage: 5
Firepower: 6
Skill: 9

Re: HMW Bug Reporting Thread

Postby Burn » Sat Dec 07, 2024 3:11 pm

Motto: "Freedom is the right of all sentient beings to randomly click things in the Admin Panel to see what it breaks."
Psycho Warrior wrote:I'm hoping the armor glitch can be fixed sometime. I regret resetting some of my transformers since now they're glass canons.

It'll probably be fixed around the same time the forum search function is fixed.
Burn
Forum Admin
Posts: 28722
News Credits: 226
Joined: Mon Jun 30, 2003 3:37 am

Re: HMW Bug Reporting Thread

Postby Bumblevivisector » Sat Mar 15, 2025 1:54 pm

I assume I'm not the only one getting,

"Fatal error: Call to undefined function random_int() in /var/www/vhosts/seibertron.com/httpdocs/includes/core.php on line 510"

...in place of the buttons that would actually select a mission below all the available missions, as well as the side menu? I know the site's been having bigger issues over the past 24 hours, just reporting this on the off chance it might give someone a hint as to the fix.
User avatar
Bumblevivisector
Gestalt
Posts: 2100
News Credits: 1
Joined: Sun Feb 07, 2010 1:29 am
Strength: 7
Intelligence: 8
Speed: 6
Endurance: 5
Rank: 5
Courage: 7
Firepower: 9
Skill: 6

Re: HMW Bug Reporting Thread

Postby Seibertron » Sat Mar 15, 2025 3:57 pm

Motto: "'Til All Are One!"
Weapon: Twin Shock-Concussion Missiles
Thank you for posting that. I was aware of the error as I was making changes to a ton of code on Seibertron.com. All of the changes I've been making, as talked about elsewhere on the forums, is to optimize the site to increase speed. I just finished making changes to the scripts that run once per minute on the server that handle a variety of tasks, including HMW's processing functions. As I was making the changes, I ran the scripts to see if there were any errors. There weren't, but that doesn't mean that the functionality didn't get screwed up. If you see anything odd that wasn't there last week, please let me know. I backed up the HMW processing file first prior to making changes so I can roll back stuff if needed. Otherwise, enjoy the faster Seibertron.com. :)
Image
User avatar
Seibertron
Site Owner
Posts: 13793
News Credits: 3595
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 Seibertron » Sat Mar 15, 2025 4:04 pm

Motto: "'Til All Are One!"
Weapon: Twin Shock-Concussion Missiles
Burn wrote:
Psycho Warrior wrote:I'm hoping the armor glitch can be fixed sometime. I regret resetting some of my transformers since now they're glass canons.

It'll probably be fixed around the same time the forum search function is fixed.


Does anyone know when or why the search feature was disabled on the forums? If I did it, I don't remember doing it at this time. I just enabled the search feature again.

Where can I view the armor glitch?
Image
User avatar
Seibertron
Site Owner
Posts: 13793
News Credits: 3595
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 Zordon » Mon Mar 17, 2025 6: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
Glyph wrote:Tested & confirmed - looks like a database error?

This was trying to upgrade armour from 9 tons Iron to 10 tons Iron. As far as I can see the form is still sending the correct values (checked HTML and captured POST) so it doesn't look like the code has changed, but rather the DB can't match the ID (implying a DB change, which I think is more likely).

armour_error_241008.JPG



(Actually there's a second, funnier possibility - I note that the armour ID variable was called $ai in the old code I have, so it's possible the variable name somehow factors into it...)




Theres picture of the error in glyphs post on the previous page if that helps. Happens whenever trying to add armour to a :BOT: ot :CON:
Image
Zordon
Headmaster Jr
Posts: 579
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: HMW Bug Reporting Thread

Postby Silver Wind » Tue Mar 18, 2025 4:16 pm

Motto: "Truth is written in the fabric of creation."
Weapon: Deflecto-Shield
The HMW side bar was working fine as late as last night (3/17 PDT), but it has since disappeared. Turning off web browser addons did not fix the issue.
Image
Maximal Defense Force member

Too long for 3-quote max wrote:Shadowman: Ryan isn't becoming a daddy, is he? That just struck me.
The Mad A**hatter: Ryan has a woman?
shadowman: He's already married. To his job.
autobot commander: BURN!!!!
Burn: WHAT?!?!?!?!?!?!?!?!?!?!
Neko: I'm starting to think you go looking for these posts. lol.
Silver Wind
Headmaster Jr
Posts: 553
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 Bumblevivisector » Tue Mar 18, 2025 4:16 pm

Right side bar has been gone for 2-3 hours, preventing gameplay. I could only get back to this thread via forums menu, and even that was down for me for a while.

Hope the updates are going okay!

EDIT: Holy Silver synchronicity!
User avatar
Bumblevivisector
Gestalt
Posts: 2100
News Credits: 1
Joined: Sun Feb 07, 2010 1:29 am
Strength: 7
Intelligence: 8
Speed: 6
Endurance: 5
Rank: 5
Courage: 7
Firepower: 9
Skill: 6

Re: HMW Bug Reporting Thread

Postby Seibertron » Tue Mar 18, 2025 4:25 pm

Motto: "'Til All Are One!"
Weapon: Twin Shock-Concussion Missiles
Bumblevivisector wrote:Right side bar has been gone for 2-3 hours, preventing gameplay. I could only get back to this thread via forums menu, and even that was down for me for a while.

Hope the updates are going okay!

EDIT: Holy Silver synchronicity!


Thank you for letting me know. I hadn't noticed that. The sidebar navigation has been restored.
Image
User avatar
Seibertron
Site Owner
Posts: 13793
News Credits: 3595
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 Silver Wind » Tue Mar 18, 2025 4:43 pm

Motto: "Truth is written in the fabric of creation."
Weapon: Deflecto-Shield
Thanks for the quick response. :)
Silver Wind
Headmaster Jr
Posts: 553
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 -Soundwave- » Sat Mar 22, 2025 4:29 pm

Motto: "Cries and screams are music to my Audios."
Weapon: Shoulder Mounted Rocket Launcher
It allowed me to activate more than 6 team members at once. That is not normal.
Amalgamated Pretense Join the WAR! Be a HERO!
Image
User avatar
-Soundwave-
Gestalt
Posts: 2817
News Credits: 2
Joined: Mon Jan 31, 2005 9:33 pm
Location: Daraknus Decepticon Outpost.
Alt Mode: Cassette Deck
Strength: 4
Intelligence: 7
Speed: 9
Endurance: 2
Rank: 3
Courage: 6
Firepower: 9
Skill: 6

Re: HMW Bug Reporting Thread

Postby Bumblevivisector » Tue Mar 25, 2025 2:33 am

-Soundwave- wrote:It allowed me to activate more than 6 team members at once. That is not normal.
Me too! It's been doing that on and off for about a week. I think it would let me deploy a seventh 'Con on a mission as I post this, but I'm naturally not going to tempt fate testing it.

If it happens again, I'll try to note the time of day, if that helps.
User avatar
Bumblevivisector
Gestalt
Posts: 2100
News Credits: 1
Joined: Sun Feb 07, 2010 1:29 am
Strength: 7
Intelligence: 8
Speed: 6
Endurance: 5
Rank: 5
Courage: 7
Firepower: 9
Skill: 6

Re: HMW Bug Reporting Thread

Postby Seibertron » Tue Mar 25, 2025 4:03 am

Motto: "'Til All Are One!"
Weapon: Twin Shock-Concussion Missiles
Probably no need for that. It's something i messed up somewhere when I was cleaning up some code last week. I am away at the moment and won't be able to address it until next week.
Image
User avatar
Seibertron
Site Owner
Posts: 13793
News Credits: 3595
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 Seibertron » Wed Mar 26, 2025 8:31 am

Motto: "'Til All Are One!"
Weapon: Twin Shock-Concussion Missiles
Can one of you share the specific URL where the error is happening with the activiation of more than 6 bots at a time? Thank you.
Image
User avatar
Seibertron
Site Owner
Posts: 13793
News Credits: 3595
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 Zordon » Thu Mar 27, 2025 5:05 pm

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
It’s just from the registry page

https://www.seibertron.com/heavymetalwar/registry.php
Image
Zordon
Headmaster Jr
Posts: 579
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: HMW Bug Reporting Thread

Postby Glyph » Thu Mar 27, 2025 5:25 pm

Seibertron wrote:Can one of you share the specific URL where the error is happening with the activiation of more than 6 bots at a time? Thank you.

From the registry (registry.php)

I found that I couldn't activate more than 6 in a single submission, but I could activate less than 6, then activate a few more in another submission to take the active total over 6. Once I had 6 or more active in total, I could no longer activate more. In the example below, I activated 4 bots, then activated 3 more in a second submission.

As the activation check is on the registry page, the missions page was also perfectly happy to let me put all 9 bots into missions at the same time after I'd activated them this way (as 5 then 4 more).

morethan6.PNG

So it looks like the check for how many bots are currently active has been broken - the page correctly checks that the player isn't submitting more than 6 bots at once, but doesn't check that the form submission plus the existing active bots totals 6 or less.

Checking an old backup - and I assume the code is still similar - the check used to happen at the entry point to the
Code: Select all
elseif ($action == "activate") {
branch. The page pulled the current number of active bots into $active_count at the top of the page, then had a guard clause to check that (count($_POST['character_id']) + $active_count) wasn't more than 6 before proceeding to activate each submitted bot. It looks like either this guard clause has been removed, or (more likely) the $active_count query isn't working properly and is getting counted as zero.
Psychout wrote:Im not scared of a gender confused minibot! :P
User avatar
Glyph
Posts: 873
News Credits: 33
Joined: Thu Mar 25, 2004 2:15 pm
Location: Manchester, UK

Re: HMW Bug Reporting Thread

Postby -Soundwave- » Sat Apr 12, 2025 12:45 am

Motto: "Cries and screams are music to my Audios."
Weapon: Shoulder Mounted Rocket Launcher
I would say something odd happened here, and it's not just these two its the entire team there are so many of them.

Image
Amalgamated Pretense Join the WAR! Be a HERO!
Image
User avatar
-Soundwave-
Gestalt
Posts: 2817
News Credits: 2
Joined: Mon Jan 31, 2005 9:33 pm
Location: Daraknus Decepticon Outpost.
Alt Mode: Cassette Deck
Strength: 4
Intelligence: 7
Speed: 9
Endurance: 2
Rank: 3
Courage: 6
Firepower: 9
Skill: 6

Re: HMW Bug Reporting Thread

Postby Glyph » Sat Apr 12, 2025 3:03 am

Me too - each bot on my team is showing up exactly 31 times in the list. Notably, the details / stats are all the same EXCEPT for the Rank column, which makes me think this is a DB join issue. The first row appears to be the "real" bot according to the Rank - if you click through to the character page, you can see that the Rank matches - but then it's followed by 30 duplicates with "random" Rank values (presumably other bot records joined in, perhaps via the high score table?).
Psychout wrote:Im not scared of a gender confused minibot! :P
User avatar
Glyph
Posts: 873
News Credits: 33
Joined: Thu Mar 25, 2004 2:15 pm
Location: Manchester, UK

Re: HMW Bug Reporting Thread

Postby Zordon » Sat Apr 12, 2025 5:58 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
Glyph wrote:Me too - each bot on my team is showing up exactly 31 times in the list. Notably, the details / stats are all the same EXCEPT for the Rank column, which makes me think this is a DB join issue. The first row appears to be the "real" bot according to the Rank - if you click through to the character page, you can see that the Rank matches - but then it's followed by 30 duplicates with "random" Rank values (presumably other bot records joined in, perhaps via the high score table?).


Yep something’s wrong I’ve got the same :HEADHURTS: someone bash it with a hammer
Image
Zordon
Headmaster Jr
Posts: 579
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: HMW Bug Reporting Thread

Postby sprockitz » Sat Apr 12, 2025 9:25 am

The number continues to grow. Maybe going up 1 every hour. Noticed it with 11 copies yeaterday morning then 17 by afternoon now 36 copies right now.

So maybe on hourly updates it is starting a new copy? Also it seems to be multiples of 1024 (or +1023) with regards to rank.
sprockitz
Headmaster Jr
Posts: 554
Joined: Thu Oct 09, 2003 10:17 am

Re: HMW Bug Reporting Thread

Postby Glyph » Sat Apr 12, 2025 10:00 am

The high score table is refreshed once per hour IIRC. I wonder if it's not being cleared before the new data is inserted.

Frak knows what the 1024 thing is about, but it's a suspiciously round number.

--EDIT--
Yeah, it looks like the table's not being cleared. The total bots shown on the character page (Rank #X / Y) is currently showing "X / 38,415", and I know for a fact there aren't 38K active bots in the DB. I think it was showing 32K this morning, so sprockitz is probably right that it's going up every hour when the high score refresh script runs.
Psychout wrote:Im not scared of a gender confused minibot! :P
User avatar
Glyph
Posts: 873
News Credits: 33
Joined: Thu Mar 25, 2004 2:15 pm
Location: Manchester, UK

PreviousNext

Return to Heavy Metal War Forum

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