Something went south with Game

Ok, so... I have this mechanic idea that whenever we go hunting, there's a random enemy, however, based on their danger. However, one problem started, like the step-encounter doesn't work properly like it used to. When I tested it the first time, it did work, but it didn't work properly after some time, especially with the common events + plugin. I dunno why it happened so it may be possible because of the engine. Like did any of you guys have this? Like when the step-encounter (as a variable) didn't work and just automatically goes to the fight instead of waiting for like 50 steps??

I don't wanna waste this mechanic, so please I'm asking you for a solution.
we can't tell you anything without knowing details of how you handled things.

that said, one possibility is that you have too many events - a tile that triggers an event cannot trigger a random encounter.
I agree with @Andar, it's impossible to say just from your description. You need to actually show us how you set up that mechanic.

An extension of what he said is that an event running by any means will block random encounters. So even if you don't actually have an event on the tile, if you're using a plugin that runs common events when you walk on a region ID, for example, that will also block encounters.
Alright, let me show some pictures of what I mean.

I'm using the Yanfly Plugin of Region Events.

Firstly I've made a Common event as step counter for encountering the enemy.
bandicam 2024-11-29 15-23-18-112.png

Next, I putted the number of places where the enemy is either easy, medium or hard. In Each Area. Level of Danger Randomizer is here too.
bandicam 2024-11-29 15-23-24-477.png

In other words it should have worked the way I imagined. I did shortened the common events to 113 ones.
that is still incomplete - there is nothing there that tells us how you trigger battle.
and what conditionis there to trigger the step counter?

please show us both how you configured the plugin, and the common events that are supposed to call the battle.
For one thing, the events you show will only ever happen once.
1732893173166.png

You don't show anything where that variable is reset to 0, so it will only ever equal 50 one time, then keep counting.

For another, this seems an overly complicated way to do this. There are a number of plugins that would more simply integrate with the built-in encounter system so you wouldn't have to be eventing your own.

For example, Yanfly's Enemy Levels lets you specify any calculations you like for determining the enemy's level, which can affect all of its parameters. So if your encounters are the same troops at different difficulties, this plugin would simply handle that.

If the different encounters are actual different enemies, you could use Galv's Random Encounter Conditions to control which different troops are encountered under what conditions.
For one thing, the events you show will only ever happen once.
View attachment 324117
You don't show anything where that variable is reset to 0, so it will only ever equal 50 one time, then keep counting.

For another, this seems an overly complicated way to do this. There are a number of plugins that would more simply integrate with the built-in encounter system so you wouldn't have to be eventing your own.

For example, Yanfly's Enemy Levels lets you specify any calculations you like for determining the enemy's level, which can affect all of its parameters. So if your encounters are the same troops at different difficulties, this plugin would simply handle that.

If the different encounters are actual different enemies, you could use Galv's Random Encounter Conditions to control which different troops are encountered under what conditions.
Aah alright that sounds a bit more easier than this. I'll try those plugins.
For one thing, the events you show will only ever happen once.
View attachment 324117
You don't show anything where that variable is reset to 0, so it will only ever equal 50 one time, then keep counting.

For another, this seems an overly complicated way to do this. There are a number of plugins that would more simply integrate with the built-in encounter system so you wouldn't have to be eventing your own.

For example, Yanfly's Enemy Levels lets you specify any calculations you like for determining the enemy's level, which can affect all of its parameters. So if your encounters are the same troops at different difficulties, this plugin would simply handle that.

If the different encounters are actual different enemies, you could use Galv's Random Encounter Conditions to control which different troops are encountered under what conditions.
Ah and also I did drew those 3 as an icons what type of enemy are: hare - easy; Wolf - Medium; Dragon - Hard. That's why I did those events

I presume it will work with galv's Random encounter probably.
Level Threat 1.png
Level Threat 2.png
Level Threat 3.png
I don't really have any idea what that means or what those icons would be used for.

So...cool, I guess 😛

Original thread: https://forums.rpgmakerweb.com/threads/something-went-south-with-game.173543/