RMMV global var Imported tells Plugin is not there, but it is in the PluginManager

Aerosys

Veteran
Veteran
Joined
Apr 23, 2019
Messages
455
Reaction score
435
First Language
german
Primarily Uses
RMMZ
Hey all,

so my Base Plugin starts with this

Code:
'use strict';

var MK = MK || {};
MK.alias = MK.alias || {};

var Imported = Imported || {};
Imported.MK_RandomGenerate_Dungeon = '1.1';

and I have an Addon starting with this

Code:
'use strict';

var Imported = Imported || {};
Imported.MK_RandomGenerate_Meta = '0.1';

if (!Imported.MK_RandomGenerate_Dungeon || Number(Imported.MK_RandomGenerate_Dungeon) < 0.9)
    alert("Newest version of MK_RandomGenerate_Dungeon.js required! Please download and add it to this Project.");

Well, on my machine this dependency check works fine. However, I got a bug report that this error "Newest version of my Plugin required!..." is thrown, although he included both Plugins with correct order in his PluginManager.

Is there some JS inconsistency or whatever secret that I haven't learnt yet?
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
40,782
Reaction score
14,014
First Language
English
Primarily Uses
RMMV
When you updated to the newest plugin and saved it in your plugins folder, did you go to the Plugin Manager, right click on it, and choose Refresh? And are your plugins in the correct order? MK_RandomGenerate_Dungeon should be higher.
 

Aerosys

Veteran
Veteran
Joined
Apr 23, 2019
Messages
455
Reaction score
435
First Language
german
Primarily Uses
RMMZ
When you updated to the newest plugin and saved it in your plugins folder, did you go to the Plugin Manager, right click on it, and choose Refresh? And are your plugins in the correct order? MK_RandomGenerate_Dungeon should be higher.
Ok, so I'm just the Developer, not the Person having troubles with it. AFAIK he tried to remove and re-add the Plugins in correct order.
@Jerichi Can you please try what Shaz told and try again?
 

Latest Threads

Latest Posts

Latest Profile Posts

Since I started in this world of make games, It's hard for me to enjoy playing a game. It's like, coding and make it work, sounds like I'm playing and have fun o_O
Not sure if it's true (and I won't judge or blame anyone if it is, really), but I heard from confident sources that you guys (and girls) really really like to
How is this new year for everyone? Hope you are well. Still deep in Covid in the US. Its like a vampire and refuses to die with even more strains. I need some holy water to kill it with.
in my game, what's known as HeadSpace is combining with the real world...
oh looks like the forums updated while I wasn't looking and we can put a banner now. Neat!

Forum statistics

Threads
107,670
Messages
1,031,298
Members
139,789
Latest member
TransDiv
Top