One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#51 2018-05-04 14:56:20

Bimble
Member
Registered: 2018-03-13
Posts: 29

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

Babsy wrote:

My client and Ubuntu server run the same version. How do I convert existing databases to a new update, so that items don't show as something else (like a berrybush that is picked, changes to a pie etc.)?

You can try going into the server directory and running these commands:

./makeDBConvert
./updateDBs.sh

Hope that does it!

Offline

#52 2018-05-04 17:30:01

Babsy
Member
Registered: 2018-03-16
Posts: 100

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

I can't find ./updateDBs.sh . It's not in the server directory.

Offline

#53 2018-05-04 20:55:25

Bimble
Member
Registered: 2018-03-13
Posts: 29

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

Did makeDBConvert run without any errors?  That's supposed to create the updateDBs.sh script.

Offline

#54 2018-05-04 22:12:12

Crellion
Member
Registered: 2018-05-04
Posts: 2

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

./makeDBConvert =     g++: error stack.cpp:No such file or directory
./updateDBs.sh    =     bash: ./updateDBs.sh:No such file or directory

Offline

#55 2018-05-05 04:01:57

Bimble
Member
Registered: 2018-03-13
Posts: 29

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

I am not sure why you're seeing that error looking for a stack.cpp file - I don't see a file with that name in the current build.  If you haven't already, you might try running the refreshBuildScript.sh and pullAndBuildTestSystem.sh scripts to make sure you have the latest code.

It does look like the update script is now "convertDBs.sh", so you can try that instead:

./convertDBs.sh

Offline

#56 2018-05-06 21:53:20

Avalikia
Member
Registered: 2018-03-20
Posts: 54

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

I've been having an issue with my test server since the last update:  Even though I refreshed my build script, my server only updates to version 90 even though my client updates to version 93.  Even if I remove everything and start over from scratch, I still have this issue.

Offline

#57 2018-05-07 01:35:56

Bimble
Member
Registered: 2018-03-13
Posts: 29

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

The latest version of the server is v90.  You can see the list of server releases here:

https://github.com/jasonrohrer/OneLife/releases

The build script pulls the version number from the most recent tag that ends with "v##", so 90 is the latest version number.

Offline

#58 2018-05-07 03:34:02

Avalikia
Member
Registered: 2018-03-20
Posts: 54

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

And that becomes an issue if the latest version of the client it 93.  When I attempt to login to my test server, I get the error about the versions not matching.

Offline

#59 2018-05-07 05:14:52

Bimble
Member
Registered: 2018-03-13
Posts: 29

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

You might have the old version of the server still running.  Try rebooting the VM then start the game server again to see if you can connect after that.

Offline

#60 2018-05-07 05:36:08

Avalikia
Member
Registered: 2018-03-20
Posts: 54

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

I've already tried that more than once as a part of my troubleshooting.  The client really, really wants the server to be version 93.

Offline

#61 2018-05-07 06:07:24

Bimble
Member
Registered: 2018-03-13
Posts: 29

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

I ask because I'm not seeing the same problem with an updated client and server.  Weird.

You've checked the serverCodeVersionNumber.txt file in the server directory, I assume?  Is it set to 90?  If not, try that.  If it is, maybe try changing it to 93 to see if you can connect.

Offline

#62 2018-05-07 12:55:35

Avalikia
Member
Registered: 2018-03-20
Posts: 54

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

Now, THIS is strange - I went in to test again and it's... working?  For no apparent reason?  I suppose I'll just accept that and whine again if it stops working.

Offline

#63 2018-05-07 19:55:48

Bimble
Member
Registered: 2018-03-13
Posts: 29

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

You're a wizard, Harry!

Offline

#64 2018-05-28 05:24:49

NBonaparte_BG
Member
Registered: 2018-03-23
Posts: 18

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

HELP!

When I starts up my localhost server, it keeps saying:
Error: WebRequest failed to lookup (null)?action=check_apocalyse
Apocalyse check:  Request to reflector failed.


- By Naples Bunoparte "Historian Extrodinaire"

Offline

#65 2018-05-28 06:05:52

Joriom
Moderator
From: Warsaw, Poland
Registered: 2018-03-11
Posts: 565
Website

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

You might be missing some of the settings or whole settings folder. Had the same error popping up when my apocalypse was on but reflector (or ticket server?) was not configured.

Offline

#66 2018-05-28 23:50:34

Intangir
Member
Registered: 2018-05-21
Posts: 53

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

im trying to test transition changes and its not working for me

i used the editor, and set several transitions that edited the transitions files in ways that look correct, some changes were as simple as changing cooldowns which definately look accurate in the new transition files

but when i test them in game no changes occur..

none of them are working, its as if they files aren't being loaded, i checked the path to transitions in my server folder and it matches the new transitions directory

do i have to rebuild some sort of transitions cache or something?

Offline

#67 2018-05-29 00:06:08

Intangir
Member
Registered: 2018-05-21
Posts: 53

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

ya it was that.. i just deleted cache in the transitions and it works now. mostly.. one of the objects mysteriously escaped transitioning but the rest worked

Offline

#68 2018-05-29 17:20:17

Stylingirl
Moderator
Registered: 2018-05-24
Posts: 142

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

I'm getting stuck on this part in the compiling from source instructions:
"After installing the required packages on your system, download the UnixSource bundle and extract it:
    tar xzf OneLife_Live4_UnixSource.tar.gz"

I'm just not sure what to do or if I've even properly downloaded the UnixSource bundle.

Edit: I just skipped that part, followed the rest of the instructions and set up the server but when I get into the game my actions are in slow motion.
Also, how would I find my IP for my server?

Last edited by Stylingirl (2018-05-30 05:24:09)

Offline

#69 2018-07-05 13:35:47

