FastAsyncWorldEdit icon indicating copy to clipboard operation
FastAsyncWorldEdit copied to clipboard

Undo / Redo not working properly

Open Mvkweb opened this issue 1 year ago • 15 comments

Server Implementation

Paper

Server Version

1.20.2

Describe the bug

So basically whe i paste something, and i want to remove it by using //undo, it just doesnt undo it, or it undos it and corrupts the build by splitting it in half, only undo-ing 30% of it / etc. I do not have this issue on localhost, only when i build on a server, i don't believe is a spigot issue or anything is very odd, i tried updating the plugin and server s pigot to the latest, but didnt fix anything, however on localhost same files, same configs, it works perfectly. Any idea why?

To Reproduce

//copy something, //paste, //undo

Expected behaviour

It should undo the whole build, not a percentage of it, is like it forgets the build i just pasted.

Screenshots / Videos

image image

Error log (if applicable)

No response

Fawe Debugpaste

https://athion.net/ISPaster/paste/view/21059c683ff9495bafea156aeb321b37

Fawe Version

FastAsyncWorldEdit 2.11.0

Checklist

  • [X] I have included a Fawe debugpaste.
  • [X] I am using the newest build from https://ci.athion.net/job/FastAsyncWorldEdit/ and the issue still persists.

Anything else?

No response

Mvkweb avatar Jul 21 '24 08:07 Mvkweb

When you test locally are you using Oraxen? It's caused several other issues with FAWE in the past

dordsor21 avatar Jul 21 '24 09:07 dordsor21

Member

yes, i am using oraxen, same plugins and configs the same, is a server copy but on my local.

Mvkweb avatar Jul 21 '24 09:07 Mvkweb

What happens without Oraxen on the server? Also try without Lands, BiomeManager, RealisticSeasons and Codex (i.e. any plugins that show WorldEdit or FAWE as a dependency in the debugpaste). There could be a silent error with one of those plugins.

dordsor21 avatar Jul 21 '24 15:07 dordsor21

What happens without Oraxen on the server? Also try without Lands, BiomeManager, RealisticSeasons and Codex (i.e. any plugins that show WorldEdit or FAWE as a dependency in the debugpaste). There could be a silent error with one of those plugins.

still the same, those plugins shouldn't affect anything since im not even inside any of those region.

Mvkweb avatar Jul 21 '24 19:07 Mvkweb

Can confirm on latest build with 1.20.4. Some chunks get processesed and some not.

0x000006 avatar Jul 30 '24 19:07 0x000006

Can confirm on latest build with 1.20.4. Some chunks get processesed and some not.

Please also provide a debugpaste, and identify which command/s the history does not work for

dordsor21 avatar Jul 30 '24 19:07 dordsor21

It happened twice while trying to //undo then the bug went away. Debugpaste: https://athion.net/ISPaster/paste/view/4665200481b84efc87a7111f9aab1ec0

edit: I've experienced this bug multiple times but it happens rarely

0x000006 avatar Jul 30 '24 19:07 0x000006

Seems specifically with //paste as well then?

dordsor21 avatar Jul 30 '24 19:07 dordsor21

Yes it happened after trying to undo my paste.

0x000006 avatar Jul 30 '24 19:07 0x000006

Update: I created a new server and it doesn't seem to be affected but I can reproduce it on the old server.

  1. make a poly selection of something long
  2. copy it
  3. paste it
  4. undo it

~~I also noticed that after this //copy doesn't work. It throws a RuntimeException which is caused by an IOException which says can't open file because it's already opened by another user.~~ (probably just a coincidence)

Edit: after copying the old server's config I was able to reproduce it on the new server

0x000006 avatar Jul 30 '24 20:07 0x000006

Here's the config that's causing issues config.zip

0x000006 avatar Jul 30 '24 20:07 0x000006

I am having the same problem (here recreated with FAVS stencils but occurs also with pure FAWE commands) 2024-07-31_17 53 45 2024-07-31_17 53 55

Here is the debugpaste https://athion.net/ISPaster/paste/view/7847ccb527584114b3a16a72e783f0bb

BGBrad avatar Jul 31 '24 15:07 BGBrad

Well the issuer of this post used pufferfish 1.20.2, that is not supported, just as a notice

OneLiteFeather avatar Jul 31 '24 16:07 OneLiteFeather

Should I open a new issue ?

BGBrad avatar Aug 03 '24 16:08 BGBrad

No, there's a number without pufferfish also providing information.

dordsor21 avatar Aug 03 '24 17:08 dordsor21

Hello, just a quick update: I installed the latest FAWE version (2.11.2) and it looks like the issue is now gone.

BGBrad avatar Sep 16 '24 14:09 BGBrad

great to know!

OneLiteFeather avatar Sep 16 '24 15:09 OneLiteFeather