Raised This Month: $ Target: $400
 0% 

Played Time: Extended (Last Update: 7th June 2016)


Post New Thread Reply   
 
Thread Tools Display Modes
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 12-04-2012 , 14:13   Re: Played Time: Extended v0.1
Reply With Quote #31

Quote:
Originally Posted by Mr.Waffle View Post
nvm , It works really well.
the top is Updated when u change map ? or always ?
When player connects, earns some minutes, then disconnects, it saves the extra minutes.
That's when the top is updated.

Quote:
Originally Posted by AleeKz View Post
You should make a lang file.

E.g: for en : Your total time is 0 minutes.
for ro : Timpul petrecut pe server de catre tine este de 0 minut(e).
Added to my To-do list
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.

Last edited by pokemonmaster; 12-04-2012 at 14:17.
pokemonmaster is offline
jingojang
Senior Member
Join Date: Feb 2010
Location: The Moon
Old 12-12-2012 , 19:17   Re: Played Time: Extended v0.1
Reply With Quote #32

Add web stats?

So you can go on to your website and look at peoples played time. Like a top for played time.
__________________
jingojang is offline
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 12-13-2012 , 03:34   Re: Played Time: Extended v0.1
Reply With Quote #33

Quote:
Originally Posted by jingojang View Post
Add web stats?

So you can go on to your website and look at peoples played time. Like a top for played time.
Sadly, I don't know how to make php pages ... Maybe when I learn I will make it.. Or someone else helps you .
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.
pokemonmaster is offline
SPT1
Senior Member
Join Date: Aug 2012
Old 12-14-2012 , 02:52   Re: Played Time: Extended v0.1
Reply With Quote #34

good job
__________________
AMXMODX
SPT1 is offline
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 12-14-2012 , 06:59   Re: Played Time: Extended v0.1
Reply With Quote #35

I don't know why but SQL version is not working. I only change savetype to SQL and insert the database information (host ip, db, user, pass). Didn't modify anything...

The plugin creates the table, insert the username and the Steam ID to the database but don't update the played time.


Last edited by guipatinador; 12-14-2012 at 07:00.
guipatinador is offline
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 12-14-2012 , 11:44   Re: Played Time: Extended v0.1
Reply With Quote #36

Quote:
Originally Posted by guipatinador View Post
I don't know why but SQL version is not working. I only change savetype to SQL and insert the database information (host ip, db, user, pass). Didn't modify anything...

The plugin creates the table, insert the username and the Steam ID to the database but don't update the played time.

Can you PM me the php script please? I want to test
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.
pokemonmaster is offline
pokemonmaster
princess milk
Join Date: Nov 2010
Location: Somewhere in this world
Old 12-15-2012 , 04:52   Re: Played Time: Extended v0.1
Reply With Quote #37

After testing, the problem was a typo in the SQL query, it's fixed now, download from main post.

Also, the php script should work correctly now.
__________________
اَشْهَدُ اَنْ لَّآ اِلٰهَ اِلَّا اللہُ وَحْدَه لَا شَرِيْكَ لَه وَ اَشْهَدُ اَنَّ مُحَمَّدًا عَبْدُه وَرَسُوْلُه
No longer active in AMXX. Sorry.
pokemonmaster is offline
guipatinador
SourceMod Donner Party
Join Date: Oct 2009
Location: Poortugal
Old 12-15-2012 , 06:49   Re: Played Time: Extended v0.1
Reply With Quote #38

nVault version also have a bug.



Code:
    if( !( iNum =  nvault_get(gVault, szAuthId) ) )     {         nvault_set(gVault, szAuthId, "0")         format(szAuthId, charsmax(szAuthId), "%s%s", szAuthId, SPECIAL_CHAR)         nvault_set(gVault, szAuthId, szName)         return 0     }         format(szAuthId, charsmax(szAuthId), "%s%s", szAuthId, SPECIAL_CHAR)     nvault_get(gVault, szAuthId, szSavedName)     if(!equal(szName, szSavedName))     {         nvault_remove(gVault, szAuthId)         nvault_set(gVault, szAuthId, szName)     }
This is wrong.
guipatinador is offline
sami_spt
Veteran Member
Join Date: Sep 2012
Location: I<3 pussy cats
Old 12-15-2012 , 07:33   Re: Played Time: Extended v0.1
Reply With Quote #39

Quote:
Originally Posted by guipatinador View Post
Can U please share your php script. it will be useful for my server.
If you dont want to share it, its ok with me

Last edited by sami_spt; 12-15-2012 at 07:33.
sami_spt is offline
dineshrohra
Junior Member
Join Date: Aug 2012
Location: Dubai, United Arab Emira
Old 12-15-2012 , 07:38   Re: Played Time: Extended v0.1
Reply With Quote #40

Does this plugin counts time for players who are spectators ? (Spectate for a long time)
dineshrohra 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 11:44.


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