Stationeers

Stationeers

Stationeers
Share the best world creations and game modifications with the community for Stationeers through Steam workshop.
Joew 20 May, 2024 @ 8:48pm
[Help] Exception an item with the same key has already been added
I've changed the file worldsettings and try load it to the game.
I put it just below Core on mod's order.

But when the game is loading (before got to the main menu) i saw this error:

Failed to load game data at Documents\My Games\Stationeers\mods\MyMod/GameData\worldsettings.xml
Exception an item with the same key has already been added

Print of the error:
https://i.ibb.co/rQpdw6b/stationeers-mods-errors.jpg

How to fix this, please?
thanks!!!
Last edited by Joew; 21 May, 2024 @ 6:25am
< >
Showing 1-8 of 8 comments
Kastuk 9 20 May, 2024 @ 11:00pm 
Is your spawns of startconditions have same id as vanilla startconditions?
Joew 21 May, 2024 @ 6:13am 
Originally posted by Kastuk:
Is your spawns of startconditions have same id as vanilla startconditions?
The same. I copyed and pasted the worldsettings.xml from starioneers data folder and just replaced the values for <MineablesOverride>

The error says that the key is: 1138682070
I searched for those value in worldsettings.ini and did not find nothing...
So idw what i have to change to fix.

Thanks!!!
Last edited by Joew; 21 May, 2024 @ 6:18am
Kastuk 9 21 May, 2024 @ 6:21am 
Ah, if you copy whole worldsettings, you may need to change not just name of world, but spacemap ids too.

That number purposedly is hash converted from number or text of an name, like spacemap node id.
Last edited by Kastuk; 21 May, 2024 @ 6:23am
Joew 21 May, 2024 @ 6:49am 
Originally posted by Kastuk:
Ah, if you copy whole worldsettings, you may need to change not just name of world, but spacemap ids too.

That number purposedly is hash converted from number or text of an name, like spacemap node id.
I removed all others stuffs, so it only have MineablesOverride and DeepMineablesOverride

So this is my xml:
https://pastebin.com/nWP1smKc

Now I am getting another error:
https://i.ibb.co/PjNvG7H/STATIONEERS-ERROR-NEW.jpg

Exception: Object reference not set to an instance of an object.

Can you tell me what I am missing, please?

It is harder than just edit the xml as before this new update :P

Thanks for ur help ;)
Kastuk 9 21 May, 2024 @ 6:55am 
Thats not a custom world, theres just stones rollinng inside empty husk with name on it. And its id name is already used for vanilla Moon.
Kastuk 9 21 May, 2024 @ 6:58am 
Theres example of alternated versions of vanilla worlds with comments in xml
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3113969767&searchtext=Vanilla+Worlds
Joew 21 May, 2024 @ 10:15am 
Originally posted by Kastuk:
Theres example of alternated versions of vanilla worlds with comments in xml
https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=3113969767&searchtext=Vanilla+Worlds
This mod is bugged too. The same error i got =(

Print error:
https://i.ibb.co/4Nxp5TW/stationeers-custom-world-mod-error.jpg

It is something I am missing =(
Kastuk 9 21 May, 2024 @ 10:22am 
Hm, that icon names for spacemap aupposedly been like vanilla ones and mentioned in rocketlocations xml
Last edited by Kastuk; 21 May, 2024 @ 10:23am
< >
Showing 1-8 of 8 comments
Per page: 1530 50