MV Chrono Engine displaying wrong skill name?

Hey everyone. I'm having a very odd issue regarding Chrono Engine, that I have no idea why it's happening.

  • Basically my skills are have the wrong name being displayed. Here's an example:
I am going to use the Electrica I skill:
1755530904942.png


It's showing a skill name that is completely different:

1755530942729.png


I thought I might have gotten the tool ID and skill ID's mixed up, but no, they're correct:

Spoiler
1755531080170.png
1755531166303.png

Could this be a bug?

Thank you in advance to anyone who replies 👋
What’s the note tag for skill is 47?
What’s the note tag for skill is 47?
Hey, sorry for the wait:

1755544244762.png

1755544265619.png


Everything seems to be in order. So I don't get why this is happening. I even checked the map001 json file to see if maybe map ID's had changed, but nope, everything is in order there too 😢
The only thing that's jumping out at me is that they both are using the same common event Electrica.
The only thing that's jumping out at me is that they both are using the same common event Electrica.
Weird right?

The common event is just a simple condition to add 1 to the Skill Proficiency Level Variable related to Electric type skills:
1755545629977.png
I had this issue before after I had deleted some "events" from the tool map of skills I wasn't using. It caused the event numbers to have some gaps. For example events# 1, 2, 8, 12... etc. Best guess is that the map json still has data for events # 3, 4, 9 etc... my solution was just to make sure the tool "events" numbers didn't have any gaps. Example: 1, 2, 3, 4 etc...

Good luck, hope this helps!
I had this issue before after I had deleted some "events" from the tool map of skills I wasn't using. It caused the event numbers to have some gaps. For example events# 1, 2, 8, 12... etc. Best guess is that the map json still has data for events # 3, 4, 9 etc... my solution was just to make sure the tool "events" numbers didn't have any gaps. Example: 1, 2, 3, 4 etc...

Good luck, hope this helps!
Omg, I did in fact, delete a single event I made. I will remake those tools and come back with an update tomorrow. Thank you for the advice Slaughty 👋
Hey everyone, sorry for the wait, but my problem is now fixed! I didn't need to remake all the events, I just added a new, empty event to the tool map, and it automatically took the missing ID's place, like @Slaughty said. Now the skill names display properly! 👋

1755975988505.png

1755976080896.png


Funnily enough, fixing this event ID bug, it also fixed another problem I was having reagarding element rates not working. Who would have thought that deleting an event would cause all these messes. 😢
As a side note, Chrono Engine uses a lot of forEach() and for loops throughout which iterates through the entire array or specified range - sometimes without conditions inside the loop (forEach() is a lot harder to skip/break the iteration since it will go through every item inside the array, which means you hope your condition is enough to skip it during the process).

This also means if there is even a slight gap in that array/range without any code to conditionally continue (skip) or break the loop, there is a possibility for an error that is not always easy to debug since a lot of the code is also inside event commands, the database, as well as the plugin (nulls, info that was there but was moved/deleted/etc.).

Even with all these years on Chrono Engine, I still have to read through a lot of code before I can understand what it does - many times I just change it for myself and add my own notes.

Glad you got it fixed!

Original thread: https://forums.rpgmakerweb.com/threads/chrono-engine-displaying-wrong-skill-name.179626/