One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#101 2018-12-18 08:34:18

Three
Member
Registered: 2018-07-30
Posts: 47

Re: Setting up your personal Linux test editor/server/client

I just need it to be 100 replies


Uh yeah Jason didn't actually get his shit together
sooo
yeah

Offline

#102 2019-01-05 05:52:18

andrew_klassen
Member
Registered: 2018-12-11
Posts: 11

Re: Setting up your personal Linux test editor/server/client

For those of you who want an automated solution checkout my github.

https://github.com/andrew-klassen/onelife_easy_install

The documentation is in the project's readme. You can even use it to set up your own full blown ticketing system. Support for the Linux client is automatically included. Tested on Ubuntu 18.04.

Offline

#103 2019-03-23 12:45:03

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

Re: Setting up your personal Linux test editor/server/client

So when running a test server, after placing the first floor tile, all subsequent attempts just disappear after adding the material to the floor stakes. Also, if you use a test map, and placed any floors in the editor, when in game, they are not floor but actual objects that can be picked up and moved around.

Offline

#104 2019-03-23 14:07:01

wondible
Member
Registered: 2018-04-19
Posts: 829

Re: Setting up your personal Linux test editor/server/client

Anandamide wrote:

So when running a test server, after placing the first floor tile, all subsequent attempts just disappear after adding the material to the floor stakes. Also, if you use a test map, and placed any floors in the editor, when in game, they are not floor but actual objects that can be picked up and moved around.

Been a while since I used it, but there is a way to place things as floor (I had to build road for testing) Definitely placed some road objects first.

It seems like there is a bug with the windows server that prevents things from updating.


https://onemap.wondible.com/ -- https://wondible.com/ohol-family-trees/ -- https://wondible.com/ohol-name-picker/
Custom client with  autorun, name completion, emotion keys, interaction keys, location slips, object search, camera pan, and more

Offline

#105 2019-09-28 22:15:47

sliderule
Member
Registered: 2018-04-02
Posts: 41

Re: Setting up your personal Linux test editor/server/client

Notes for building the client and server on OSX:

The pullAndBuildTestSystem.sh file must be modified to replace all instances of ./configure 1 with ./configure 2.

If the linker can't find your SDL.framework, modify

minorGems/game/platforms/SDL/Makefile.MacOSX

to include -F/Library/Frameworks in the LINK_FLAGS or equivalent variable.

If you have ever compiled and run OHOL before, delete old build environments. OSX does some caching of the runtime environment or something and it can cause your data version to be out of check, a signifier of the problem.  Look for dataV in the runtime log to be equal to codeV.  If it isn't, you have an old build somewhere on your system.

Once pullAndBuildTestSystem completes without error, you should be able to continue as described in the OP.  When you run the client, you may be asked to point a finder window to a location on the OHOL binary.

The best way to get a full client-server build at this point is to:

cd OneLife/build
./makeBaseDistributionFolder [buildname]
./makeDistributionMacOSX [buildname] `uname` /path/to/sdl.framework

You'll be left with a folder mac/nameofbuild_etc and a matching tgz.  The client and server can be launched from that folder.

Offline

#106 2019-10-08 20:06:46

CrudeAirplane
Member
Registered: 2019-10-08
Posts: 1

Re: Setting up your personal Linux test editor/server/client

Another way to run server with Docker

FROM ubuntu
RUN apt-get update && apt-get install -y \
  git \
  g++ \ 
  imagemagick \
  xclip \
  libsdl1.2-dev \
  libglu1-mesa-dev \
  libgl1-mesa-dev \
  wget
WORKDIR /opt
RUN wget "https://raw.githubusercontent.com/jasonrohrer/OneLife/master/scripts/pullAndBuildTestSystem.sh"
RUN sh ./pullAndBuildTestSystem.sh

EXPOSE 8005
WORKDIR /opt/OneLife/server
CMD ["./OneLifeServer"]

# docker built -t ohol .
# docker run -t --name ohol -p 8005:8005 ohol
# docker exec ohol bash -c "echo 10.0 > /opt/OneLife/server/settings/minFoodDecrementSeconds.ini"

Offline

#107 2019-10-13 13:26:09

Coniculls13
Member
From: Australia
Registered: 2018-03-10
Posts: 40
Website

Re: Setting up your personal Linux test editor/server/client

jasonrohrer wrote:

A lot of the editor is hacked together in a "whatever was quickest" fashion.  As long as I know how it works, it's fine, right?

Which makes me hesitant to release it to the public, because it's not a "finished" piece of software, really.

Any plans to make it a finished piece of software? smile


You'll know me as Colin - Colin#9391
Two Hours One Life - a curated OHOL server. Discord:     https://discord.gg/atEgxm7

Offline

#108 2019-10-22 19:22:53

Alec
Member
Registered: 2018-11-13
Posts: 61

Re: Setting up your personal Linux test editor/server/client

If you want use SDL.framework in OneLife_vXXX.app/Contents/Frameworks, you have to execute this script.

install_name_tool -change @rpath/SDL.framework/Versions/A/SDL @executable_path/../Frameworks/SDL.framework/Versions/A/SDL ./mac/OneLife_269/OneLife_269.app/Contents/MacOS/OneLife

this is one line.

I needed this in my environment.

Offline

Board footer

Powered by FluxBB