file functions and yini
#1

My server's host only contains last 1000 lines of the chatlog.
So i decided to make a manual one using file functions or yini.
This log would contain all chats and commands.
Now i think when the server reaches 30+ playercount this could be a problem.
Since the file has to open,write and close everytime someone types something.
I think this could cause a lot of lag and i'm not sure whether to use fopen..etc or yini.
Is there a better alternative to these options?
Should i keep the file open once the server starts and close it only on ongamemodeexit?
Reply
#2

Bump
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)