Make sure you self endon("disconnect") or there will be a lot of threads running after a client disconnects.
Make sure you self endon("disconnect") or there will be a lot of threads running after a client disconnects.
"Does not work" is an error report for a bug between keyboard and chair.
All hail Artie Effem
caldas (16th June 2018),kung foo man (16th June 2018),maxdamage99 (20th June 2018)
do you think this can affect server performance?
--
i made a small change and recompile voron00 libcod
PHP Code:
void gsc_utils_getlocaltime()
{
time_t timer;
struct tm *timeinfo;
time(&timer);
timeinfo = localtime(&timer);
char timestring[256];
strftime(timestring, sizeof(timestring), "%d/%m/%Y %H:%M", timeinfo);
char stripped_time[128];
strncpy(stripped_time, timestring, sizeof(stripped_time));
stripped_time[strlen(timestring) - 1] = '\0';
stackPushString( stripped_time );
}
Last edited by caldas; 16th June 2018 at 12:58.