Sudden problem with MV Project

Hello there!
I have always visited this forum when I had problems with my project, I have always found excellent advice and helpful people.
But today I have a problem that I can't solve in any way. I am willing to share my project to anyone who wants to help me and even give him a reward.
I have a very powerful PC and my project has always worked perfectly until last night. I had some problems with some scripts and had to create the project again from scratch. I copied and pasted the "healthy" files from the old project to the new one. The game works. Events work. Scripts too. But the game isn't as smooth as before. It is not very responsive to commands. I'll start by saying that it's not a question of FPS, because I always have 100.

To make you understand what I'm talking about, I'll give you an example: I calculated a teleportation per millisecond with waiting frames. Until last night the timing was perfect. Today, since the game seems to have "slowed down", the timing is completely off. Everything is late. Everything is slow.
I also notice it when I start a battle: the animations are slower than before, as are the actions and movements. it's as if I had set the game to speed 0.75.

I use RMMV 1.6.1 and mixed scripts from Yanfly.


I apologize if I was unable to explain the problem in detail. I am willing to share the project with anyone who can solve this problem.
Thank you all.
Maybe just record a video, showing what you're talking about. I also think having problems with scripts never warrant a complete redo of the project file, unless you messed up the core scripts or something.

Not sure how many people around here are comfortable downloading some random project.
I had some problems with some scripts and had to create the project again from scratch.
This sounds weird. Why would "problems with scripts" make you start your project over? Do you have the original project and you can just get help fixing whatever the problems are?

the game isn't as smooth as before.
My first thought is poorly-written parallel events lagging your game. But that wouldn't affect things in combat, unless you have plugins installed that allow parallel processes to continue running at that time.

What basic troubleshooting have you done? Does it work correctly if you turn off all your plugins and playtest? If yes, when you're turning them back on one at a time, which plugin causes it to start running slowly?
Maybe just record a video, showing what you're talking about. I also think having problems with scripts never warrant a complete redo of the project file, unless you messed up the core scripts or something.

Not sure how many people around here are comfortable downloading some random project.
First of all thank you for the reply. I'm trying to give you a proof-video but the server can't handle the size of the mp4. Even compressing i am not able to reach the size limit. There are no problems if someone is uncomfortable downloading random projects. Mine is just a desperate last try.
Here's a half-wrong/half-good advice. Have you tried restarting your pc? My project sometimes suffers those slowdowns but a simple restart solves it.
This sounds weird. Why would "problems with scripts" make you start your project over? Do you have the original project and you can just get help fixing whatever the problems are?


My first thought is poorly-written parallel events lagging your game. But that wouldn't affect things in combat, unless you have plugins installed that allow parallel processes to continue running at that time.

What basic troubleshooting have you done? Does it work correctly if you turn off all your plugins and playtest? If yes, when you're turning them back on one at a time, which plugin causes it to start running slowly?

I will give you more details. Last night i tried to set a movement animation for a certain spell during a fight. When the enemy was using that spell, the game crashed. Then i had the poorly smart idea of asking to ChatGPT what could be the problem. He said i should change one line of the rpgcore.js and then, stupidly, i did. Then all gone wrong and i had to create a new project pasting the new healty files from the old one. As i am a noob about programming and scripting, i just realized i pulled the strings too much.

Here's a half-wrong/half-good advice. Have you tried restarting your pc? My project sometimes suffers those slowdowns but a simple restart solves it.
Thank you for the reply. Yes, i restarted the PC last night and nothing happened. Then this morning i turned on newly the pc but still nothing.
Then i had the poorly smart idea of asking to ChatGPT what could be the problem.
Never a good idea to ask AI to do something if you don't know enough to see whether it's correct.

Then all gone wrong and i had to create a new project pasting the new healty files from the old one.
No, you didn't. All you had to do was paste the original rpg_core.js from your NewData folder in your MV install directory into your project folder. That's why I asked you if you still have that project that was working.

You're doing these huge things that mess drastically with your project and not asking knowledgeable people for help before you do them.

