Earthcomputer / EnchantmentCracker

Cracking the XP seed in Minecraft and choosing your enchantments
MIT License
1.05k stars 91 forks source link

EnchCracker Player Seed Not Found #17

Closed Jeff-ChenFan-Wang closed 6 years ago

Jeff-ChenFan-Wang commented 6 years ago

The program used to work, and after entering the End it no longer does. The same issue has been raised before, but no conclusive solution has been posted.

I can get two xp seeds, but when I'm trying to calculate the player seed it says player seed not found. Repeated the process three times thinking I must've entered something wrong, All three repeated attempts failed to yield a player seed. I'm pretty sure I did all three attempts correct since I have written a step-by-step instruction for myself and these instructions have been successful 12 other times before I entered the End.

In addition, the xp seeds were far easier to attain than before, which might give some insight to why the cracker is no longer working.

This world is also a minecraft realms world if that helps. I tried recreating the issue in a singleplayer world, but the program worked perfectly in singleplayer (even after I entered the End).

Log below:

[2018-05-03 04:55:09] [/INFO]: System details: [2018-05-03 04:55:09] [/INFO]: OS = Windows 10 10.0 [2018-05-03 04:55:09] [/INFO]: Arch (either OS/Java) = amd64 [2018-05-03 04:55:09] [/INFO]: Java = 1.8.0_151 [2018-05-03 04:55:09] [/INFO]: Java arch = 64 [2018-05-03 04:55:22] [/INFO]: Added info, b = 15, s1 = 7, s2 = 16, s3 = 30 [2018-05-03 04:55:51] [/INFO]: Reduced possible seeds to 50331681 [2018-05-03 04:56:04] [/INFO]: Added info, b = 14, s1 = 7, s2 = 15, s3 = 28 [2018-05-03 04:56:04] [/INFO]: Reduced possible seeds to 1275881 [2018-05-03 04:56:19] [/INFO]: Added info, b = 13, s1 = 7, s2 = 9, s3 = 26 [2018-05-03 04:56:19] [/INFO]: Reduced possible seeds to 24579 [2018-05-03 04:56:31] [/INFO]: Added info, b = 12, s1 = 5, s2 = 16, s3 = 24 [2018-05-03 04:56:31] [/INFO]: Reduced possible seeds to 155 [2018-05-03 04:56:47] [/INFO]: Added info, b = 9, s1 = 4, s2 = 9, s3 = 19 [2018-05-03 04:56:47] [/INFO]: Reduced possible seeds to 1 [2018-05-03 04:56:57] [/INFO]: Reset the cracker [2018-05-03 04:57:33] [/INFO]: Added info, b = 15, s1 = 8, s2 = 10, s3 = 30 [2018-05-03 04:57:58] [/INFO]: Reduced possible seeds to 33029917 [2018-05-03 04:58:14] [/INFO]: Added info, b = 14, s1 = 8, s2 = 9, s3 = 28 [2018-05-03 04:58:14] [/INFO]: Reduced possible seeds to 558930 [2018-05-03 04:58:30] [/INFO]: Added info, b = 13, s1 = 7, s2 = 16, s3 = 26 [2018-05-03 04:58:30] [/INFO]: Reduced possible seeds to 3843 [2018-05-03 04:58:45] [/INFO]: Added info, b = 12, s1 = 6, s2 = 10, s3 = 24 [2018-05-03 04:58:45] [/INFO]: Reduced possible seeds to 65 [2018-05-03 04:58:59] [/INFO]: Added info, b = 9, s1 = 5, s2 = 11, s3 = 18 [2018-05-03 04:58:59] [/INFO]: Reduced possible seeds to 12 [2018-05-03 04:59:13] [/INFO]: Added info, b = 6, s1 = 3, s2 = 9, s3 = 12 [2018-05-03 04:59:13] [/INFO]: Reduced possible seeds to 5 [2018-05-03 04:59:25] [/INFO]: Added info, b = 3, s1 = 3, s2 = 5, s3 = 6 [2018-05-03 04:59:25] [/INFO]: Reduced possible seeds to 3 [2018-05-03 04:59:56] [/INFO]: Added info, b = 2, s1 = 3, s2 = 5, s3 = 4 [2018-05-03 04:59:56] [/INFO]: Reduced possible seeds to 1 [2018-05-03 05:00:03] [/INFO]: Calculating player seed with 5a262a3, a4d96f7c [2018-05-03 05:00:03] [/INFO]: No player seed found [2018-05-03 05:00:06] [/INFO]: Calculating player seed with 5a262a3, a4d96f7c [2018-05-03 05:00:06] [/INFO]: No player seed found

