Raised This Month: $ Target: $400
 0% 

Suggestion / Subplugin Request zp web stats 5.0.8


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
zdzislaw17
Junior Member
Join Date: Nov 2014
Old 12-15-2014 , 16:32   zp web stats 5.0.8
Reply With Quote #1

Hello!

I need god working zm web stats

Actualy I use this version but don't save ammo and classes
Attached Files
File Type: sma Get Plugin or Get Source (zp_web_stats.sma - 611 views - 46.3 KB)

Last edited by zdzislaw17; 12-16-2014 at 03:06.
zdzislaw17 is offline
New.ZM.Life
Veteran Member
Join Date: Sep 2014
Location: Iran
Old 12-16-2014 , 04:27   Re: zp web stats 5.0.8
Reply With Quote #2

From where you downloaded this?
__________________
PLUGINS

Zombie Plague 5.0 + New Modes

Added NightCrawler Mode to ZP





New.ZM.Life is offline
walle786
Junior Member
Join Date: Dec 2014
Old 12-16-2014 , 04:34   Re: zp web stats 5.0.8
Reply With Quote #3

Hello Guys Dont' Know How to Post Thread So Please i'm Sorry i want this Plugin Like ZoD-* Points i knw its rename to ammo packs but this - killer i want this plugin if i got 5000 ammo packs so i got slayer rank like this i want http://i.imgur.com/wKSv9FF.jpg Please Help me
walle786 is offline
walle786
Junior Member
Join Date: Dec 2014
Old 12-16-2014 , 04:37   Re: zp web stats 5.0.8
Reply With Quote #4

Hello guys Dont' Know How to Post Thread So Please i'm Sorry i want this Plugin Like ZoD-* Points i knw its rename to ammo packs but this - killer i want this plugin if i got 5000 ammo packs so i got slayer rank like this i want http://i.imgur.com/wKSv9FF.jpg Please Help me
walle786 is offline
zdzislaw17
Junior Member
Join Date: Nov 2014
Old 12-16-2014 , 04:46   Re: zp web stats 5.0.8
Reply With Quote #5

Quote:
Originally Posted by New.ZM.Life View Post
From where you downloaded this?

https://forums.alliedmods.net/showpo...59&postcount=9


I check database and there are players, maps but on the server nothing...
i don't understatnd


I get one error today, maybe this is a problem:


Code:
L 12/16/2014 - 11:54:39: [AMXX] Displaying debug trace (plugin "zp_web_stats.amxx")
L 12/16/2014 - 11:54:39: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 12/16/2014 - 11:54:39: [AMXX]    [0] zp_web_stats.sma::fw_HamKilled (line 832)

Last edited by zdzislaw17; 12-16-2014 at 05:59.
zdzislaw17 is offline
New.ZM.Life
Veteran Member
Join Date: Sep 2014
Location: Iran
Old 12-16-2014 , 09:30   Re: zp web stats 5.0.8
Reply With Quote #6

Quote:
Originally Posted by zdzislaw17 View Post
https://forums.alliedmods.net/showpo...59&postcount=9


I check database and there are players, maps but on the server nothing...
i don't understatnd


I get one error today, maybe this is a problem:


Code:
L 12/16/2014 - 11:54:39: [AMXX] Displaying debug trace (plugin "zp_web_stats.amxx")
L 12/16/2014 - 11:54:39: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 12/16/2014 - 11:54:39: [AMXX]    [0] zp_web_stats.sma::fw_HamKilled (line 832)

Its zp Web stats

No more files needed?
Just that sma file?
And what this plugin exactly do?
__________________
PLUGINS

Zombie Plague 5.0 + New Modes

Added NightCrawler Mode to ZP





New.ZM.Life is offline
zdzislaw17
Junior Member
Join Date: Nov 2014
Old 12-16-2014 , 09:44   Re: zp web stats 5.0.8
Reply With Quote #7

I know that is zp web stats!

I need help because this plugin work not correct.

Don't save ammo and clases players.

I can check statistic only on first round later a get information: "no player on the statistic"

here is cfg file and sma.

edit: problem was no permision in database.

now left bug to fix


Code:
L 12/16/2014 - 11:54:39: [AMXX] Displaying debug trace (plugin "zp_web_stats.amxx")
L 12/16/2014 - 11:54:39: [AMXX] Run time error 10: native error (native "get_pcvar_num")
L 12/16/2014 - 11:54:39: [AMXX]    [0] zp_web_stats.sma::fw_HamKilled (line 832)
Attached Files
File Type: cfg zp_web_stats.cfg (1.1 KB, 94 views)
File Type: sma Get Plugin or Get Source (zp_web_stats.sma - 557 views - 46.3 KB)

Last edited by zdzislaw17; 12-16-2014 at 13:34.
zdzislaw17 is offline
zdzislaw17
Junior Member
Join Date: Nov 2014
Old 12-17-2014 , 05:32   Re: zp web stats 5.0.8
Reply With Quote #8

This is the code responsible, how to change it?


Code:
public fw_HamKilled(id, attacker, shouldgib)
{
	if (is_user_alive(attacker) && g_UserDBId[attacker])
	{
		if (is_user_connected(attacker) && zp_get_user_zombie(attacker) && (!zp_get_user_nemesis(attacker) || !get_pcvar_num(g_CvarNemIgnoreAmmo)))
			g_UserTotalAmmo[attacker] += get_pcvar_num(g_CvarInfetAmmo)
		
		if (is_user_connected(attacker))
		{
			g_Killers[id][KILLER_ID] = attacker
			g_Killers[id][KILLER_HP] = get_user_health(attacker)
			g_Killers[id][KILLER_ARMOUR] = get_user_armor(attacker)
			g_Me[attacker][ME_KILLS] ++
		}
	}
zdzislaw17 is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 13:57.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode