MZ Fossilized Chrono ABS

FossilMZ + Chrono Enigine (ABS mode)

Copied everything related to the database, events, and comments from a fresh MV project over to a new MZ project. When enemies attack the player an animation plays and the player loses hp just like in MV. When I press the attack key with an equipped weapon I get this error. Do any smart people possibly know what's happening here??
FossilMZ + Chrono Enigine (ABS mode)

Copied everything related to the database, events, and comments from a fresh MV project over to a new MZ project. When enemies attack the player an animation plays and the player loses hp just like in MV. When I press the attack key with an equipped weapon I get this error. Do any smart people possibly know what's happening here??
Hi FiercestPixel!

I have the same problem, but I now know what the approximate cause is.
It has something to do with the events that are loaded from the spawn map. The crash occurs as soon as the "tool_duration" of the individual events is reached.
The exact error is:


"Cannot read property 'length' of undefined".
(At least this error message is displayed for me.)
My guess is that there is a problem with making the events (like spells or arrows) disappear from the map.

Unfortunately, I have not found a solution for this problem so far.
It also prevents me from completing my project.
Dele
Hi FiercestPixel!

I have the same problem, but I now know what the approximate cause is.
It has something to do with the events that are loaded from the spawn map. The crash occurs as soon as the "tool_duration" of the individual events is reached.
The exact error is:


"Cannot read property 'length' of undefined".
(At least this error message is displayed for me.)
My guess is that there is a problem with making the events (like spells or arrows) disappear from the map.
Unfortunately, I have not found a solution for this problem so far.
It also prevents me from completing my project.
Delete the whole this.spriteAnimation conditional function. thats what I did and it worked
Hi EonRDK, could you elaborate?
Delete the whole this.spriteAnimation conditional function. thats what I did and it worked
I am closing this as it is an old, old, thread, and that error message could be caused by many things, so what works for one person may not work for another.

Those of you having issues, please start your own thread and provide a screenshot of the Console tab so we can see where the error is coming from.

Original thread: https://forums.rpgmakerweb.com/threads/fossilized-chrono-abs.140893/