Maja McCloud

Villager
Member
Joined
Aug 21, 2017
Messages
8
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
16
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
8
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
954
Reaction score
527
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
16
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
954
Reaction score
527
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
8
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
113
Reaction score
91
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

Veteran
Veteran
Joined
Oct 8, 2018
Messages
3,360
Reaction score
1,255
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

Valentines Entry, first contest I'm in and it is so much fun to just participate!
Anatomy is really hard. I'm not an artist.
just destroyed hours of work again. i don't know why I bother.
World Map for the inside of my main character's head. Every spot is an area that either occupies his thoughts or staples of everyone's "headspace"

Forum statistics

Threads
109,000
Messages
1,041,144
Members
141,466
Latest member
williamjjj
Top