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

[TF2] Player Ranks


Post New Thread Reply   
 
Thread Tools Display Modes
eraserhead
Veteran Member
Join Date: Nov 2009
Old 07-10-2015 , 11:04   Re: [TF2] Player Ranks
Reply With Quote #201

Is this plugin still supported?
__________________
eraserhead is offline
Send a message via Skype™ to eraserhead
Aderic
Senior Member
Join Date: Oct 2011
Old 07-14-2015 , 22:55   Re: [TF2] Player Ranks
Reply With Quote #202

Quote:
Originally Posted by MrTimcakes View Post
Could anybody get this to work with score per hour instead of overall score? I've tried but my modified version didn't work, but I've attached it anyway. Score per hour would give a better indication to actual skill not just the amount of playtime they have on the server.
Ultimately I think the K-D ratio is the best indicator

Quote:
Originally Posted by eraserhead View Post
Is this plugin still supported?
I've stopped writing plugins but it should not produce any errors or have any problems.
__________________
Aderic is offline
mysty
Member
Join Date: Oct 2015
Location: FUCK OFF
Old 12-19-2015 , 07:20   Re: [TF2] Player Ranks
Reply With Quote #203

\tf\addons\sourcemod\scripting\playerranks.sp (1113) : error 178: cannot coerce int[] to char[]; storage classes differ
\tf\addons\sourcemod\scripting\playerranks.sp (3114) : error 178: cannot coerce int[] to char[]; storage classes differ
\tf\addons\sourcemod\scripting\playerranks.sp (3115) : error 178: cannot coerce int[] to char[]; storage classes differ

uhh I modified the enum thing cause 1.7 compiler does not support ur original one and now im getting these errors. Any idea how to fix?

enum
{
rank, // Current ranking number on the server.
kills, // Kills for kill/death ratio.
deaths, // Deaths for kill/death ratio.
assists, // Assist count
headshots, // Headshot count.
backstabs, // Backstab count.
feigns, // How many fake deaths have been done.
bossdmg, // Amount of damage the player has contributed to killing the boss.
totaltime, // Total time played.
jointime, // Time joined.
merKills, // Merasmus kill count.
merLvl, // Merasmus maximum level.
monKills, // Monoculus kill count.
monLvl, // Monoculus maximum level.
hhhKills, // Headless Horsemann kill count
Float:roundPoints, // Points the client has earned this round.
Float:points, // Points the client currently has.
bool:validated, // Did OnClientPutInServer get called for this client?
bool:loaded, // Is the client record loaded?
bool:roundBonus, // If the client has been here the entire round.
flagCaptures, // Flags captured.
flagDefends, // Flags defended.
capCaptures, // Points captured.
capDefends, // Points defended.
roundsPlayed, // Full rounds played.
dominationsGood, // How many times you've dominated a player.
dominationsBad, // How many times you've been dominated by a player.
deflects, // Deflected projectile count.
currentStreak, // Current killstreak count.
highestStreak, // Highest killstreak count.
lastDefend, // Last timestamp of known point defend. This is to prevent spamming of point defends.
bool:exempt, // If true, this client's rank and all statistics will not be altered until set to false.
ScoreTracker
}
// Our top ten score object, stores
enum
{
String:tNickname[MAX_NAME_LENGTH], // Our name on file for this player.
String:tSteamId[MAX_STEAMID_LENGTH], // His Steam ID.
Float:ttotaltime, // Total time played on server.
tmerKills, // Merasmus kill count.
tmerLvl, // Merasmus level.
tmonKills, // Monoculus kill count.
tmonLvl, // Monoculus level.
thhhKills, // Headless Horsemann kill count.
Float:tPoints, // Total points.
tSeen, // Last seen.
tKills, // Player/Bot kill count.
tDeaths, // Death count.
tAssists, // Assist count.
tHeadshots, // Headshot count.
tBackstabs, // Backstab count.
tFeigns, // Feigned death count.
tflagCaptures, // Flags captured.
tflagDefends, // Flags defended.
tcapCaptures, // Points captured.
tcapDefends, // Points defended.
troundsPlayed, // Full rounds played.
tdominationsGood, // How many times you've dominated a player.
tdominationsBad, // How many times you've been dominated by a player.
tDeflects, // How many times you've deflect-killed a player.
tHighestStreak, // Highest killstreak count.
ScoreStruct
}
mysty is offline
Aderic
Senior Member
Join Date: Oct 2011
Old 12-19-2015 , 18:33   Re: [TF2] Player Ranks
Reply With Quote #204

