So I've been trying to use Victor Engine Cooperative Skills pligin and I keep getting the error mentioned in the title. I have the required plugins installed and I have no idea whats wrong does anyone know how to fix it?
Type Error Cannot Read Property 'Call' of Undefined
Javascript/Plugin SupportI've moved this thread to Plug-In Support. Thank you.
Looks like wrong plugin order. VE has the list of dependencies written in each plugin's help file. Another option could be an incompatibility with your current engine version.
Line 1207 of the VE_CooperationSkills.js Plugin references
However, that method does not appear anywhere else in the file, so there must be another file that defines it somewhere. As Poryg said, it's most likely an issue with dependencies being in the wrong order.
Code:
VictorEngine.CooperationSkills.performActionEndWindowBattleLog
It's not the plugin order. I've tried loading it into a blank project with no other plugins and still get the same error. I've also insalled all the plugins asked for on the download page.
I just took a quick look through every MV Plugin Victor has listed on his website and the function "performActionEndWindowBattleLog" is never defined, although it's called on line 1207 of the Cooperation Skills Plugin. The error you're experiencing is because that function is never defined.
You might want to reach out to Victor and report it as an issue and see what his response is.
You might want to reach out to Victor and report it as an issue and see what his response is.
I made a bug report though he doesn't seem that active from what I can see on his site.
Code:
// VictorEngine.CooperationSkills.performActionEndWindowBattleLog.call(object, member, action);
VictorEngine.CooperationSkills.performActionEnd.call(object, member, action);
Code:
//if (this.objectSelection(index, ['skill'])) {
if (this.objectSelection(index, ['skill', 'item'])) {
Original thread: https://forums.rpgmakerweb.com/threads/type-error-cannot-read-property-call-of-undefined.104535/