Maja McCloud

Villager
Member
Joined
Aug 21, 2017
Messages
9
Reaction score
6
First Language
German
Primarily Uses
RMMV
Hey folk!
I have a little Problem with SumRndmDde's HUD Maker...
When I export the game and start the index.html in my browser (firefox) than the HUDs won't show up.
When I startet the normal game.exe everthing is fine.
Can someone help me with that prob?
Thanks!
 

trapless

Veteran
Veteran
Joined
Mar 3, 2014
Messages
43
Reaction score
17
First Language
English
Primarily Uses
your not the only one, i just fround this post while looking for another having the sme issue.

I found a solution to this issue. I didnt look into enough to understand possible side effects or why its even happening. I'll be sure to point it out to him.

do you see an error in your browser console saying _testExceptions is not defined?
 
Last edited:

Maja McCloud

Villager
Member
Joined
Aug 21, 2017
Messages
9
Reaction score
6
First Language
German
Primarily Uses
RMMV
First: Thanks for your help!
Second: Ähm.... Browser console? (Sorry... I'm not quite sure what you mean... Beginner...)
 

ct_bolt

Creator
Veteran
Joined
May 3, 2012
Messages
1,248
Reaction score
800
First Language
Javascript
Primarily Uses
RMMZ
I had the same issue...

Found a solution but it might not work for everyone due to my custom setup with the plugins that I use.

The plugins from SumRndmDde I am using are Game Upgrade, Super Tools & HUD Maker.

Solution:
In SRD_GameUpgrade.js change line 604 to this:
Code:
_.isNewNWjs = false; //process.versions['node-webkit'] >= "0.13.0" && Utils.RPGMAKER_VERSION >= "1.6.0";
All I did was comment out the right side and replaced it with false

In SRD_SuperToolsEngine.js change line 206 to this:
Code:
_.isNewNWjs = true; //process.versions['node-webkit'] >= "0.13.0";
All I did was comment out the right side and replaced it with true

Which solved this error:
TypeError: DataManager._testExceptions is undefined
SRD_HUDMaker.js:443:1
This is because GameUpgrade & SuperTools are now loaded, before they would crash.

Working now on Chrome, Firefox, & Android. Yay! :cutesmile:

Let me know how this goes. I'm still trying to figure out the best solution. :):thumbsup-right:
 
Last edited:

trapless

Veteran
Veteran
Joined
Mar 3, 2014
Messages
43
Reaction score
17
First Language
English
Primarily Uses
I had the same issue...

Found a solution but it might not work for everyone due to my custom setup with the plugins that I use.

The plugins from SumRndmDde I am using are Game Upgrade, Super Tools & HUD Maker.

Solution:
In SRD_GameUpgrade.js change line 604 to this:
Code:
_.isNewNWjs = false; //process.versions['node-webkit'] >= "0.13.0" && Utils.RPGMAKER_VERSION >= "1.6.0";
All I did was comment out the right side and replaced it with false

In SRD_SuperToolsEngine.js change line 206 to this:
Code:
_.isNewNWjs = true; //process.versions['node-webkit'] >= "0.13.0";
All I did was comment out the right side and replaced it with true

Which solved this error:
This is because GameUpgrade & SuperTools are now loaded, before they would crash.

Working now on Chrome, Firefox, & Android. Yay! :cutesmile:

Let me know how this goes. I'm still trying to figure out the best solution. :):thumbsup-right:
just edit line 443 of HUD_Maker
Code:
if (Utils.isNwjs()) { DataManager._testExceptions.push(_.mapFile, _.battleFile); }
this will retain funcionality on pc and allow the game to run on mobile, it's less distructive to the original code.
Some things could use a little fixing but im not very interested in posting revisions of srd's work.
 
Last edited:

ct_bolt

Creator
Veteran
Joined
May 3, 2012
Messages
1,248
Reaction score
800
First Language
Javascript
Primarily Uses
RMMZ
just edit line 443 of HUD_Maker
Code:
if (Utils.isNwjs()) { DataManager._testExceptions.push(_.mapFile, _.battleFile); }
this will retain funcionality on pc and allow the game to run on mobile, it's less distructive to the original code.
Thanks for the info. :) Makes sense.
 

Maja McCloud

Villager
Member
Joined
Aug 21, 2017
Messages
9
Reaction score
6
First Language
German
Primarily Uses
RMMV
Hey everyone! Thanks for your help!

@trapless:
Thanks for teh scriptline! Works perfekt! THX! :D
 

akoniti

Veteran
Veteran
Joined
Mar 4, 2020
Messages
163
Reaction score
146
First Language
English
Primarily Uses
RMMV
Hello from the future, post!

I am also having trouble getting HUDMaker to work with HTML games (specifically, HUDMaker v1.43 on RPGMaker MV v1.6.2).

I tried the line 443 adjustment, but alas no joy.

I'm running it via Itch, in case that makes a difference.

Any idea if there's an updated plugin mod I could make to get the HUDs to work in this scenario?
 
Last edited:

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
6,321
Reaction score
2,467
First Language
Dutch
Primarily Uses
RMMV
@akoniti this post is oer 3 years old, and some might be updated in the plugin.
the problem with SRD Plugins mostly, it doesn't play nice so you can try line 443

if the above doesn't work, you can rather create a new threat of your problem.
 

Latest Threads

Latest Posts

Latest Profile Posts

ScreenShot_10_5_2022_4_44_8.png
Mad O' Malley... a stick figure that's afraid of it's existence being erased. so they always start battle in an anxious state.
Before, I was drawing all the sprite work, super big and shrinking it down. Which was really time consuming if thing's changed. So instead I'm drawing the characters sketch, and then remaking it with pixel art instead.
Why are job interviews so terrifying. :kaodes:

Forum statistics

Threads
125,799
Messages
1,173,633
Members
164,963
Latest member
ervll
Top