[MC-767] Creating world with seed and map world "QUATREPOINTDEUX" fails Created: 26/Oct/12  Updated: 04/May/15  Resolved: 26/Oct/12

Status: Resolved
Project: Minecraft: Java Edition
Component/s: None
Affects Version/s: Minecraft 1.4.2
Fix Version/s: Minecraft 1.4.3

Type: Bug
Reporter: Maxime Bridon Assignee: [Mojang] Nathan Adams
Resolution: Fixed Votes: 1
Labels: None
Environment:

Windows 7 / Java 7


Attachments: File ye.class    
Issue Links:
Duplicate
is duplicated by MC-794 New world with large or flat biome lo... Resolved
is duplicated by MC-1008 Seed "IvanTheBlue" causes MC to freez... Resolved
is duplicated by MC-1442 The game freezes because of these str... Resolved
is duplicated by MC-1963 world seed "cats" doesn't work anymor... Resolved
is duplicated by MC-2128 Creating new world with seed freezes ... Resolved
is duplicated by MC-2592 When I try to generate this seed in 1... Resolved
is duplicated by MC-3358 Seed IvanTheBlue Crashes game. ---->1... Resolved
is duplicated by MC-707 World creation fails with specific se... Closed
is duplicated by MC-1369 this seed ruins the game! Seed is "if... Closed
Relates
relates to MC-45884 Crash on world creation Resolved
Confirmation Status: Unconfirmed
Game Mode: Survival

 Description   

What I expected to happen was...:
Create a new world with the name "QUATREPOINTDEUX" without quotes and the seed "QUATREPOINTDEUX" without quotes.

What actually happened was...:
There is the normal generation screen with the mentions "Loading world" and "Converting world" but nothing happens after. I mean the game stops at this screen.

Steps to Reproduce:
1- Click on "Singleplayer"
2- Click on "Create a new world"
3- Write QUATREPOINTDEUX as the World name
4- Go to "More world options" and type QUATREPOINTDEUX as seed.
5- Click on Create new world.



 Comments   
Comment by Timothy D Lenz [ 30/Oct/12 ]

No, I'll try to find it.

Comment by DiEvAl [ 30/Oct/12 ]

Did you delete the META-INF?

Comment by Timothy D Lenz [ 30/Oct/12 ]

This question may be out of place here, but I tried replacing the ye.class file in minecraft.jar using 7zip and when I try to log in, it crashes with:

java.lang.SecurityException: SHA1 digest error for ye.class
at sun.security.util.ManifestEntryVerifier.verify(Unknown Source)

You can't simply swap out the file?

Comment by DiEvAl [ 27/Oct/12 ]

Yes, it's the same bug.

BTW, I attached the mod that fixes it (ye.class) in case someone wants to use these seeds, but doesn't want to wait for the snapshot.

Comment by DiEvAl [ 27/Oct/12 ]

A mod that fixes this bug.

Comment by Jonathan Haas [ 27/Oct/12 ]

Is MC-707 the same bug? Sounds very similar.

Comment by DetachableMonkey (Kurt Boyer) [ 27/Oct/12 ]

Dinnerbone resolved the issue as fixed, so I'll assume that it is.

Comment by [YT]ZeBests [ 27/Oct/12 ]

So is this fixed?

Comment by [Mojang] Nathan Adams [ 26/Oct/12 ]

Thanks for the help.

Comment by DiEvAl [ 26/Oct/12 ]

The problem was happening when there was no valid position to place a stronghold (they can only be placed in certain biomes), and possibly in some other cases. I fixed it be changing 1 line in the code. I'll recompile and reobfuscate it later.

@mojang That'SSSsss a nice typo you have there. It'd be a SSSssshame if SSSsssomething happened to it (i.e. it was fixed)
First you are doing

int[] cache = IntCache.getIntCache(xSize * zSize);

and then

for (int i = 0; i < cache.length; i++)

But cache.length can be larger than xSize * zSize. When i == xSize * zSize, cache[i] == -1 and biomes[cache[i]] will throw ArrayIndexOutOfBoundsException.
Second piece of code should be

for (int i = 0; i < xSize * zSize; i++)

Comment by Maxime Bridon [ 26/Oct/12 ]

A member of my french community has reported it. I think it's just a random seed his wanted to try since it means something "real" in french.

Comment by Jochem Homan [ 26/Oct/12 ]

Confirmed again.

Had to close the proces with task manager.
Where did you got the seed from.
Needs to be fixxed, before people go start abusing them, as trolling in a server.

Comment by DiEvAl [ 26/Oct/12 ]

I'm gonna look into it in MCP. And try to fix it.

EDIT: When server is trying to generate world with seed "QUATREPOINTDEUX", it throws an exception and stops. But client doesn't get notified about it, and continues waiting for messages from server. Now I "just" need to find out why server crashes.

Comment by DetachableMonkey (Kurt Boyer) [ 26/Oct/12 ]

Confirmed. I too had to cancel the "javaw" task when trying to create a world with that seed. The name of the world can be anything. The seed is the problem point here.

Comment by Selbram (Tory Clement) [ 26/Oct/12 ]

I can confirm that the client does in fact appear to lock up. The save directory is created. I killed the client to see if I could play the world. I select it in single player and it sticks on loading... This is an odd one.

Generated at Sun Jan 12 11:52:09 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.