Winshifter

Veteran
Veteran
Joined
Feb 24, 2017
Messages
71
Reaction score
53
First Language
Spanish
Primarily Uses
RMMV
@Sword_of_Dusk I just didn't feel the need to since the changes were minimal. I just tested the newest version now, and it still didn't work. The error message is slightly different, but that's it, lol. XD

Nevertheless, the workaround I am working on is going well, and I probably won't need this at all. Well, I hope. But let's see what Win can come up with. It might be helpful to other people, who knows? =w=
Ok, I still don't have a patch but I found out the reson of the error. It all comes to this part in the code

VisuMZ['CoreEngine'][_0x18ba1f(0x2e6)] = Scene_MenuBase[_0x18ba1f(0x5e5)]['mainAreaHeight'],
Scene_MenuBase[_0x18ba1f(0x5e5)][_0x18ba1f(0x14c)] = function() {
const _0x625dc2 = _0x18ba1f;
let _0x5379cb = 0x0;
return SceneManager[_0x625dc2(0x2df)]() ? _0x5379cb = this[_0x625dc2(0x641)]() : _0x5379cb = VisuMZ[_0x625dc2(0x3ea)][_0x625dc2(0x2e6)]['call'](this),
this[_0x625dc2(0x5a4)]() && this[_0x625dc2(0x5da)]() !== _0x625dc2(0x459) && (_0x5379cb -= Window_ButtonAssist[_0x625dc2(0x5e5)][_0x625dc2(0x5f7)]()),
_0x5379cb;
}
The problem is that this part from that aliased method :
this[_0x625dc2(0x5a4)]()
this is suppoused to be a boolean value but they are treating it as if it were a function...probably because _0x625dc2 is actually a function that reads what 0x5a4 it is, be it a function or a parameter from the plugin and then return the appropiate value or execute the appropiate function. But since this is basically a boolean variable and not a funciton, javascript returns the error message that _0x625dc2 is not a funciton, because it actually returns the value as a boolean but is listed as a function in the function call...(effin javascript)

I do have a kind of a workaround, but I would'n suggest you use it since I don't know what other weird issues might bring with other plugins from Visustella or any other plugin. The fix for now is rather simple, just take out the () from this[_0x625dc2(0x5a4)]() making it look like this[_0x625dc2(0x5a4)], that way those two plugins work.

From what I can see, this is an oversight in Visustella's dev team and they should fix this small issue, simply because I don't know if they have done it that way intentionally or if it is part of the obscure process they run before publishing the plugin in their web page.



UPDATE: Don't expect a patch from Visustella, I asked and they throwed me in the face the tems of use that basically say that they don't make patches to work with plugins outside of Visustella. Basically Visustella is saying that they are transitioning to closed coding, meaning that if you use any Visustella's plugins, you should not use plugins that they don't release or that are not coded using Visustella as a base to test. So, my suggestion is that, if you are using Visustella, then just stick to what Visustella offers or start developing you own plugins. I'll try to make some sort of patch but is still not a guarantee that I might given that I don't have the original code.

@Mr. Detective

UPDATE 2: I have created a patch for your issue, you can either copy it into a new file and add it to your project or just edit the plugin in the method based on the patch, I'll leave that to you. Please test it and let me know if you have further issues. If you copy it into a file, just make sure that this is below ChangeEquipOnBattleMZ


//=============================================================================
// Compatibility patch for ChangeEquipOnBattleMZ to Visustella Core.
// ChangeEquipOnBattleMZ_VS_patch.js
//=============================================================================

/*:
* @target MZ
* @plugindesc [Ver1.0]Compatibility patch for Visustella Core plugin.
* @Author Winshifter.
*
* @orderAfter ChangeEquipOnBattleMZ
*
* @Help This patch does not provide plugin commands or parameters.
* This patch only works between ChangeEquipOnBattleMZ and Visustella
* Core plugin.
*
*/

(() => {
const pluginName = 'ChangeEquipOnBattleMZ_VS_patch';

Scene_Battle.prototype.equipStatusWindowRect = function() {
const wx = 0;
const wy = this.buttonAreaBottom();
const ww = Scene_Equip.prototype.statusWidth.call(this);
const wh = Graphics.boxHeight - wy;
return new Rectangle(wx, wy, ww, wh);
};

})();
 
Last edited:

Latest Threads

Latest Posts

Latest Profile Posts

I feel so dumb I forgot to set parameters and thought the plugin wasn't working
I can come up with all of the magic skills in the world, but I can hardly think of creative physical weapon skills within the JRPG realm. One of those ones....
It's time for episode 19 of our Make a Cliff Map in RPG Maker MZ... I mean, Make a Game in RPG Maker MZ! Today we're working on our cliff map again. Let's see if we can finish it this time!

A side story is almost getting into the next stage. Almost everything in this game has real-life references.
unfinishedbuildingwip1.jpg
Everyday life is full of absurdity. This is just a reflection.

Forum statistics

Threads
111,411
Messages
1,060,918
Members
144,765
Latest member
tinsel2
Top