28.10.2010, 16:35
(
Last edited by The_Moddler; 28/10/2010 at 06:08 PM.
)
Quote:
It's weird, I usually have that problem with the cache files when the server gets closed incorrectly.
Anyway, this code might be a bit slow, but it isn't an issue since it's just called once when the server starts up: pawn Code:
|
Thanks Zarmoth

EDIT:
Just a little tweak you have to do, you must change:
Code:
format(filename, sizeof(filename), "djson-db-cache.%d", i);
Code:
format(filename, sizeof(filename), "djson-db-cache.%d.db", i);