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

Super Stats and Rank ESF Plugin


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Earth's Special Forces        Category:   Statistical        Approver:   v3x (159)
ShAyA
Member
Join Date: Oct 2005
Old 02-05-2006 , 06:02   Super Stats and Rank ESF Plugin
Reply With Quote #1

Hi this is my second plugin
This is the 3rd major public release of it, being the bug fixes, mainly those being related to the rank updating.

Now this new version has been tested on a server of -many- people, and the ranks did not mess up,

and I AM pretty certain that, People do not have to reset their vault.inis this time, (unless their vault has players showing up twice), otherwise this new one should fix the errors itself.


Code:
/* ShAyA's ESF
 * 	Super Stats & Rank Plugin
 *		Version 0.8a - Last Updated 10/2/06.
 *		Started 16/1/06
 
 * BIG NOTE: If you use this on your server there is potential bugs, IF YOU COME ACROSS BUGS
 * PLEASE, REPORT THEM, I am very commited to this type of thing, and I've already fixed
 * THREE major errors (This is the 3rd bug fixed one, this one constantly checking ALL RANKS).
 * To contact me, you can do so via the AMXx forums under 'ShAyA'. Or you can send an email
 * TO: [email protected] with the subject "Rank Plugin Help", this account I use 
 * Mainly for spam, and I don't use it for msn, I will however reply (if applicable), and see your emails
 * Under this topic. Thank You!
 
 * Records for players:
 *	a) Kills (total kills).
 *	b) Deaths.
 *	c) Points
 *	d) Highest Power Level achieved. 
 *	e) Rank in server by points.
 *	f) Time it took to get highest power level.

 * Ranks:
 *	a) How many points achieved (see below).
 *	b) Highest Power Levels.
 
 * Extra Credits:
 *	IceBlade (Co-Server Admin of PTGN's ESF Server) - General Help
 *	SideKick (Head of PTGN Servers) - Hosting our ESF server and trusting my plugins :P
 *	Skyrider (HL2 Files Admin guy) - Hosting my ranking plugin, and helping me do tests
 *	AmxModX Community - for help with all the other problems I have :).
 
 
 * Point List is as Follows:
 * Note: This is for killing someone with these attacks.
 
 * 	Points Given		Attacks
		+5			* Melee, Sword Melee, Telekensis.
		+4			* Destructo Disk.
		+3			* Burning Attack, Scatter Shot, *ColourAttack, Ki Blast
					Frieza Disk.
					
		+2 			* Candy Attack, Eye/Finger Laser, Shield Attack,
					Masenko/PowerBeam, Ki Blob, Kame Torpedo.
					
		+1			* Big Bang, Death Ball, Final Flash, Finishing Buster
					Gallit Gun, Kamehameha, Mouth Blast, Scatter Beam
					Special Beam Cannon, Spirit Bomb.
					
		-Num		* Death by others (-2), Suicides (-5).
		
		
 * Notes: My coding conventions are more based around Java, as that is my "mother computer language",
 * So I do not completely follow 'small' or 'C/C++' or 'AMXX' conventians.
 
 * Stats are updated every 10 seconds, when a player leaves, and at round end.
 * Power level is also updated (only for viewer) every time hp changes.
 * Rank stats are updated every second (not all players, but process is run every second).
 
 * Update History:
 * 0.01: Started getting the information needed (all the in game names for attacks).
 * 0.05: Started on the top ten listings
 * 0.06: Started on the vault managing
 * I forget
 * 0.51: Initial release, bug problems with Rankings
 * 0.63: Second big release, still problems with rankings.
 * 0.8: The new ranking updating method, which I hope is better :D
 * (Which was tested on HL2 Files server, and it worked, and ranks didn't mess up).*/
Enjoy please update
Attached Files
File Type: sma Get Plugin or Get Source (esfrank.sma - 7290 views - 17.6 KB)
ShAyA is offline
d4rkst4r
Senior Member
Join Date: Jul 2005
Old 02-05-2006 , 10:20  
Reply With Quote #2

Quote:
* Points Given Attacks
+5 * Melee, Sword Melee, Telekensis.
+4 * Destructo Disk.
+3 * Burning Attack, Scatter Shot, *ColourAttack, Ki Blast
Frieza Disk.

+2 * Candy Attack, Eye/Finger Laser, Shield Attack,
Masenko/PowerBeam, Ki Blob, Kame Torpedo.

