One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#1 2019-02-15 02:40:13

fatbunny
Member
Registered: 2019-02-14
Posts: 21

Making a private server on windows.

I noticed some posts mentioning a windows server client. How can I go about setting up a server on windows? I've tried a VM using linux but I cant get it to work.

Offline

#2 2019-02-15 11:39:05

stew
Member
Registered: 2019-02-13
Posts: 47

Re: Making a private server on windows.

https://github.com/Awbz/OneLife/release … Life+_v198
Download the win full package

Unzip and go into the server folder. I needed to create the Softlinks that are created by the .bat file myself. Then start the server. Connect to localhost.

Offline

#3 2019-02-15 14:02:14

CrazyEddie
Member
Registered: 2018-11-12
Posts: 676

Re: Making a private server on windows.

As stew said, you can use the native Windows server package made by Awbz. Be sure to get the latest version, which will always be at the URL below.

If you use "Run as administrator" the softlinks should be made for you automatically, but as stew pointed out you might have to create them yourself it that doesn't work for some reason. Once the links are made, you don't need to use "Run as administrator" the next time you start the server.

Offline

#4 2019-02-15 17:20:24

Anandamide
Member
Registered: 2018-06-05
Posts: 142

Re: Making a private server on windows.

So what do I do if the runserver.bat isnt working. What links do I need to do manually?

Offline

#5 2019-02-15 19:26:12

CrazyEddie
Member
Registered: 2018-11-12
Posts: 676

Re: Making a private server on windows.

Anandamide wrote:

So what do I do if the runserver.bat isnt working. What links do I need to do manually?

runserver.bat has some commands that start with "mklink". Those commands show you which links need to be created. They need to be created in the server directory and need to point to the appropriate subdirectories of the parent folder.

Offline

#6 2019-02-16 01:50:33

fatbunny
Member
Registered: 2019-02-14
Posts: 21

Re: Making a private server on windows.

When I try to play on the server it says

"Waiting to be born"

Then it says "Login Failed" And the server shuts down.

Offline

#7 2019-02-16 03:32:48

Anandamide
Member
Registered: 2018-06-05
Posts: 142

Re: Making a private server on windows.

https://onehouronelife.com/forums/viewtopic.php?id=5247

Change runserver.bat to this:

@echo off

cd /d %~dp0

echo "Creating symlinks..."


mklink /D categories ..\categories
mklink /D objects ..\objects
mklink /D transitions ..\transitions
mklink /D tutorialMaps ..\tutorialMaps
mklink dataVersionNumber.txt ..\dataVersionNumber.txt

echo "Starting server..."

OneLifeServer

pause

Offline

#8 2019-02-16 19:27:33

Peremptive
Member
Registered: 2019-02-14
Posts: 199

Re: Making a private server on windows.

could someone run a private server with the previous version of the game?

Offline

#9 2019-02-16 19:40:02

Jojigirl
Member
Registered: 2019-02-16
Posts: 245

Re: Making a private server on windows.

Does this get extracted into the OHOL folder? I have zoom out mod, but I don't want to get the 2 start ups mixed up or mess up the zoom out file.

Also, there is another server that I had played on a few times, they have hunger pretty much turned off and dying of old age turned off. Would anyone know how I would go about doing that?  Not too worried about hunger, as I would like to get used to the temp system, but the dying of old age turned off would be nice..

Last edited by Jojigirl (2019-02-16 19:42:31)

Offline

#10 2019-02-17 02:15:10

fatbunny
Member
Registered: 2019-02-14
Posts: 21

Re: Making a private server on windows.

Ok I got it working! Thanks for all the help! Is it possible to mod this? Like on a Linux VM? Or will I have to go on another route?

Offline

#11 2019-02-17 02:18:21

CrazyEddie
Member
Registered: 2018-11-12
Posts: 676

Re: Making a private server on windows.

Jojigirl wrote:

Does this get extracted into the OHOL folder? I have zoom out mod, but I don't want to get the 2 start ups mixed up or mess up the zoom out file.

You can extract it anywhere. It's entirely self-contained. I would extract it someplace unrelated to your existing OHOL folder.

Also, there is another server that I had played on a few times, they have hunger pretty much turned off and dying of old age turned off. Would anyone know how I would go about doing that?  Not too worried about hunger, as I would like to get used to the temp system, but the dying of old age turned off would be nice..

There are config files in a folder underneath the server folder (/server/settings). Each config file is a text file; the name of the text file is the config variable and the contents of the text file is the value that variable gets set to. Most of the names should be self-explanatory. I believe there are a few that will control how fast you age and/or how long you live, but I don't have them handy.

Offline

#12 2019-02-17 02:33:46

Jojigirl
Member
Registered: 2019-02-16
Posts: 245

Re: Making a private server on windows.

Thank you, I will mess around with the files to see if I can figure it out.

I appreciate the help. smile

Offline

#13 2019-02-17 20:06:10

fatbunny
Member
Registered: 2019-02-14
Posts: 21

Re: Making a private server on windows.

So I dont think I can edit the code on this server. How could I do that without a VM?

Offline

#14 2019-03-17 16:45:23

yaira
Member
Registered: 2018-07-26
Posts: 65

Re: Making a private server on windows.

fatbunny wrote:

So I dont think I can edit the code on this server. How could I do that without a VM?

you can go to folder server > setting and change some number there
or try using editonelife. it seems working
I deleted milkweed transition and saved. after that I couldn't pickout milkweed!

ㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡㅡ

anyone having issue of items going back to initial state when you reopen your server?
rope disappears and milkweed regenerates (but not all the time)

and number of boars increase, later on you'd have thirty boars filling the swamp!
(but only animal around my spawn point I think..)

I really wanna solve this problem..
I've been experimenting since last week(v206) and v211 still has the same problem ; (
plz help!   (I'm running on windows7)

Last edited by yaira (2019-03-18 17:59:02)

Offline

Board footer

Powered by FluxBB