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

Aerosys

Veteran
Veteran
Joined
Apr 23, 2019
Messages
457
Reaction score
436
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,838
Reaction score
14,031
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
457
Reaction score
436
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

Are we now stuck with WYSIWYG ? I cannot revert back my posts to good old raw text ?
I'm wondering if I may be putting too many things into one map. A story, within a story, within a story . . . it's fun, but I can't shake the feeling that it may be better to scrap some of it, and use it for another map. I'm not sure what to do.

And the beginning of a nearly complete grid system dawns.

I want to add a thin pixel border around the entire region. Like across all blue highlights that connect and red attack highlights that connect.
Ami
--- Remake ---

Hero: Hey,look! Some Artist will Remake us to 3D!
M.Knight: Really? Then i hope they make me so Cool & Handsome
Heroine: I hope they make me Cute & Sexy,too
(6 Months Later,The 3D Model Are Revealed With Unexpected Yet Horrible Model)
Hero: (Spit The Water)
M.Knight: What the Hell?!
Heroine: I'm Dissapointed...

Forum statistics

Threads
107,787
Messages
1,032,198
Members
139,939
Latest member
Mineformer
Top