+1 * Big Bang, Death Ball, Final Flash, Finishing Buster
Gallit Gun, Kamehameha, Mouth Blast, Scatter Beam
Special Beam Cannon, Spirit Bomb.
what game are you talking about?
d4rkst4r is offline
Freecode
Never Fall Asleep
Join Date: Jan 2004
Old 02-05-2006 , 10:53  
Reply With Quote #3

Read the damn title. Or even the Modification:
Freecode is offline
ShAyA
Member
Join Date: Oct 2005
Old 02-05-2006 , 15:05  
Reply With Quote #4

Hi,

Someone informed me of a bug, that if someones name was too long it wouldn't work (I wasn't aware that would be a problem).

That is now fixed.
ShAyA is offline
ShAyA
Member
Join Date: Oct 2005
Old 02-06-2006 , 06:38  
Reply With Quote #5

Second bug,

the ranking is being badly updated and some names are shown twice, and some ranks are skipped (this is because of the lack of people at first I think, but It's still bad).

Ill have a new one, which should be better by tomorrow.
ShAyA is offline
ShAyA
Member
Join Date: Oct 2005
Old 02-07-2006 , 04:20  
Reply With Quote #6

Alot of 'human' errors I've come across fixed,

Please re-download it, the previous version is somewhat unusable.
ShAyA is offline
Skyrider
AMX Mod X Beta Tester
Join Date: May 2005
Location: Netherlands
Old 02-07-2006 , 04:34  
Reply With Quote #7

Thank u so much for this plugin, i've seriously waited ages for one to come out. I bet allot more people want this plugin for sure, even though i do have a question:

What about "Player Killers"?, such as you almost have killed someone, and he steals your frag. I'm not sure this plugin monitors how much damage you have done to one player, so you get the points if you have done the most damage.

Plus, shouldn't this plugin STEAM icon be "ESF" only? I doubt this plugin works for other mods.
Skyrider is offline
Send a message via AIM to Skyrider Send a message via MSN to Skyrider Send a message via Yahoo to Skyrider
[SMC]Neiko
Senior Member
Join Date: Dec 2005
Location: United States, Texas
Old 02-07-2006 , 07:56  
Reply With Quote #8

Quote:
Originally Posted by d4rkst4r
Quote:
* Points Given Attacks
+5 * Melee, Sword Melee, Telekensis.
+4 * Destructo Disk.
+3 * Burning Attack, Scatter Shot, *ColourAttack, Ki Blast
Frieza Disk.

+2 * Candy Attack, Eye/Finger Laser, Shield Attack,
Masenko/PowerBeam, Ki Blob, Kame Torpedo.

+1 * Big Bang, Death Ball, Final Flash, Finishing Buster
Gallit Gun, Kamehameha, Mouth Blast, Scatter Beam
Special Beam Cannon, Spirit Bomb.
what game are you talking about?
Earth's Special Forces.
__________________

Sigs are overrated.
[SMC]Neiko is offline
Send a message via AIM to [SMC]Neiko Send a message via MSN to [SMC]Neiko Send a message via Yahoo to [SMC]Neiko
ShAyA
Member
Join Date: Oct 2005
Old 02-07-2006 , 14:22  
Reply With Quote #9

Quote:
Originally Posted by FF|Skyrider
Thank u so much for this plugin, i've seriously waited ages for one to come out. I bet allot more people want this plugin for sure, even though i do have a question:

What about "Player Killers"?, such as you almost have killed someone, and he steals your frag. I'm not sure this plugin monitors how much damage you have done to one player, so you get the points if you have done the most damage.

Plus, shouldn't this plugin STEAM icon be "ESF" only? I doubt this plugin works for other mods.
I've set it as "ESF", but the icon shown is the steam one, for whatever reason, I don't know why

Edit:

Oh and I was also talked about the damage thing, and well the kill stealing is really apart of the game isn't it, It is possible (but mighty tedious, especially for lets say 'Buu'), to like record how much damage is done by each player to one character, to even out how many points one gets, etc.

Just like counter strike stats (I think), the person who gets the kill, gets the rank, If you really want me to however, I could do something along the lines of what you wanted.
ShAyA is offline
ShAyA
Member
Join Date: Oct 2005
Old 02-10-2006 , 09:46  
Reply With Quote #10

Updated to version 0.8 with the rank problems seemingly all fixed.

This is probably the last version, unless I add a new feature or a bug arises. (Or its requested i add a cvar to turn it off or something).
ShAyA is offline
Reply


Thread Tools
Display Modes

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 08:07.


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