Mam problem z pluginem statystyk dla Zombie Plague.
http://amxx.pl/topic... ... t21250.htm
Na serwerze mam wgrany ZP 4.3.
Problem polega na tym że plugin nie zapisuje ammo packów, ostatnich wizyt graczy, statystyk broni i paru innych rzeczy. W skrócie to działają mi tylko statystyki map i klas zombie.
KILNIJ - tak wyglądają statystyki u mnie na stronie
Wszystko jest dobrze skonfigurowane, baza danych jest szybka bo na płatnym hostingu. Plugin na serwerze działa jak powinien.
Dla bardziej zainteresowanych wrzucam zawartość pliku konfiguracyjnego.
.cfg
// Databse settings
zp_stats_host "sql.glowanet.pl"
zp_stats_db "**************"
zp_stats_user "*************"
zp_stats_password "****"
zp_stats_allow_hp "1" // Allow client command say /hp
zp_stats_allow_me "1" // Allow client command say /me
zp_stats_show_hit "1" // If 1, display zombie hp when player hit
zp_stats_max_inactive_day "5" // Max inactive day to players in top
zp_stats_min_ammo "100" // Min ammo to players in top
zp_stats_min_online "240" // Min online to players in top
zp_stats_store_class "1" // If 1, players zombie class save in database
zp_stats_store_ammo "1" // If 1, players ammo save in database
zp_stats_limit_ammo "0" // Limits for maximum ammo, 0 - disable
zp_stats_show_adv "1" // If 1, show info about client command's
zp_stats_adv_time "120.0" // Time to show adv.
zp_stats_show_best_players "1" // Show the best players in round
zp_stats_show_rank_on_round_start "1" // Show rank(rank change) on round start
zp_stats_auth_type "4" // Auth type
zp_stats_ignore_nick "[unreg]" // Tag, which does not take calculate statistics (default "[unreg]")
plugins-zplague.ini
; - Quick tips - ; * Rename this file to disabled-zplague.ini to turn the mod off ; * Rename it back to plugins-zplague.ini to turn it on ; * Put a semi-colon in front of a plugin to disable it ; * Remove a semi-colon to re-enable a plugin ; * Add the word debug after a plugin to place it in debug mode ; Main plugin zombie_plague40.amxx zp_web_stats.amxx ; Default zombie classes zp_zclasses40.amxx ; Add sub-plugins, custom zombie classes, and extra items here zp_extra_minigun.amxx zp_skaner_zombie.amxx zp_extra_goldenak.amxx zp_class_spider.amxx zp_class_wspinaczki.amxx zp_extra_buy_ammo_packs.amxx zp_extra_teleport12.amxx zp_buy_health_points.amxx zp_virus.amxx
config.php
<?php $mysql_user = '*************'; $mysql_password = '****'; $mysql_host = 'sql.glowanet.pl'; $mysql_db = '*************'; $lang_file = 'Polski.xml'; $template_dir = 'default'; $players_per_page = 10; $max_inactivity = 30; $min_ammo = 5; $min_online = 1; $pages_for_navigator = 2; $zp_stats_main_link = 'http://www.4ever.net.pl'; ?>
i logi z debuga
L 11/24/2009 - 21:33:15: [zp_web_stats.amxx] [ZP] Stats Debug: client Lotar - 6 disconnect, ammo -2147483648 Reason: Client sent 'drop' Dropped p@t0r[DF] from server L 11/24/2009 - 21:31:48: [zp_web_stats.amxx] [ZP] Stats Debug: client p@t0r[DF] 1 Query Handler (ammo 5, class 0, server , db id 0) L 11/24/2009 - 21:31:48: [zp_web_stats.amxx] [ZP] Stats Debug: client 1 autorized (Name p@t0r[DF], IP 83.7.165.165, Steam ID STEAM_0:1:25483892) [DPROTO]: Client 0 - Set AuthIdType 1; pClient = 0xf51eaf08 Reason: Client sent 'drop' Dropped @LW@ from server L 11/24/2009 - 21:29:21: [zp_web_stats.amxx] [ZP] Stats Debug: client @LW@ - 1 disconnect, ammo -2147483648 Reason: Client sent 'drop' Dropped Punk's Not DeaD! from server L 11/24/2009 - 21:27:19: [zp_web_stats.amxx] [ZP] Stats Debug: client Punk's Not DeaD! - 3 disconnect, ammo -2147483648 L 11/24/2009 - 21:24:36: [zp_web_stats.amxx] [ZP] Stats Debug: client @LW@ 1 put in server (DB id 17) L 11/24/2009 - 21:24:18: [zp_web_stats.amxx] [ZP] Stats Debug: client @LW@ 1 Query Handler (ammo 5, class 0, server , db id 17) L 11/24/2009 - 21:24:17: [zp_web_stats.amxx] [ZP] Stats Debug: client 1 autorized (Name @LW@, IP 95.160.75.127, Steam ID STEAM_0:1:26067369) [DPROTO]: Client 0 - Set AuthIdType 1; pClient = 0xf51eaf08 95.160.75.127:27005:reconnect Reason: Timed out Dropped @LW@ from server L 11/24/2009 - 21:23:54: [zp_web_stats.amxx] [ZP] Stats Debug: client Lotar 6 put in server (DB id 11) L 11/24/2009 - 21:23:37: [zp_web_stats.amxx] [ZP] Stats Debug: client Punk's Not DeaD! 3 put in server (DB id 15) L 11/24/2009 - 21:23:36: [zp_web_stats.amxx] [ZP] Stats Debug: client Shad 4 put in server (DB id 16) Menu item 17 added to Menus Front-End: "Banhistory Menu" from plugin "AMXBans" L 11/24/2009 - 21:23:31: [zp_web_stats.amxx] [ZP] Stats Debug: client @LW@ 1 Query Handler (ammo 5, class 0, server , db id 17) L 11/24/2009 - 21:23:28: [zp_web_stats.amxx] [ZP] Stats Debug: client @LW@ 1 Query Handler (ammo 5, class 0, server , db id 17) L 11/24/2009 - 21:23:28: [amxbans.amxx] [AMXBANS] Nie zaladowano przyczyn banow z bazy danych. Satyczne przyczyny banowa zostaly zaladowane L 11/24/2009 - 21:23:28: [zp_web_stats.amxx] [ZP] Stats Debug: client 1 autorized (Name @LW@, IP 95.160.75.127, Steam ID STEAM_0:1:26067369) L 11/24/2009 - 21:23:28: [amxbans.amxx] [AMXBANS] AMXBans 5.1 jest online L 11/24/2009 - 21:23:28: [zp_web_stats.amxx] [ZP] Stats Debug: client Lotar 6 Query Handler (ammo 5, class 0, server , db id 11) L 11/24/2009 - 21:23:27: [zp_web_stats.amxx] [ZP] Stats Debug: client 1 autorized (Name @LW@, IP 95.160.75.127, Steam ID STEAM_0:1:26067369) L 11/24/2009 - 21:23:27: [zp_web_stats.amxx] [ZP] Stats Debug: client Shad 4 Query Handler (ammo 5, class 0, server , db id 16) L 11/24/2009 - 21:23:27: [zp_web_stats.amxx] [ZP] Stats Debug: client Lotar 6 Query Handler (ammo 5, class 0, server , db id 11) L 11/24/2009 - 21:23:27: [zp_web_stats.amxx] [ZP] Stats Debug: client Punk's Not DeaD! 3 Query Handler (ammo 5, class 0, server , db id 15) L 11/24/2009 - 21:23:27: [zp_web_stats.amxx] [ZP] Stats Debug: client 6 autorized (Name Lotar, IP 88.156.18.164, Steam ID STEAM_0:1:18913687) L 11/24/2009 - 21:23:27: [zp_web_stats.amxx] [ZP] Stats Debug: client 6 autorized (Name Lotar, IP 88.156.18.164, Steam ID STEAM_0:1:18913687) L 11/24/2009 - 21:23:27: [zp_web_stats.amxx] [ZP] Stats Debug: client 4 autorized (Name Shad, IP 93.105.210.74, Steam ID STEAM_0:1:20480879) L 11/24/2009 - 21:23:27: [zp_web_stats.amxx] [ZP] Stats Debug: client 3 autorized (Name Punk's Not DeaD!, IP 93.105.37.22, Steam ID STEAM_0:1:17115314)
Za każdą pomoc daje +