Earthcomputer commented 6 years ago

Are you at an enderman farm? Are you hitting endermen during the process? Try getting all the XP you need beforehand and let me know if that works.

Jeff-ChenFan-Wang commented 6 years ago

I'm enchanting in the overworld in a simple enchantment setup (15 bookshelves, 1 table). Got all the xp I needed from the farm and got back to the overworld. After the first dummy enchant to start the process, I did not sprint, sneak, hit mobs, gain xp, wear mending armor, enchant anything other than the dummies, eat, drop items, repair items, use tools, or interact with anything else. The only thing I did was either the dummy tests, required dummy enchantments, or torch placement (and pickup).

Jeff-ChenFan-Wang commented 6 years ago

Just recreated the issue in a singleplayer world. It wasn't entering the End that caused the cracker to stop working, but after using an elytra to fly. Maybe flying with an elytra somehow changes the mechanics to form some unexpected seeds?

The cracker was initially working in the singleplayer world, and I went through the end and it was still able to accurately predict the correct enchantments. It was only after I flew with the elytra (for only ~5 seconds) that the enchantment cracker finally broke and got the player seed issue.

To fix the issue, I had to sleep, exit minecraft, get back in world, sleep again, exit minecraft, enter world, and enchant 3 dummies before getting on with the process. It was only after that I managed to not get the player seed issue, and successfully predict the correct enchantments.

Log regarding the singleplayer world recreation of the issue

