Unturned

Unturned

View Stats:
P4nda熊猫 Jul 23, 2014 @ 7:32am
Hosting Multiple Servers not at the same time though
Just wondering ive hosted a server for my buddies and stuff just so we can get a feel for the game on PvE.now as we're kinda getting to grips with it we want to change it to PvP with a fresh start and have a feel with other players just that we dont want to erase everything we have on the PvE as we'll use that for testing stuff is there a way to change the file? so we can switch between? like you could with minecraft.
< >
Showing 1-11 of 11 comments
Deadsin Jul 23, 2014 @ 7:33am 
Ofc u can all u do is click host, instead of clicking Pve click pvp :D and no the stuff in the pve won't erase.
P4nda熊猫 Jul 23, 2014 @ 8:45am 
but wont that just change the server from pve to pvp? and stuff we built on pve will go over?
ZaaPy Jul 23, 2014 @ 9:04am 
If you ta trying to put the things gained in pve server for pvp server, probably going to have to change the registry key, I will test here.
P4nda熊猫 Jul 23, 2014 @ 9:21am 
lemee know asap
P4nda熊猫 Jul 23, 2014 @ 10:06am 
ive got a dedicated server not 24/7 unfortunately but no matter what i do when i change it to sync or nosync the server still transfers my character items and exp. Ive tried making a .bat file for running the server and that works but still not able to seperate both servers im not running both at the same time i just wanted to host a PvP aswel as a PvE so when im messing and testing around on PvE with friends and then take it down and host the PvP for some fun and giggles with a fresh map it just doesnt seem to happen anyone got any suggestions or found out how to do this? on a good note i did find a post about the .bat file and it restarts on its own which is good just annoyed that i cant jump between the 2.
ZaaPy Jul 23, 2014 @ 4:27pm 
I tryied a lot of things, but the character invetory everytime don't change. It's very rare when i enter in a non-sync server and the inventory come clear. This is a bug, maybe, soon, the dev 'll fix.
P4nda熊猫 Jul 24, 2014 @ 1:59am 
i figured it out btw i can post here the way i did it if u want
RIC0H Jul 24, 2014 @ 4:41am 
Originally posted by RazorPanda:
i figured it out btw i can post here the way i did it if u want
Would love to know how you did it.
I am thinking of running two instances at the same time (1 PvP and 1 PvE).
P4nda熊猫 Jul 24, 2014 @ 4:57am 
Originally posted by RIC0H:
Originally posted by RazorPanda:
i figured it out btw i can post here the way i did it if u want
Would love to know how you did it.
I am thinking of running two instances at the same time (1 PvP and 1 PvE).

to run two servers i think u need to machines atm i havent seen or figured out how to run two at the same time but if u goto ur steam apps folder and look for unturned in that folder open up a blank text file and copy and paste this

:loop
echo (%time%) Loot Resetting...
start /wait /high Unturned.exe -nographics -pei -bambi -nosync -pve -port:25444 -pass:[password] -players:[amount of players] -sv
echo (%time%) Loot Reset.
echo (%time%) Server is online.
echo (%time%) Loot Resetting in 2 hours.
timeout /t 5400 >null
echo (%time%) Loot Resetting in 1 hours.
timeout /t 3600 >null
echo (%time%) Loot Resetting in 30 minutes.
timeout /t 900 >null
echo (%time%) Loot Resetting in 10 minutes.
timeout /t 300 >null
echo (%time%) Loot Resetting in 5 minutes.
timeout /t 150 >null
echo (%time%) Loot Resetting in 2 minutes.
timeout /t 120 >null

taskkill /f /im "Unturned.exe"

goto loop

and then save the text file hit the drop down to make it say all files and then name the text file to whatever u want and put .bat at the end of it and it should save it as a .bat file once thats done just run the .bat file and it will open unturned load it to 90% and close and then open up the command prompt menu leave that open and run ur normal unturned game and thats how the server is up just type in localhost to connect

also where it has start /wait etc u need to have the -sv at the end otherwise it wont run u can also change the pass level difficulty etc
if u run into trouble lemme know and ill help out as much as i can
also change the timers to how u want its in seconds so 3600 is 1 hour etc vice versa just hit enter in the cmd and it will take it to the next line until u get to the restart and it will reboot the server :D

note i wont take credit for the coding as i read a post about it so its not all mines i just tweaked it a little to my preference
RIC0H Jul 24, 2014 @ 5:06am 
That code is only for an automatic restart of the server, how would that fix the issue in your OP?

Surely to have a fresh PvP map you would need to tweak the 'Unturned' registry.
Then create continuous backups so you can switch back and forth (between PvE and PvP (with different maps))

Also if you want to use it as a PvP server you would want to tweak:

start /wait /high Unturned.exe -nographics -pei -bambi -nosync -pve -port:25444 -pass:[password] -players:[amount of players] -sv
to
start /wait /high Unturned.exe -nographics -pei -bambi -nosync -pvp -port:25444 -pass:[password] -players:[amount of players] -sv
Last edited by RIC0H; Jul 24, 2014 @ 5:09am
P4nda熊猫 Jul 24, 2014 @ 5:44am 
woops pasted the wrong things yea i meant to change that i have two pve and pvp sorry pasted the wrong one yea i backed up the registry and loaded the game up to create a new one with a fresh map sorry i posted the code for server restart my bad thot this was the chat for my server issues with the restarting.

ok to get the new map up if you search for Regedit in the search and then look for the folder named HK_CURRENT_USER and then look for the folder Software and go to the Smartly Dressed Games and right click and export to save the file then after u backed up that u can go ahead and delete the file from the registry and then load the game up that will generate a fresh map/character and skills there is a way to just generate a new map and not lose character and skills but thats deleting certain files in that folder but thats not what i was looking for :D hope that helped again sorry for the misunderstanding on the first reply :P Honest Mistake :P
< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: Jul 23, 2014 @ 7:32am
Posts: 11