TypeError Cannot read properly 'width' of undefined [MZ]

Skwis

Villager
Member
Joined
Sep 21, 2020
Messages
18
Reaction score
6
First Language
English
Primarily Uses
RMMZ
This happens anytime I try to battle test.

I'm not using any plugins, which seem to be the problem with everyone else who gets this error. So I'm not sure what my problem could be.Annotation 2020-10-03 063430.png
 
Last edited:

ramza

Lunatic Coder
Veteran
Joined
Jan 28, 2013
Messages
938
Reaction score
585
First Language
English
Primarily Uses
RMMV
Does this happen when you test any troop at all, or only a specific one?

I suspect the error is pointing to a troop which contains an enemy which you removed from the database, so the troop still thinks it should have 1x enemy[123] and you only have 120 enemies in your database, for example.
 

Skwis

Villager
Member
Joined
Sep 21, 2020
Messages
18
Reaction score
6
First Language
English
Primarily Uses
RMMZ
Does this happen when you test any troop at all, or only a specific one?

I suspect the error is pointing to a troop which contains an enemy which you removed from the database, so the troop still thinks it should have 1x enemy[123] and you only have 120 enemies in your database, for example.
Wow yes that was the issue! I did remove the default troops and enemies the program comes with and made my own. I must have accidentally selected a blank enemy.

Thank you for helping out a noob like me!
 

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,262
Messages
1,066,909
Members
145,878
Latest member
UnitedStars111
Top