Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: //chunk & //regen using incorrect seed. #3035

Open
2 tasks done
crumpkatrina opened this issue Sep 24, 2023 · 8 comments
Open
2 tasks done

[Bug]: //chunk & //regen using incorrect seed. #3035

crumpkatrina opened this issue Sep 24, 2023 · 8 comments
Labels
Bug: Unconfirmed Unsure if the issue/bug is valid. Type: Upstream Related to a dependency that MV relies on.

Comments

@crumpkatrina
Copy link

/mv version -p output

No link generated due to 502 at api.paste.gg

Server logs

On private request.

Server Version

1.20.1 Paper Build 195

Bug Description

When selecting a //chunk and //regen 'ing it, the area is not correspondent to the world seed at all.

Steps to reproduce

  1. Load server with Paper, WorldEdit, WorldGuard versions, as well as latest Multiverse: https://github.com/Multiverse/Multiverse-Core/releases/tag/4.3.12 (no other plugins on the environment at all).
  2. Use command /mv create testworld normal
  3. Verify seed in game matches the seed in Multiverse config using /seed command
  4. Go to any random chunk and select it with //chunk
  5. Use //regen and notice it regenerates a completely different area.

Please see: EngineHub/WorldEdit#2398

Agreements

  • I have searched for and ensured there isn't already an open or resolved issue(s) regarding this.
  • I was able to reproduce my issue on a freshly setup and up-to-date server with the latest version of Multiverse plugins with no other plugins and with no kinds of other server or client mods.
@crumpkatrina crumpkatrina added the Bug: Unconfirmed Unsure if the issue/bug is valid. label Sep 24, 2023
@crumpkatrina
Copy link
Author

It looks like //chunk & //regen is working fine when using on a world generated by Paper.
However, when the world is generated by multiverse, the //chunk & //regen command is not working correctly.

@zax71
Copy link
Member

zax71 commented Oct 9, 2023

Thanks for the bug report, paste.gg is back up now and the information from that command would be quite useful, so the /mvv -p link would be really helpful. Could you also mention the world you are running this command in alongside that please :)

@crumpkatrina
Copy link
Author

Paste link is as follows: https://paste.gg/p/anonymous/7228ed7dc8794226b578c18a769d24af
The commands are being run in the console to generate new worlds, that's it.

@CloudeLecaw
Copy link

CloudeLecaw commented Oct 17, 2023

the seed in /seed is defined in your server.properties if you defined it NOT in multiverse.
so create your world
check your seed matches the worldfile
and delet the region folders and may the dat file in it.

//regen and other worldedit command dont use the multiverse seed.
so you might should report this to worldedit to respect multiworldseeds // multiverse seeds

@crumpkatrina
Copy link
Author

crumpkatrina commented Oct 18, 2023

That is incorrect, the //regen command does not grab the seed from the server.properties file.
If you have nothing valuable to add to the issue, there is no need responding to it.

@CloudeLecaw
Copy link

CloudeLecaw commented Oct 18, 2023

That is incorrect, the //regen command does not grab the seed from the server.properties file. If you have nothing valuable to add to the issue, there is no need responding to it.

but it should use it fron the dat file of the world folder ;) and /seed is not working for the multi verse worlds it only works if your using the vanilla 3 dimension without a multiverse plugin.

Well at least. Worldedit grabs the seed for regen that is set in your world.dat
you can view the with a tool like NTB Explorer.
This seed should match the seed in your multiverse world if the world was generated multiverse

If //regen does not restpect this and generate something else. its not up to multiverse to handle worldedits behave.
Also if you took your world over some MC version you will notices even with the same seed the //regen version will look different because the seednumber design has changed in many versions.

So if //chunk //regen (both Multiverse commands) use a wrong seed. ask the WorldEdit engingub team to may respect the multiverse seeds.

@zax71 zax71 added the Type: Upstream Related to a dependency that MV relies on. label Oct 20, 2023
@benwoo1110
Copy link
Member

The seed is managed by the server, multiverse simply uses the WorldCreator api by bukkit/paper. So of world.getSeed is returning the wrong thing, i doubt its a mulitverse issue

@andrewkm
Copy link

We are having the same problem.
WorldEdit stated this is an issue with Multiverse: EngineHub/WorldEdit#2398

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug: Unconfirmed Unsure if the issue/bug is valid. Type: Upstream Related to a dependency that MV relies on.
Projects
None yet
Development

No branches or pull requests

5 participants