MV Error when setting up the combat system in choro engine

I'm using the MOG_Choro Engine plugin and when I set my monster to use a magic at event id 22 in the tool map and when I start the game it has the error as shown in the picture and I don't know how to fix it ,please help me.
3.png
4.png
1.png
2.png
please show screenshots of your plugin manager and plugin configuration
does that error happens on new game, on loading savefile, or both?
It's both wrong, I'm new and don't know about programming.
please show screenshots of your plugin manager and plugin configuration
does that error happens on new game, on loading savefile, or both?
5.png
6.png
I have moved this thread from Product Discussion and Support and JavaScript/Plugin Support.
I'm new and don't know about programming.
you don't have to know about programming, but you need to know about configuring plugins - that's what the help sections of the plugins are for.

First, I suggest in the future you use alt-prtscrn instead of simple prtscrn for screenshots. That limits the screenshot to the current window and makes it morereadable.

Second, whenever you add a plugin you need to configure it - the more complex a plugin is the more unlikely the defaults will work automatically.
That means you need to doubleclick the plugin to open the configuration window, then read through the help descriptions to learn what the values in the window each do, and set them to the values that are correct for your game.

All "of undefined" and "of NULL" errors mean that the engine was given references to objects that do not exist, and that is a common error for plugins that contain the wrong values for configuration.
Example: if a plugin refers to an actor number 5 and your project only has four actors, then that reference to actor #5 will return "undefined". So you would have to go into the plugin configuration and tell the plugin that you have only four actors, not five.
Is the mushroom tool event on the tool map ID defined in the Chrono Engine plugin parameters (default map 1)? The engine can't locate the tool event.
I passed on map id 16 because i added choro later
1696554072725.png
1696554093351.png

Is the mushroom tool event on the tool map ID defined in the Chrono Engine plugin parameters (default map 1)? The engine can't locate the tool event.
you don't have to know about programming, but you need to know about configuring plugins - that's what the help sections of the plugins are for.

First, I suggest in the future you use alt-prtscrn instead of simple prtscrn for screenshots. That limits the screenshot to the current window and makes it morereadable.

Second, whenever you add a plugin you need to configure it - the more complex a plugin is the more unlikely the defaults will work automatically.
That means you need to doubleclick the plugin to open the configuration window, then read through the help descriptions to learn what the values in the window each do, and set them to the values that are correct for your game.

All "of undefined" and "of NULL" errors mean that the engine was given references to objects that do not exist, and that is a common error for plugins that contain the wrong values for configuration.
Example: if a plugin refers to an actor number 5 and your project only has four actors, then that reference to actor #5 will return "undefined". So you would have to go into the plugin configuration and tell the plugin that you have only four actors, not five.

I tried again and again and found the "NULL" error occurred when I killed a boss and went to another map and then came back and the boss was dead but the error occurred again.
I tried again and again and found the "NULL" error occurred when I killed a boss and went to another map and then came back and the boss was dead but the error occurred again.
Is the boss event still there when you return to the map? Does this error occur if the boss never attacks?
Is the boss event still there when you return to the map? Does this error occur if the boss never attacks?
Tôi đã tạo một sự kiện trùm và giết nó, khi tôi đi đến bản đồ khác và quay lại thì sự kiện trùm đã biến mất và xuất hiện lỗi. Mình đang tìm và sắp xếp các plugin, mình sợ là lỗi do xung đột plugin mà mình không biết.
Boss events still attack normally.
I created a boss event and killed it, when I went to another map and came back the boss event was gone and an error appeared. I'm looking for and arranging plugins, I'm afraid it's an error due to conflicting plugins and I don't know that.
How do you have the boss's dead switch set up in their enemy database page? If you don't set a switch the boss will reappear if you kill it and return to the map. It sounds like something is going wrong there.
How do you have the boss's dead switch set up in their enemy database page? If you don't set a switch the boss will reappear if you kill it and return to the map. It sounds like something is going wrong there.
I've reached a position close to the map change area and realized the boss still reappears, I'm thinking to finish the boss once and for all.
The boss will keep reappearing unless you set a switch, or a self switch, on its death. It is the same as any other enemy. ChronoEngine just uses the Erase Event function when you kill an enemy.
The boss will keep reappearing unless you set a switch, or a self switch, on its death. It is the same as any other enemy. ChronoEngine just uses the Erase Event function when you kill an enemy.
I tried but it seems that choro engine's boss system only allows us to meet the boss once and the boss will have an error when we return to the boss map again. I think I have to create 2 identical maps and when I kill the boss, will send the character to the second map.

I still haven't figured out how to kill or prevent the boss from returning, I don't understand the code and how to return for normal bosses or monsters, everything will appear when I leave another map and return again.
I still haven't figured out how to kill or prevent the boss from returning, I don't understand the code and how to return for normal bosses or monsters, everything will appear when I leave another map and return again.
This is default RPG Maker behavior that happens even without ChronoEngine. If you put in an event command to Erase Event, the event will disappear but if you leave the map and come back, it will be back. It's regenerating map clutter, and works just like the pots and bushes from Zelda games where you can destroy them but they'll be back when you leave and reenter the room.

If you want an event to stay gone (or invisible, it's still on the map but you can't see it), you need to create a new blank event page with self switch A checked, then put the command to turn self switch A: ON on the previous event page.

Otherwise you use an event spawner plugin to spawn and unspawn events.
Sếp sẽ tiếp tục xuất hiện trở lại trừ khi bạn đặt công tắc hoặc tự chuyển đổi khi nó chết. Nó cũng giống như bất kỳ kẻ thù nào khác. ChronoEngine chỉ sử dụng chức năng Xóa sự kiện khi bạn tiêu diệt kẻ thù.

1696565140230.png

I added an event page to the boss and deleted it all and the error seems to have gone away, it was simple but I didn't know that, thank you very much

Original thread: https://forums.rpgmakerweb.com/threads/error-when-setting-up-the-combat-system-in-choro-engine.161758/