Compatibility patch - Rokan symbol encounter and TDS Easing

Hi all,
I've recently started tinkering with TDS's easing script:

However I found a conflict with my symbol encounter script which is this one:

At least the move route script call (ease_opacity0, 120)) is incompatible with Rokan’s Symbol Encounter, unsure if there's more. Probably because the scripts "fades" enemysprites if the battle is aborted or if the enemy is defeated.
Anyone have an idea how to fix this?
Can you provide us with a small demo where you can replicate the error message you're getting there?
Sure. It's however not an error message, the easing transition on the character simply won't happen. If you turn off Rokan's symbol encounter, it happens just fine.
I also found a bug with the "parralel process fix", if that's enabled the eaisng on the sprite won't work either.

Here's a demo:


If you enable Rokan's symbol encounter or the parallel process fix, you'll see the sprite won't disappear.
The symbol encounter is not compatible for the opacity.
In the symbol script line 655 is where it changes the opacity for events.
It always sets the opacity to the original.
This seems to work for a fix.
Ruby:
class Game_Event < Game_Character
  def update_symbol_opacity
    if @visibility_distance.zero?
      @origin_opacity = @opacity if @easing
      @opacity = @origin_opacity
    else
      @opacity = @origin_opacity - 50 * (distance_from_player - @visibility_distance)
    end
  end
end
That works!
Just the parallel process fix thing is still disabling the easing. Unsure why that's happening.
disabling the easing
I took a look and it changes the order of two lines.
Basically erasing the fiber data then asking it to continue processing the data.
Why do you have this?
I can get the same results with this
Ruby:
class Game_Event < Game_Character
  def update
    super
    check_event_trigger_auto
    return unless @interpreter
    @interpreter.update
    @interpreter.setup(@list, @event.id) unless @interpreter.running?
    @interpreter.update if @interpreter.running?
  end
end
I don't think RPGMakerSource thought this one through.
Don't adjust interpreter for everything when this affects events.
It was listen in the forums in a sticky because there's apparently an issue in default VX Ace? So I thought it was needed.

I'm not sure how to explain it, but here's the topic:
So I thought it was needed.
Yes, but if you read though the topic you would see that some people never had a problem. So when you notice an issue then look for a fix.
That being said, this is a minor issue in my opinion but also relevant as you may need events to be as responsive as possible.
I've never noticed an issue but I'm using RPGMakerSource's Effectus script in my project so that overwrites the update method.
Since my code fixes the issue discussed in the thread for the rpgmakersource fix, then I would say use mine. It works for your demo.
I'm fairly sure the Effectus script is causing problems in itself, as I remember people commissioning for bugfixes. 😅
Hence I've never used it.

What's the difference between the rpgsource fix and yours, is it the same except coded differently?
is it the same except coded differently?
The results for events is the same. But RPGMakerSoure's code will affect everything since it pokes at the interpreter.
Mine will just fix events.
Open your script list and do a search for all (ctrl+shift+f) with the text @interpreter
You'll see what is affected.
Game_Troop
Game_Map
Game_Event
etc

If you have problems with all of them, then maybe rpgmakersource's script is better, but you're having script incompatibilities with it so...
I've got a warning for @BCj concerning the Game_Picture class. It won't update tinting. I think the other thing it stopped doing was rotating, but I'm not sure about it.
concerning the Game_Picture class. It won't update tinting.
I can't make it not do tinting and rotating.
Where are you looking?
I can't make it not do tinting and rotating.
Where are you looking?
Well, it could be because the modification of the Game_Picture script has not been loaded. I guess that's preferable here as long as BCj doesn't add any extra features the easing scripts include.
modification of the Game_Picture script has not been loaded.
Ok, yes I got it. I didn't try the easing functions for the pictures. The default works fine, but as soon as you activate one of the easing options for pictures the tinting breaks. However the rotation seems to be fine. At least the way I was testing it.
But setting the call back to normal seems to be fine.
So start with whatever easing you want
Game_Picture.easing = Easing::BOUNCE_IN
Then after doing a move picture change it back to default
Game_Picture.easing = Easing::LINEAR
Wait, I'm confused.
When I'm in the TDS easing demo from the thread I linked up there, it doesn't seem to reset back?

1c61bd33aff3ed2b74184acf01eed0d6.png


6be6db46f73443cc8ff8de8e5e1f9c19.png


Am I missing something here?
Yes that's interesting. I tried changing a few things and it worked fine. Putting the symbol encounter script didn't cause an issue with the picture tint and movement.

But I just discovered something. You have several default scripts in the demo you provided that has been modified. this must be the reason.
However at first glance the datamanager is the same as the second version.
Found the difference, You copied the entire datamanager script to change the make filename method?
and change the scene equip on slot ok order.
None of that would affect the script the way it does in the demo you provided.
I guess carry on unless you find more issues.
Since your modification of DataManager didn't let me save the game, I simply used the "Oud" one instead.

I slightly modified the demo you had provided us with and was able to take the enemy by surprise every 5 attempts or so. =_=¡ You can download it and see how using symbol 1 works as intended as far as I can see.

I never altered the easing scripts.
Yes, I had to change the datamanager slightly due to my custom savescript.
I also had to change scene equip to accommodate a luna engine bug.
I took all those custom scripts out though., don't want them floating around on the internet 😀
But I don't see how those 2 should impact game_picture, or the tinting issue?
Since your modification of DataManager didn't let me save the game, I simply used the "Oud" one instead.

I slightly modified the demo you had provided us with and was able to take the enemy by surprise every 5 attempts or so. =_=¡ You can download it and see how using symbol 1 works as intended as far as I can see.

I never altered the easing scripts.
Sorry for the double post, but I'm kind of confused with what you changed. Since the sprite still doesn't ease out from 255 opacity to 0.
Did you just add the enemy encounter in the demo?
Since the sprite still doesn't ease out from 255 opacity to 0.
Did you just add the enemy encounter in the demo?
He added a method to the symbol encounter script. It's at the bottom.
Not sure if it helped, but it gives you an option to use a script command to call the symbol.
Also he did not add in the script patches I provided so the opacity is still broken with the two scripts.

Original thread: https://forums.rpgmakerweb.com/threads/compatibility-patch-rokan-symbol-encounter-and-tds-easing.154960/