Changing the source to make the client full light. Understood?You mention some yurots in your thread title, and then inside the thread, you are talking about client changes.
Which is it?
The "source" might refer to both client and server source, thus I assumed that you might be using OTClient - in which case this issue would be easily solvable on the client-side.Changing the source to make the client full light. Understood?
The "source" might refer to both client and server source, thus I assumed that you might be using OTClient - in which case this issue would be easily solvable on the client-side.
what part of the code do you need?maybe it will help if you post the source
the truth that it would be the server code, the client I intend to use 7.6 because of the BOTThe "source" might refer to both client and server source, thus I assumed that you might be using OTClient - in which case this issue would be easily solvable on the client-side.
You need to find the part responsible for either calculating or sending light to the client, also it would be wise to look through group flags, maybe you can just set it there.what part of the code do you need?
You need to find the part responsible for either calculating or sending light to the client, also it would be wise to look through group flags, maybe you can just set it there.
#ifdef CVS_DAY_CYCLE
int daycycle = 3600;
light_hour_delta = 1440*10/daycycle;
light_hour = 0;
lightlevel = LIGHT_LEVEL_NIGHT;
light_state = LIGHT_STATE_NIGHT;
addEvent(makeTask(10000, boost::bind(&Game::checkLight, this, 10000)));
#endif //CVS_DAY_CYCLE