Yes it worked... (see if I can get it right the third time round)
I must be losing my mind.
I made alterations to the wrong version before pasting it the first time, only to paste the correct version in without making the alterations, and assuming it simply didn't work... Then after updating my original post, I realized my second mistake, made the alterations, and now... v1.5 works.
Verified. It IS the description causing the issue.
Thanks... I am so sorry for the mixed signals.
Just to give some detail as to whats happening.
The Object too deep error is related to Json
JsonEx._encode = function(value, depth) { depth = depth || 0; if (++depth >= this.maxDepth) { throw new Error('Object too deep'); //<------ HERE } var type = Object.prototype.toString.call(value); if (type === '[object Object]' || type === '[object Array]') { var constructorName = this._getConstructorName(value); if (constructorName !== 'Object' && constructorName !== 'Array') { value['@'] = constructorName; } for (var key in value) { if (value.hasOwnProperty(key)) { value[key] = this._encode(value[key], depth + 1); } } } depth--; return value;};It happens any time that equipment is changed AFTER fighting a battle using the BOOST in the Battle Speed plugin.
So long as you never use Boost, the error never occurs.
However, if any of the other four plugins are removed (Yanfly's, Ellye's, or the WeaponSkill plugin that comes with MV) the error stops. It only ever seems to occur when those FIVE plugins are being used at the same time.
I can't imagine what's happening that could cause it. I can guess that since the error is Json related, that an object is being incorrectly written and errors when read.
The DEMO of the issue can be found here: *SNIP*
(Its in a OneDrive public folder)
edit:
I've asked Yanfly and Ellye to give this a look as well, with a link back to this post. Hopefully this can be understood and help others to avoid using whatever is conflicting, when writing their plugins.
Is it possible that aliasing the same object (the Javascript way) is causing an object to write incorrectly using Json syntax?
Now that Yanfly has an ATB plugin, I was wondering if it was possible to get compatibility with his as well.
Thanks again for your plugin =)
Wow, thank you so much!
Edit: It doesn't seem to be speeding up for me when holding any buttons... Hmm..
when I rechecked the download, I noticed that it's autosaving v2.0 as SSEP_BattleSpeedUp.js instead of SSEP_BattleSpeedUp_v2.js, and the script lists the parameters as SSEP_BattleSpeedUp_v2.js, yet neither filename will seem to let me even boost.
I have tried every single button on my keyboard..