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,834
Reaction score
8,232
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

It's almost 3 month and this piece of drawing is still not finished yet.
aaaa.jpg

Really busy with other stuffs like commission and coping with personal problem.
Stella & Elyune, maybe used for promotional art if my game project finished one day.
My ex put my heart upon a self he said don't give me no lines and keep my hands to myself :,(
An Old... old Harold | RPG Maker News #71

Did a test on myself and I was negative on COVID. I was sitting near my aunt the whole time while doing stuff.

Forum statistics

Threads
112,248
Messages
1,066,814
Members
145,854
Latest member
markikilouis231
Top