One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#1 2018-12-07 00:03:59

oddlyeven
Member
Registered: 2018-12-06
Posts: 3

Texture mismatch issue

I've been enjoying this game for a couple weeks now but I've had some issues while playing with my buddy on my custom server.

The textures for gooseberry plants get switched out with a goose pond, essentially anything stackable shows the wrong texture. I saw in the sticky thread that some people were having these issues due to database files or cache files. I've tried removing these, and even cloning and building fresh still has this problem.

Heres my setup:

Server: Running an Ubuntu Bionic Beaver VM.
Client: Steam on windows 10

I ran my custom server on the previous release (before thanksgiving) without issue. After the new update I seem to have this texture issue. I'm wondering if there is somehow a mismatch between the master branch on github and what has been released to steam. Any help on this would be appreciated.

The only thing I haven't tried is reinstalling on steam, I will try that now and report back later.

Offline

#2 2018-12-07 01:45:40

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

Re: Texture mismatch issue

Are client, server, and data files all three on the latest version? Have you double-checked?

Are you doing your own build or using someone's prebuilt version?

I'm using Windows 7, Awbz' prebuilt server for Windows, the Steam client (as a base install), and Awbz' modded client dropped into the Steam folder. It's working perfectly, but at the time of the last update I (and many other people) got the stacked-item texture issue you're reporting (on the official servers). It was fixed either by another update Jason pushed out right afterwards, or a restart of the servers, or both.

Offline

#3 2018-12-07 04:22:46

oddlyeven
Member
Registered: 2018-12-06
Posts: 3

Re: Texture mismatch issue

I am building the server myself using the pullAndBuildTestSystem.sh script. I have completely uninstalled both the client and server, reinstalled the latest, still seeing the same issue. When you say latest version I assumed I want the master branch from github. Do I need a special tag such as OneLife_liveServer?

Offline

#4 2018-12-07 04:25:11

GreatShawn
Member
Registered: 2018-09-08
Posts: 381

Re: Texture mismatch issue

How do you make a private server? The sticky is kinda comfusing for an asian who is learning a second language.

Offline

#5 2018-12-07 15:34:10

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

Re: Texture mismatch issue

oddlyeven - I'm not sure; I've never done the build myself. You might get some useful assistance asking on Discord. I know that Awbz regularly builds after each new release, so he could probably help.

GreatShawn - The sticky is written to get the private server running under Linux. There is now a Windows version of the server which is easier to get running, assuming you have Windows.

That's it!

Offline

#6 2018-12-08 03:57:34

GreatShawn
Member
Registered: 2018-09-08
Posts: 381

Re: Texture mismatch issue

CrazyEddie wrote:

oddlyeven - I'm not sure; I've never done the build myself. You might get some useful assistance asking on Discord. I know that Awbz regularly builds after each new release, so he could probably help.

GreatShawn - The sticky is written to get the private server running under Linux. There is now a Windows version of the server which is easier to get running, assuming you have Windows.

That's it!

OMGGGG!!!!!! YOU ARE CRAZY AWSOME EDDIE!!!!

Offline

#7 2018-12-08 05:04:14

oddlyeven
Member
Registered: 2018-12-06
Posts: 3

Re: Texture mismatch issue

For anyone else who has this problem, the issue was that my server code was ahead of my client code. The official servers hadn't pushed version 180 to my client yet.

By copying the contents of  my server's OneLifeData7/ folder into the directory containing the .exe for steam, I was able to connect to my custom server without issue. Always check to make sure you have the same dataVersionNumber.txt on both client/server

Oh and this is a hacky way of doing it, if I was patient I would have just been able to connect to the official servers and get the update eventually.

Last edited by oddlyeven (2018-12-08 05:05:20)

Offline

#8 2018-12-08 05:04:39

GreatShawn
Member
Registered: 2018-09-08
Posts: 381

Re: Texture mismatch issue

Oh and btw eddie do you know how to edit the map of a private server? like is there an application in the folder that can let you put down structures and stuff?

Offline

#9 2018-12-08 07:14:22

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

Re: Texture mismatch issue

GreatShawn - thanks for the kind words, but credit goes to Awbz (plus, you know, Jason). He's the one who makes the Windows build.

Yes there is a map editor, and yes it is included in the Awbz "win_full" package. It's called "EditOneLife.exe". I don't understand what it does or how it works, and I don't think it's documented anywhere, so you'll probably have to figure it out through trial and error. Here's a video of Jason using it to add a sheep to the game: https://www.youtube.com/watch?v=27cztry-gJQ . The editor has multiple parts: Objects, Animations, and Scenes (and maybe other stuff, I'm not sure). In that video I think Jason is editing Objects and Animations, and I think to edit the map you need to edit Scenes.

Here's what Jason has said about the editor:

The page navigation buttons are at the top.  Navigate to Objects, then Animations, then Scenes.

You are now looking at the scene editor.

Move the cursor with the arrow keys and then use the ObjectPicker on the right to place objects.  Place biomes using the ground picker on the left.

Press the button at the top to export a test map.  It will be saved as "testMap.txt"

Copy the test map [the file "textMap.txtx"] into the server directory

Then in the server terminal, quit the server with Ctrl-Z.

Then restart the server so that it will use the test map:

[
You'll need to edit a text file in the "server\settings" folder called "useTestMap.ini" so that it contains the number "1" by itself on the first line and then nothing else in the file. Then, in the "server" folder, you'll need to delete all of the following files, if they exist:

testMapStale.txt

... and any file that ends in .db, including:
biome.db
eve.db
floor.db
floorTime.db
lookTime.db
map.db
mapTime.db
meta.db
playerStats.db
(there may be others, you'll need to double-check)
]

Now run the client again and you should find yourself in the middle of your test map.

[You can't move more than 3 units up or more than 6 units left. You can move down and right normally. Here's why:] The test scene in the editor isn't infinite.  You start in the upper left corner of the map, pretty much.  If you fill with biome texture, you'll notice that it stops up there too and leaves black beyond that point.

When you save a test map, it only saves the parts of the map that you actually touched.  It then loads those tiles into the middle of the infinite map on the server.  So if you walk out of your test map, you will find wilderness again.

Good luck, hope this helps!

Offline

Board footer

Powered by FluxBB