Sudden Lag Spike?

ectorkid

Villager
Member
Joined
Jul 3, 2018
Messages
6
Reaction score
0
First Language
English
Primarily Uses
RMMV
Hi all, I would appreciate if someone can shed some light on what's going on in my game that's causing a huge lag spike.
First of all, my game usually runs smoothly and completely fine without issue. For some reason, this event causes the game to dip all the way down to 7 fps, to the point where you cannot interact with other events on the map. I do not recall this happening while play-testing at all, it certainly didn't happen in older builds of the game. I also do not use "parallel eventing", as I haven't even touched it.

It occurs towards at the end of a cutscene, the cutscene does involve multiple switches so characters move and disappear properly, however those switches have always been there since the beginning and this lag hasn't happened until recently so I don't suspect the switches to be the case.

The lag happens right where the yellow arrow is pointed, and I have absolutely no idea why. I looked around the entire map for any event that might be off, but everything seems to be normal and exactly the same as I left it.

I looked at the F8 debug window and the in-game debug screen and nothing looked off at all. No errors no nothing. I would give more details but the truth is I just don't know what the heck to do. I also tried "preloader" plugins, none worked.
If someone could even hint at what could be the source of the problem I'd appreciate it very much.
 

Wavelength

MSD Strong
Global Mod
Joined
Jul 22, 2014
Messages
5,624
Reaction score
5,104
First Language
English
Primarily Uses
RMVXA
I don't see any obvious reasons that your game should be lagging from this event.

The only thing that comes to mind for me would be to try removing the "Wait" escape codes (\. \| etc.)from all messages in this event - not just the one message where the lag occurs - save, exit the program (optionally restart your computer), restart, test play, and see whether it helps. If so, there's probably a conflict of some sort between one of your plugins, and the normal wait-during-messages functionality in MV.
 

gstv87

Veteran
Veteran
Joined
Oct 20, 2015
Messages
2,248
Reaction score
1,250
First Language
Spanish
Primarily Uses
RMVXA
I don't know if the case applies to MV's interpreter, but Ace's interpreter always reads one instruction ahead of the current one.
maybe that double \. is being processed twice, where "\." is "update while holding"..... so, double update of everything?
 

ectorkid

Villager
Member
Joined
Jul 3, 2018
Messages
6
Reaction score
0
First Language
English
Primarily Uses
RMMV
I don't see any obvious reasons that your game should be lagging from this event.

The only thing that comes to mind for me would be to try removing the "Wait" escape codes (\. \| etc.)from all messages in this event - not just the one message where the lag occurs - save, exit the program (optionally restart your computer), restart, test play, and see whether it helps. If so, there's probably a conflict of some sort between one of your plugins, and the normal wait-during-messages functionality in MV.
I tried this, even though the "\." are everywhere throughout the game. It did not do anything. Also, the game seems to lag after the specified event now..
 

Aesica

undefined
Veteran
Joined
May 12, 2018
Messages
1,523
Reaction score
1,415
First Language
English
Primarily Uses
RMMV
I see the end of the event turns on a self switch. What's page 2 (assuming that's what's used by self switch A) look like?
 

ectorkid

Villager
Member
Joined
Jul 3, 2018
Messages
6
Reaction score
0
First Language
English
Primarily Uses
RMMV
I see the end of the event turns on a self switch. What's page 2 (assuming that's what's used by self switch A) look like?

It looks like this, anything wrong?
 

Aesica

undefined
Veteran
Joined
May 12, 2018
Messages
1,523
Reaction score
1,415
First Language
English
Primarily Uses
RMMV
Nope, looks fine. At this point then, the only thing I can think of is some sort of plugin conflict. Sorry! :(
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,977
Members
137,563
Latest member
cexojow
Top