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

Aerosys

Veteran
Veteran
Joined
Apr 23, 2019
Messages
378
Reaction score
351
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

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
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
378
Reaction score
351
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?
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

People3_5 and People3_8 added!

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.

Forum statistics

Threads
105,868
Messages
1,017,085
Members
137,585
Latest member
Reversinator
Top