[SOLVED] Galv's Visual Novel Choices x Krimer's Call Menu x YEP Core Engine incompatibility

mogneto

Gureito Eventer
Member
Joined
Oct 2, 2016
Messages
18
Reaction score
6
First Language
Portuguese
Primarily Uses
RMMV
Hello everyone!
As I posted before, I am working on a Visual Novel project, and I'm using Galv's plugin for the choices and Krimer's plugin so players can call the menu during dialogs.
The only problem is that after I call the menu during a choice (with galv's plugin active), firstly the menu opens, pretty fine, but when I close it, the game stops and give this error:

YEP_CoreEngine.js:1098 TypeError: Cannot read property '0' of undefined
at Window_ChoiceList.drawButton (GALV_VisualNovelChoices.js:168)
at Window_ChoiceList.drawItem (GALV_VisualNovelChoices.js:125)
at Window_ChoiceList.Window_Selectable.drawAllItems (rpg_windows.js:1256)
at Window_ChoiceList.Window_Selectable.refresh (rpg_windows.js:1283)
at Window_ChoiceList.Window_Command.refresh (rpg_windows.js:1438)
at Window_ChoiceList.update (GALV_VisualNovelChoices.js:196)
at rpg_core.js:7035
at Array.forEach (<anonymous>)
at WindowLayer.update (rpg_core.js:7033)
at rpg_scenes.js:262
My js understanding is very low, so I can only detect the origin of the problem, but I don't know how to fix it. Could you guys help me out?
 
Last edited:

hinola

Veteran
Veteran
Joined
Jun 27, 2015
Messages
58
Reaction score
84
First Language
Français
Primarily Uses
RMVXA
Maybe it would be easier to diseable the menu during choices ?

I suppose windows (messages and choices) are disposed when you open the menu
Krimer's plugin probably save the messages window, but not the choices window
And we will need both pluggins to change that.

BUT
If you save the game and quit, I'm not sure it will load the windows
And saving windows in saves, load them and open them on map is an other difficulty.

Except if Krimer already managed that.
So we need both scripts to check
 

mogneto

Gureito Eventer
Member
Joined
Oct 2, 2016
Messages
18
Reaction score
6
First Language
Portuguese
Primarily Uses
RMMV
I have no problem with Krimer's plugin. It works pretty good, and you can save with the choices window open. Also if you load, the choice windows will still be there, so that's fine.

My only problem stands with the galv's plugin showing that error when I close the menu.

I tried to remove yanfly's plugins to see if the error persisted, and it does, so i think it's betweeen Krimer's and Galv's plugins.

Without YEP, the error looks like this:
rpg_managers.js:1949 TypeError: Cannot read property '0' of undefined
at Window_ChoiceList.drawButton (GALV_VisualNovelChoices.js:168)
at Window_ChoiceList.drawItem (GALV_VisualNovelChoices.js:125)
at Window_ChoiceList.Window_Selectable.drawAllItems (rpg_windows.js:1256)
at Window_ChoiceList.Window_Selectable.refresh (rpg_windows.js:1283)
at Window_ChoiceList.Window_Command.refresh (rpg_windows.js:1438)
at Window_ChoiceList.update (GALV_VisualNovelChoices.js:196)
at rpg_core.js:7035
at Array.forEach (<anonymous>)
at WindowLayer.update (rpg_core.js:7033)
at rpg_scenes.js:262
I'm attaching both plugins here. If nothing works, my last option would be remove Galv's one.
 

Attachments

hinola

Veteran
Veteran
Joined
Jun 27, 2015
Messages
58
Reaction score
84
First Language
Français
Primarily Uses
RMVXA
I see there is a Galv_VisualNovelChoices Compatibility line in Krimer pluggin

Does the pluggin order change something ?
 

mogneto

Gureito Eventer
Member
Joined
Oct 2, 2016
Messages
18
Reaction score
6
First Language
Portuguese
Primarily Uses
RMMV
Well, seems like it does.
Maybe I should have checked this first, or rather, I really should.
It's all good now that I put Galv's above Krimer's.

Thanks bro, you solved it, the order was the problem... I really appreciate it.
That was my bad, I always forget to try changing the plugin order.

Well, thanks again, and sorry for the trouble! XD
 

hinola

Veteran
Veteran
Joined
Jun 27, 2015
Messages
58
Reaction score
84
First Language
Français
Primarily Uses
RMVXA
No problem, thanks Krimer for the good move ^^

And by the way, i'm learning to use MV pluggins at the same time, so no trouble or wasted for me, don't worry ^^
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

Do you have an audio you want me to animate? If so send me the youtube link and I’ll animate it.
Okay, so I'm working on Draft 2 of my game's script.
Will try to keep you guys posted, if you're interested!

This is vid of my new game, Crystalgazers. A demo is available on my Gamejolt

I just thought of the best achievement for my game: "'I Didn't Know You Were a Developer!' Find and enter one or more dev room(s)."
I made this animation to apply to a job, what do you think?

Forum statistics

Threads
105,590
Messages
1,014,840
Members
137,254
Latest member
WilliamSlither
Top