Raised This Month: $51 Target: $400
 12% 

Check Shots v 1.1 (Shows admin, shot stats of player)


Post New Thread Reply   
 
Thread Tools Display Modes
-=[BFC]=- Shooter_McGavin
Member
Join Date: Nov 2005
Location: Berlin
Old 04-16-2008 , 04:27   Re: Check Shots v 1.1 (Shows admin, shot stats of player)
Reply With Quote #31

push ;)
__________________
-=[BFC]=- Shooter_McGavin is offline
Send a message via ICQ to -=[BFC]=- Shooter_McGavin
spiderbites
Senior Member
Join Date: Nov 2007
Old 04-16-2008 , 20:13   Re: Check Shots v 1.1 (Shows admin, shot stats of player)
Reply With Quote #32

abandoned plugin..the author also hasnt been active at this forum anymore. anyone willing to take over this plugin?
spiderbites is offline
-=[BFC]=- Shooter_McGavin
Member
Join Date: Nov 2005
Location: Berlin
Old 04-20-2008 , 07:38   Re: Check Shots v 1.1 (Shows admin, shot stats of player)
Reply With Quote #33

Quote:
Originally Posted by -=[BFC]=- Shooter_McGavin View Post
L 11/26/2007 - 20:17:51: [AMXX] Displaying debug trace (plugin "check_shots.amxx")
L 11/26/2007 - 20:17:51: [AMXX] Run time error 4: index out of bounds
L 11/26/2007 - 20:17:51: [AMXX] [0] 21750.attach::event_dmg (line 88 )
Code:
public event_dmg(victimID){
	new weapon, hitbox
	new attackerID = get_user_attacker(victimID,weapon,hitbox)
	if (is_user_testing[attackerID] == 0) {  <---This is line 88
		return PLUGIN_CONTINUE
	}
	if (attackerID == victimID) {
		return PLUGIN_CONTINUE
	}
	new CsTeams:iTeam = cs_get_user_team(attackerID)
	new CsTeams:vTeam = cs_get_user_team(victimID) 
	if (iTeam == vTeam) {
		return PLUGIN_CONTINUE
	}
	if(weapon == CSW_KNIFE) {
		return PLUGIN_CONTINUE
	}
	switch(hitbox) {
		case 1:{
			head[attackerID] = head[attackerID] + 1  
			hits[attackerID] = hits[attackerID] + 1
		}
		case 2:{ 
			chest[attackerID] = chest[attackerID] + 1
			hits[attackerID] = hits[attackerID] + 1
		}
		case 3:{
			stomach[attackerID] = stomach[attackerID] + 1
			hits[attackerID] = hits[attackerID] + 1
		}
		
		case 4:{
			leftarm[attackerID] = leftarm[attackerID] + 1
			hits[attackerID] = hits[attackerID] + 1
		}
		case 5:{
			rightarm[attackerID] = rightarm[attackerID] + 1 
			hits[attackerID] = hits[attackerID] + 1
		}
		case 6:{
			leftleg[attackerID] = leftleg[attackerID] + 1
			hits[attackerID] = hits[attackerID] + 1
		}
		case 7:{
			rightleg[attackerID] = rightleg[attackerID] + 1
			hits[attackerID] = hits[attackerID] + 1
		}
	}
	return PLUGIN_CONTINUE
}
__________________

Last edited by -=[BFC]=- Shooter_McGavin; 04-20-2008 at 12:05.
-=[BFC]=- Shooter_McGavin is offline
Send a message via ICQ to -=[BFC]=- Shooter_McGavin
shustas
SourceMod Donor
Join Date: May 2007
Location: London
Old 05-03-2008 , 07:50   Re: Check Shots v 1.1 (Shows admin, shot stats of player)
Reply With Quote #34

Why not just use /rankstats option that comes with amxx itself?
__________________
shustas is offline
Melon.Chan!
Junior Member
Join Date: Oct 2008
Location: 天空之
Old 10-30-2008 , 05:33   Re: Check Shots v 1.1 (Shows admin, shot stats of player)
Reply With Quote #35

I'll try...
__________________
Hah !
Make a friend with [email protected]
Melon.Chan! is offline
Mlk27
Veteran Member
Join Date: May 2008
Old 10-30-2008 , 18:50   Re: Check Shots v 1.1 (Shows admin, shot stats of player)
Reply With Quote #36

/rankstats only display stats that belong to you
Mlk27 is offline
Melon.Chan!
Junior Member
Join Date: Oct 2008
Location: 天空之
Old 11-05-2008 , 04:23   Re: Check Shots v 1.1 (Shows admin, shot stats of player)
Reply With Quote #37

!Good!
__________________
Hah !
Make a friend with [email protected]
Melon.Chan! is offline
meigyoku
BANNED
Join Date: Apr 2009
Old 09-22-2009 , 13:51   Re: Check Shots v 1.1 (Shows admin, shot stats of player)
Reply With Quote #38

This plugin is edited by some people. Which is the best I have to download?
meigyoku is offline
isotonic
AlliedModders Donor
Join Date: Jun 2011
Location: Moscow, Russia
Old 12-12-2011 , 23:10   Re: Check Shots v 1.1 (Shows admin, shot stats of player)
Reply With Quote #39

I think this plugin needs correction. I get the same error as somebody before

Code:
L 12/13/2011 - 00:06:50: [AMXX] Run time error 4 (plugin "check_shots.amxx") - debug not enabled!
L 12/13/2011 - 00:06:50: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).
And I think this error affects on shots: some bullets seems to be disappeared. Some good players complain about it happens during first day I installed the plugin.

And because of unavailable screenshot on the first page I provide them:
[IMG]http://img248.**************/img248/4864/image2xg.jpg[/IMG][IMG]http://img828.**************/img828/2644/image3fz.jpg[/IMG]

Last edited by isotonic; 12-12-2011 at 23:16.
isotonic is offline
JoKeR LauGh
Veteran Member
Join Date: May 2011
Location: Malaysia
Old 12-13-2011 , 00:44   Re: Check Shots v 1.1 (Shows admin, shot stats of player)
Reply With Quote #40

enabled debug
__________________
Quote:
Originally Posted by addons_zz View Post
Also, just to not read `the article`, read all you find. Read and read, for ever and ever. Never stop reading.
Why? Because there is not one single universal truth which holds the meaning for everything.
JoKeR LauGh 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 22:15.


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