Forum > Serverside Modding

Increase Time Speed

<< < (3/3)

Alastor:
Client can use Server Time or Local Time so there could be problem if you would like to change tiem for everyone since some of them could have setuped local time which is theirs PC

schlumpf:

--- Quote from: "Alastor" ---Client can use Server Time or Local Time so there could be problem if you would like to change tiem for everyone since some of them could have setuped local time which is theirs PC
--- End quote ---

But that's already what happens: there is a server defined time of day. You can easily notice that by logging into Beta from EU: ingame time of day will be US time of day.

Rochet2:
You can change the clock time that is sent from server to client and you can separately alter the speed of time passing.
It will control the sun rising and setting and the lighting like lamps etc.

It looks fun when the world goes fast.


In TC see Player::SendInitialPacketsBeforeAddToMap
sending of SMSG_LOGIN_SETTIMESPEED packet.
in player.cpp
both can be done in the same packet.

There might be another packet that updates the time or something. Search "time" in opcodes.cpp

Navigation

[0] Message Index

[*] Previous page

Go to full version