what?Well if you are running it through linux
Just do follow tfs or so, and its gonna show you list of activitys
what?
you can create a special function that brings the time but there is a function called getWorldLight() that you can use.
if (lightChange) {
LightInfo lightInfo = getWorldLightInfo();
for (const auto& it : players) {
it.second->sendWorldLight(lightInfo);
}
}
you can start by adding some prints at this function
otland/forgottenserver
everytime that time changes lightChange is setted to "true" so if you add some prints in here
C++:if (lightChange) { LightInfo lightInfo = getWorldLightInfo(); for (const auto& it : players) { it.second->sendWorldLight(lightInfo); } }
that way you can check when the light changes.
but how I can know if changed to day, night or other?