Posts: 248
Threads: 54
Joined: May 2014
This djson_db_cache?
Its useless?
Posts: 1,226
Threads: 217
Joined: Jan 2012
Reputation:
0
no it ain't just delete it.
Posts: 2,863
Threads: 99
Joined: Nov 2009
Reputation:
0
Did you create a script with DJson yourself? If so; did you use djson_GameModeExit(); in OnGameModeExit() or OnFilterScriptExit()? You should use this!
Or if you quit your server; do you use the 'exit' command or do you click the console away? You should use the 'exit' command.
If your server isn't running you can just delete those cache files. If your server is running, you shouldn't delete it. Every time you run your server, a cache file is created with a random number (djson-db-cache.{randomnumer}.db). This is needed for DJson to work properly. You cannot delete this file if the server is running (except the old files). If you use djson_GameModeExit() and if you are closing the server with the 'exit' command properly, you should check if there's not a mistake in your script that makes your server crash when exitting. If you didn't do this yet, do it :P. Also, if you use djson_GameModeExit(), the file will be deleted automatically.
Posts: 248
Threads: 54
Joined: May 2014
Quote:
Originally Posted by Kwarde
Did you create a script with DJson yourself? If so; did you use djson_GameModeExit(); in OnGameModeExit() or OnFilterScriptExit()? You should use this!
Or if you quit your server; do you use the 'exit' command or do you click the console away? You should use the 'exit' command.
If your server isn't running you can just delete those cache files. If your server is running, you shouldn't delete it. Every time you run your server, a cache file is created with a random number (djson-db-cache.{randomnumer}.db). This is needed for DJson to work properly. You cannot delete this file if the server is running (except the old files). If you use djson_GameModeExit() and if you are closing the server with the 'exit' command properly, you should check if there's not a mistake in your script that makes your server crash when exitting. If you didn't do this yet, do it :P. Also, if you use djson_GameModeExit(), the file will be deleted automatically.
|
My friend script this useless thing for me, I dunno why he does this,
but may i ask how "djson" helps on my server? its so useless in my eyes