Raised This Month: $12 Target: $400
 3% 

[CS:GO] Simple CSGO Ranks


Post New Thread Reply   
 
Thread Tools Display Modes
Puppetmaster
Senior Member
Join Date: Jun 2015
Location: Probably at a computer.
Old 01-08-2017 , 11:43   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #171

Quote:
Originally Posted by GoRiLliAz View Post
hi,

He should be able to disable messages to kill at the beginning of round or displayed only kills that have done so, because on a server 20 slot its flood the chat

thx

some adjustment

You put 2 times "false" instead of "false" and "true", I also replaced the "Client_PrintToChatAll" by "Client_PrintToChat", to avoid flooding the chat!


PHP Code:
if(GetClientTeam(client) == 3Client_PrintToChat(clientfalse"Kill #%d {BR}%s (%d) {O}killed {R}%s (%d)", (shotCountdown+1), name1getRankCached(StringToInt(steamId1), 1client0), name2getRankCached(StringToInt(steamId2), 1client20) );                       
else 
Client_PrintToChat(clienttrue"Kill #%d {RB}%s (%d) {O}killed {B}%s (%d)", (shotCountdown+1), name1getRankCached(StringToInt(steamId1), 1client0), name2getRankCached(StringToInt(steamId2), 1client20) ); 
Where was the `You put 2 times "false" instead of "false" and "true` issue? I can update it in the next version
__________________

GZS Servers
Puppetmaster is offline
Puppetmaster
Senior Member
Join Date: Jun 2015
Location: Probably at a computer.
Old 01-08-2017 , 11:44   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #172

Quote:
Originally Posted by GoRiLliAz View Post
Hello

Could we add the
  1. kills,
  2. death,
  3. hs
recording in the FFA mode.

And the following
top :
  1. top hs : shows the top ordered by hs
  2. top dead : shows the top ordered by dead
  3. top kill shows : the top ordered by kill
  4. weapon top me : shows the kills with each weapon
  5. top hit box me : shows the hitbox stats
  6. top assists : shows the top ordered by assists
And command :


  1. !hs
  2. !weapon
  3. !hitbox
  4. !assists or !as
  5. !rank add kill and dead
  6. !menu for see all commands.
And Admin command :



  1. reset all stats and per players
Thx in advance !

Edit And this bug
Yeah I am planning to add more stats soon, Ill probably make it another additional addon so that people who want to only run the simple side of the plugin can still do it.
__________________

GZS Servers
Puppetmaster is offline
GoRiLliAz
Senior Member
Join Date: May 2013
Old 01-09-2017 , 00:20   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #173

Quote:
Originally Posted by Puppetmaster View Post
Where was the `You put 2 times "false" instead of "false" and "true` issue? I can update it in the next version
Line 647 and 648

But his does not work 100%, missing checks on players Viewer, because at the moment they are counted as players and points their are removed. When I get time I'll make you a list.
__________________

GoRiLliAz is offline
Puppetmaster
Senior Member
Join Date: Jun 2015
Location: Probably at a computer.
Old 01-09-2017 , 17:44   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #174

Quote:
Originally Posted by GoRiLliAz View Post
Line 647 and 648

But his does not work 100%, missing checks on players Viewer, because at the moment they are counted as players and points their are removed. When I get time I'll make you a list.
Ah yep that should be true
__________________

GZS Servers
Puppetmaster is offline
asdfxD
Veteran Member
Join Date: Apr 2011
Old 01-18-2017 , 16:44   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #175

your player app looks interesting, gj.
asdfxD is offline
Puppetmaster
Senior Member
Join Date: Jun 2015
Location: Probably at a computer.
Old 01-18-2017 , 21:22   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #176

Quote:
Originally Posted by asdfxD View Post
your player app looks interesting, gj.
Thanks

Its still got a fair bit of work before its ready. One specific bit of code seems unreliable and I will have to rewrite it before release
__________________

GZS Servers
Puppetmaster is offline
Puppetmaster
Senior Member
Join Date: Jun 2015
Location: Probably at a computer.
Old 02-07-2017 , 19:43   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #177

New DEV build is here.

You MUST update your database using the below query if you intend to run this version:
Code:
ALTER TABLE `steam` CHANGE `rank` `rank` INT(11) NULL DEFAULT NULL;
Failure to update your steam table WILL result in corruption of rank data on version 0.2.5 and above.


There is a new convar in this build which is designed to lower the database load on the server.
Code:
sm_simplecsgoranks_setRankOnDisconnectOnly
__________________

GZS Servers
Puppetmaster is offline
Dr.Mohammad
Senior Member
Join Date: Jan 2016
Location: CSGO Servers
Old 02-16-2017 , 09:44   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #178

Hi Guys!

please Help!

L 02/16/2017 - 18:105: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 02/16/2017 - 18:105: [SM] Blaming: simplecsgoranksaddons.smx
L 02/16/2017 - 18:105: [SM] Call stack trace:
L 02/16/2017 - 18:105: [SM] [0] SQL_FastQuery
L 02/16/2017 - 18:105: [SM] [1] Line 152, simplecsgoranksaddons.sp::newDB
L 02/16/2017 - 18:105: [SM] [2] Line 48, simplecsgoranksaddons.sp::OnPluginStart
L 02/16/2017 - 18:105: [SM] Unable to load plugin "simplecsgoranksaddons.smx": Error detected in plugin startup (see error logs)
L 02/16/2017 - 18:107: [SM] Exception reported: Invalid statement or db Handle 0 (error: 4)
L 02/16/2017 - 18:107: [SM] Blaming: simplecsgoranks.smx
L 02/16/2017 - 18:107: [SM] Call stack trace:
L 02/16/2017 - 18:107: [SM] [0] SQL_GetError
L 02/16/2017 - 18:107: [SM] [1] Line 968, simplecsgoranks.sp::getTop
L 02/16/2017 - 18:107: [SM] [2] Line 955, simplecsgoranks.sp::OnMapStart
Dr.Mohammad is offline
Puppetmaster
Senior Member
Join Date: Jun 2015
Location: Probably at a computer.
Old 02-20-2017 , 18:05   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #179

Quote:
Originally Posted by Dr.Mohammad View Post
Hi Guys!

please Help!

L 02/16/2017 - 18:105: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 02/16/2017 - 18:105: [SM] Blaming: simplecsgoranksaddons.smx
L 02/16/2017 - 18:105: [SM] Call stack trace:
L 02/16/2017 - 18:105: [SM] [0] SQL_FastQuery
L 02/16/2017 - 18:105: [SM] [1] Line 152, simplecsgoranksaddons.sp::newDB
L 02/16/2017 - 18:105: [SM] [2] Line 48, simplecsgoranksaddons.sp::OnPluginStart
L 02/16/2017 - 18:105: [SM] Unable to load plugin "simplecsgoranksaddons.smx": Error detected in plugin startup (see error logs)
L 02/16/2017 - 18:107: [SM] Exception reported: Invalid statement or db Handle 0 (error: 4)
L 02/16/2017 - 18:107: [SM] Blaming: simplecsgoranks.smx
L 02/16/2017 - 18:107: [SM] Call stack trace:
L 02/16/2017 - 18:107: [SM] [0] SQL_GetError
L 02/16/2017 - 18:107: [SM] [1] Line 968, simplecsgoranks.sp::getTop
L 02/16/2017 - 18:107: [SM] [2] Line 955, simplecsgoranks.sp::OnMapStart
Typically this kind of error occurs when the DB is not set up correctly, make sure you can access the DB using the same credentials you have set in the databases.cfg file
__________________

GZS Servers
Puppetmaster is offline
Robin955
Veteran Member
Join Date: Jun 2013
Old 03-19-2017 , 06:55   Re: [CS:GO] Simple CSGO Ranks
Reply With Quote #180

Quote:
Originally Posted by Puppetmaster View Post
Typically this kind of error occurs when the DB is not set up correctly, make sure you can access the DB using the same credentials you have set in the databases.cfg file
i get this too, set databases to from default to "ranks", imported the DB
someone who has this plugin working who's not using the "default"

Imported the simplecsgoranksaddons.sql to database

sm_simplecsgoranks_database "ranks"

"ranks"
{
"driver" "mysql"
"host" "localhost"
"database" "csgoranks"
"user" "root"
"pass" ""
//"timeout" "0"
}

Last edited by Robin955; 03-19-2017 at 06:57.
Robin955 is offline
Reply



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 16:54.


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