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,841
Reaction score
8,235
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

Finally working actively on Tundra! I'd like to share my wife's WIP art for the starting map and a rough draft of one of the later characters, Katrina. She's very eager to hear any feedback you might have!1623790662347.png
Got my first vax today, arm is a bit numb, but nothing odd so far. :kaopride:
dYOm9IY.jpg
image_2021-06-15_212613.png
Looks a bit.....kid friendly. Then again, I suppose that does with with a lot of retro themes... Crap, already spotted a flaw xD
What a stupid week so far! I was really short on sleep yesterday thanks to my back hurting and not falling asleep fast enough, now today I am 2 hours late for work because my damn alarm clock changed from the alarm setting, to the radio setting which I always keep muted.
I introduced "booby trap" as another indirect way to fight supernatural threats in the game.
But, some of my players are using it to blow up random citizens on the street.
Not sure how "creative" they can go with it. :kaojoy:

Forum statistics

Threads
112,265
Messages
1,066,933
Members
145,882
Latest member
Vincentus
Top