Skip to content

This repository is a continuation of cksurf, originally developed by jonitaikaponi, sneaK, nikoo77, fluffys. Meant to unite developers, so everybody can host a proper surf server.

License

KilinW/Surftimer-Official

 
 

Repository files navigation

Surftimer-Official for CS:GO

We're entering a new chapter in CS:GO surf community - a milestone - project that is meant to unite people.

Project Goals

As you probably all know there are quite some bugs in all open-source versions of cksurf or surftimer. Our main goal with this project to have a bug-free, properly optimized surf timer that would work as we all expect it to, across all configurations. Because of this, we will be putting new features and additions on the side, as they can potentially introduce new, unknown issues and there's plenty of those already.

Does it mean this version is buggy?

Yes, but not any more than other projects currently and for past years.

Pull requests and any contributions are welcome and encouraged!

Issue Rules

We are only helping with timer related bugs, any host related issue will be closed immediately.

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

  • Prerequisites:
    • Ensure your timer version is up to date with the latest release
    • SourceMod and Metamod are up to date (support only for latest stable)
    • Stock timer without any additional changes
  • Follow the template
    • That means you won't delete any pre-entered questions!
  • Give clear and as precise information as you can
    • If applicable include related logs / configs (posted to pastebin)
  • Don't edit issues
    • Always write a new comment below!

Installation and Requirements

(We only support the latest stable version of Sourcemod.)

Extensions:

Compilation Requirements (Includes):

Recommended:

Optional:

Issue Rules

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

  • Requirements:
    • Ensure your timer version is up to date with the latest release
    • SourceMod and Metamod are up to date (support will only be given for latest stable versions)
    • Ensure includes for compilation are up to date
    • Using the stock timer without any additional changes
  • You're following the template
    • That means you won't delete any pre-entered questions!
  • You're giving clear information
  • You won't edit issues - you always write a new comment below!
  • Any community/server specific bug/suggestion will be ignored/closed!

Fresh Install

  • Clone or download the repository (Link)
  • Obtain all of the compilation requirements
  • Download latest stable SourceMod version (1.10+) for your OS (Link)
  • Windows: Put spcomp.exe and compile.exe in scripting folder and double click compile.exe
  • If there are no errors, (warnings are fine, for now) move .smx files from compiled to /plugins
  • Copy the rest of the files from this repository to your csgo directory
  • Edit configs (databases.cfg, admins, etc.)

Upgrading

Upgrading from SurfTimer (fluffys)

  • Download the latest version from the release page here
  • Copy the files to your csgo directory
    - an update script can be found here
  • Edit configs (mysql db, etc, to do)
  • Run mysql-files/upgrade-fluffy.sql in your surftimer db

Upgrading from ckSurf (nikooo777)

  • Download the latest version from the release page here
  • Copy the files to your csgo directory
  • Remove all old ckSurf data you don't want anymore
  • Run mysql-files/upgrade-niko.sql in your ckSurf db
  • Edit configs (mysql db, etc, to do)

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
  • Tier 7: 800
  • Tier 8: 1000

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 = MAX(250, (58.5 + (1.75 * Number of Completes) / 6))
  • Tier 2: WR = MAX(500, (82.15 + (2.8 * Number of Completes) / 5))
  • Tier 3: WR = MAX(750, (117 + (3.5 * Number of Completes) / 4))
  • Tier 4: WR = MAX(1000, (164.25 + (5.74 * Number of Completes) / 4))
  • Tier 5: WR = MAX(1250, (234 + (7 * Number of Completes) / 4))
  • Tier 6: WR = MAX(1500, (328 + (14 * Number of Completes) / 4))
  • Tier 7: WR = MAX(1750, (420 + (21 * Number of Completes) / 4))
  • Tier 8: WR = MAX(2000, (560 + (30 * 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:

forked from fluffys - contributors
  • Jonitaikaponi - Original ckSurf creator
  • sneaK
  • nikooo777 - ckSurf 1.19 Fork
  • fluffys
  • Jakeey802
  • Grandpa Goose

About

This repository is a continuation of cksurf, originally developed by jonitaikaponi, sneaK, nikoo77, fluffys. Meant to unite developers, so everybody can host a proper surf server.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • SourcePawn 99.9%
  • Shell 0.1%