Raised This Month: $120 Target: $400
 30% 

[CS:S?/CS:GO ZR/ZP] Simple Rank System (V1.6, 08-07-2018)


Post New Thread Reply   
 
Thread Tools Display Modes
Hallucinogenic Troll
Senior Member
Join Date: Apr 2015
Old 07-08-2018 , 18:51   Re: [CS:S?/CS:GO ZR/ZP] Simple Rank System (V1.6, 08-07-2018)
Reply With Quote #11

VERSION 1.6 RELEASED!

YOU HAVE TO RESET YOUR DATABASE TO WORK WITH THIS VERSION!
  • Added a new Command: sm_mystats - Show every stat that the player has in the database;
  • Added a new Command: sm_resetmyrank - It lets a player delete his rank by himself;
  • Added a new Native: ZR_Rank_ResetPlayer -> It resets the data of a certain player;
  • Besides Console Commands now it hooks the same commands in chat (Ex: Instead of "!rank", you can write "rank" as well, only works currently for "rank" and "mystats");
  • Added a new CVAR: zr_rank_inactive_days (Default: 30) - It resets a player database when he is not connected from at least X days;
  • Added a message when a player joins the server and reaches the minimum of players to enable the rank;
  • Added a message when a player leaves the server and it reaches a value less than the minimum of players to enable the rank;
  • Now it doesn't give points when humans or zombies win the round, if the server doesn't have the minimum players set by the CVAR zr_rank_minplayers;
__________________
Hallucinogenic Troll is offline
shanapu
Veteran Member
Join Date: Apr 2015
Location: .de
Old 07-08-2018 , 19:17   Re: [CS:S?/CS:GO ZR/ZP] Simple Rank System (V1.6, 08-07-2018)
Reply With Quote #12

Simple Rank System WebPanel

Demo

Requirement: webspace with mysql & php5.3+/php7 with php extention 'GMP'


Install:
  • use mysql in database.cfg
  • move content of webserver/ folder to your webspace.
  • Edit inc/config.php.
Spoiler


Credits: popoklopsi, Hallucinogenic Troll, the sourcemod & bootstrap dev teams

Preinstalled bootstrap bootswatch themes:
Attached Files
File Type: zip zranks.zip (758.1 KB, 37 views)
__________________
free software
coding

Last edited by shanapu; 07-09-2018 at 11:58.
shanapu is offline
Hallucinogenic Troll
Senior Member
Join Date: Apr 2015
Old 07-08-2018 , 20:47   Re: [CS:S?/CS:GO ZR/ZP] Simple Rank System (V1.6, 08-07-2018)
Reply With Quote #13

Quote:
Originally Posted by shanapu View Post
Simple Rank System WebPanel

Demo

Requirement: webspace with mysql & php5.3+/php7 with php extention 'BCMath' & 'GMP'


Install:
  • use mysql in database.cfg
  • move content of webserver/ folder to your webspace.
  • Edit inc/config.php.
Spoiler


Credits: popoklopsi, Hallucinogenic Troll, the sourcemod & bootstrap dev teams

Preinstalled bootstrap bootswatch themes:
Thank you
Link to that specific post is now in the main topic.
__________________
Hallucinogenic Troll is offline
daleGEND
AlliedModders Donor
Join Date: Feb 2005
Location: USA
Old 08-12-2018 , 15:43   Re: [CS:S?/CS:GO ZR/ZP] Simple Rank System (V1.6, 08-07-2018)
Reply With Quote #14

This is really cool, but I was curious if you can change the way the stats are handled.

For instance, if 3 people are shooting a zombie and do most of the damage...then someone comes along and gets the final KO on the zombie...they would get all the points right? Would it be possible to add two new cvars:

zr_rank_zombiedamage_points: This would be the number of points given to the player for X damage done to zombies.
ze_rank_zombiedamage_threshold: This would be how much damage a player needs to do in order to get receive the above cvar amount.

You can still keep the kill cvar, but this way people get points for the damage they do and then finally someone gets points for the kill.