bigpurplebubblez
Member
Registered: 2018-07-05
Posts: 3

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

Hello, I recently installed Linux and was very excited to try this out. I haven't been using this OS for long so excuse me if the answer is painfully obvious but I have been having some trouble.
Firstly I have to run the game using the windows version as 32 bit programs seem to have issues on my version of Ubuntu I have tried a few fixes for it and have installed the dll's and  libsdl1.2 and xclip and also a frame work. I decided I would still try the server and connect using the windows application using wine to launch the .exe this is the log on Terminal:


storme@storme-CW37S:~/Documents/Oholserver/OneLife/server$ sudo su
[sudo] password for storme:
root@storme-CW37S:/home/storme/Documents/Oholserver/OneLife/server# ./OneLifeServer
Local epoch time  = -3600
GMT epoch time  = 0

Server starting up


Server using version number 118



Press CTRL-Z to shut down server gracefully

lifeLog starting up
Backup system inited.  Backups on = 1, target hour UTC = 8, current hour UTC = 22, last backup was 425206.703056 hours ago
Loaded 0 animations from animations folder
Decompressing took 0.009000 seconds
Object id 793 (The Apocalypse) seen as an apocalypse trigger
Loaded 1212 objects from objects folder
  Auto-generated 829 'used' objects
  Auto-generated 210 'variable' objects
Decompressing took 0.000000 seconds
Loaded 61 categories from categories folder
Decompressing took 0.001000 seconds
Loaded 1635 transitions from transitions folder
Auto-generated 729 transitions based on categories
Auto-generated 74 transitions based on pattern categories
Run 0:  Auto-modified 194 transitions based generic use transitions and auto-added 187 last use generic transitions (40 objects had generic use transitions defined).
Run 1:  Auto-modified 18 transitions based generic use transitions and auto-added 187 last use generic transitions (40 objects had generic use transitions defined).
Auto-generated 4832 transitions based on used objects, 55 removed in the process.
Auto-generated 1009 transitions based on variable objects.
foodLog starting up
failureLog starting up
No shutdownLongLineagePos.txt file exists

Cleaning stale look times from map...
Cleaned 0 / 0 stale look times

No lookTimes present, not cleaning map.db
No lookTimes present, not cleaning mapTime.db
No lookTimes present, not cleaning biome.db
No lookTimes present, not cleaning floor.db
No lookTimes present, not cleaning floorTime.db
stackdb file contains correct header but is missing hash table.
Error 1 opening eve KissDB
Listening for connection on port 8005
Checking for remote apocalypse
Checking for remote apocalypse
Checking for remote apocalypse
Checking for remote apocalypse
Checking for remote apocalypse
Got connection
Listening for another connection on port 8005
Got new player logged in
Segmentation fault (core dumped)

When I tried to run the game client ( the shared directory file OneLife) with the Terminal I had some issues also it gave me a black screen with a white underscore each time I tried. I had to restart to get back to my desktop.

Tell me if you need anything else, Thanks in advance. x

Last edited by bigpurplebubblez (2018-07-05 13:48:23)

Offline

#70 2018-07-05 15:20:14

jasonrohrer
Administrator
Registered: 2017-02-13
Posts: 4,801

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

Well, it's crashing.

You'll need to run the server in GDB to figure out why (see the other sticky thread).

As for the WINE client, you should probably just build the 64-bit client from source if you're at this point.  Download the UnixSource version to do this.  There's a script in there that will build the latest client for you automatically.

Offline

#71 2018-07-05 21:01:43

Uncle Gus
Moderator
Registered: 2018-02-28
Posts: 567

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

I know why, and I'm pretty sure I've logged an issue for it. If you start the server then restart it without anyone joining for the first time, the Eve dB gets messed up. You need to remove all the db files and restart it. Once the first player has joined, it's fine from then on.

Remove the db files with:

rm *.db

Offline

#72 2018-07-05 21:04:02

Uncle Gus
Moderator
Registered: 2018-02-28
Posts: 567

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

Sorry, I hadn't raised it but I have now.

Offline

#73 2018-07-06 09:42:32

bigpurplebubblez
Member
Registered: 2018-07-05
Posts: 3

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

Thanks Uncle Gus and Jason, I'll try this later but sadly the computer I was working on wont charge, I need to buy a replacement charger so until then I wont be able to work on it. But I'll be sure to take your advice just be aware that it may take a while for me to get back to you with any updates because of my computer.

Offline

#74 2018-07-08 12:40:12

bigpurplebubblez
Member
Registered: 2018-07-05
Posts: 3

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

It worked the .db files had to be removed.

Offline

#75 2018-07-15 16:05:05

FounderOne
Member
Registered: 2018-03-16
Posts: 336

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

jasonrohrer wrote:

The editor currently allows me to construct test scenes with any of the available objects.  Those scenes can be loaded by a game server, and the client can connect to that server, allowing me to test that object configuration inside the live game.

Here are instructions for how you can set up the same test system on your end, in Linux.

First, make sure you have these packages installed:

http://onehouronelife.com/compileNotes.php?nocounter=1


Then, grab this shell script:

https://github.com/jasonrohrer/OneLife/ … tSystem.sh

I am a bit stuck.

I installed the packages and wanted to do this step:

"After installing the required packages on your system, download the UnixSource bundle and extract it:
    tar xzf OneLife_Live4_UnixSource.tar.gz"

So I did this and got the respond that it cant find the file or folder.

Any ideas?



And then there is another question. The next step would be to grab the shell script.

"Then, grab this shell script:

https://github.com/jasonrohrer/OneLife/ … tSystem.sh"

I was on the github and couldnt find a download for the file?


Its a rought world - keep dying untill you live <3

Offline

Board footer

Powered by FluxBB