• Unfortunately, we have experienced significant hard drive damage that requires urgent maintenance and rebuilding. The forum will be a state of read only until we install our new drives and rebuild all the configurations needed. Please follow our Facebook page for updates, we will be back up shortly! (The forum could go offline at any given time due to the nature of the failed drives whilst awaiting the upgrades.) When you see an Incapsula error, you know we are in the process of migration.

[Help] Dropshot

Newbie Spellweaver
Joined
May 29, 2014
Messages
17
Reaction score
3
Re: [Help] Change the speed day and night

Search in studio.
Load level that you want and .... Maybe in Environment:)
But that 100% in studio
 
Upvote 0
Joined
Sep 3, 2013
Messages
903
Reaction score
227
Re: [Help] Change the speed day and night

Hello :

__int64 ServerGameLogic::GetUtcGameTime(){
// "world time start" offset, so gametime at 1st sep 2012 will be in 2018 range
struct tm toff = {0};
toff.tm_year = 2011-1900;
toff.tm_mon = 6;
toff.tm_mday = 1;
toff.tm_isdst = -1; // A value less than zero to have the C run-time library code compute whether standard time or daylight saving time is in effect.
__int64 secs0 = _mkgmtime64(&toff); // world start time
__int64 secs1 = _time64(&secs1); // current UTC time


// reassemble time, with speedup factor
return secs0 + (secs1 - secs0) * (__int64)GPP_Data.c_iGameTimeCompression;
}

Must change her?
 
Upvote 0
Experienced Elementalist
Joined
Mar 24, 2014
Messages
238
Reaction score
167
Re: [Help] Change the speed day and night

In WarZ\src\EclipseStudio\Sources\Gameplay_Params.h, search for this:


c_iGameTimeCompression = 6; // every 4 hours of real time is equal to 24 hrs of game time
This is the time multiplier, it's set to 6. Set it to 1 to make your server run in real time (1:1 ratio).


NOTE: You'll need to rebuild the server and the Eclipse Studio for changes to take effect.
 
Upvote 0
Newbie Spellweaver
Joined
Dec 27, 2014
Messages
32
Reaction score
4
Try to add a timer which blocks for 1 or 0,5 sec the playermovement
 
Upvote 0
Back
Top