[2018-05-03 14:39:48] [/INFO]: System details: [2018-05-03 14:39:48] [/INFO]: OS = Windows 10 10.0 [2018-05-03 14:39:48] [/INFO]: Arch (either OS/Java) = amd64 [2018-05-03 14:39:48] [/INFO]: Java = 1.8.0_151 [2018-05-03 14:39:48] [/INFO]: Java arch = 64 [2018-05-03 14:39:59] [/INFO]: Added info, b = 15, s1 = 4, s2 = 12, s3 = 30 [2018-05-03 14:40:27] [/INFO]: Reduced possible seeds to 37748644 [2018-05-03 14:41:37] [/INFO]: Added info, b = 14, s1 = 2, s2 = 17, s3 = 28 [2018-05-03 14:41:37] [/INFO]: Reduced possible seeds to 38071 [2018-05-03 14:41:48] [/INFO]: Added info, b = 13, s1 = 3, s2 = 9, s3 = 26 [2018-05-03 14:41:48] [/INFO]: Reduced possible seeds to 845 [2018-05-03 14:42:00] [/INFO]: Added info, b = 12, s1 = 4, s2 = 14, s3 = 24 [2018-05-03 14:42:00] [/INFO]: Reduced possible seeds to 7 [2018-05-03 14:42:14] [/INFO]: Added info, b = 9, s1 = 1, s2 = 8, s3 = 18 [2018-05-03 14:42:14] [/INFO]: Reduced possible seeds to 2 [2018-05-03 14:42:24] [/INFO]: Added info, b = 6, s1 = 2, s2 = 7, s3 = 14 [2018-05-03 14:42:24] [/INFO]: Reduced possible seeds to 1 [2018-05-03 14:43:05] [/INFO]: Reset the cracker [2018-05-03 14:43:15] [/INFO]: Added info, b = 15, s1 = 3, s2 = 17, s3 = 30 [2018-05-03 14:43:38] [/INFO]: Reduced possible seeds to 30670673 [2018-05-03 14:43:58] [/INFO]: Added info, b = 14, s1 = 7, s2 = 12, s3 = 28 [2018-05-03 14:43:59] [/INFO]: Reduced possible seeds to 360479 [2018-05-03 14:44:11] [/INFO]: Added info, b = 13, s1 = 4, s2 = 14, s3 = 26 [2018-05-03 14:44:11] [/INFO]: Reduced possible seeds to 5428 [2018-05-03 14:44:22] [/INFO]: Added info, b = 12, s1 = 6, s2 = 16, s3 = 24 [2018-05-03 14:44:22] [/INFO]: Reduced possible seeds to 51 [2018-05-03 14:44:35] [/INFO]: Added info, b = 9, s1 = 2, s2 = 10, s3 = 18 [2018-05-03 14:44:35] [/INFO]: Reduced possible seeds to 15 [2018-05-03 14:44:46] [/INFO]: Added info, b = 6, s1 = 3, s2 = 7, s3 = 12 [2018-05-03 14:44:46] [/INFO]: Reduced possible seeds to 9 [2018-05-03 14:44:57] [/INFO]: Added info, b = 3, s1 = 1, s2 = 7, s3 = 9 [2018-05-03 14:44:57] [/INFO]: Reduced possible seeds to 2 [2018-05-03 14:45:11] [/INFO]: Added info, b = 0, s1 = 1, s2 = 5, s3 = 7 [2018-05-03 14:45:11] [/INFO]: Reduced possible seeds to 1 [2018-05-03 14:45:15] [/INFO]: Calculating player seed with 29428a13, 335d7514 [2018-05-03 14:45:15] [/INFO]: No player seed found

Log after the fix:

