Can't dash and no encounters, can't find the source of the problem

As I was working on my game, all of the sudden when testing it I could no longer dash and encounters were not occurring. I have no clue what is causing this but the scripts I am using are: Yanfly Save Engine, Florain van Strien's API for RPG Maker VX Ace, Galv's Vehicle On Off Locations, a simple escape rate script (module BattleManager def self.make_escape_ratio @escape_ratio = 0.95 end end), a region checker (http://www.rpgmakercentral.com/topic/22341-check-region-behind-player/) and all I did was make it check the id under the player instead of behind, console script (




) and the keyboard script that is needed with it and FINALLY... a more choices script (




) so yeah would anyone happen to know what is causing this? 
Disable all your scripts, save, play.  Ensure you can dash and have encounters.


One by one, enable the scripts, save, play.


When you can't dash and there are no encounters, the last script you enabled is the cause.
Disable all your scripts, save, play.  Ensure you can dash and have encounters.


One by one, enable the scripts, save, play.


When you can't dash and there are no encounters, the last script you enabled is the cause.

I did exactly what you said and disabled every script but I still cannot sprint or dash. I even made a new project to test if it was my software/computer and in the test I can dash and get encounters. I'm not sure if I did something to mess up the game mechanics. Any more advice or should I just try to transfer everything to a new file?
please show us a screenshot of the map properties - perhaps they got messed up to cause this.
please show us a screenshot of the map properties - perhaps they got messed up to cause this.

Here is a photo of the map properties of the starting map. Dashing is enabled, encounters are set so I have no clue why it isn't working. This applies for every map and I really want to continue to work on the game but this is a big problem. I really don't see any reason why this would happen.

Map Properties.png
You specifically set up the encounters for range 1 (or region 1). Therefore you will only get encounters in region 1 of the map. Do you have region 1 marked anywhere on the map?
You specifically set up the encounters for range 1 (or region 1). Therefore you will only get encounters in region 1 of the map. Do you have region 1 marked anywhere on the map?

Yes I have the regions I am using set in certain areas. Dashing and encounters have worked before in those regions.
Ok, then one more thing to check. There is an event command to enable and disable random encounters. Have your character somehow interact with an event which turns the random encounters ON when you are in that map (maybe hide it in a plant for testing purposes, or put an NPC which does this or something). If they work now, then that means you turned them OFF somewhere else and need to find where that point is.


Also, before testing this, also set those encounters to all regions. It will make debugging easier. If my idea works, then try putting them back to region 1, and if they stop working, some script is disallowing you from using region 1 for encounters. You'll have to search each of them to find it, or just use another region.
Ok, then one more thing to check. There is an event command to enable and disable random encounters. Have your character somehow interact with an event which turns the random encounters ON when you are in that map (maybe hide it in a plant for testing purposes, or put an NPC which does this or something). If they work now, then that means you turned them OFF somewhere else and need to find where that point is.


Also, before testing this, also set those encounters to all regions. It will make debugging easier. If my idea works, then try putting them back to region 1, and if they stop working, some script is disallowing you from using region 1 for encounters. You'll have to search each of them to find it, or just use another region.

Just tested out what you said and still no encounters, even after setting it to whole map and using an event to enable encounters. Any other ideas what could be causing it?
At this point, just one. Make sure you are walking many steps first, as if you step in a no encounter region and the engine decides to roll an encounter, nothing will happen. I saw you have it set to 17, so 30 - 35 steps in the same region in a row should be a good test. Though I imagine you are doing that, just making sure.


Otherwise, I'm out of ideas. All I can say is you may have to post your project and have someone else take a look at it. Make it as bare bones as possible, and remove or replace any content which cannot be posted in an unencrypted project first, then post it and see if someone else can find it.
At this point, just one. Make sure you are walking many steps first, as if you step in a no encounter region and the engine decides to roll an encounter, nothing will happen. I saw you have it set to 17, so 30 - 35 steps in the same region in a row should be a good test. Though I imagine you are doing that, just making sure.


Otherwise, I'm out of ideas. All I can say is you may have to post your project and have someone else take a look at it. Make it as bare bones as possible, and remove or replace any content which cannot be posted in an unencrypted project first, then post it and see if someone else can find it.

Thanks for everything. I'm gonna wait a day or two for any more responses to see if anyone else has any ideas. If not, I will post the file and see if people can find anything wrong. Worst case scenario, I have to transfer everything to a new file one by one to find the problem.
At this point I think you better ignore the encounter problem and concentrate on the dashing problem.


There is a lot of things that could be setup wrong for encounters, but the same can't be said about dashing. Since the dashing is allowed on the maps, it can only be blocked if a script either disables it or breaks the engine - and if something interfered with the movement, then it is quite possible that the same cause also blocked the random encounters.


So your next step is to start checking up your scripts. We need a screenshot of your script editor with the materials section so we can see which scripts and which fixes are installed (and which not) as well as links to the websites of all scripts you have installed. Additionally, please check all unnamed (empty) script slots to see if you installed a script and then forgot it.
At this point I think you better ignore the encounter problem and concentrate on the dashing problem.


There is a lot of things that could be setup wrong for encounters, but the same can't be said about dashing. Since the dashing is allowed on the maps, it can only be blocked if a script either disables it or breaks the engine - and if something interfered with the movement, then it is quite possible that the same cause also blocked the random encounters.


So your next step is to start checking up your scripts. We need a screenshot of your script editor with the materials section so we can see which scripts and which fixes are installed (and which not) as well as links to the websites of all scripts you have installed. Additionally, please check all unnamed (empty) script slots to see if you installed a script and then forgot it.

Ok so here is a screenshot of my scripts installed and the one I have selected I did change a few things slightly but it shouldn't have broke everything. Here are the links:


Yanfly Save Engine: https://yanflychannel.wordpress.com/rmvxa/menu-scripts/ace-save-engine/


RPG Maker VX Ace Gamejolt API: http://gamejolt.com/games/gamejolt-achievement-api-for-rpg-maker-vx-ace/40546/download/build/169848


Galvs Vehicle On Off Locations: https://galvs-scripts.com/galvs-vehicle-on-off-locations/


Percent Change Escape Rate:


module BattleManager
  #--------------------------------------------------------------------------
  # * Create Escape Success Probability
  #--------------------------------------------------------------------------
  def self.make_escape_ratio
    @escape_ratio = 0.95
  end
end


Check Region (This is the one I modified): http://www.rpgmakercentral.com/topic/22341-check-region-behind-player/


Console and Keyboard Script (both installed): 






Large Choices:




Hopefully you can see if anything is conflicting.

Scripts.png
I had the exact same problem with my game.
The only thing I did was make this:

1641032845957.png


Then there suddenly wasn't any encounters in the map anymore.

Logic tells me that the game will interpret this as being on a vehicle, even though the condition isn't true.
I can't think of any other solution.
Wanted to make the player move slower on the worldmap, to create the idea of it being bigger.

That's all.

Walldeaf, please refrain from necro-posting in a thread. Necro-posting is posting in a thread that has not had posting activity in over 30 days. You can review our forum rules here. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/cant-dash-and-no-encounters-cant-find-the-source-of-the-problem.67565/