Phobos icon indicating copy to clipboard operation
Phobos copied to clipboard

Minor Save fix

Open secsome opened this issue 3 years ago • 13 comments

This PR has been already tested by hundreds of MO336 players which is known as Extra Save Fix in it, it provides fixes like: Map lighting get corrupted after load the save BuildOfAlly is reset after load the save

It also include a new trigger action called AdjustLighting which is more detailed. Which means you can choose to only update CellDrawers, Objects, and CustomPalettes. That has been tested already too, by many mappers like Sandman, Esther and so on.

secsome avatar Feb 18 '22 12:02 secsome

This dll conflicts with the savefix dll in mo336, do not test them together.

secsome avatar Feb 18 '22 12:02 secsome

Nightly build for this pull request:

github-actions[bot] avatar Feb 18 '22 12:02 github-actions[bot]

@secsome add the damn docs and let's merge before 0.3 comes out ffs @chaserli may help with testing for example?

Metadorius avatar Aug 12 '22 09:08 Metadorius

@secsome add the damn docs and let's merge before 0.3 comes out ffs @chaserli may help with testing for example?

After the branch gets updated. I don't quite understand the code here.

chaserli avatar Aug 12 '22 12:08 chaserli

Which part is responsible for BuildOffAlly S/L fix? I don't quite get it Is it the serialization of SessionClass::Instance->Config?

chaserli avatar Sep 05 '22 01:09 chaserli

Which part is responsible for BuildOffAlly S/L fix? I don't quite get it Is it the serialization of SessionClass::Instance->Config?

yes, .Process(SessionClass::Instance->Config) does the fix, as YR didn't do serialization on SessionClass, I decided to simply serialize it in ScenarioClass

secsome avatar Sep 05 '22 02:09 secsome

  • BuildOffAlly S/L fix confirmed
  • Lighting S/L issue seems to be fixed but

AED040XDG} 3DCLKP(@UGM6 I didn't S/L at this moment, just after time-freeze, it became like this, where there's probably a light tint post at the center. It's gone after S/L, and I can not reproduce the issue on every new trial.

chaserli avatar Sep 05 '22 07:09 chaserli

screenshot I cannot reproduce the issue you mentioned here.

This feature should have a tag to switch it on, I will add a tag later.

secsome avatar Sep 13 '22 13:09 secsome

Err why exactly is the switch needed?

Metadorius avatar Sep 13 '22 13:09 Metadorius

Err why exactly is the switch needed?

I think it may refer to the issue I reported above, although I think it's actually not quite necessary

Even if you insist so, I would recommend setting the default value to yes unless shit happens

chaserli avatar Sep 13 '22 14:09 chaserli

There are some existing maps set the lighting without the fix, if you don't give an option to disable the lighting fix, the existing maps will looks bad. So this is just a forward compatibility.

secsome avatar Sep 14 '22 10:09 secsome

so what's the actual state😵 image

Metadorius avatar Sep 14 '22 19:09 Metadorius

What needs to be tested:

  1. Reveal All Command
  2. BuildOfAlly
  3. TAction 507 AdjustLighting
  4. [Basic]>AdjustLightingFix

secsome avatar Dec 12 '22 03:12 secsome