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,483
Reaction score
8,136
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 Profile Posts

Daz3D has the weirdest number scheme for model generations...
Genesis 4 is the 4th generation and oldest currently available, Genesis 1 is the 5th generation, Genesis 2 is the 6th, 3 is the 7th.... And then it goes Genesis 8. So 4, 1, 2, 3, 8. So when looking through there store you have to remember that sometimes they'll say 6 but they mean 3, and vice versa. :kaoswt:
Would opening a topic with the tutorial be interesting?
Just finished my first Slip into Ruby since last July! It'll be up and added to the main post tomorrow, along with a new Jump into Javascript.
to pass the time.pngTesting out making boxes and packs of items. These things are always fun to do.

Forum statistics

Threads
111,104
Messages
1,058,305
Members
144,310
Latest member
Comix
Top