DarkMultiPlayer Client

DarkMultiPlayer Client

38.8k Downloads

Different ore map for each player.

TheNigal opened this issue ยท 4 comments

commented

A friend and I were trying to collaborate on a Munar mining mission when we found an interesting problem. Our ore maps when survey scanning were completely different. It seems the ore distribution is local to each client, and not shared across the server.

commented

This could be "fixed" by having the server generate a ResourceScenario.txt file, with the seed, and send it to the players. When the players update these scenarios, queue the changes, compare them, merge them to the server-side file and send it to all the other players.

commented

Something I use for ResourceScenario.txt & SCANcontroller.txt

(Windows Method)
Copy the version you want to Initial
Shift Rightclick the folder and 'open an command window here'
mklink /h ResourceScenario.txt ..\Username\ResourceScenario.txt
do this for all the users

(File can't exist in userfolder or it throws an error)
(mklink /h [sourcefile] [destinationfile])

Using initial makes new users pick up about where other people where and allows some room for you to symlink them later on, they won't be scanning within the first few hours.

This is a dirty method still wating for proper support, maybe a white list of stuff that needs to automaticly be shared\symlinked

Notes:
/H is very important, dmpserver may crash if you forget !

This is not flawless, if multiple people are working on scanning you may lose some progress but scenarios are saved every 30 seconds, just fear they are only read on login.

commented

Send the seed I guess?

commented

Duplicate of #72, #164, #185, #226 and #247, isn't it?
You can copy the "ResourceScenario.txt" from the directory Universe/scenario/usernameX to /usernameY or better yet: copy/paste it into the "Initial" directory as well.