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

[CS:GO] Rank based on Time played.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Lannister
Veteran Member
Join Date: Apr 2015
Old 07-02-2015 , 20:29   [CS:GO] Rank based on Time played.
Reply With Quote #1

Hello, i wonder if it's possible to make a plugin that will track the time that players stay in the server (in a team, not in spec) and it will display a ranking with the players that played most time in the server.

I've checked all the plugins here and no one of them have that, maybe i missed one?

Hope someone can help me, thanks
Lannister is offline
Emreuck
Member
Join Date: Aug 2014
Old 07-03-2015 , 06:44   Re: [CS:GO] Rank based on Time played.
Reply With Quote #2

+1 I want this plugin too if you have one please commend here.
Emreuck is offline
cTmoNe
AlliedModders Donor
Join Date: Jul 2010
Location: Germany
Old 07-03-2015 , 08:10   Re: [CS:GO] Rank based on Time played.
Reply With Quote #3

God, example !slottime
__________________


cTmoNe is offline
Puppetmaster
Senior Member
Join Date: Jun 2015
Location: Probably at a computer.
Old 07-07-2015 , 00:26   Re: [CS:GO] Rank based on Time played.
Reply With Quote #4

Hypothetically if such a plugin were to be coded would it make use of a database? What features would people want in such a plugin?
__________________

GZS Servers
Puppetmaster is offline
Lannister
Veteran Member
Join Date: Apr 2015
Old 07-07-2015 , 00:36   Re: [CS:GO] Rank based on Time played.
Reply With Quote #5

Hello

First of all thanks alot for your reply, i'm glad that someone posted here wanting to know more about this petition. and about what you said in your reply. I personally don't need a database since i don't use MySQL, i only want to track peoples time that play in my server so later i can do events like "giving X item to the person that played most" something like this plugin but without the killing/death points, for example in SoDStats if you type "statsme" you actually can see the time played in that server, would be perfect to have the same rank system but with time played.

Thanks and i hope someone can help me since this will help alot when making some events to atract people to your server!

Last edited by Lannister; 07-07-2015 at 00:59.
Lannister is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 07-07-2015 , 01:03   Re: [CS:GO] Rank based on Time played.
Reply With Quote #6

Like this?
http://poniponiponi.site.nfoservers....motd.php?month
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
Lannister
Veteran Member
Join Date: Apr 2015
Old 07-07-2015 , 01:12   Re: [CS:GO] Rank based on Time played.
Reply With Quote #7

That would be interesting! but as i mention before, i don't use MySQL and sadly i don't count with a webpage, so i would like to keep it in-game, just like any other Rank system (like SoDStats)

Thanks for your reply!
Lannister is offline
Puppetmaster
Senior Member
Join Date: Jun 2015
Location: Probably at a computer.
Old 07-07-2015 , 01:13   Re: [CS:GO] Rank based on Time played.
Reply With Quote #8

I think a database would be the way to go, since you want to track a potentially large number of players a database would both allow you to store large numbers and efficiently run queries on the data. For instance calculating the top 10 players without a database could be quite hard as you would have to iterate over a list using something like a heap. With a database you would simply make a query ordered by biggest first with a limit of 10 which is quite efficient.
__________________

GZS Servers
Puppetmaster is offline
Puppetmaster
Senior Member
Join Date: Jun 2015
Location: Probably at a computer.
Old 07-07-2015 , 01:17   Re: [CS:GO] Rank based on Time played.
Reply With Quote #9

Quote:
Originally Posted by Lannister View Post
That would be interesting! but as i mention before, i don't use MySQL and sadly i don't count with a webpage, so i would like to keep it in-game, just like any other Rank system (like SoDStats)

Thanks for your reply!
Sourcemod does have support for SQLite which is a database that is contained within sourcemod.
__________________

GZS Servers
Puppetmaster is offline
Lannister
Veteran Member
Join Date: Apr 2015
Old 07-07-2015 , 01:33   Re: [CS:GO] Rank based on Time played.
Reply With Quote #10

Quote:
Originally Posted by Puppetmaster View Post
Sourcemod does have support for SQLite which is a database that is contained within sourcemod.
Oh, i thought that "Database" automatically ment MySQL = Website, and now i remember that we also had SQLite (thanks for reminding me), so it could be done?

Thanks!
Lannister 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 13:15.


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