[MCPE-14081] Some seed string causes truncation errors. Created: 11/Apr/16  Updated: 03/Jan/18  Resolved: 03/Jan/18

Status: Resolved
Project: Minecraft (Bedrock codebase)
Component/s: None
Affects Version/s: 0.14.0, 0.14.1, 0.15.6
Fix Version/s: None

Type: Bug
Reporter: Cho Sangwon
Resolution: Cannot Reproduce Votes: 0
Labels: None

Confirmation Status: Unconfirmed
Platform: Android

 Description   

Sorry for my English is unskilled.
I received the help of a machine translator.

Problem
When you input some seed string to create a new world, the input process will ignores some of the 'normal' values entered by the user, or the input process will ignores all of the user input and determining a seed value randomly.

Some cases makes unwanted seed values(especially "My seed was suddenly changed to zero!"), or it causes different world by same seed input.

Details
If you input a seed string that starts with numbers, the input process receives only numbers.
For examples,

  • 0xdeadbeef
  • 01234
  • 0000
  • 0_
  • 0oTESTo0
  • 0(white spaces)
    ... All of these are the same world by seed 0. Because it is truncated to '0'.

Another examples,

  • 1234 -> Seed value has 1234. No problem.
  • 1234abc -> Seed value has 1234. This world is the same as the above.
  • 1234abc1234abc -> Seed value has 1234. Same as above.
  • abc1234 -> Seed value has result of hashcode for the string "abc1234". No problem.
  • abc1234abc -> Seed value has result of hashcode for the string "abc1234abc". No problem. This world is not the same as the above.
  • 1234567890abc -> Seed value has 1234567890.
  • 12345678901abc -> Seed value has result of hashcode for the string "12345678901". In other words, it is the same world as seed string "12345678901".

If you input a seed string one character, the input process will ignores all of the user input and determining a seed value randomly. (like empty seed.)
For examples,

  • 0 -> Seed value has result of random.
  • 1 -> Same as above.
  • 2 -> Same...
  • a -> Same...
  • z -> Same...
  • 11 -> Seed value has 11.

It doesn't help some user who wants a new world by one character seed.

I don't know if this process is intended. So I reported this as a bug. Thanks.

Test Environment
Pocket Edition 0.14 on Vega Iron A870S.
Windows 10 Edition 0.14.1

Edited : Fixed some ambiguous sentences and added some more examples.



 Comments   
Comment by [Mojang] Mega_Spud (Jay Wells) [ 03/Jan/18 ]

This ticket has been resolved as 'Cannot Reproduce' as it has no response was received recently.

Comment by AMAN4700 [ 18/Nov/16 ]

This is a bulk resolve of issues that haven't been updated to 0.16.0+ yet. Please comment below (To open the ticket) and update your affected versions. If you cannot reproduce the bug, please write in the comments so we can resolve it as "Cannot Reproduce". Thank You!

Comment by [Mojang] MissMarzenia (Aleksandra Zajac) [ 25/Aug/16 ]

Reported for test and fix.

Comment by Cho Sangwon [ 11/Aug/16 ]

It still appears. 0.15.6

Comment by AMAN4700 [ 08/Aug/16 ]

Please respond and add the current version if you can reproduce this issue.

Comment by DanTDM [ 12/Apr/16 ]

hmm i i nvm i lost my whole brain

Comment by HyperCamel [ 11/Apr/16 ]

I think this one is up to the devs, I don't see any information on seed generation in the MCPC wiki, or the MCPE wiki

Generated at Sat Jan 11 15:02:21 UTC 2025 using Jira 9.12.2#9120002-sha1:301bf498dd45d800842af0b84230f1bb58606c13.