[DiscordArchive] Thanks!
[DiscordArchive] Thanks!
Archived author: Vel • Posted: 2025-09-09T16:41:39.018000+00:00
Original source
Thanks!
Should I expect something to critically break if the day/night cycle will go like this:
> IRL 15:00 = 6:00 morning in game
> IRL 19:30 = 12:00 midday in game
> IRL 23:59 = 23:59 midnight in game
**So basically the year/month/day remains the same.** Just the "speed" of time during the day varies so that it's morning at 15:00, midday at 19:30 and midnight again at 23:59 ?
Archived author: Vel • Posted: 2025-09-09T16:44:24.794000+00:00
Original source
And if so/if not, would providing serverTime with real time value (unchanged) while modifying just gameTime do any change? (I'd have to edit the LUA to display time based on the gametime instead of servertime but if it keeps the things from potentialy breaking it's worth doing).
Archived author: Tea • Posted: 2025-09-09T17:02:35.142000+00:00
Original source
whatever you do, if you dont track the value serverside then every player will see a different time
Archived author: Vel • Posted: 2025-09-09T17:04:26.056000+00:00
Original source
The time is calculated on the server side and updated in clients each 60 seconds.
Archived author: Vel • Posted: 2025-09-09T17:04:50.932000+00:00
Original source
Soo everybody receives the current time and speed each minute.
Archived author: Vel • Posted: 2025-09-09T17:05:35.700000+00:00
Original source
Question is whether client having time like 12:30 while IRL it's 19:05 can have impact on some functions between client and Trinity Core. (I don't care for calendar) but something really critical - like failing to save player etc.
Archived author: Tea • Posted: 2025-09-09T17:06:10.741000+00:00
Original source
no, the server doesnt care what "calendar date" is on client
Archived author: Tea • Posted: 2025-09-09T17:06:26.993000+00:00
Original source
it only cares about milliseconds for movement (and those are completely separate packets)
Archived author: Vel • Posted: 2025-09-09T17:07:09.648000+00:00
Original source
Alright, so everything should work fine? Even if we did like 2-3 days ingame cycle during 24 IRL hours with keeping the year, month and day the same for the specific IRL day?
Archived author: Tea • Posted: 2025-09-09T17:07:15.877000+00:00
Original source
y