This would balance things for all players ;).
__________________
Bor3d Gaming - A Mature Online Gaming Community

Feel free to add me on STEAM as well: https://steamcommunity.com/id/b0r3d
daleGEND is offline
daleGEND
AlliedModders Donor
Join Date: Feb 2005
Location: USA
Old 08-12-2018 , 16:17   Re: [CS:S?/CS:GO ZR/ZP] Simple Rank System (V1.6, 08-07-2018)
Reply With Quote #15

Also, a heads up on this error I am getting. It's weird, I don't see this phrase mentioned anywhere in your code, but it seems to throw this error still:

Quote:
L 08/12/2018 - 12:053: [SM] Exception reported: Language phrase "Currently Enough Players" not found (arg 4)
L 08/12/2018 - 12:053: [SM] Blaming: zr_rank.smx
L 08/12/2018 - 12:053: [SM] Call stack trace:
L 08/12/2018 - 12:053: [SM] [0] VFormat
L 08/12/2018 - 12:053: [SM] [1] Line 104, C:\Backup\CS_Files\Compiler\include\colorvari ables.inc::CPrintToChatAll
L 08/12/2018 - 12:053: [SM] [2] Line 174, C:\Backup\CS_Files\Compiler\zr_rank.sp::OnCli entPostAdminCheck
__________________
Bor3d Gaming - A Mature Online Gaming Community

Feel free to add me on STEAM as well: https://steamcommunity.com/id/b0r3d
daleGEND is offline
ViperaFreakz
Junior Member
Join Date: Mar 2016
Old 09-15-2018 , 05:06   Re: [CS:S?/CS:GO ZR/ZP] Simple Rank System (V1.6, 08-07-2018)
Reply With Quote #16

Hallucinogenic Troll plugin on zp its not working so much, if i kill zombie he not give me points. Only this not work.. and kill zm with hs.
ViperaFreakz is offline
Hallucinogenic Troll
Senior Member
Join Date: Apr 2015
Old 09-15-2018 , 17:03   Re: [CS:S?/CS:GO ZR/ZP] Simple Rank System (V1.6, 08-07-2018)
Reply With Quote #17

Quote:
Originally Posted by ViperaFreakz View Post
Hallucinogenic Troll plugin on zp its not working so much, if i kill zombie he not give me points. Only this not work.. and kill zm with hs.
Add me to steam and I can help you with that (and when its solved, it will be updated).
I don't have a Zombie Server anymore, so I can't test properly.
__________________
Hallucinogenic Troll is offline
ViperaFreakz
Junior Member
Join Date: Mar 2016
Old 09-17-2018 , 10:14   Re: [CS:S?/CS:GO ZR/ZP] Simple Rank System (V1.6, 08-07-2018)
Reply With Quote #18

What its your steam profile?
ViperaFreakz is offline
zeroibis
Veteran Member
Join Date: Jun 2007
Old 09-18-2018 , 12:40   Re: [CS:S?/CS:GO ZR/ZP] Simple Rank System (V1.6, 08-07-2018)
Reply With Quote #19

Quote:
Originally Posted by daleGEND View Post
This is really cool, but I was curious if you can change the way the stats are handled.

For instance, if 3 people are shooting a zombie and do most of the damage...then someone comes along and gets the final KO on the zombie...they would get all the points right? Would it be possible to add two new cvars:

zr_rank_zombiedamage_points: This would be the number of points given to the player for X damage done to zombies.
ze_rank_zombiedamage_threshold: This would be how much damage a player needs to do in order to get receive the above cvar amount.

You can still keep the kill cvar, but this way people get points for the damage they do and then finally someone gets points for the kill.

This would balance things for all players ;).
Would be more interesting to see a point value distribution. When a zombie dies it looks at in addition to giving the player who got the kill X points it then gives out X points to players divided by the % of damage they did to the zombie. In this way when a zombie dies even if not killed by a player the players who did damage to that zombie will be rewarded.
__________________
zeroibis 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 13:41.


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