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

Player Time Tracker v2.3.5


Post New Thread Reply   
 
Thread Tools Display Modes
nOfeaR o_O
Junior Member
Join Date: Nov 2010
Old 11-06-2010 , 05:21   Re: Player Time Tracker v2.3.2
Reply With Quote #71

I got this error ..
L 11/06/2010 - 12:222: [SM] Native "IsClientTimingOut" reported: Client 1 is a bot
L 11/06/2010 - 12:222: [SM] Displaying call stack trace for plugin "ptt.smx":
L 11/06/2010 - 12:222: [SM] [0] Line 593, /home/groups/alliedmodders/forums/files/9/4/5/8/43604.attach::Queries()
L 11/06/2010 - 12:222: [SM] [1] Line 581, /home/groups/alliedmodders/forums/files/9/4/5/8/43604.attach::UpdateTimes()

Last edited by nOfeaR o_O; 11-07-2010 at 13:53.
nOfeaR o_O is offline
G2KV
BANNED
Join Date: Dec 2010
Old 01-23-2011 , 19:26   Re: Player Time Tracker v2.3.2
Reply With Quote #72

can someone make something like this :

for example i need to track the admins how much the spend on the servers past 30 days by showing me in menu by day and hwo many hours that day .

so lets say you have one main menu to call with !track

this will show us list of admins ,from that list we choose the prefered admin to track and see his tracks past 30 days :

Tu : 07.01.2011 : 3h,25min
Wed ..................
Thur .....

and so on ,it will be really nice to have something like this so you can see how much time your admins are spending on the server .
G2KV is offline
ojmdk476oj
AlliedModders Donor
Join Date: Dec 2009
Old 03-26-2011 , 07:49   Re: Player Time Tracker v2.3.2
Reply With Quote #73

The plugin still works! But you can't say what database it should use..
It will always use the default database..
ojmdk476oj is offline
crazydog
AlliedModders Donor
Join Date: Jan 2006
Old 03-26-2011 , 16:13   Re: Player Time Tracker v2.3.2
Reply With Quote #74

sm_ptt_database doesn't work?

The default database is not hardcoded anywhere.

These two commands set up the database location:
Code:
	GetConVarString(sm_ptt_database, pttDatabase, sizeof(pttDatabase))
	SQL_TConnect(DBConnect, pttDatabase)
So it uses whatever connection you set in sm_ptt_database, at least it should!

Last edited by crazydog; 03-26-2011 at 16:17.
crazydog is offline
wazzgod
Member
Join Date: Oct 2005
Location: Home
Old 07-19-2011 , 21:04   Re: Player Time Tracker v2.3.2
Reply With Quote #75

be nice if this had "lastconnected" field
with say like a unixtimestamp and ip logging
__________________
People Who Think They Know Everything
Are Very Irritating To Those Of Us Who Do.

Last edited by wazzgod; 07-19-2011 at 21:19.
wazzgod is offline
wazzgod
Member
Join Date: Oct 2005
Location: Home
Old 07-22-2011 , 02:33   Re: Player Time Tracker v2.3.2
Reply With Quote #76

L 07/21/2011 - 239:10: [SM] Native "IsClientTimingOut" reported: Client 1 is a bot
L 07/21/2011 - 239:10: [SM] Displaying call stack trace for plugin "ptt.smx":
L 07/21/2011 - 239:10: [SM] [0] Line 593, /home/groups/alliedmodders/forums/files/9/4/5/8/43604.attach::Queries()
L 07/21/2011 - 239:10: [SM] [1] Line 581, /home/groups/alliedmodders/forums/files/9/4/5/8/43604.attach::UpdateTimes()


can you please add "ignore bot" support to this plugin.
Thank you.

becuase the plugin breaks when bots are on.
and does not work properly.
__________________
People Who Think They Know Everything
Are Very Irritating To Those Of Us Who Do.
wazzgod is offline
Fearts
ferts of daeth
Join Date: Oct 2008
Old 09-20-2011 , 19:41   Re: Player Time Tracker v2.3.2
Reply With Quote #77

