Game Randomly Freezes During Battle

Hey everyone. As the title says, whenever i'm in a battle for a while the game randomly freezes. Here are all the plugins i use in order:

YEP_BattleEngineCore
YEP_X_ActSeqPack1
YEP_ActSeqPack2
YEP_AnimatedSVEnemies
AltWindowFrame
TerraxLighting
AudioStreaming
stvorbis_stream
stvorbis_stream_asm
YEP_ShopMenuCore

Yeah, I know. I'm very sloppy when it comes to organizing my plugins.

I've moved this thread to Plug-In Support. Thank you.



check to make sure Yanfly's plug-ins are in the required order, that is not optional. They must go in the order listed on the website. You may also need to more around other plug-ins too to make it work.
Okay just tested it, it freezes on the overworld too.
Moved to: Plug-In Support

check to make sure Yanfly's plug-ins are in the required order, that is not optional. They must go in the order listed on the website. You may also need to more around other plug-ins too to make it work.

plugins.PNG

is this better?
if its freeze the game, in hte overworld map, check you events if no autorun is running
or add a selfswitch to it.

another possibility is your skill notetag that is wrong, you might take a screenshot of this
skill if it can cause to freeze. if no notetag is used for lunatic code, than we need more info.
I'm not sure. But it's probably because of the TerraxLighting plugin. Because I have had similar problems with Khas Lightning Engine stuff. Just try to deactivate the plugin and see if the freezes are gone. Unfortunately I can't offer you a solution if it is the case.
if its freeze the game, in hte overworld map, check you events if no autorun is running
or add a selfswitch to it.

another possibility is your skill notetag that is wrong, you might take a screenshot of this
skill if it can cause to freeze. if no notetag is used for lunatic code, than we need more info.

Stupid question: what's a selfswitch and how do i add one?

I'm not sure. But it's probably because of the TerraxLighting plugin. Because I have had similar problems with Khas Lightning Engine stuff. Just try to deactivate the plugin and see if the freezes are gone. Unfortunately I can't offer you a solution if it is the case.

i'll try that

Anyway, i rearranged my plugins to look like this

1587138725775.png

and so far no freezes. i'll let you all know if it freezes again, and i'll try all your suggestions.
selfswitch is a switch that you can activate pages, selfswitches have A, B, C and D.
most of those used are basic for chests that are looted (you can do the inbuilt tutorial)

you have other switches too, with YEP_SelfSwVar you can make unlimited selfswitches
and variables, each stored on its own so you can use multiple stuff for the same purpose.
Okay it just froze again. I'll start with @Narugami 's suggestion and disable terrax lighting and use an alternative way to light my area. I'm not sure what exactly to do with selfswitches, @ShadowDragon but i think you said something about needing to not have any autorun events? correct me if i'm wrong.
if you have an autorun somewhere and there is no erase event or selfswitch A ON (2nd page blank)
you are unable to walk or do anything untill the autorun is over.
if the autorun has messages and done all the stuff, it will be still running and you cant do stuff
making the game freeze.

if the game freeze constantly on the same spot, it must be an autorun event.
terrax lightning should freeze the game in overall, but it can be laggy overtime or used
for multiple events.

Khas UltraLightining is one of the best out there, but if you go to commercial, you must
remove it while it cant go commercially while you cant buy a license from him.
and the nice feature of him is the shadow part.

another lightning plugin is from Ocram Light Plugin which can do a nicer job and also
a bit more dynamic. it doesn't have the shadow light in khas ultra lightning.
Thank you, i'll try one of those (but right now, i found a better way of making my area dark that doesnt involve a flashlight. i just tint the area dark and it seems more suitable for my area.) i'll let you all know if it freezes again
okay, it froze again. It seems to happen at any given time during the game, but I believe it happens the most during battles. (so far there's only one area in the game with battles, and it's probably the one place in the game i spend the most time testing) @ShadowDragon i'll try the autorun thing, but i don't think lighting plugins are the issue, because i don't have any on my project anymore.

Original thread: https://forums.rpgmakerweb.com/threads/game-randomly-freezes-during-battle.120311/