z4lab / z4lab-surftimer

A CS:GO Surftimer for the z4lab Community
https://z4lab.com
GNU General Public License v3.0
16 stars 9 forks source link
csgo surf surfing surftimer timer

z4lab-SurfTimer 282 for CS:GO

This repository won't be updated anymore! But I'll try to keep the timer running. Any currently open or new requests/issues will be closed/ignored! The timer (as is,) is working with the current version of csgo and sourcemod. I will NOT provide private support of any kind! For questions about the timer code ask the admins on the surftimer discord. An updated/maintained version can be found here. ~ Ace

I started to work on heavy performance "fixes" and community specific changes on a private fork of this timer. For more infos read the readme over there.

Installation and requirements

SourceMod 1.10, MetaMod 1.10 and a working MariaDB or MySQL8 instance is required for this plugin

(This version also supports SourceMod 1.11 and MetaMod 1.11)

~ 4GB of RAM

Issue Rules

If any of the rules listed below are not followed, you must expect the issue to be closed immediately.

Changelog

Fresh Install

Upgrade

upgrading from SurfTimer(fluffys)

upgrading from ckSurf(nikooo777)

Point system

explanation The points system has seen a massive overhaul from the original ckSurf; it is now a percentile tiered system. Points are now distributed in two ways: (1) map completion, and (2) map ranking. Map completion points will be given to all players who complete a specific and are dependent on the tier. * Tier 1: 25 * Tier 2: 50 * Tier 3: 100 * Tier 4: 200 * Tier 5: 400 * Tier 6: 600 Map ranking points are dependent upon the individuals ranking on the map. This is done firstly by calculation of the WR points for the map. WR points per tier are calculated as follows: * Tier 1: WR = (1.75 * Number of Completes) / 6 * Tier 2: WR = (2.8 * Number of Completes) / 5 * Tier 3: WR = MAX(350, (3.5 * Number of Completes) / 4) * Tier 4: WR = MAX(400, (5.74 * Number of Completes) / 4) * Tier 5: WR = MAX(500, (7 * Number of Completes) / 4) * Tier 6: WR = MAX(600, (14 * Number of Completes) / 4) Once the WR points are calculated the top 10 are points are calculated by multiplying the WR points by a factor. These factors are: * Rank 2 = WR * 0.8 * Rank 3 = WR * 0.75 * Rank 4 = WR * 0.7 * Rank 5 = WR * 0.65 * Rank 6 = WR * 0.6 * Rank 7 = WR * 0.55 * Rank 8 = WR * 0.5 * Rank 9 = WR * 0.45 * Rank 10 = WR * 0.4 Players who are not in the top 10 but are above the 50th percentile in map ranking will be sorted into 5 groups – with each higher group giving proportionally more points. These groups and their point distribution are as follows: * Group 1 (top 3.125%) = WR * 0.25 * Group 2 (top 6.25%) = (Group 1) / 1.5 * Group 3 (top 12.5%) = (Group 2) / 1.5 * Group 4 (top 25%) = (Group 3) / 1.5 * Group 5 (top 50%) = (Group 4) / 1.5 Take surf_aircontrol_nbv for example: (You can use sm_mi to see this menu) ###### Credit to NDiamond for theory crafting this point system, I just implemented his idea

Credits

extensions used in this version: