ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
5,967
Reaction score
2,337
First Language
Dutch
Primarily Uses
RMMV
the game variable = refreshed and readed correctly, the requestRefresh
is needed for the event with your event pages (which I use 3 colors and
3 different solutions for test purpose and works.

the error comes when I activated my SchadowDragon_DR (in spoiler).
same is true for TRI (not yet public, maybe I will), but also if installed
Olivia_MetaControls if below or above.

it keep throwing that error on a .call function, which have json.parse
code in it.

as it didn't target your BoMV plugin directly or errors, there is something
in the helpfile of the PluginBase with a different structure, which I dont
understand.

you can test it with my DR plugin or Olivia's MetaControl and the error
pops up when you use it.

if the JSON.parse needs to be changed somehow or the same name
or a check to make this work, let me know.
 

BurningOrca

Veteran
Veteran
Joined
Apr 14, 2019
Messages
286
Reaction score
261
First Language
German
Primarily Uses
RMMZ
1654748387417.png
I get a JSON.parse error, but only on the console log and not as an error where I cannot continue to play. I also get that when only your plugin is active, but also only when I keep your plugin parameter empty. If I set it to an empty array [] it don't get it anymore.
I don't know if my plugins might cause any other issue with your plugin or Olivia's plugin.

I also found a bug in my BattleAtmosphere plugin, that made the background feature only work when YEP_CoreEngine was installed, which was clearly not my intension! It should also work without the Yanfly plugin. I've replaced the MV-ZIP file yet again!
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
5,967
Reaction score
2,337
First Language
Dutch
Primarily Uses
RMMV
it give an error when your pluginBase plugin is on, and no other plugins.
which I have set to OFF, as your plugin Base re-coded json parse to
a recursive way?

I hope I can get around it, so I can get the plugins to work together :)
I use YEP_EngineCore anyway for the the resolution.

but keep up the good work with the plugins =)
the ones I use or going to use are really helpful :)

EDIT:
this is the error that shows up (when your plugin is on top or below my plugins.
error.png

which is doesn't target your plugin directly, but when your plugin is off (PluginBase),
the error is gone, so I dont know why or how to solve this error.

Which I believe is on this function you added?
1. A recursive Json-Parser, for e.g. parsing all plugin parameter at ones. (once)

but if this cause the error, how can I make my way to avoid that error?
 
Last edited:

BurningOrca

Veteran
Veteran
Joined
Apr 14, 2019
Messages
286
Reaction score
261
First Language
German
Primarily Uses
RMMZ
I didn't overwrite JSON.parse, I added new method JsonEx.parseRecursive.
If I set breakpoints into every function of my base plugin they are not called, so my base plugin must for some reason be messing with your plugin beforehand and I don't know where.
In order to solve this mystery I would really really need an unobfuscated version of your plugin. Would you please give me one, I won't take any code from it, I swear!

Or maybe you can figure that out somehow yourself with your unobfuscated version. Does the string which needs to be parsed look different with and without my base plugin?

Edit:
Ok first I'll try to comment every single function in my base plugin and figure out the culprit and thus maybe not need an unobfuscated version anymore.

Edit:
It seems if I add any new method to Array.prototype the error happens, but of course I still don't know why:
Array.prototype.randomIndex
Array.prototype.randomElement
Array.prototype.toMap
are the culprits in my plugin, // although this might be superflues as I didn't understand how to do what I wanted using the existing function Array.prototype.map when I wrote this function.

Properties just as Object.defineProperty(Array.prototype, "last", { don't cause the problem.

I just tried out Array.prototype.a = function(){} with the rest commented out and it caused the error.

Maybe this can help you find out why it happens or somebody with more in depth Javascript knowlegde might help!
 
Last edited:

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
5,967
Reaction score
2,337
First Language
Dutch
Primarily Uses
RMMV
it's call mostly back to a json.parse, or initilize call function,
or game createObjects function in the .call.

I dont mind sending you one unobfuscated version if you need it.
but I dont know why it throws that error though, feel free to DM me if
you need the plugins.

Olivia_MetaControls throw that error too, but if something is blocking
it, I love to know why and where.

as I cant understand why it target the call functions.
a list of the functions that target the error is somethign I can send too,
but it is a mystery for me.
 

BurningOrca

Veteran
Veteran
Joined
Apr 14, 2019
Messages
286
Reaction score
261
First Language
German
Primarily Uses
RMMZ
Had to replace my base plugin and all plugins basing on it. It was causing problems, because it added extensions to Array.prototype which is highly discouraged to do and thus caused compatibility issues with other creators plugins. Replaced those Array extension by global functions taking an array, which is said, because the extensions where really nice to use for myself.
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
5,967
Reaction score
2,337
First Language
Dutch
Primarily Uses
RMMV
@BurningOrca I redownloaded and retested. and it seems to work now :)
thank you for the nice fix ^^
 

BurningOrca

Veteran
Veteran
Joined
Apr 14, 2019
Messages
286
Reaction score
261
First Language
German
Primarily Uses
RMMZ
Removed direct downloads and added just a Google Drives Link to the original thread.
I didn't like to replace them everytime I have an update especially the base plugin in every single thread I've posted it.
Some MZ plugins have been updated, because they still did contain code only working in MV, but had to be different in MZ and I only discovered that today.
 

BurningOrca

Veteran
Veteran
Joined
Apr 14, 2019
Messages
286
Reaction score
261
First Language
German
Primarily Uses
RMMZ
v1.2 of GamePlaySetting released:
MaxBattleMembers can now be changed mid game via new plugin command SetMaxBattleMembers if plugin parameter "Maximum Battle Members" is set unequal 0.
 

Latest Threads

Latest Posts

Latest Profile Posts

I don’t believe in astrology. I’m a Sagittarius and we’re skeptical.
senary_concept_art.png
The concept art for the sprite of Senary, a major character in my upcoming (as-of-yet-unnamed) project. She is known as the Timelord because she can "stop time" by making eye contact with a person; Paralyzing them for a short period of time through a type of hypnosis. Tell me what you think about her. I'm thinking of changing the color of her coat.

Forum statistics

Threads
124,368
Messages
1,163,107
Members
163,164
Latest member
mfexplorer
Top