MV I need to use region events but yep engine core breaks something.

I have a bug in one of the events I made.
Essentially, it's supposed to turn off player collision, move the player two tiles forward, and then turn player collision back on.
But sometimes it processes itself twice and moves the player four tiles forward instead. I have no idea. It's a simple event, this is what it looks like.

I doubt theres a fix for it, so the solution is to have it so that when the player lands somewhere they're not supposed to go, I teleport the player back to land.
The only realistic way I can come up with of doing this is to use region events, but the plugin I use for using different fonts (which is really important to the games visual design and story, trust me) breaks whenever I use yep engine core. It's some sort of conflict because they both affect fonts.

I tried using region events without the yep core but it doesn't do anything.

If anyone knows of a plugin that can do the same thing that doesn't need yep core, or has some other solution aside from eventing a monstrosity of a parallel for detecting the players x y coordinates it would be a huge help.

Thankyou 😀
if you have a link to the plugin that conflict and is in the correct order,
we can see if it overwrite a function.

if it overwrites a function, it would be an easy fix for that.
for the font based part.

as for the region part, there can be different ideas how to solve that,
you can use x, y player detection in a variable in a common event to keep
track of those.

but it also depends what you did or not and how to solve that in
your event where necessary.
I'm long winded so sorry if this is more information then you asked for, but it should cover most everything I haven't already.

I know that X Y variables for the player are technically an option, but there's got to be like 20 places to check on several maps, so I wouldn't consider it a viable one.

This is the event I use that sometimes does itself twice? (At least I think that's what it's doing, and I have no idea why)
Obviously it's supposed to move the player two tiles forward, but it sometimes moves them four. This is rare though (but it's an early part of the game and I don't want to force the player to reset the game because that's just plain bad design, especially for near the start when impressions are everything)
ice_screenshot_20211113-174202.png


For the Font plugin, I'm using more of an indie plugin. I've spoken with the person who made it directly a few times to iron out some difficulties, and now that I've finally got it working the way it's supposed to I don't wanna mess with it if I can help it.
It's already at the top of the plugin list, before YEP Core, so I know that doesn't fix the incompatibility issue.

If you're wondering what happens, the plugin just stops changing the font if I enable yep core.

I know that there's a way to get it working with YEP plugins as well, but it seems like the plugin that makes custom fonts ACTUALLY WORK like they're supposed to you have to pay for, so that's not really an option.

Anyways, here's a link to the plugin I'm using for fonts : https://hakuenstudio.itch.io/eli-font-manager-for-rpg-maker-mv
I'm not sure if the version I have is identical to the one available for download, and like I said, it was a pain to get it working, so I don't wanna mess with it any more.

For whatever reason, getting a plugin to read and use a font in the fonts folder is a pain in the arse (seems like it would be simple enough but I guess not)
So, for one thing, the way to solve this is to fix what's happening with your event, not find a way to work around it. Otherwise, the chances are great that whatever is causing the bug will cause other problems somewhere else in your game.
This is the event I use that sometimes does itself twice? (At least I think that's what it's doing, and I have no idea why)
This is a very simple event, and doesn't really have anything that could be going wrong. There's a slight chance that somehow a plugin could be making something malfunction, but it's much more likely that it's interacting with another event on that map. (and that's easy to test, just do it a bunch of times with all of your plugins turned off, see if you can make it happen).

What other events are on the map? How does the player know to trigger this? It's triggered by action button and has no image, is it just placed on a conspicuous map tile?
For the Font plugin, I'm using more of an indie plugin. I've spoken with the person who made it directly a few times to iron out some difficulties, and now that I've finally got it working the way it's supposed to I don't wanna mess with it if I can help it.
It's already at the top of the plugin list, before YEP Core, so I know that doesn't fix the incompatibility issue.
Have you put it beneath the Yanfly core instead? Plugins are loaded in the order they are in the plugin manager, so if both the YEP Core and Eli's Font plugin are modifying the same function, you'd want to put Eli's lower on the list so the game uses his.
EDIT : I GOT IT!

So when I go into the corners of a map where there are two of the same event I interact with
both of them! I think that's it. (and of course I can interact with two events at once if I'm in the right spot because of the pixel movement plugin)