Quote:
Originally Posted by mysty View Post
uhh I modified the enum thing cause 1.7 compiler does not support ur original one and now im getting these errors. Any idea how to fix?
Sit tight on that, I'll be uploading a newer version shortly.

The newly introduced compile warnings have been taken care of.. as well as a very rare bug.

Also support for multiple languages has been improved.
__________________

Last edited by Aderic; 12-20-2015 at 07:02.
Aderic is offline
Aderic
Senior Member
Join Date: Oct 2011
Old 12-20-2015 , 06:57   Re: [TF2] Player Ranks
Reply With Quote #205

An update has been posted.
  • Version 3.4 - Removed about four unneeded lines in the phrases file.
  • Fixed a rare bug where assist kills would sometimes display the wrong language response (would use the attacker's language instead).
  • Compiled for SourceMod 1.7.3.
__________________

Last edited by Aderic; 12-20-2015 at 06:58.
Aderic is offline
Aderic
Senior Member
Join Date: Oct 2011
Old 12-21-2015 , 02:08   Re: [TF2] Player Ranks
Reply With Quote #206

An update has been posted.
  • Version 3.4.1 - Longer Steam IDs are supported.
__________________
Aderic is offline
luki1412
Veteran Member
Join Date: Oct 2008
Location: OnPluginStart()
Old 05-18-2016 , 19:08   Re: [TF2] Player Ranks
Reply With Quote #207

Code:
L 05/18/2016 - 19:43:56: [SM] Plugin encountered error 22: Maximum number of parameters reached
L 05/18/2016 - 19:43:56: [SM] Native "VFormat" reported: Translation string formatted incorrectly - missing at least 1 parameters
L 05/18/2016 - 19:43:56: [SM] Displaying call stack trace for plugin "playerranks.smx":
L 05/18/2016 - 19:43:56: [SM]   [0]  Line 71, D:\tf2_server\tf\addons\sourcemod\scripting\include\morecolors.inc::CPrintToChatAll()
L 05/18/2016 - 19:43:56: [SM]   [1]  Line 1340, playerranks.sp::OnClientDisconnect()
Removed flag FCVAR_PLUGIN - deprecated, fixed the translation file error.
Fixed the problem with datapacks too.
Attached Files
File Type: sp Get Plugin or Get Source (playerranks.sp - 182 views - 139.6 KB)
File Type: txt playerranks.phrases.txt (21.0 KB, 146 views)
__________________

Last edited by luki1412; 06-19-2016 at 14:13. Reason: Forgot to upload the files lol
luki1412 is offline
caxanga334
Member
Join Date: Nov 2013
Location: Brazil
Old 01-18-2017 , 07:03   Re: [TF2] Player Ranks
Reply With Quote #208

Plugin isn't working.

Code:
L 01/18/2017 - 07:01:33: [playerranks.smx] Error: Unknown column 'deaths' in 'field list'
L 01/18/2017 - 07:01:33: [playerranks.smx] Could not load client.
L 01/18/2017 - 07:01:33: [SM] Exception reported: A client could not be loaded. Check log for more information. 3.4.2
L 01/18/2017 - 07:01:33: [SM] Blaming: playerranks.smx
L 01/18/2017 - 07:01:33: [SM] Call stack trace:
L 01/18/2017 - 07:01:33: [SM]   [0] SetFailState
L 01/18/2017 - 07:01:33: [SM]   [1] Line 2795, D:\Server\steamapps\common\Team Fortress 2 Dedicated Server\tf\addons\sourcemod\scripting\playerranks.sp::Query_LoadClient
caxanga334 is offline
gry
Junior Member
Join Date: Apr 2014
Location: Russia, Moscow
Old 04-15-2017 , 10:43   Re: [TF2] Player Ranks
Reply With Quote #209

Russian translation
Attached Files
File Type: txt playerranks.phrases.txt (32.7 KB, 126 views)
__________________
gry is offline
Azthex
Junior Member
Join Date: Apr 2016
Old 04-12-2019 , 09:55   Re: [TF2] Player Ranks
Reply With Quote #210

How can I set web panel for multiple gameservers usign the same MySQL?
Azthex 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 18:19.


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