Also could you add a top list to see the players who have the most time on the server.
__________________
Fearts is offline
clad
Senior Member
Join Date: Oct 2006
Old 09-29-2011 , 02:07   Re: Player Time Tracker v2.3.2
Reply With Quote #78

Quote:
Originally Posted by crazydog View Post
sm_ptt_database doesn't work?

The default database is not hardcoded anywhere.

These two commands set up the database location:
Code:
    GetConVarString(sm_ptt_database, pttDatabase, sizeof(pttDatabase))
    SQL_TConnect(DBConnect, pttDatabase)
So it uses whatever connection you set in sm_ptt_database, at least it should!
I see the same issue, but i can not connect at all.
I get this error:

Code:
L 09/29/2011 - 00:46:50: [ptt.smx] Error! Could not find database conf "default"
L 09/29/2011 - 00:46:58: [ptt.smx] [PTT] ERROR: Could not connect to SQL database! (Configuration "default" not found)
L 09/29/2011 - 00:46:58: [SM] Native "CloseHandle" reported: Handle 0 is invalid (error 4)
L 09/29/2011 - 00:46:58: [SM] Displaying call stack trace for plugin "ptt.smx":
L 09/29/2011 - 00:46:58: [SM]   [0]  Line 470, ptt.sp::OnClientPostAdminCheck()
L 09/29/2011 - 00:46:59: [SM] Native "SQL_TQuery" reported: Invalid database Handle 0 (error: 4)
L 09/29/2011 - 00:46:59: [SM] Displaying call stack trace for plugin "ptt.smx":
L 09/29/2011 - 00:46:59: [SM]   [0]  Line 603, ptt.sp::Queries()
L 09/29/2011 - 00:46:59: [SM]   [1]  Line 581, ptt.sp::UpdateTimes()
L 09/29/2011 - 00:47:04: [SM] Native "SQL_TQuery" reported: Invalid database Handle 0 (error: 4)
L 09/29/2011 - 00:47:04: [SM] Displaying call stack trace for plugin "ptt.smx":
L 09/29/2011 - 00:47:04: [SM]   [0]  Line 603, ptt.sp::Queries()
L 09/29/2011 - 00:47:04: [SM]   [1]  Line 581, ptt.sp::UpdateTimes()
with alot of this afterwards.

Code:
L 09/29/2011 - 00:46:59: [SM] Displaying call stack trace for plugin "ptt.smx":
L 09/29/2011 - 00:46:59: [SM]   [0]  Line 603, ptt.sp::Queries()
L 09/29/2011 - 00:46:59: [SM]   [1]  Line 581, ptt.sp::UpdateTimes()
L 09/29/2011 - 00:47:04: [SM] Native "SQL_TQuery" reported: Invalid database Handle 0 (error: 4)
L 09/29/2011 - 00:47:04: [SM] Displaying call stack trace for plugin "ptt.smx":
L 09/29/2011 - 00:47:04: [SM]   [0]  Line 603, ptt.sp::Queries()
L 09/29/2011 - 00:47:04: [SM]   [1]  Line 581, ptt.sp::UpdateTimes()
That error is using my custom name (ptt), and also trying with default in the plugin.ptt.cfg. Same Results.
I know it's not a connection issue as i have created a few other db's on there for other plugins. (hlstatsx, sourcebans, ect..)

Is there something maybe i'm missing?
I noticed in the "ptt.sp" you have this, but i can seem to find the txt file anywhere.
Code:
* 3) Download and place ptt.txt into your addons/sourcemod/data/ directory
__________________
clad is offline
crazydog
AlliedModders Donor
Join Date: Jan 2006
Old 10-18-2011 , 20:24   Re: Player Time Tracker v2.3.2
Reply With Quote #79

