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,968
Reaction score
14,820
First Language
English
Primarily Uses
RMVXA

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

 

Latest Threads

Latest Profile Posts

People need to stop submitting their game to every single game jam without even reading the jam rules (╯°□°)╯︵ ┻━┻
Mom tested positive for COVID thanks to a single stupid coworker of hers not taking sh*t serious.
I'll prolly won't be on here for a while as we deal with this.
So before I inevitably start a new project to reorganize myself (I will make sure to save important info dw), I will make an external list of what I want in the final database.
Although a lot of things are still not finished, I can't delay the early access date.
It's her birthday. :kaojoy:
Have you ever been truly comfortable? This weekend I experienced it for the first time in my 33 years on this planet. Try to get comfy, friends.

Forum statistics

Threads
117,194
Messages
1,105,375
Members
153,330
Latest member
minakida
Top