One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#1 2019-04-21 14:50:14

louistwois
Member
Registered: 2018-03-14
Posts: 6

Wrong items after upgrading private server from 215 to 217

Hi there,

I'm running a private server which (when setup last week) had data version 215. My friends and I tried to access this server today and noticed a version mismatch, which I think is because our clients have updated to data version 217.

I've been able to pull the latest code for the server and recompile it, but now when we log in we see lots of items on the map that weren't there before. For example, we can see loads of "later game" objects such as candles and bound sets of cards on the ground, where we would have left early game items like banana peels and branches.

Am I missing a step on the server? Do I need to clear a cache or run some code to update the server's .db files?

Thanks,
Louis.

Offline

#2 2019-04-21 15:24:37

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

Re: Wrong items after upgrading private server from 215 to 217

Json's remoteServerUpdate script does include some cache clears.

I've had some weird behavior with my local docker server. For a while I had an item would be something different every time, but I think I was shutting down wrong. Now though hogs tend to show up near spawn. And yesterday it looked like I'm getting the file update bug that I fixed on windows. But I don't think that bug would change items, just prevent changes from being recorded.


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

#3 2019-04-23 10:51:59

louistwois
Member
Registered: 2018-03-14
Posts: 6

Re: Wrong items after upgrading private server from 215 to 217

Thanks for the tip about the remoteServerUpdate script. I had no idea that script existed, and will use something similar to that when I next need to update.

Perhaps the wrong items were caused by an incorrect shutdown then. Is there anyway to edit the map (or other) db file to remove / change the items?

Offline

#4 2019-04-23 12:37:16

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

Re: Wrong items after upgrading private server from 215 to 217

louistwois wrote:

Perhaps the wrong items were caused by an incorrect shutdown then. Is there anyway to edit the map (or other) db file to remove / change the items?

For direct editing the map, you'd probably have to make your own editor out of the code.

I used VOG mode to clean up my extra boars the other day - replaced their tiles with berries.

(p.s. the read/write bug was affecting my docker server, so I now apply the patch to my build)


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

#5 2019-04-23 14:32:54

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

Re: Wrong items after upgrading private server from 215 to 217

Yeah, clearing the caches should fix this.

Offline

#6 2019-04-24 16:58:55

louistwois
Member
Registered: 2018-03-14
Posts: 6

Re: Wrong items after upgrading private server from 215 to 217

Thanks for the tip about VOG mode. I was able to use this to clean up the weird items, as they were still present after a cache clear. (Perhaps it was caused by an incorrect server shutdown). For anybody who finds this in the future, VOG mode can be enabled by:

In game, you can then press V to toggle into VOG mode, and I to toggle an item spawn menu. Note that these must be capital letters.

Offline

#7 2019-04-28 10:31:27

Windycs
Member
Registered: 2019-04-28
Posts: 1

Re: Wrong items after upgrading private server from 215 to 217

How can I remove items through VOG mode? Please help me. And if i use Awbz's client, I can't turn on VOG mode.

Offline

#8 2019-04-28 11:43:40

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

Re: Wrong items after upgrading private server from 215 to 217

Windycs wrote:

How can I remove items through VOG mode? Please help me. And if i use Awbz's client, I can't turn on VOG mode.

Not sure about Awbz. I would think it would work the same, but perhaps he did something else with shifted letters. You could always use the vanilla client for just this part.

I removed things by placing a fairly quickly decaying item (berry) on the tile. Now that I think of it, a leaf might work better. Since the game is one item per tile, placing something over a tile deletes what was there. Once you V and I, click into the item select box and type enough of the item name to find what you want. Click an item to place it at the current tile. Current tile starts at your feet, and can be moved with arrow keys (which I think might be an issue for Awbz)


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

Board footer

Powered by FluxBB