Skip to content

conditional server.seed and comments rework#725

Merged
dgibbs64 merged 2 commits intomasterfrom
rust-adds
Feb 29, 2016
Merged

conditional server.seed and comments rework#725
dgibbs64 merged 2 commits intomasterfrom
rust-adds

Conversation

@UltimateByte
Copy link
Copy Markdown
Contributor

Can't test it out as multiple server instances don't work and my server now has players on it, but if that looks OK to you, it should be fine.

@ivangc11
Copy link
Copy Markdown

You can check you out random seed if you do not enter the variable? My always generates me the same.

@UltimateByte UltimateByte mentioned this pull request Feb 28, 2016
@UltimateByte
Copy link
Copy Markdown
Contributor Author

As i told you : No seed = random value
Empty server.seed = 1

Of course if you start your server once, the random value will be keeped until you remove your files in your server identity folder (in serverfiles/server/your_identity). For your information, the identity is changed by changing "servicename" variable.

@UltimateByte
Copy link
Copy Markdown
Contributor Author

Tested working, can merge

dgibbs64 added a commit that referenced this pull request Feb 29, 2016
conditional server.seed and comments rework
@dgibbs64 dgibbs64 merged commit 469cd19 into master Feb 29, 2016
@ivangc11
Copy link
Copy Markdown

I can not get the seed out randomly. Stop the server, delete the save folder in the path of my server, in my case is: /serverfiles/server/rust-server/save. I've also tried to remove Storage.db and UserPersistence.db files.
When I return to start the server, I generated the map with the same seed.
What am I doing wrong?

Another question, the file you have modified the github, I have to download it manually or automatically download in any way ?.
a greeting

@UltimateByte
Copy link
Copy Markdown
Contributor Author

This file has to be downloaded manually, as it's the main script. It's the only one that needs to be downloaded manually, otherwise, you can run the update-functions command. https://github.com/dgibbs64/linuxgsm/wiki/Update#updating-your-lgsm-script

It's possible that this random number is random to your machine. I'm not so sure about that. But the purpose of this little add isn't wether or not it's random, it's if you specify +server.seed with no value, it will always take the value of 1, and that is not desirable.

@UltimateByte UltimateByte deleted the rust-adds branch March 1, 2016 07:55
@ivangc11
Copy link
Copy Markdown

ivangc11 commented Mar 1, 2016

But the steps I performed to erase the data, correct? How do you do it?
Thank you

@UltimateByte
Copy link
Copy Markdown
Contributor Author

Save your important rustserver settings in a local file to put them back afterwards.
Then,

rm rustserver
wget http://gameservermanagers.com/dl/rustserver
nano rustserver

Edit rustserver to fit your needs.

@ivangc11
Copy link
Copy Markdown

ivangc11 commented Mar 1, 2016

thanks friend, but I mean to delete data from the saved game. What do wipe typical when updates.

@UltimateByte
Copy link
Copy Markdown
Contributor Author

The forced wipe happens tomorrow, i'll have to figure this out at the moment.
I did it once, but i'm not so sure if i was right :

/serverfiles/server/rust-server
Remove UserPersistence.db / Storage.db / save folder
One of them contains blueprints from players and doesn't need to be wiped all the time.

@ivangc11
Copy link
Copy Markdown

ivangc11 commented Mar 2, 2016

Ok, I do the same. I have added to steam, aceptame and we tried talking and servers. a greeting.

@lock
Copy link
Copy Markdown

lock Bot commented Jul 19, 2018

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock Bot locked as resolved and limited conversation to collaborators Jul 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants