MV SRD HUD Maker Image Gauge Bar Glitch

Hello I'm having an issue with the SRD HUD Maker plugin. I'm using it to make a custom HUD for my game and everything works and looks all good right now except for my gauges. I am using the image gauges with custom images and normally they should look like this:
2023-02-08 12_12_49-Grofttnoe Oertsis_ The Lost Tower.png

The problem is randomly the gauges will glitch and the bars will be in the wrong position, if the values change like HP increases or decreases in battle they will go back to normal. The glitch looks like this:
2023-02-08 12_13_31-Grofttnoe Oertsis_ The Lost Tower.png

I am not sure what is causing this, sometimes it will happen between battles and the only time I can get it to happen consistently is when I save and load the game. There are 4 party members and sometimes not all of the bars are affected either, even though they all have the same properties except for which members values they use.

I've tried looking for this same problem around the forums and tried messing around with the bars properties within HUD maker and no luck so far, if someone may know what the issue is I would really appreciate some advice.
can you show the configuration of the gauges?

I assume you rotate it correctly to get it lower as the first one.
as I dont have that kind of problem though.

I would also like to see your plugin manager, to see if there is a conflict,
as you can try to swap some plugins around (non-YEP plugins) as I have
the HUDMaker below the battle core engine, (if you use it).

so I dont know what exactly can cause this though.

if you can provide some images, we can try to figure out why it is happening.
Thanks for the reply!

This is my configuration for one of the HP gauges that has the glitch right now:
Spoiler: Gauge Properties
2023-02-08 13_36_38-Grofttnoe Oertsis_ The Lost Tower - RPG Maker MV.png
If I press the refresh button it will fix itself but eventually the gauge will glitch again so that's been confusing me. I'm not sure what you mean about the rotation, the image gauges do not have any rotation or animate features if that helps at all.

I may have an issue with my plugin order because I'm not too sure how to place them other than when they say to place one under another to work in the help text. Here's my plugin list:
Spoiler: Plugin list
2023-02-08 13_37_45-Grofttnoe Oertsis_ The Lost Tower - RPG Maker MV.png

2023-02-08 13_38_17-Grofttnoe Oertsis_ The Lost Tower - RPG Maker MV.png
there are a few plugins left under the list but they are just movement ones that I don't think have any affect.
If you need any more images or information let me know!
not sure if YEP plugins are in the exact order, so check the website or use
the update plugin for the YEP order check in my spoiler.

as wrong order of the plugin list can cause conflict or wrong behavior.
as for the gauge, it can rotate and drain to left (rotation left), but while you
use down, it should work the same way.

