MZ Tactics Plugin with Visustella Menu Core

Hi everyone,

I'm trying to use this Tactics System Plugin which seems to be compatible with all the free Visustella plugins aside from Main Menu Core, where I get a crash when battle initializes.

This is what the Console displays:
[ISPOILER]
rmmz_managers.js:2036 TypeError: SceneManager[_0x1274e0(...)][_0x1274e0(...)] is not a function
at Window_TacticsMap.Window_MenuCommand.<computed> [as itemHeight] (VisuMZ_1_MainMenuCore.js:1507)
at Window_TacticsMap.Window_Base.fittingHeight (rmmz_windows.js:81)
at Window_TacticsMap.windowTacticsMapRect (TacticsSystem.js:5262)
at Window_TacticsMap.initialize (TacticsSystem.js:5255)
at new Window_TacticsMap (TacticsSystem.js:5248)
at Scene_Battle.createMapWindow (TacticsSystem.js:918)
at Scene_Battle.createAllWindows (TacticsSystem.js:829)
at Scene_Battle.createDisplayObjects (TacticsSystem.js:802)
at Scene_Battle.create (rmmz_scenes.js:3060)
at Function.SceneManager.changeScene (rmmz_managers.js:2090)
[/ISPOILER]


I might be wrong but it seems to be an issue related to how the Tactics plugin reshapes windows when a battle initializes as console forwards me towards these lines of code in said plugin:
Window_TacticsMap.prototype.windowTacticsMapRect = function () { return new Rectangle(0,0, 240, this.fittingHeight(this.numVisibleRows()));

Any chance anyone has had a similar experience and might know how to fix this? I just started learning Javascript. Changing the plugin order doesn't solve the issue.

Thanks in advance for any help :LZSjoy:
Hi there!

I guess it will be better if you put the screenshot of at least the error on the code format here.

But, one of the problems is, that Visustella plugins are obfuscated. Meaning encrypted, so there is no way to know what this means:

JavaScript:
rmmz_managers.js:2036 TypeError: SceneManager[_0x1274e0(...)][_0x1274e0(...)] is not a function
at Window_TacticsMap.Window_MenuCommand.<computed> [as itemHeight] (VisuMZ_1_MainMenuCore.js:1507)

So, if I would go search what the problem is, I would first go into this.

You may be able to find the problem by trial and error, or going into the console and do some ninja/guess work haha, but honestly, I think if no one help you here, your best shot would be send this to Visustella take a look.
Hi there!
Hi Eli,

Thank you for the response, I'll see if I can figure something out with monkey patching.

BTW, I love your plugins - I've used quite a few of them in the past.

Original thread: https://forums.rpgmakerweb.com/threads/tactics-plugin-with-visustella-menu-core.166073/