One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#1 2023-04-23 07:01:14

martiblq
Member
Registered: 2023-04-23
Posts: 2

How to stop time passing on a private server?

I played singleplayer on localhost yesterday and after shutting down the server with ctr+c and closing the terminal I find out on the next day that my rabbit clothes are now rags which happens after 5 hours. Weirdly enough my carrots had not turned into seeds so what is going on? Does the game use your clock or something

Offline

#2 2023-04-23 09:41:20

jinbaili83
Member
Registered: 2018-06-15
Posts: 221

Re: How to stop time passing on a private server?

Yes. Instead of constant count down, objects store just info at what date/time to turn to next decay stage.
If carrots ware just watered when you quit, then they will only mature but not turn to seeds.

Only way around this is to edit transition time so objects decay later or remove decay transition completely or change "time stretch" property of containers so stuff in them takes longer to transition.

There is also setting for item culling on server to remove old unused parts of map.

Last edited by jinbaili83 (2023-04-23 09:41:52)

Offline

#3 2023-04-23 10:13:00

martiblq
Member
Registered: 2023-04-23
Posts: 2

Re: How to stop time passing on a private server?

jinbaili83 wrote:

Yes. Instead of constant count down, objects store just info at what date/time to turn to next decay stage.
If carrots ware just watered when you quit, then they will only mature but not turn to seeds.

Only way around this is to edit transition time so objects decay later or remove decay transition completely or change "time stretch" property of containers so stuff in them takes longer to transition.

There is also setting for item culling on server to remove old unused parts of map.

And how does one stop decay? It's probably a settings file but I can't find it. Also would that make some parts of the game impossible?

Last edited by martiblq (2023-04-23 10:15:59)

Offline

#4 2023-04-23 10:30:31

jinbaili83
Member
Registered: 2018-06-15
Posts: 221

Re: How to stop time passing on a private server?

Whole game engine relays on items turning into other items, be it by player or passing of time. You can't just turn off time but you can change how items behave.

There ware similar topics before : http://onehouronelife.com/forums/viewtopic.php?id=8747

Last edited by jinbaili83 (2023-04-23 10:33:42)

Offline

#5 2023-04-25 20:53:33

Arcurus
Member
Registered: 2020-04-23
Posts: 1,004

Re: How to stop time passing on a private server?

Try out my fork of OHOL Open Life Reborn. Just increased the decay time of rabbit fur cloths by a lot.
I think also the server does not count time once offline, but not 100% sure, since i implemented it one year ago.
If you dont like Ai or decay, just switch it to zero in Settings.txt

Last edited by Arcurus (2023-04-25 20:53:46)

Offline

Board footer

Powered by FluxBB