so I doubt that could cause an issue.
but re-order the YEP plugin first, and we check later after that.
as I categorize the plugin (core, battle, message etc, HUDMaker should be
in the GamePlay section which is around in the middle part.

as I categorize the list into 12 categories, so placing the plugins with a specific
function can be set there in between or on the bottom of the category for a
higher compability.
I used the organizer plugin you mentioned and sorted out my YEP plugins, I did a few tests but unfortunately the glitch is still happening. I'm glad I could properly order my plugins though so hopefully that will help prevent problems in the future!

I tried changing the style of the gauge to left but still got the same glitch after a while so I think it's something to do with the gauge itself. It also seems to happen the most when I save the game and load back into the game and enter a battle, but even then sometimes it does not glitch, it's very inconsistent.

I have to head out for a while so I won't be able to send any reply's for a few hours but when I get back I will try moving the HUD maker plugin around and experiment more on when the glitch happens.
Thank you very much for all your advice so far and if you can think of anything else or need more information let me know!
I can't seem to figure out what is causing this glitch, I'm starting to think it may be a conflict with another plugin or one is outdated.

Luckily I found a work around solution, this glitch doesn't seem to effect the standard gauge you can create in HUD maker so I can make a similar HUD by using the normal gauge and placing a border image over top.

I may try to figure out what is going wrong one day but this solution works for me right now. Thanks again ShadowDragon for your advice!
can you try to make a tech demo with the glitch? than I can see whats going
on at my end, and see if I'm able to fix it, or a mistake you made.

as I use it on my own hud, if this is image based hud (as I use a combi)
bg image, normal gauge to fit, it works really nice.

if its more the image bg + image gauge, than I dont know what can cause it.
I haven't made a tech demo before so I hope this works, most BGM and some images were removed to reduce the size and I don't think they had any effect on the glitch. You can battle a bat to see the battles where the glitch occurs. I discovered a fairly consistent way to cause the glitch is enter a battle and lose HP or gain TP then leave the battle, save the game, close the game, and then reopen the game and load the save. After that if you enter the battle the gauges that changed values should be glitched. If that doesn't work it should appear after experimenting for a while.

Here is a MEGA link to the demo: https://mega.nz/file/dsFGTT7S#7tRgqE0aPHLOQnxymeQ_UQJT6Ue3Mu-9bZAAEAnsWP4

The HP bars and such are purely image gauges right now but if we can't figure out a solution the combined normal gauge and image solution can work for me as well.
I will take a look at it and come back after breakfast, hopefully with good news.
gimme some time, will reply within 2 hours.

Edit:
when testing, I found 2 issues (HP stays correctly on after loading a saved game,
but only the TP jumps UP, if this is the image Gauge, see if the same thing happen
with a normal gauge (save, quit, load game) if that is working, I should go that way,
as I can give you a nice try to look it almost equal as a normal image gauge 🙂

I cannot tell what the exact cause is because a deployed game, but you do
use other gauge plugin (not sure if its interfering atm.

another issue I notice on the battle if you shoose "row formation" and cancel
out, the entire HUD's are gone and not visible anymore, which you might have
noticed as well.

I will dig a bit deeper on why it is causing as this shouldn't happen normally.
so there might be a conflict that does this.

you can try it as well, to turn off "all plugins" and turn them on 1 by 1.
keeping SRD SuperTools Engine and HUDMaker active, because if there
is a conflict, you can move it up to see the if it has the same effect or not,
if needed, we can see if there is a patch or modification possible to let
them play nicely.

Edit2:
I found a work around that seems to work, as I cannot figure out the exact cause,
as it should work, but if you use on-map enemies, the best way I can think of is
using a scriptcall:

HUDManager.refreshSprite(); on top.

if you have a boot plugin to call a common event, you can refresh it there,
I have, I have "getAllItems" plugin, which turn on a switch on boot,
as the plugin allow you to gain items by plugin commands easely, you can
just use the scriptcall to refresh, and turn on the switch OFF that turns it on.

if someone find a perma fix for this, they can tell you, but I dont know why it
doesn't refresh the battle gauge correctly, but this is only a workaround for now.
Thanks a lot for testing it!

I've done a bit more testing with the normal gauges in HUD maker and the glitch does not seem to happen to them, here's a screenshot of both gauges:
2023-02-10 13_24_49-Grofttnoe Oertsis_ The Lost Tower.png

They both have the same values for the party members HP, MP, and TP so I think I will use the normal gauges with image borders as my solution. I think I can make them look almost identical with enough effort!

I use map enemies to trigger battles so I tried using the script call you mentioned at the top to try and refresh the HUD but the glitch still happened unfortunately. The other gauge plugin is still in the files but I don't currently use it. I think this glitch may be caused by another plugin conflict so one day I'll try to check each plugin to see if it does conflict. For now though I will use the normal gauge solution so I can move on with my development, I think it will work just as well too.

Also I actually didn't notice the row glitch so thanks for catching that! I just needed to put the HUD maker plugin below the row plugin to fix that thankfully.

I really appreciate all the help you gave me with this problem, even though we didn't fix the glitch right now I did find a solution that can work around it, thanks again!
the weird part is on saving + loading (after F5 or quite and reboot), it only
happen on the TP bar on my end, with running the scriptcall for refresh
did worked on my end as I also place it on the NPC before re-battle the bat.

I dont know why the normal sprite gauge dont work, but I'm happy you
got the rowformation glitch worked out 🙂

I cannot be of more help though.

but good luck on your project 🙂

Original thread: https://forums.rpgmakerweb.com/threads/srd-hud-maker-image-gauge-bar-glitch.154811/