Quote:
Originally Posted by Puppetmaster
SimpleCSGORanks is being coded as an alternative to paid mods such as gameme.
The aim of the SimpleCSGORanks project is to create a simple plugin to track players skill in a simple way.
GitHub: https://github.com/ArclightHub/Simple-CSGO-Ranks
Website Basic Demo: https://gamingzoneservers.com/demo.php
Website Full Demo: https://gamingzoneservers.com/
Coming soon:
Server Status: https://gamingzoneservers.com/playerApp.php
Demo Servers
By Default:
Everytime a player gets a kill their rank increases by 5.
When a player is killed their rank decreases by 6.
When a player assists a kill their rank increases by 2.
When a player is much lower rank than the player they killed the numbers are 10 and 11.
When a player defuses the bomb their rank increases by 5.
A player is considered recent if they have either killed a player or have themselves been killed by another player.
Their recent activity variable is updated at the end of the round and time-stamped. Team kills are not tracked.
A player can check their rank by saying !rank
A player can check the top 10/25 players by saying !top, !top10 or !top25
Setup:
Copy all the zipped files into your sourcemod server directory.
The plugin download link contains all of the sourcemod plugin files.
The plugin works with MySQL, as such you will need to have one set up.
The zip file contains a copy of databases.cfg that works with this mod.
You will also NEED to set up the databases by either importing the one from github or setting it up as per the readme on the github readme page.
It is also recommended that you increase the buffer pool if you have over 20000 players.
innodb_buffer_pool_size=384M
There are five basic console variables:
- sm_simplecsgoranks_mode
- Sets the mode. (0) is rounds mode. (1) is immediate mode. Immediate mode is useful for deathmatch type games.
- sm_simplecsgoranks_ffa
- Enables free for all mode.
- sm_simplecsgoranks_kill_points
- The number of points gained per kill
- sm_simplecsgoranks_higher_rank_additional
- Additional points gained when killing a higher ranked player.
- sm_simplecsgoranks_higher_rank_gap
- Difference between players ranks needed to consider one to be a higher ranked player.
Additionally there are five advanced console variables:
- sm_simplecsgoranks_database
- Allows changing of the database used from databases.cfg
- sm_simplecsgoranks_cleaning
- (0)Nothing. (1) Cleans the database. (2) Clears players who have no kills for more than two months.
- sm_simplecsgoranks_useSlowCache
- Limit the rate at which the cache updates its data.
- sm_simplecsgoranks_useMaxThreads
- Allows more threads than usual. Might be useful for servers with a large number of players.
- sm_simplecsgoranks_debug
- Enable or disable advanced error messages. (0 or 1)
The "Get Plugin" version does NOT have colored text, only the one in the zip file does.
The "Get Plugin" version is version 0.2.3.
For complete gathering of statistics for your website you will want to use the WebsitePlugins in addition to the base plugin.
Linux users may need this package: apt-get install lib32z1
|
PLEASE HELP ME
L 05/15/2022 - 07:16:16: [SM] Exception reported: Invalid statement or db Handle 0 (error: 4)
L 05/15/2022 - 07:16:16: [SM] Blaming: simplecsgoranks.smx
L 05/15/2022 - 07:16:16: [SM] Call stack trace:
L 05/15/2022 - 07:16:16: [SM] [0] SQL_GetError
L 05/15/2022 - 07:16:16: [SM] [1] Line 388, simplecsgoranks.sp::getRank
L 05/15/2022 - 07:16:16: [SM] [2] Line 373, simplecsgoranks.sp::getRankCached
L 05/15/2022 - 07:16:16: [SM] [3] Line 196, simplecsgoranks.sp::OnClientDisconnect
L 05/15/2022 - 07:16:16: [SM] [5] ConVar.SetInt
L 05/15/2022 - 07:16:16: [SM] [6] Line 194, eItems.sp::CheckHibernation
L 05/15/2022 - 07:16:16: [SM] [7] Line 135, files/parse.sp:
arseData
L 05/15/2022 - 07:16:16: [SM] [8] Line 46, files/parse.sp::LoadBackup
L 05/15/2022 - 07:16:16: [SM] [9] Line 24, files/parse.sp:
raseItemsDownloaded
L 05/15/2022 - 07:16:17: [SM] Exception reported: Invalid statement or db Handle 0 (error: 4)
L 05/15/2022 - 07:16:17: [SM] Blaming: simplecsgoranks.smx
L 05/15/2022 - 07:16:17: [SM] Call stack trace:
L 05/15/2022 - 07:16:17: [SM] [0] SQL_GetError
L 05/15/2022 - 07:16:17: [SM] [1] Line 388, simplecsgoranks.sp::getRank
L 05/15/2022 - 07:16:17: [SM] [2] Line 373, simplecsgoranks.sp::getRankCached
L 05/15/2022 - 07:16:17: [SM] [3] Line 196, simplecsgoranks.sp::OnClientDisconnect
L 05/15/2022 - 07:16:17: [SM] [5] ConVar.SetInt
L 05/15/2022 - 07:16:17: [SM] [6] Line 194, eItems.sp::CheckHibernation
L 05/15/2022 - 07:16:17: [SM] [7] Line 135, files/parse.sp:
arseData
L 05/15/2022 - 07:16:17: [SM] [8] Line 46, files/parse.sp::LoadBackup
L 05/15/2022 - 07:16:17: [SM] [9] Line 24, files/parse.sp:
raseItemsDownloaded
L 05/15/2022 - 07:16:17: [SM] Exception reported: Invalid statement or db Handle 0 (error: 4)
L 05/15/2022 - 07:16:17: [SM] Blaming: simplecsgoranks.smx
L 05/15/2022 - 07:16:17: [SM] Call stack trace:
L 05/15/2022 - 07:16:17: [SM] [0] SQL_GetError
L 05/15/2022 - 07:16:17: [SM] [1] Line 166, simplecsgoranks.sp::newUser
L 05/15/2022 - 07:16:17: [SM] [2] Line 190, simplecsgoranks.sp::OnClientPostAdminCheck
L 05/15/2022 - 07:16:17: [SM] Exception reported: Language phrase "Player_Connected" not found (arg 3)
L 05/15/2022 - 07:16:17: [SM] Blaming: advadmin.smx
L 05/15/2022 - 07:16:17: [SM] Call stack trace:
L 05/15/2022 - 07:16:17: [SM] [0] VFormat
L 05/15/2022 - 07:16:17: [SM] [1] Line 377, /groups/sourcemod/compiler-1.8/include/halflife.inc:
rintToChatAll
L 05/15/2022 - 07:16:17: [SM] [2] Line 145, /home/forums/content/files/2/4/4/3/4/6/170988.attach::OnClientAuthorized
L 05/15/2022 - 07:16:17: [SM] Exception reported: Invalid statement or db Handle 0 (error: 4)
L 05/15/2022 - 07:16:17: [SM] Blaming: simplecsgoranks.smx
L 05/15/2022 - 07:16:17: [SM] Call stack trace:
L 05/15/2022 - 07:16:17: [SM] [0] SQL_GetError
L 05/15/2022 - 07:16:17: [SM] [1] Line 166, simplecsgoranks.sp::newUser
L 05/15/2022 - 07:16:17: [SM] [2] Line 190, simplecsgoranks.sp::OnClientPostAdminCheck