Page 1 of 1

"Bad lexical cast" exception on too big map seed

Posted: Fri Jun 13, 2014 2:00 pm
by hoho
I tried using 12345678901234567890 as a map seed and the game threw me "bad lexical cast: source type value could not be interpreted as target"
4294967295 (uint32 max value) -> works fine
4294967296 (uint32 maximum value + 1) -> cast fail

Seems like a simple problem to fix :)

Re: "Bad lexical cast" exception on too big map seed

Posted: Sat Jun 14, 2014 11:35 am
by slpwnd
Thanks for the report. The game will not crash here in 0.10.1.