Raised This Month: $ Target: $400
 0% 

[ANY] adminWatch (v1.2.2)


Post New Thread Reply   
 
Thread Tools Display Modes
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 06-17-2013 , 13:43   Re: [ANY] adminWatch (v1.2.1)
Reply With Quote #41

Quote:
Originally Posted by pat841 View Post
Do you mind providing logs? Also, try to see if setting the flag to 1 works. Maybe your flag is "z" and not "r", in that case, use "rz"
What logs can I provide? It's not generating any in the errorlog file. It only seems to be updating the "Total" column and not the actual "Played" column. I tried changing the flag setting to "1" as well, same deal.
Snaggle is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 06-17-2013 , 13:47   Re: [ANY] adminWatch (v1.2.1)
Reply With Quote #42

updater shouldnt be required, it should be optional.

L 06/17/2013 - 138:15: [SM] Unable to load plugin "adminwatch.smx": Could not find required plugin "updater"
__________________

Last edited by nineteeneleven; 06-17-2013 at 13:47.
nineteeneleven is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 06-17-2013 , 14:33   Re: [ANY] adminWatch (v1.2.1)
Reply With Quote #43

actually my times are not updating correctly either.


Edit: actually it might be working, does it only update the database on map change or something?

It does only show idle time however
__________________

Last edited by nineteeneleven; 06-17-2013 at 14:57.
nineteeneleven is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 06-17-2013 , 16:09   Re: [ANY] adminWatch (v1.2.1)
Reply With Quote #44

anyone else getting this on their web panel?

Code:
Fatal error:  Uncaught exception 'Exception' with message  'DateTime::__construct() [<a  href='datetime.--construct'>datetime.--construct</a>]: Failed  to parse time string (@) at position 0 (@): Unexpected character' in  /usr/www/tpmc/public/1911info/adminwatch/index.php:24 Stack trace: #0 /usr/www/tpmc/public/1911info/adminwatch/index.php(24):  DateTime->__construct('@') #1 {main}   thrown in /usr/www/tpmc/public/1911info/adminwatch/index.php on line 24
It has to do with using the date as a variable before fetching it from the database.
__________________

Last edited by nineteeneleven; 06-17-2013 at 16:18.
nineteeneleven is offline
pat841
Member
Join Date: Jun 2013
Location: Boston
Old 06-17-2013 , 17:14   Re: [ANY] adminWatch (v1.2.2)
Reply With Quote #45

Quote:
Originally Posted by Snaggle View Post
What logs can I provide? It's not generating any in the errorlog file. It only seems to be updating the "Total" column and not the actual "Played" column. I tried changing the flag setting to "1" as well, same deal.
Try now. Remember, the "z" flag is its own flag, so if you want admins with ban and root to be logged, you need to set the flag as "dz". Times update once the admin being watched disconnects. Until then, the admins time will continue to accumulate.

Quote:
Originally Posted by nineteeneleven View Post
updater shouldnt be required, it should be optional.

L 06/17/2013 - 138:15: [SM] Unable to load plugin "adminwatch.smx": Could not find required plugin "updater"
Fixed in the latest version.

Quote:
Originally Posted by nineteeneleven View Post
actually my times are not updating correctly either.


Edit: actually it might be working, does it only update the database on map change or something?

It does only show idle time however
Quote:
Originally Posted by nineteeneleven View Post
anyone else getting this on their web panel?

Code:
Fatal error:  Uncaught exception 'Exception' with message  'DateTime::__construct() [<a  href='datetime.--construct'>datetime.--construct</a>]: Failed  to parse time string (@) at position 0 (@): Unexpected character' in  /usr/www/tpmc/public/1911info/adminwatch/index.php:24 Stack trace: #0 /usr/www/tpmc/public/1911info/adminwatch/index.php(24):  DateTime->__construct('@') #1 {main}   thrown in /usr/www/tpmc/public/1911info/adminwatch/index.php on line 24
It has to do with using the date as a variable before fetching it from the database.
Fixed.
__________________
pat841 is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 06-18-2013 , 07:05   Re: [ANY] adminWatch (v1.2.2)
Reply With Quote #46

Where does the database get the time/date from?
__________________
nineteeneleven is offline
DoPe^
Veteran Member
Join Date: Jul 2008
Location: Denmark / Copenhagen
Old 06-18-2013 , 07:50   Re: [ANY] adminWatch (v1.2.2)
Reply With Quote #47

Quote:
Originally Posted by nineteeneleven View Post
Where does the database get the time/date from?
the plugin?
__________________
DoPe^ is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 06-18-2013 , 09:46   Re: [ANY] adminWatch (v1.2.2)
Reply With Quote #48

More specifically, the server time? Or sourcemods time?
__________________
nineteeneleven is offline
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 06-18-2013 , 14:13   Re: [ANY] adminWatch (v1.2.2)
Reply With Quote #49

Quote:
Originally Posted by pat841 View Post
Try now. Remember, the "z" flag is its own flag, so if you want admins with ban and root to be logged, you need to set the flag as "dz". Times update once the admin being watched disconnects. Until then, the admins time will continue to accumulate.
The flags arn't an issue anymore, it records Admins fine but it's not recording the times correctly still. I downloaded the new plugin version just to double check.

It put me in the database and after playing a round for 30 minutes I disconnected, I then checked the website and here is what it shows. http://i41.tinypic.com/2s1vfvn.png
Snaggle is offline
nineteeneleven
Veteran Member
Join Date: Nov 2010
Old 06-18-2013 , 17:52   Re: [ANY] adminWatch (v1.2.2)
Reply With Quote #50

Yea mine looks the same
__________________
nineteeneleven 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 02:46.


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