It's much harder for any of us to try to help you fix these dramatic things you've done than it would've been for us to help you with whatever the original problem was in your first project that was mostly working.
Never a good idea to ask AI to do something if you don't know enough to see whether it's correct.
Surely it was not. I did a mistake and i will face the consequences of it.
No, you didn't. All you had to do was paste the original rpg_core.js from your NewData folder in your MV install directory into your project folder. That's why I asked you if you still have that project that was working.
Isn't the same thing copying all the files except the js in another project? The plugins js were included in the new copy clearly.
As far as sharing a video, I just post my random stuff as an unlisted on YouTube.
Isn't the same thing copying all the files except the js in another project?
I mean...clearly not? You're saying this project is functioning differently than your old project did. So, obviously, something is different.

You haven't answered twice, so I presume the answer is no, you do not have the original project, you deleted it.
As far as sharing a video, I just post my random stuff as an unlisted on YouTube.
I will try instead to do a custom image to explain as better as i can.

I mean...clearly not? You're saying this project is functioning differently than your old project did. So, obviously, something is different.

You haven't answered twice, so I presume the answer is no, you do not have the original project, you deleted it.
For a noob like me, nothing is "Clearly" as you could think. I didn't get your question so, yes, i did deleted the original project. During panic, people make mistakes. I will post shortly a custom image to explain as better as i can.

I tried my best to explain what is going on. I gently thanks whoever dedicated his time to me.
Have you tried Turan's solution? Copy the file rpg_core from your "new project" to the old one. It should fix it.
Otherwise, might your calculations be wrong? I mean, if i remember correctly, 1 second = 60 frames, so 11 seconds would mean 660 frames.
Have you tried Turan's solution? Copy the file rpg_core from your "new project" to the old one. It should fix it.
Otherwise, might your calculations be wrong? I mean, if i remember correctly, 1 second = 60 frames, so 11 seconds would mean 660 frames.
Thanks for the time you are dedicating me. I can't try Turan's solution since unfortunately i deleted the old project. Instead, i am trying to correct my event's timing from 0. You are right about the 1/60 frame issue. However, in the old project, this timing worked perfectly. Despite this, I will manually fix all "wait" events with the new mechanisms. I will learn from my mistake, I will never touch things that are bigger than me again! 🙂
It's not wrong to experiment, so long as you keep a backup of the things you've touched. Don't worry!
Everything has a solution, don't despair.
PS: Go to Steam, Right click on the Maker > Manage > Local files, then in the opened folder, go to New Data > js, and voilá, all the files with rpg_ at the start are your core files, if you do modifiy them in your project, simply copy and replace to get your modifications back to zero!
Yep, this is why It's always a good idea to back things up before committing to any drastic changes. You just never know what will happen.

It's also a good idea to come here and ask about problems. Most folks here are pretty helpful and will try to get you back on track. So next time, come here for solutions.
@Erif My understanding from the previous posts is this is no longer relevant.

copying all the files except the js in another project?
That means the new project has the default core scripts already.
@ATT_Turan Never hurts to leave a message that might help anyone else.
@RoncoMonco I have merged your triple post and sent a notification earlier about the other double post I merged. Please avoid double posting, as it is against the forum rules. You can use the "Edit" function on your posts to add additional information you've forgotten or respond to multiple people. You can review our forum rules here. Thank you.
@Erif I was referring to post #12 where you suggested it "should fix it." I was saying that's no longer relevant.

Obviously, knowing where the default files are on your computer is germane to everyone.
@RoncoMonco Ho unito il tuo triplo post e ho inviato una notifica in precedenza sull'altro doppio post che ho unito. Si prega di evitare doppi post perché sono contrari alle regole del forum. Puoi utilizzare la funzione "Modifica" nei tuoi post per aggiungere ulteriori informazioni che hai dimenticato o rispondere a più persone. Puoi consultare le regole del nostro forum qui . Grazie.
I apologize.

Original thread: https://forums.rpgmakerweb.com/threads/sudden-problem-with-mv-project.163368/