PersuaderGames

Adventure connoisseur
Member
Joined
May 31, 2017
Messages
17
Reaction score
3
First Language
English
Primarily Uses
RMMV
Hello everyone, I am having issues with the Yanfly Core Engine. Whenever I try to load the game from a specific spot, I get the below error. Strangely this error doesnt happen when I transfer to the map in-game, but only when I load the game from that point.

I also attached a screenshot of my plugins used for reference.

TypeError: Cannot read property 'pages' of undefined
at Game_Event.page (rpg_objects.js:8434)
at Game_Event.list (rpg_objects.js:8438)
at Game_Event.start (rpg_objects.js:8556)
at Game_Event.checkEventTriggerAuto (rpg_objects.js:8701)
at Game_Event.update (rpg_objects.js:8707)
at Game_Map.updateEvents (/C:/Users/marcu/Google%20Drive/Development/Final%20Builds/SuicideDowntown/js/plugins/YEP_CoreEngine.js:1662)
at Game_Map.update (rpg_objects.js:5992)
at Scene_Map.updateMain (rpg_scenes.js:420)
at Scene_Map.updateMainMultiply (rpg_scenes.js:412)
at Scene_Map.update (rpg_scenes.js:401)

Thank you for the help!

upload_2018-11-10_12-37-8.png
 

SimProse

Veteran
Veteran
Joined
Jul 9, 2016
Messages
375
Reaction score
202
First Language
English
Primarily Uses
Have you added a plugin since that save game happened? Sometimes adding new plugins that add parameters to the game can cause older saved games to error out.
 

PersuaderGames

Adventure connoisseur
Member
Joined
May 31, 2017
Messages
17
Reaction score
3
First Language
English
Primarily Uses
RMMV
Have you added a plugin since that save game happened? Sometimes adding new plugins that add parameters to the game can cause older saved games to error out.
Hello SimProse, I haven't added any new plugins after the save happened. I deleted all save files before starting the game and created a new save file.

Could it be that the ordering of plugins has something to do with this?
 

punchybot

Veteran
Veteran
Joined
Oct 17, 2015
Messages
99
Reaction score
216
First Language
English
Primarily Uses
RMMV
I don't have much experience with this topic, but I will try to help.

I would stick the Core Plugin at the tippy top. Any other Yanfly Core plugins should follow below it, with other related plugins under the core plugin it relates to.

Plugins that are related to each other, like for example, the Yanfly Picture Common Events and Bind Pictures to Map plugin, should probably be near each other and may also need to have a different load order. Your order should basically be What Impacts My Game the Most to What Impacts My Game the Least - not always true, but a good starting point when trying to resolve problems.

Also, if Yanfly has a plugin that can do the same thing as one of those other plugins, I would change them out. His plugins are meant to work well with one another, and makes it reliable that it'll work with minimum issue.
 

SimProse

Veteran
Veteran
Joined
Jul 9, 2016
Messages
375
Reaction score
202
First Language
English
Primarily Uses
Hello SimProse, I haven't added any new plugins after the save happened. I deleted all save files before starting the game and created a new save file.

Could it be that the ordering of plugins has something to do with this?

I'd put the Core Engine up top to start with and see if that does something.
 

PersuaderGames

Adventure connoisseur
Member
Joined
May 31, 2017
Messages
17
Reaction score
3
First Language
English
Primarily Uses
RMMV
Thank you guys! I will try changing the plugin order. I will be right back with results.
 

PersuaderGames

Adventure connoisseur
Member
Joined
May 31, 2017
Messages
17
Reaction score
3
First Language
English
Primarily Uses
RMMV
Quick update: I am still having the same issues after re-arranging the order of plugins. I am using script calls to save and load the game, would this have anything to do with the problem?

The script call I use to load is: IAVRA.SINGLESAVE.load()

The call works in other save states, just for this specific one it doesn't.

upload_2018-11-10_13-57-52.png
 

bgillisp

Global Moderators
Global Mod
Joined
Jul 2, 2014
Messages
13,956
Reaction score
14,802
First Language
English
Primarily Uses
RMVXA

I've moved this thread to Plug-In Support. Thank you.

 

Latest Threads

Latest Profile Posts

I found an absolutely brilliant lifehack on the internet today.

Screenshot_760.jpg
It does sometimes get a little embarrassing that I often come here to ask for help with something and seldom have anything to actually show for it. If there is one thing though I can commend myself for, it's for sticking with an idea I've been tinkering with for this long now and gradually making headways. Even though I've been reserved about my progress, I can say I'm farther now than where I initially started.
I'm gonna put my project on pause for a tiny bit so I can explore the engine outside of it... Winging it can only get you so far LMFAO
Have seen some of my favorite people here posting and helping others with questions today -- love to see it!

Forum statistics

Threads
116,134
Messages
1,096,064
Members
151,555
Latest member
Fotdur
Top