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

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

 

Latest Threads

Latest Profile Posts

I'm listening to iiluminaughtii talking about the secrets behind shady businesses and scams. Meanwhile I'm writing a fanfic about Sephiroth from FF7, one specifically for my stepmom. I'll get to give it to her, too, because my boss said I could take the holidays off! Dec. 22-27 I will be in Orlando, and maybe Fort Myers too, visiting my dad and stepmom!
Of course, I bought a handful of games on the Steam Black Friday sale. Will I try them? Will I complete any? Who knows...
I don't really have any neat updates today about how I screwed up programming... But if you want to observe the intensenes of me programming, then you can check out my stream :)
New Weapons.gif
No more spam from me today, I promise! Just wanted to upload this, people have been giving me feedback that my weapon sprites (which were RTP) clashed badly with my battlers for ages, so today I finally took the plunge and updated them! Really happy with how they came out :D :D
So Facebook fraudulently took money from me. They even went through my PayPal accounts to find a card that had the money on it. Thinking about deleting my Facebook account because this doesn't happen on twitter, not even close.

Forum statistics

Threads
117,001
Messages
1,103,714
Members
152,895
Latest member
tmsvan
Top