Character Walking Through Cliffs

So I have been working on my RPG Maker project for a few weeks now, and a new problem that I cannot figure out has surfaced. Up until now, everything was working just fine, however, yesterday when I was testing a map, I noticed that for some reason or another, my characters are able to walk up a ledge if it's from the side. I have included a screenshot of what I am talking about.


I did everything I could think of, starting with changing the passibility of the tiles in the Database. However, when I did this, it made that entire tile, obviously unable to be walked on. But before yesterday they were walking that tile just fine, without going over the ledge. So my question is, why is this starting to be a problem, and how can I fix it? Normally I wouldn't think too much of it, however being able to go up those cliff sides gives players major shortcuts and takes them to places that they were not meant to go.

Screenshot_1.png
The second possibility is that you used an invisible override at that position, mistakingly using it to erase an upper tile.


If you follow the link to the stating point in my signature, one of the tips there describes how RM uses the A4 ceilings to simulate a 2-level-dungeon on a 1-level-map. If you accidentally used a passable B-E-Tile instead of the first one on that position, it will also cause problems
I've encountered this before and it's usually solved by clearing the tile (use a transparent A tile) and then redrawing it.
I've encountered this before and it's usually solved by clearing the tile (use a transparent A tile) and then redrawing it.

I tried that option first as it seemed the simpler of the two, sadly it did not fix my problem.

If you accidentally used a passable B-E-Tile instead of the first one on that position, it will also cause problems

I double checked the tileset passability to make sure it was okay and it was so that option didn't help.

If you follow the link to the stating point in my signature, one of the tips there describes how RM uses the A4 ceilings to simulate a 2-level-dungeon on a 1-level-map.

Checked it out and still couldn't get it to work.


The thing is, I'm not sure that any of these suggestions could be problem. As I mentioned, this issue is a recent development, however I've had these maps created weeks ago. It wasn't until yesterday when they started not working. And since I haven't edited the maps at all in the past few weeks, then the tiles themselves couldn't be the issue. 
Then we need to know which tile exactly you used there. There are several variants of the cliff tiles, specifically because the tiles behave differently depending on which slot of the tileset they're used from. So we need a screenshot of the tileset page in the database where you marked the used tile (and you might better check all possible variants if you don't remember which one you used months ago)


But nothing on the computer can be random - if the engine is damaged, then a lot more than just one place would behave differently. If you've added a plugin that accidentally changed passabilities, then that plugin usually has settings for details on that change - you should check all your plugins.

I double checked the tileset passability to make sure it was okay and it was so that option didn't help.



I think you might have misunderstood what I was referring to. You need an invisible tile on the upper layer for erasing - usually that is done by the first B tile, but I know of several tilesheets where such a invisible tile exists in other positions. And depending on your choice of tilesheets there can be multiple "first" invisible tiles as well.


But such an invisible tile can only work correctly as an eraser if it is set to star passability - if you have such a tile set to regular passability, then it will cause such problems if placed there. So have you checked those invisible tiles in your tileset for that?
You need an invisible tile on the upper layer for erasing - usually that is done by the first B tile, but I know of several tilesheets where such a invisible tile exists in other positions. And depending on your choice of tilesheets there can be multiple "first" invisible tiles as well.


But such an invisible tile can only work correctly as an eraser if it is set to star passability - if you have such a tile set to regular passability, then it will cause such problems if placed there. So have you checked those invisible tiles in your tileset for that?

I went and checked the first B Tile and it was set at star passability, and tested but it didn't work sadly.

If you've added a plugin that accidentally changed passabilities, then that plugin usually has settings for details on that change - you should check all your plugins.

I checked all of the plugins I'm using, and none of them have/would change the passability for any tile.

There are several variants of the cliff tiles, specifically because the tiles behave differently depending on which slot of the tileset they're used from. So we need a screenshot of the tileset page in the database where you marked the used tile (and you might better check all possible variants if you don't remember which one you used months ago)

I have posted two screenshots of my current tileset I am using in that particular map. The first being the cliff section of the A set, and the second being the B set showing the first tile.


*EDIT*


Also I should note, for the cliffs in my map, I am using the cliff tileset on the very bottom left, not the upper cliff in the middle of the tileset.


Screenshot_2.png


Screenshot_3.png
*EDIT*


Also I should note, for the cliffs in my map, I am using the cliff tileset on the very bottom left, not the upper cliff in the middle of the tileset.



That explains it - I assumed that you used the autotile cliff from the A4-sheet for walls, not the tiles from A5 (normal).


For the game, there is no difference between a passable tile on A5 and any regular floor. So while the picture might show a cliff, there is nothing in the tileset that gives that tile a special passability - unless you manually do that by using the settings under "Passage (4Dir)", not the overal passability.


If you had used the autotile wall from A4 (the one in the middle of the A tab), that would have automatically set a directional passability that would have prevented the player from going there from a regular floor unless an override (usually ladders) was placed. If you checked 4Dir, then you'll see that that form of passability can only be set for the tiles on A5, not for Tiles on A1 to A4, because of exactly this automatic difference.
OMG! //rmwforums.s3.amazonaws.com/emoticons/default_biggrin.gif You're a mad genius! I didn't think to check the 4-dir at all! I switched the directions off and now it does stop the player from walking up onto it. Thank you! //rmwforums.s3.amazonaws.com/emoticons/default_biggrin.gif :3

Original thread: https://forums.rpgmakerweb.com/threads/character-walking-through-cliffs.58277/