MV Picture Events During Message plugin resets my messages

Hello!
I'm using RPG Maker MV with YEP_PictureCommonEvents and DreamX_PictureEventDuringMessage plugins to make a clickable image that shows the messages backlog. When I click on the image, it does show the backlog and everything is fine, but when I close the backlog to go back to the dialogues, the game resets the message to the first message of the conversation.
Sometimes it even skips the conversation returning me to the map as if I had read the whole conversation...
Does anyone know how to fix this?
In case there's no way to fix it:
Does anyone know another plugin (or way) for making images clickable during messages for creating buttons?

Here's an example of what I'm talking about:

aa-milesedgeworth-investigations_02.jpg
maybe Galv_ScreenButtons? that can open and click during messages? but
unsure if it does what you want though.
maybe Galv_ScreenButtons? that can open and click during messages? but
unsure if it does what you want though.

Thanks for the suggestion!
The button shows during messages with that plugin but it does nothing when I press it during messages. However, when I press it when the messages aren't showing, the button works.

How can I fix this?
I only have the demo for testing, and while the button reacts on
a common event, you probably need a scriptcall for the log you
want to show "Scenemanager.push(Scene_Log)" <= this one
dont work, but only an example, depending which plugin you use
and what window you want to show.

if you know how, use it, if you dont, what plugin do you use and I see
if I can run some tests, as I dont use it really.
I'm using YEP_X_MessageBacklog plugin for the backlog. The button is linked to a common event that has the plugin command for opening the backlog window.
Here are some images of my project just in case they're useful:

2023-04-09_231725.png

2023-04-09_232107.png
If the backlog plugin I'm using is a problem, then I don't mind using another backlog plugin!
I dont think the backlog is the problem though, but if you try to use it
and restart the message, you can try to swap around, or a plugin conflict.

there is a plugin that have a feature like this, when you check the backlog,
it pause the message (remove it temporarily) and when the backlog is closed,
the message continue.

if you want the same effect or slightly different, I think a compability patch need
to be made or a plugin that control the message, when the backlog is open.

I can try to see if a plugin exist for this, but further than that, I cannot really help.
I mean, when I open the backlog using the control key, a plugin command, or a script that calls the plugin command, everything works OK and the conversation is not reset. The problem is when I use the first picture button plugins (YEP_PictureCommonEvents and DreamX_PictureEventDuringMessage) that when I click on the button, it shows the backlog but when I close the backlog the game resets the messages to the first dialogue of the whole thing. I mean, if the conversation is this:


Character A: Hello!
Character B: Hi!
Character A: How are you?
*And I click here on the button for checking the backlog. And then I close it*
Character A: Hello!
Character B: Hi!
etc... because the conversation resets to the first dialogue each time I open the backlog by clicking on the image button)
That's what I meant when I say it resets the messages.
I don't think Yanfly will fix this because as far as I know, they had left the RPGMV scene, so I don't think the plugins will get an update... I don't know about the situation with DreamX, I could try to ask them.

However, I have to say that I liked more Galv_ScreenButtons. It has more options and you can even have a different image for the button when it's clicked.
The problem with his plugin is that during a message only scripts work (when there's no conversation, all actions work fine)
I found a way to open the backlog using a script...using YEP_ScriptCallPluginCommand plugin. It's a plugin that lets you use a plugin command as a script (the plugin command for opening the backlog is "OpenMessageBacklog")
This is the script I'm using. It works using it as "script" and it opens the backlog.

Code:
var line = 'OpenMessageBacklog';
CallPluginCommand(line)

However, since it's a 2 sentences script, I don't find a way to make it work using it as a script with Galv_ScreenButtons script format. I tried this but it didn't work (I click on the button and it does nothing):
Code:
Galv.SBTNS.addButton(1,'map','_comBacklog',580,280,['script','var line = 'OpenMessageBacklog';
CallPluginCommand(line);'],255);

I have no idea of javascript, so I don't know if there's a way to make a 2 sentences script into 1 sentence. I tried to just remove the paragraph space like this:
Code:
Galv.SBTNS.addButton(1,'map','_comBacklog',580,280,['script','var line = 'OpenMessageBacklog';CallPluginCommand(line);'],255);
but that didn't work either...

Do you know a way to make it work?

If there's no way, then I guess I'll just give up and add a normal image during messages that say: "press Ctrl key for opening the backlog" since Ctrl key opens the backlog without any problem...
you could try:
Code:
Galv.SBTNS.addButton(1,'map','_comBacklog',580,280,['script','CallPluginCommand("OpenMessageBacklog")'],255)
but I only know it can call common events ID if you check the demo and mess something there to see if things works.

but I did understand about the message resets, however, I dont know the DreamX_PictureEventDuringMessage, or
the compability together with YEP_PictureCommonEvents as I only know YEP plugin name, so I dont know how it works.

but if scriptcall normall works, but not with the picture attached to it, than there is something that is skipped
between pictures and messages which needs to added to work correctly (require a plugin).

I can try to mess around if you have a small tech demo on the issue and I can see if I can find a solution for you.
you can DM the tech demo as I own all YEP plugins, but you can create the tech demo and leave those out,
than I add those plugins if you add the txt file which is needed if linked here.

if its that important for you to have the picture working with the message, than I like to have it solved, as if
others like to use the same idea (but a bit differently with other images to open something else), it could be
usefull for them as well.
you could try:
Code:
Galv.SBTNS.addButton(1,'map','_comBacklog',580,280,['script','CallPluginCommand("OpenMessageBacklog")'],255)
That code works! Now when I click on the button it shows the backlog and it doesn't reset the conversation messages!! :LZSproud:
Thank you so much for helping me! And thanks for having the patience to bear with me!
No worries, I'm am very patiently, maybe slower than mostly, but I try my best to get it solved.

good luck on your project 🙂

Original thread: https://forums.rpgmakerweb.com/threads/picture-events-during-message-plugin-resets-my-messages.156482/