Soulrender

Jack Of All Trades
Veteran
Joined
Jan 12, 2019
Messages
1,401
Reaction score
851
First Language
Poland
Primarily Uses
RMMV
Not that much than a year ago I posted a topic with SRD's Hud Maker TextEx problem, meaning when I click in editor to add TextEx nothing happened and no one knew how to help me. I put aside that problem and I focused on more important matters in my project, but I decided to dig up problem and find solution. I disabled all plugins I have in use to find what is causing problem disallowing me to add TextEx to HUD. I found plugins causing this problem, they are:
- YEP_ExtMessPack1.js
- YEP_ExtMessPack2.js
- RS_MessageAlign.js

I added TextEx by force, editing MapHUD.json manualy ( I know very well how JSON syntax works and what params are for TextEx, so I did not make any syntax errors in JSON file, because turning off these plugins started game flawlessly and TextEx is shown on screen.) and here are the results for Yanfly's plugins

And for RS_MessageAlign.js

Because in scale 1 - 10 as JS programmer I'm 3 I'm asking for any kind of help, patch, assistance. Thank you.
 

dopan

Veteran
Veteran
Joined
Mar 27, 2020
Messages
1,100
Reaction score
567
First Language
German
Primarily Uses
RMMV
just incase that info might be helpfull,..
..are you sure about the RS_MessageAlign.js?

i got that plugin activated in my older "srpg extension demo".. (its placed somewhere above the hudmaker)
Screenshot_1.png

And i was using the hudmaker without any problems in that project hudmaker usage screenshoot
(i did not use or test the yep plugins which are mentioned, but all other yep plugins which i use are always above everything else like its recommended)
 

Soulrender

Jack Of All Trades
Veteran
Joined
Jan 12, 2019
Messages
1,401
Reaction score
851
First Language
Poland
Primarily Uses
RMMV
Yes @dopan I have also RS_MessageAlign plugin above SRD's HUD Maker.
 

dopan

Veteran
Veteran
Joined
Mar 27, 2020
Messages
1,100
Reaction score
567
First Language
German
Primarily Uses
RMMV
Yes @dopan I have also RS_MessageAlign plugin above SRD's HUD Maker.
thats strange.. idk why it works in my project but not in yours..

while working on a new plugin i made some tryal and error mistakes..
..and one really weard one was causing errors to several plugins,while it did not even mentioning the trigger plugin on which i was working. I had to delete several part of code step by step till i tracked the bug down.

However could it be that you made any edits or scripting on another plugin or scripting eventing, that could be related?
- mostly when that edit does affect or replace any "default script" from another plugin..
(or else i got no ideas left on that)
 

Soulrender

Jack Of All Trades
Veteran
Joined
Jan 12, 2019
Messages
1,401
Reaction score
851
First Language
Poland
Primarily Uses
RMMV
I usually don't edit plugins made by other people, because they're too complex for me to find what I need it and JS is not my fairy tale. So I don't touch them. I can confirm with absolute sure I have unedited yanfly's plugins - I have downloaded them before they became paid. Of course, I have some own written plugins by me, but they are just ... external variables containing just integers, arrays and strings. (Mostly for NPC speech lines). So... I did not wrote anything fancy like Yanfly, Victor, Galv, or MogHunter or any other more skilled plugin scripter.
 

dopan

Veteran
Veteran
Joined
Mar 27, 2020
Messages
1,100
Reaction score
567
First Language
German
Primarily Uses
RMMV
windows have often a strong update chain,that was the reason on my bug..(when my script broke one updateChain,by adding a switch condition at the wrong place)
..and both error_imgs you showed look like they have to do with window and sprite update chains..
(but thats not surprising when considering that the hudmaker is made for window and sprite related stuff)

i am sorry that i cant be much help on that, my JS knowlegde is also still very limited
(i learn often by tryal&error)
 

Soulrender

Jack Of All Trades
Veteran
Joined
Jan 12, 2019
Messages
1,401
Reaction score
851
First Language
Poland
Primarily Uses
RMMV
Thank you again @dopan, both for current responses and a year ago. I Appreciate that much.
 

gimmer_

Veteran
Veteran
Joined
Jan 13, 2021
Messages
69
Reaction score
46
First Language
English
Primarily Uses
RMMV
What is your plugin load order?
 

gimmer_

Veteran
Veteran
Joined
Jan 13, 2021
Messages
69
Reaction score
46
First Language
English
Primarily Uses
RMMV
It might be an incompatibly, but it might plugin order. Try putting it before those other plugins. You won't have those functions functionality in the HUD, but it might run.

SRD Makes it's own textEx element, which is an extension of the Sprite class.
It imports into it Window_Base functions (convertEscapeCharacter, drawTextEx, and others) so it can do stuff.
When it does that, it imports the version that Yanfly and others have extended, which assumes other functions available that Yanfly adds to Window_Base. But since SRD doesn't import those functions, they aren't there in the HUD object, and everything dies.
 

Soulrender

Jack Of All Trades
Veteran
Joined
Jan 12, 2019
Messages
1,401
Reaction score
851
First Language
Poland
Primarily Uses
RMMV
Placing SRD's hud maker before yanfly's totally disables HUD. But I don't bother with anymore.
I simply used photoshop to create element that I want to display and that's it. :)
 

Latest Threads

Latest Posts

Latest Profile Posts

Micro rant. The worst part of working from home when you live with your family is seeing how inconsiderate they are. "Hey, you're sitting in front of your computer, that means you're not doing anything! I want to put the TV at 200 decibels!"

If I was working in the office would you still talking me like that?
It's definitely discouraging when streamers give a try-to-say-it-nicely (i.e. bad) review of your game demo. It's like jumping into a cold pool. Bad initally, but it gets better with time. And you are now more alert and see better.
Some screenshots of the pub and lodging with the beginnings of clutter taking shape
TTp8uCw.png

jtC202e.png

bSXgyVl.png

eRx9PUF.png
Backgrounds are not my strong suit... :kaodes:
DazI8jt.jpg

Just realized I forgot doing the clouds... woops
Went to get some stuff for February 10, the birthday of my favorite ink monster...
I have a little one-person party for Bendy every year, complete with the life-size plushie I made. And yes, I bake a birthday cake!

Forum statistics

Threads
118,501
Messages
1,116,433
Members
155,501
Latest member
E-NOX
Top