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

[ANY] Play Time Rankings v0.5 (Updated 8/24/12)


Post New Thread Reply   
 
Thread Tools Display Modes
Koga73
Senior Member
Join Date: Mar 2011
Location: 🍩
Old 08-04-2016 , 13:20   Re: [ANY] Play Time Rankings v0.5 (Updated 8/24/12)
Reply With Quote #51

Not working anymore. Just for info.
Not sure if it's because Simple Chat Redux is gone., but the repository:
https://bitbucket.org/minimoney1/sim...ssor/downloads
__________________
Koga73 is offline
HvG Community
AlliedModders Donor
Join Date: Sep 2012
Old 10-15-2018 , 19:06   Re: [ANY] Play Time Rankings v0.5 (Updated 8/24/12)
Reply With Quote #52

It's working just fine. Just for info.
HvG Community is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 10-15-2018 , 22:45   Re: [ANY] Play Time Rankings v0.5 (Updated 8/24/12)
Reply With Quote #53

Quote:
Originally Posted by HvG Community View Post
It's working just fine. Just for info.
It's been 6 years, probably shouldnt be using this anyways, I tried to report it to be unapproved several years ago.
Mitchell is offline
HvG Community
AlliedModders Donor
Join Date: Sep 2012
Old 02-03-2019 , 15:25   Re: [ANY] Play Time Rankings v0.5 (Updated 8/24/12)
Reply With Quote #54

Here's an upgraded version so it doesn't go to waste. It was made by Eyal few months ago.


So compile this script file and then edit ranktime.cfg to have all the new stuff:


New ranktime.cfg options (beside playtime and color):

"adminflags" -> On level up what admin flag should person get?
"creditsreward" -> On level up how many Zephyrus store credits is person rewarded?
"benefit" -> Explanation of the level, type whatever you want


New chat commands:
!nextlvl -> It will show you current playtime and how many day/hours is left until next level up.
!levels -> List of all the levels. Unlocked levels are yellow, locked ones are grayed out. Explanation of what level unlocks is also in here (benefit mentioned above)


New misc:
Level up sound. Its default CS:GO sound so you don't have to add any downloads.



So this plugin works best with Zephyrus store, you can set it up so people slowly unlock store modules.
In items.txt you set it so only people with p flag can buy skins for example and then in ranktime.cfg you can set that on level 10 you unlock the p flag.


I had some stuff that I have added but it went down with my server, I think attached script will work fine. Also install multicolors.
Attached Files
File Type: sp Get Plugin or Get Source (playtime.sp - 102 views - 13.0 KB)

Last edited by HvG Community; 02-03-2019 at 15:26.
HvG Community is offline
zaviier
Senior Member
Join Date: Aug 2017
Location: Indonesia
Old 06-18-2019 , 18:27   Re: [ANY] Play Time Rankings v0.5 (Updated 8/24/12)
Reply With Quote #55

Quote:
Originally Posted by HvG Community View Post
Here's an upgraded version so it doesn't go to waste. It was made by Eyal few months ago.


So compile this script file and then edit ranktime.cfg to have all the new stuff:


New ranktime.cfg options (beside playtime and color):

"adminflags" -> On level up what admin flag should person get?
"creditsreward" -> On level up how many Zephyrus store credits is person rewarded?
"benefit" -> Explanation of the level, type whatever you want


New chat commands:
!nextlvl -> It will show you current playtime and how many day/hours is left until next level up.
!levels -> List of all the levels. Unlocked levels are yellow, locked ones are grayed out. Explanation of what level unlocks is also in here (benefit mentioned above)


New misc:
Level up sound. Its default CS:GO sound so you don't have to add any downloads.



So this plugin works best with Zephyrus store, you can set it up so people slowly unlock store modules.
In items.txt you set it so only people with p flag can buy skins for example and then in ranktime.cfg you can set that on level 10 you unlock the p flag.


I had some stuff that I have added but it went down with my server, I think attached script will work fine. Also install multicolors.
can you upload the .smx file?
i can't download, fail to compile
zaviier is offline
aykocity
Member
Join Date: Sep 2017
Old 06-19-2019 , 14:29   Re: [ANY] Play Time Rankings v0.5 (Updated 8/24/12)
Reply With Quote #56

Quote:
can you upload the .smx file?
i can't download, fail to compile
Attached Files
File Type: smx playtime.smx (19.6 KB, 86 views)
aykocity is offline
Lannister
Veteran Member
Join Date: Apr 2015
Old 08-28-2019 , 15:56   Re: [ANY] Play Time Rankings v0.5 (Updated 8/24/12)
Reply With Quote #57

Guys, i have a little question and im hoping that someone could help me. I'm trying to reset the database from this plugin, however i'm not abble to find where the database it's located (so i can reset all the time played by everyone). I tried by editing the sourcemod-local.sq3, but the database of this plugin is not there.

Could someone help me with this? or guide me a little?
Lannister is offline
Mitchell
~lick~
Join Date: Mar 2010
Old 08-28-2019 , 17:25   Re: [ANY] Play Time Rankings v0.5 (Updated 8/24/12)
Reply With Quote #58

Quote:
Originally Posted by Lannister View Post
Guys, i have a little question and im hoping that someone could help me. I'm trying to reset the database from this plugin, however i'm not abble to find where the database it's located (so i can reset all the time played by everyone). I tried by editing the sourcemod-local.sq3, but the database of this plugin is not there.

Could someone help me with this? or guide me a little?
That should be the right database, but like I said it's the very reason the plugin shouldnt be used since it uses clientprefs in the base version, I'm sure others have remade this plugin to use mysql or a better database.
Clientprefs is a unique way of storing its data and the easiest way to clear it is to just delete it.
Mitchell is offline
Reply


Thread Tools
Display Modes

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 08:40.


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