• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Question: TFS 0.3.51

JDB

OtLand Veteran
Joined
Jun 1, 2009
Messages
4,145
Solutions
2
Reaction score
115
I was just curious, how do you keep it "night time" on the server?
Or just change how long day & night last.
:peace:
 
Not completely sure if this is the 'only' way to, but look up on sources (game.cpp) for "Game::Game()" and "void Game::checkLight()" and play around with those.

Tell us if you find out how to change them properly :p
 
yes, game.cpp, if your not "just curious", and you need it, i can do it for u

Do you know if there is any way of "transforming" that to LUA after compiling, I mean something like so we could make functions such as "isDaytime" or "SetDaytimeDuration" etc, in LUA and it would work?

I dont know how to explain it correctly hope you could understand what I ment :D

Sorry for "hijacking" your thread JDB :wub: but Im kinda curious now too, to know if that is possible.
 
Back
Top