Witamy w Nieoficjalnym polskim support'cie AMX Mod X
Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.
|
Deathrun Stats in file
#1
Napisano 20.08.2011 19:02
Ja jestem za pomocą Google Translate, mam nadzieję, można zrozumieć.
Can you make a nvault or file save version?
I am using google translate, I hope you can understand.
#2
Napisano 20.08.2011 19:09
* fixed
;SQLite amx_drstats_host "" amx_drstats_user "" amx_drstats_pass "" amx_drstats_db "my_database_in_file.db"
sqlite module is required , make sure its enabled in your modules.ini and forgot about WWW stats (for now)
#3
Napisano 20.08.2011 19:31
#4
Napisano 20.08.2011 19:33
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; SQL Modules usually need to be enabled manually ;; ;; You can have any number on at a time. Use ;; ;; amx_sql_type in sql.cfg to specify the default ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;mysql sqlite
#5
Napisano 20.08.2011 19:37
public plugin_init() { state mysql; register_plugin(PLUGIN, VERSION, AUTHOR); register_dictionary("deathrun_stats.txt"); register_cvar("amx_drstats_host", "deathrun_timer.db"); register_cvar("amx_drstats_user", ""); register_cvar("amx_drstats_pass", ""); register_cvar("amx_drstats_db", "");But it still try to connect to sql db.
#6
Napisano 20.08.2011 19:55
#7
Napisano 20.08.2011 20:05
L 08/21/2011 - 03:03:24: Info (map "plugins_test_map") (file "addons/amxmodx/logs/error_20110821.log") L 08/21/2011 - 03:03:24: [AMXX] Plugin ("deathrun_stats.amxx") is setting itself as failed. L 08/21/2011 - 03:03:24: [AMXX] Plugin says: Cant connect to database L 08/21/2011 - 03:03:24: [AMXX] Run time error 1 (plugin "deathrun_stats.amxx") - forced exit
#8
Napisano 20.08.2011 20:12
#9
Napisano 20.08.2011 20:16
If no, it can't work?
#10
Napisano 20.08.2011 20:17
#11
Napisano 20.08.2011 20:21
#12
Napisano 20.08.2011 20:25
amx_drstats_host "deathrun_timer.db" amx_drstats_user "" amx_drstats_pass "" amx_drstats_db ""
#13
Napisano 20.08.2011 20:25
register_cvar("amx_drstats_host", "deathrun_timer.db");it mean cstrike/deathrun_timer.db
make it
register_cvar("amx_drstats_host", "addons/amxmodx/data/deathrun_timer.db");or sth
#15
Napisano 20.08.2011 20:37
and not hostname but dbname
register_cvar("amx_drstats_host", ""); register_cvar("amx_drstats_user", ""); register_cvar("amx_drstats_pass", ""); register_cvar("amx_drstats_db", "deathrun_timer.db");
#16
Napisano 20.08.2011 20:41
#17
Napisano 20.08.2011 20:45
Even add the dir.
I find out that the plugin auto create the deathrun_timer.db in my cstrike folder.
But still show same error.
Użytkownik qwa123qq edytował ten post 20.08.2011 20:47
#18
Napisano 20.08.2011 20:47
amx_showrcon meta list
#20
Napisano 20.08.2011 20:58
My problem is solve now
Thank R3X and hiroshima!
If I want show the map record holder and top5 forever what should I do?
Użytkownik qwa123qq edytował ten post 20.08.2011 21:01
Użytkownicy przeglądający ten temat: 0
0 użytkowników, 0 gości, 0 anonimowych