TSR

The Northern Frog
Regular
Joined
Nov 14, 2019
Messages
531
Reaction score
873
First Language
French
Primarily Uses
RMMZ
Here is a screen grab to show what I'm referring to. The party has just transferred to a new map using a vanilla transfer event.
Ok, I see... Thanks for the details.
Yet, I cannot reproduce that in a blank project with only the moveEvent plugin.
You said you use a 'vanilla' transfer event, but did you test it in a vanilla project?
I'd like to help, but I really need to be able to reproduce that bug in order to nail it. I'm also wondering how the slight changes added to the last version could freeze the game by itself...

Regards.
 

Kes

Regular
Regular
Joined
Aug 3, 2012
Messages
23,808
Reaction score
13,728
First Language
English
Primarily Uses
RMMZ
I've found the cause. Basic error. I was testing this using existing save files. Once I started testing with a new game, adding all my plugins bit by bit, everything went without a hitch.

I'm so sorry to have wasted your time with this.
 

TSR

The Northern Frog
Regular
Joined
Nov 14, 2019
Messages
531
Reaction score
873
First Language
French
Primarily Uses
RMMZ
@Okralord
Ok, this is not very easy to reproduce since the thrown event only stay "-mid-air" a few frames, you need a very hight encounter rate or be very lucky/unlucky to get that bug...

Anyway, I can think of 2 quick solutions:
1) I disable the encounters while the player is holding/throwing an event.
2) I disable the encounters only while the event are "mid-air" to avoid the bug. If you get an encounter while holding a pickup event, the player drops it before entering battle (last update).

the 2 options above are like a 15 sec edit, but this will only disable the random encounter. If you somewhat go into battle using a event 'batte process" command, (before the event land, which is probably very unlikely), you'll still get the bug.

If you also want to disable the event battles while holding and/or throwing, that'll need a bit more modification, so it'll have to wait some more time since I'm kind of busy.

Regards,
TSR
 

Okra

Regular
Regular
Joined
Sep 4, 2016
Messages
81
Reaction score
20
First Language
English
Primarily Uses
RMMV
@Okralord
Ok, this is not very easy to reproduce since the thrown event only stay "-mid-air" a few frames, you need a very hight encounter rate or be very lucky/unlucky to get that bug...

Anyway, I can think of 2 quick solutions:
1) I disable the encounters while the player is holding/throwing an event.
2) I disable the encounters only while the event are "mid-air" to avoid the bug. If you get an encounter while holding a pickup event, the player drops it before entering battle (last update).

the 2 options above are like a 15 sec edit, but this will only disable the random encounter. If you somewhat go into battle using a event 'batte process" command, (before the event land, which is probably very unlikely), you'll still get the bug.

If you also want to disable the event battles while holding and/or throwing, that'll need a bit more modification, so it'll have to wait some more time since I'm kind of busy.

Regards,
TSR

Ah, yes. I have encounters triggered by events, not the default random encounter system. So players will often encounter the bug :-/

I think for my purposes it would be best for the encounters to be disabled while the thrown event is in mid air.

I'm happy to wait, I appreciate people like you making awesome plugins!
 
Last edited:
  • Like
Reactions: TSR

ShadowDragon

Realist
Regular
Joined
Oct 8, 2018
Messages
7,761
Reaction score
3,164
First Language
Dutch
Primarily Uses
RMMV
while I also have it as event, another work around it, when picked up the event,
Switch D is ON (of if you use YEP_selfSwVar, switch E-Z and the enemy cannot
trigger you into battle.

that is the event battle encounter workaround (only for the one in the room).
 
  • Like
Reactions: TSR

TSR

The Northern Frog
Regular
Joined
Nov 14, 2019
Messages
531
Reaction score
873
First Language
French
Primarily Uses
RMMZ
Hello again @Okralord
I made some additional tests cause there was something bothering me with that bug. The crash occurs after you get back from battle, the map is reloaded and we can see that the event has correctly landed...
So I check the code again and realize that I forgot to reset the player property _hasThrew in the last version. So when we come back from battle, this make the plugin think there's still some events flying around and is looking for the landing coordinates, which were reset before battle.

Try this version (slight mod from the last version) which allow battles while holding and throwing. Shouldn't crash anymore.​


Let me know how it goes. If you still find some bug, or it doesn't suit you as it is, then I'll go for disabling the battles entirely (both random ones and events triggered) while pickup, whenever I'll have more time.​

Regards,
TSR
 

Okra

Regular
Regular
Joined
Sep 4, 2016
Messages
81
Reaction score
20
First Language
English
Primarily Uses
RMMV
@TSR
It works! Thank you so much! Now to put throwable stuff everywhere in my project...lol
 

abdo97z

Regular
Regular
Joined
Apr 21, 2023
Messages
35
Reaction score
2
First Language
english
Primarily Uses
RMMV
Hello TSR the frog from the north, Thanks for all your plugins. But I have a problem with this plugin, it is not working at all, I have even disabled all other plugins and it is still not working, I can't find where the problem is :(
Here is the plugin parameters:
1683260371105.png
and here is the event I am trying to make movable
1683260445813.png
I have even tried the other note codes and none of them worked, I don't know what i am doing wrong
 

TSR

The Northern Frog
Regular
Joined
Nov 14, 2019
Messages
531
Reaction score
873
First Language
French
Primarily Uses
RMMZ
Hello @abdo97z
The plugin use 'comment tags', not notetags...
Capture d’écran, le 2023-05-05 à 08.09.30.png
This way, the tag is specific to the current event page.

Regards
TSR
 

Latest Threads

Latest Profile Posts

The trailer for a documentary I am in a short bit of just dropped.
when you figure out someone's issue on the forums, but you aren't about that necro-posting life.
Dalph wrote on Erif's profile.
Titania has been added and she's clickable too, she redirects to your thread. I wonder how far I can go with all these blondes in the banners. It's an army already.
Pre-title animation of Rosegard :)
image.png

Forum statistics

Threads
134,855
Messages
1,251,257
Members
177,645
Latest member
MattieFm
Top