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