One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#1 Re: Main Forum » Setting up your personal Linux test editor/server/client » 2018-03-14 05:31:54

Hi all,

i posted a small how to, think it actually should be writte in this thread here.

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

#2 Main Forum » [Linux]How to setup custom server?! » 2018-03-13 18:48:09

nouseforname
Replies: 2

Hi all,

as i struggled a bit setting up a custom server. I decided to create a small "how to", as some of the informations are missing or spreaded at different places.

1. install dependencies and download source (just follow this link)
- http://onehouronelife.com/compileNotes.php?nocounter=1
- Install: sudo apt-get install git g++ imagemagick xclip libsdl1.2-dev libglu1-mesa-dev libgl1-mesa-dev
- additional for headless with nohup: sudo apt-get install expect

2. unpack and build
- Unpack: tar xzf OneLife_Live4_UnixSource.tar.gz
- Pull&Build: ./pullAndBuildLatest

3. follow 'OneLife_Live4_UnixSource/OneLife/documentation/EditorAndServerBuildNotes.txt
- cd OneLife/server
- ./configure
- make
- ln -s ../../OneLifeData7/objects .
- ln -s ../../OneLifeData7/transitions .
- ln -s ../../OneLifeData7/categories .

4. Edit server configs OneLife_Live4_UnixSource/OneLife/server/settings/:
- clientPassword.ini =>  set the password for connection
- requireClientPassword.ini => 1  if you want to keep it private
- requireTicketServerCheck.ini => 0  to disable the ley checking
- useStatsServer.ini => 0 to disable stats server connection

5. run server
- wether start it directly with ./OneLifeServer (eg with TMUX)
- or with the ./runHeadlessServerLinux.sh  script (nohup)

6. Edit client configs OneLife_Live4_UnixSource/settings/:
- fullscreen.ini => 0 to disable fullscreen (only at dual monitor)
- customServerAddress.ini => YOUR IP/URL "SAMPLE.COM"
- serverPassword.ini => set to the same password used in server
- useCustomServer.ini => 1  to enable custom server connection


Hope i didnt forget anything.

Have fun playing with your friends at your own server wink

#3 Re: Main Forum » [Linux] Start/compile game » 2018-03-06 04:12:05

Zeromus wrote:

In the settings folder there is a fullscreen.ini file.  Change the value in that file to 0 and see if that helps.

jasonrohrer wrote:

Run it in windowed mode.  Sounds like you do not need to build from source.  The binary should work.  Just run in windowed mode.


yes, both versions running well in window mode, just needed to find out how to change this setting. Somehow i wasnt able to find this file when i searched settings folder.
Anyway, in window mode it seems everything is fine to play the game...

thanks

#4 Main Forum » [Linux] Start/compile game » 2018-03-05 17:19:33

nouseforname
Replies: 3

Hi folks,

i just started with this "project" and i run into problems immidiately after downloading. I tried to search the forum for more info without success, thats why i decided to post my issues.

First of all, i am running Linux Kubuntu 17.04, with a dual monitor setup. I found already there is a problem with this, but i am not able to solve it without any help from you.


I downloaded the binary first and started it. These are the (known?!) issues i had so far:
- game starts in fullscreen mode, over both monitors
- click on settings, post review, quit, temp login doesnt have any reaction
- after dieing, the OK is not possible to be clicked

Cause of this all, i downloaded the source, to be able to compile my onw version. But running into the next problems when treing to run one of the scripts:
- it can not find the SDL installation, but i think i have it installed at my system. but it seems there are two versions. i needed to install "sudo apt-get install libsdl1.2-dev"
- after i was able to start the game, but with the same issues from the binary. Due to i changed the settings, i can not even change to window

- "flags = SDL_OPENGL | SDL_NOFRAME;" this will have no window frame at all.

Right now i am not able to really play the game. Any help is appreciated. i am also willed to help with some tests etc... The other option is, i just forget about it and request the payback.


cheers nouse

Board footer

Powered by FluxBB