geonigma

Warper
Member
Joined
Jan 16, 2017
Messages
1
Reaction score
0
First Language
English
Primarily Uses
Is it okay if I changed it to be backwards by comment? I made it work only for events with comment "AutoPush" instead of "Immune_AutoPush" since I have way more immune events. I kept it so that it would check the first comment too just for performance.


Also, is anyone else getting random errors like "cannot read property 'list' from undefined"? I've seen the same event work, then throw the error. I think it's an rpg maker bug and not the plugin because I've tried checking the following and it still breaks:
 


if(this == 'undefined')


if(this.page() == 'undefined')


if(this.list() == 'undefined')


I notice now that the error is thrown inside rpg maker framework code so I'm not sure how to get around it.
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
32,810
Reaction score
8,224
First Language
German
Primarily Uses
RMMV
@geonigma


I'ts neither in the plugin nor in the maker


That class of errors are developer errors caused by something you have done in your game.


Most probable cause: you added a plugin and them loaded a saved gamefile - in 80% of all cases, adding a plugin makes a savefile incompatible, and you need to start a new game after that.


Alternative causes: two incompatible plugins or a plugin that has not been configured correctly.


And you can't check for undefined like you did above, because there you are checking for a textline that is defined to contain the letters 'undefined', but the errors are talking about program objects that are undefined (because they are usually only defined by new game)
 

HintonR

Veteran
Veteran
Joined
Mar 2, 2016
Messages
197
Reaction score
26
First Language
English
Primarily Uses
RMMV
Hey there. I was recently experiencing the same error that geonigma was encountering.
The work around I did was pretty simple. I was getting the "list" error on events that didn't have a "non-conditional" eventpage. As in I had events (above or below character) that had event pages only processed when switches/self-switches or vars were met. So I think the issue becomes that while those conditions are not met, RMMV considers those event "list" undefined -- since said events wouldn't necessarily exist until said conditions are met. So a quick test led me to creating a "blank" page with no conditions -- and low and behold, that fixed my errors.
 

Latest Threads

Latest Posts

Latest Profile Posts

Hike was successful guys! I made it to the top!
Add Film-like Visual Effects During Test-Play, Deploy Games with Electron | RPG Maker News #69

brain broken as soon as i figure out whats wrong with my game im taking a long nap
Hey guys anyone is interested in playing my game? Just PM me and I'll give you a Steam key! Here's my latest video! ->
cst.PNG
What would you assume this thing was/is?

Forum statistics

Threads
112,183
Messages
1,066,421
Members
145,777
Latest member
rag1993
Top