Stanrimon Posted October 21, 2022 Share Posted October 21, 2022 In previous versions I was able to use "print(GetWorld().meta.seed)" to get the worldgen seed, but after the latest update I found the command partly invalid. Server log: [00:13:05]: [(****) (My user name)] ReceiveRemoteExecute(print(GetWorld().meta.seed)) @(-***.**, ***.**) [00:13:05]: Warning: GetWorld() is deprecated. Please use TheWorld instead. (@print(GetWorld().meta.seed):1 in ?) [00:13:05]: 1666348771 End of server log. You can see from above that the server did return the worldgen seed, but it won't be displayed in game (which would in previous versions). So I was wondering if the statement "print(GetWorld().meta.seed)" had been updated. If so, please tell me the up-to-date command to get worldgen seed in game. BTW, I was warned to replace "GetWorld" (it is now deprecated) with "TheWorld" in the console, but the simple replacement just won't work. --------Edit-------- Problem solved in 10 minutes. Someone in Baidu Tieba told me the current command to show worldgen seed: c_announce(TheWorld.meta.seed) Link to comment https://forums.kleientertainment.com/forums/topic/143968-access-to-worldgen-seed-via-command-in-current-version/ Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.