MV Help with Shaz's Pixel Gauges

Hey everyone,
So I added this (post #11) plugin to my project and I'm running into an issue of "Cannot read property 'Height' of undefined." I've plugged it into a completely new project and get the same. This is strange because all other threads I could find referencing Shaz's Pixel Gauges make it seem like it works, plug-and-play.
I've looked at the script myself and from my limited knowledge it looks like Height SHOULD be defined, but it's clearly not somehow.
Anyways, a little help would be great! Thanks!

EDIT: I just realized that the plugin was made for a specific project, so I'm not sure how much can be done to make it work for mine, haha.
It says it's written to be used with Galv's Bust Menu, are you using that?

Other than that, whenever you're asking for help with an error, you need to actually show it.

Press F8 in the game, go to the Console tab, take a screenshot of the error trace.
Gotcha! Here's the error log. And yes, I'm using Galv's Bust Menu. I get the same error with the current project I'm on, using both plugins, and testing it on a clean new project with both.
As you can see, the error is actually coming through Yanfly's Core Engine, not Shaz's.

It looks like you might have an outdated version of the Core Engine or something, line 1094 for me is blank.

1709235645625.png
Ok, so my bad for missing that. I recently picked up an old project to chip away at, so that would make sense that it's outdated haha. HOWEVER, I still get the 'same' error on a clean project using only Galv's Bust Menu and Shav's Pixel gauges, log attached below. So hmm...

EDIT: The last error in the list is in regards to not locating the image for the bust. I quickly added one to test, and the above errors remain.
I dunno what to say, everything is screwy with your error's line references. Line 417 of Shaz's plugin doesn't reference Height for me.

1709241473058.png


That should be line 416.

Did you save the plugin file correctly? Using the button on top of the little embedded window that says Raw? It looks like you named the file correctly.

(note - you're showing the correct information, but that is not the Console tab that I directed you to)

1709241686862.png
Ah good! So that's the help I needed!

I likely forgot to undo some attempts before saving and left some weird stuff in the .js, and also didn't think to refer to an original file.

Now I've got the images for the gauges showing up, but they're just not displaying the proper width set, nor are the HP and MP current and max showing, at least everywhere but Scene_Status. But that's 100% likely caused by some other plugins and tweaks I've done.

As well, Galv's Bust Menu's Exp gauge starts out full and then behaves reversely from right to left, with the negative space on the right acting as the current experience gained... It behaves the same with Rocketmancer's Pretty Gauges, which I haven't yet found a fix though I've seen a few threads discuss it to no resolution.

But anyways, thanks for the guidance, ATT_Turan! Much appreciated!

EDIT: In case anyone else is looking for the fix for why the Galv's Bust Menu exp. gauge is backwards when using Pretty Gauges or Shaz's Pixel Gauges, this is what I did:
JavaScript:
Window_Base.prototype.drawPixelGauge = function(x, y, width, rate, img) {
    var fillW = Math.floor(width * rate).clamp(0, width);
    this.drawGaugeLayer(x, y, width, 'BG');
    this.drawGaugeLayer(x, y, width - fillW, img);
};

I just duplicated Window_Base.prototype.drawPixelGauge and created one specifically for the exp gauge, Window_Base.prototype.drawPixelGaugeXP, and made sure that's what is being called when the script draws the exp gauge. I created one for the exp gauge because it's originally behaving the same way as the HP, MP and TP gauges. Essentially, I just copied what Galv did for his own exp gauge and plugged it into Shaz's script. it's the "width - fillW" that's important!

Original thread: https://forums.rpgmakerweb.com/threads/help-with-shazs-pixel-gauges.166309/