[2018-05-03 14:55:20] [/INFO]: System details: [2018-05-03 14:55:20] [/INFO]: OS = Windows 10 10.0 [2018-05-03 14:55:20] [/INFO]: Arch (either OS/Java) = amd64 [2018-05-03 14:55:20] [/INFO]: Java = 1.8.0_151 [2018-05-03 14:55:20] [/INFO]: Java arch = 64 [2018-05-03 14:55:29] [/INFO]: Added info, b = 15, s1 = 4, s2 = 13, s3 = 30 [2018-05-03 14:55:56] [/INFO]: Reduced possible seeds to 75497671 [2018-05-03 14:56:16] [/INFO]: Added info, b = 14, s1 = 5, s2 = 9, s3 = 28 [2018-05-03 14:56:17] [/INFO]: Reduced possible seeds to 1372790 [2018-05-03 14:56:29] [/INFO]: Added info, b = 13, s1 = 6, s2 = 9, s3 = 26 [2018-05-03 14:56:29] [/INFO]: Reduced possible seeds to 41714 [2018-05-03 14:56:40] [/INFO]: Added info, b = 12, s1 = 8, s2 = 13, s3 = 24 [2018-05-03 14:56:40] [/INFO]: Reduced possible seeds to 105 [2018-05-03 14:56:54] [/INFO]: Added info, b = 9, s1 = 4, s2 = 7, s3 = 18 [2018-05-03 14:56:54] [/INFO]: Reduced possible seeds to 25 [2018-05-03 14:57:09] [/INFO]: Added info, b = 6, s1 = 3, s2 = 7, s3 = 12 [2018-05-03 14:57:09] [/INFO]: Reduced possible seeds to 13 [2018-05-03 14:57:20] [/INFO]: Added info, b = 3, s1 = 2, s2 = 5, s3 = 9 [2018-05-03 14:57:20] [/INFO]: Reduced possible seeds to 1 [2018-05-03 14:57:24] [/INFO]: Calculate player seed failed, XP seed invalid [2018-05-03 14:57:43] [/INFO]: Reset the cracker [2018-05-03 14:57:49] [/INFO]: Added info, b = 15, s1 = 5, s2 = 12, s3 = 30 [2018-05-03 14:58:18] [/INFO]: Reduced possible seeds to 50331871 [2018-05-03 14:58:36] [/INFO]: Added info, b = 14, s1 = 7, s2 = 9, s3 = 28 [2018-05-03 14:58:36] [/INFO]: Reduced possible seeds to 877265 [2018-05-03 14:58:47] [/INFO]: Added info, b = 13, s1 = 7, s2 = 14, s3 = 26 [2018-05-03 14:58:47] [/INFO]: Reduced possible seeds to 10477 [2018-05-03 14:58:58] [/INFO]: Added info, b = 12, s1 = 3, s2 = 13, s3 = 24 [2018-05-03 14:58:58] [/INFO]: Reduced possible seeds to 115 [2018-05-03 14:59:12] [/INFO]: Added info, b = 9, s1 = 4, s2 = 7, s3 = 18 [2018-05-03 14:59:12] [/INFO]: Reduced possible seeds to 23 [2018-05-03 14:59:22] [/INFO]: Added info, b = 6, s1 = 3, s2 = 7, s3 = 12 [2018-05-03 14:59:22] [/INFO]: Reduced possible seeds to 15 [2018-05-03 14:59:33] [/INFO]: Added info, b = 3, s1 = 1, s2 = 6, s3 = 6 [2018-05-03 14:59:33] [/INFO]: Reduced possible seeds to 3 [2018-05-03 14:59:51] [/INFO]: Added info, b = 2, s1 = 1, s2 = 5, s3 = 4 [2018-05-03 14:59:51] [/INFO]: Reduced possible seeds to 2 [2018-05-03 15:00:07] [/INFO]: Added info, b = 5, s1 = 2, s2 = 6, s3 = 10 [2018-05-03 15:00:07] [/INFO]: Reduced possible seeds to 2 [2018-05-03 15:00:20] [/INFO]: Added info, b = 8, s1 = 3, s2 = 9, s3 = 16 [2018-05-03 15:00:20] [/INFO]: Reduced possible seeds to 1 [2018-05-03 15:00:24] [/INFO]: Calculating player seed with fa72033c, 50a8e23a [2018-05-03 15:00:24] [/INFO]: Played seed calculated as 50a8e23a5c2b [2018-05-03 15:04:15] [/INFO]: Calculating items to throw [2018-05-03 15:04:15] [/INFO]: Item: diamond_axe [2018-05-03 15:04:15] [/INFO]: Wanted list: [2018-05-03 15:04:15] [/INFO]: unbreaking III [2018-05-03 15:04:15] [/INFO]: efficiency IV [2018-05-03 15:04:15] [/INFO]: fortune III [2018-05-03 15:04:15] [/INFO]: Not wanted list:

[2018-05-03 15:04:15] [/INFO]: Throw 14 items, b = 15, s = 3

Earthcomputer commented 6 years ago

The elytra counts as one of the unbreaking items that you can't use during the process. Did you use your elytra at all between the first dummy enchant and the player seed cracking?

Jeff-ChenFan-Wang commented 6 years ago

Nope. Unequipped all armor every time I tried to use the cracker, didn't even hold any tools in the hotbar. Stood on top of the enchantment table to make sure the only movement I made was rotation to place the torches.

Did the exact same thing after the fix and all worked out well. Since my suspicion was that the elytra flying affected the random xp seed generation, my fix's goal was to basically flood the xp seed generation algorithm with as many random actions EXCEPT for flying that the flying would no longer affect the algorithm.

Jeff-ChenFan-Wang commented 6 years ago

Tried to recreate the fix in multiplayer, but didn't work.

Earthcomputer commented 6 years ago

The numbers found in the log could not possibly be consecutive. You must be doing something wrong somewhere. In the mean time, since this is not an issue with the cracker itself, I'm going to close this issue.