Quote:
Originally Posted by wazzgod View Post
L 07/21/2011 - 239:10: [SM] Native "IsClientTimingOut" reported: Client 1 is a bot
L 07/21/2011 - 239:10: [SM] Displaying call stack trace for plugin "ptt.smx":
L 07/21/2011 - 239:10: [SM] [0] Line 593, /home/groups/alliedmodders/forums/files/9/4/5/8/43604.attach::Queries()
L 07/21/2011 - 239:10: [SM] [1] Line 581, /home/groups/alliedmodders/forums/files/9/4/5/8/43604.attach::UpdateTimes()


can you please add "ignore bot" support to this plugin.
Thank you.

becuase the plugin breaks when bots are on.
and does not work properly.
Working on that right now

Quote:
Originally Posted by Fearts View Post
Also could you add a top list to see the players who have the most time on the server.
Like something in-game? You could use the webUI I provide to do this, and use another plugin to pull up that web page in an MOTD.

Quote:
Originally Posted by clad View Post
I see the same issue, but i can not connect at all.
I get this error:

Code:
L 09/29/2011 - 00:46:50: [ptt.smx] Error! Could not find database conf "default"
L 09/29/2011 - 00:46:58: [ptt.smx] [PTT] ERROR: Could not connect to SQL database! (Configuration "default" not found)
L 09/29/2011 - 00:46:58: [SM] Native "CloseHandle" reported: Handle 0 is invalid (error 4)
L 09/29/2011 - 00:46:58: [SM] Displaying call stack trace for plugin "ptt.smx":
L 09/29/2011 - 00:46:58: [SM]   [0]  Line 470, ptt.sp::OnClientPostAdminCheck()
L 09/29/2011 - 00:46:59: [SM] Native "SQL_TQuery" reported: Invalid database Handle 0 (error: 4)
L 09/29/2011 - 00:46:59: [SM] Displaying call stack trace for plugin "ptt.smx":
L 09/29/2011 - 00:46:59: [SM]   [0]  Line 603, ptt.sp::Queries()
L 09/29/2011 - 00:46:59: [SM]   [1]  Line 581, ptt.sp::UpdateTimes()
L 09/29/2011 - 00:47:04: [SM] Native "SQL_TQuery" reported: Invalid database Handle 0 (error: 4)
L 09/29/2011 - 00:47:04: [SM] Displaying call stack trace for plugin "ptt.smx":
L 09/29/2011 - 00:47:04: [SM]   [0]  Line 603, ptt.sp::Queries()
L 09/29/2011 - 00:47:04: [SM]   [1]  Line 581, ptt.sp::UpdateTimes()
with alot of this afterwards.

Code:
L 09/29/2011 - 00:46:59: [SM] Displaying call stack trace for plugin "ptt.smx":
L 09/29/2011 - 00:46:59: [SM]   [0]  Line 603, ptt.sp::Queries()
L 09/29/2011 - 00:46:59: [SM]   [1]  Line 581, ptt.sp::UpdateTimes()
L 09/29/2011 - 00:47:04: [SM] Native "SQL_TQuery" reported: Invalid database Handle 0 (error: 4)
L 09/29/2011 - 00:47:04: [SM] Displaying call stack trace for plugin "ptt.smx":
L 09/29/2011 - 00:47:04: [SM]   [0]  Line 603, ptt.sp::Queries()
L 09/29/2011 - 00:47:04: [SM]   [1]  Line 581, ptt.sp::UpdateTimes()
That error is using my custom name (ptt), and also trying with default in the plugin.ptt.cfg. Same Results.
I know it's not a connection issue as i have created a few other db's on there for other plugins. (hlstatsx, sourcebans, ect..)

Is there something maybe i'm missing?
I noticed in the "ptt.sp" you have this, but i can seem to find the txt file anywhere.
Code:
* 3) Download and place ptt.txt into your addons/sourcemod/data/ directory
Those errors seem like your database configuration is missing. Post your databases.cfg (with sensitive material removed!) or PM it to me, and I'll take a look at it.
Since version 2.3, ptt.txt is no longer required.
crazydog is offline
crazydog
AlliedModders Donor
Join Date: Jan 2006
Old 10-18-2011 , 20:29   Re: Player Time Tracker v2.3.2
Reply With Quote #80

Version 2.3.3 released.
crazydog 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:30.


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