My first thought was that I was hitting an event at a funny angle which made it mess up but I couldn't recreate it. I finally did though, and I think I've just about 100% confirmed that's the case.

Now the question is how exactly do I fix it lol, since being able to go multiple directions on the lily pads is kinda important.

EDIT 2: I also tried what you said about putting YEP above Elis and Elis still works, thanks a bunch 😀

EDIT 3 : after screwing around a bit more I realized there had to be a better way to event this. I had considered using Player X and Y location to tell a Jump command where to send the player, but I scrapped it before trying anything since I figured it would be too complicated.

Bad idea lol. Here's the new event.

EDIT 4 : I still haven't fixed the issue with interacting with multiple events at once though. For whatever reason I thought because I solved one problem that was only partially related, I had solved another. Feel kinda dumb about that XD.

I guess I could just redesign the level so that you never run into two events in the same corner I guess. It's an option.
ice_screenshot_20211114-191449.png

I know I figured most of this out on my own, but you definitely gave me a good nudge in the right direction, and it helped me a lot, so thankyou.

Below is everything I wrote before I figured this out
You can read it if you like, though most of it is either irrelevant or off topic v v v

So, for one thing, the way to solve this is to fix what's happening with your event, not find a way to work around it. Otherwise, the chances are great that whatever is causing the bug will cause other problems somewhere else in your game.

This is a very simple event, and doesn't really have anything that could be going wrong. There's a slight chance that somehow a plugin could be making something malfunction, but it's much more likely that it's interacting with another event on that map. (and that's easy to test, just do it a bunch of times with all of your plugins turned off, see if you can make it happen).

What other events are on the map? How does the player know to trigger this? It's triggered by action button and has no image, is it just placed on a conspicuous map tile?

Have you put it beneath the Yanfly core instead? Plugins are loaded in the order they are in the plugin manager, so if both the YEP Core and Eli's Font plugin are modifying the same function, you'd want to put Eli's lower on the list so the game uses his.
Thankyou for your in-depth response.

My guess is that it may have something do with a pixel movement plugin I'm using (which is also crucial to the games feel) but I'm not certain.
While there are some things that don't work exactly the way they're supposed normally, I've been able to work around them just fine (like for instance, if you have two events right next to eachother and interact with one you might interact with both and the second will run right after the previous one)
I've been able to work with that limitation just fine though.

I'll try putting the YEP core above the other one, though I think I might've tried that before and it didn't work, but I can try again.

There aren't really any other events on the map that have move routes except for more of the same.
Here's an example of a map from the game.
ice_screenshot_20211114-183418.png

Looking at this image, hopefully my idea makes sense.

I'll try disabling the plugin I think might be causing it to see if I can re-create it. Thing is, it rarely happens, or more accurately, when it happens seems to be completely random. I've tried interacting with the event from different distances and odd angles but none of them seem to affect the likelyhood of the bug occurring.
So, even if I do try disabling the plugin and try it a hundred times and don't get the bug, there's still not an absolute guarantee it's the reason.
At any rate, I'm not going to remove the plugin, so my best bet is probably a workaround.

There's a couple other bugs in the game too though which are completely random.
One person when playing the demo said that the game froze mid-cutscene and just wouldn't let him move anymore. No idea why.
Also, sometimes there's a visual glitch in one of the cutscenes where I use an event and event pages to animate a character (basically, I set different sprites to different pages on an event for more complex animations that require more than 3 frames, and use a variable to switch between them)
I think the last one is most likely the graphic not being loaded until afterwards. Because I use a lot of visual plugins, graphics not being loaded right away is a common "bug".
I've tried messing around with some loading plugins in the past but they've seemed a bit buggy or inconsistent.
These last couple are less related but I thought they might still be worth mentioning.
If you want, I could also give you my complete plugin list.

Original thread: https://forums.rpgmakerweb.com/threads/i-need-to-use-region-events-but-yep-engine-core-breaks-something.142104/