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

[Any] Classy Crash Logger


Post New Thread Reply   
 
Thread Tools Display Modes
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 03-31-2013 , 17:34   Re: [Any] Classy Crash Logger
Reply With Quote #81

Quote:
Originally Posted by johan123jo View Post
maybe changing sm_crashlogger_offset to -10800 would do it?
That would subtract 3 hours from the time the server is reporting. That may or may not be GMT -3.

For more help, refer here.
__________________
DarthNinja is offline
ojmdk476oj
AlliedModders Donor
Join Date: Dec 2009
Old 03-31-2013 , 18:51   Re: [Any] Classy Crash Logger
Reply With Quote #82

Quote:
Originally Posted by DarthNinja View Post
That would subtract 3 hours from the time the server is reporting. That may or may not be GMT -3.

For more help, refer here.
Ohh yeah... Just took from GMT 0. Stupid me...
ojmdk476oj is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 03-31-2013 , 22:49   Re: [Any] Classy Crash Logger
Reply With Quote #83

Basically, if the time being displayed on the site is an hour faster than your local time, you would set the cvar to '-3600' to move the time back an hour.
__________________
DarthNinja is offline
Dagunchi
Member
Join Date: Sep 2009
Old 05-21-2013 , 17:59   Re: [Any] Classy Crash Logger
Reply With Quote #84

It is possible to show on what map server crashed?
Dagunchi is offline
DarthNinja
SourceMod Plugin Approver
Join Date: Mar 2009
Location: PreThinkHook()
Old 05-21-2013 , 18:01   Re: [Any] Classy Crash Logger
Reply With Quote #85

Not in this version
__________________
DarthNinja is offline
Dagunchi
Member
Join Date: Sep 2009
Old 05-27-2013 , 09:41   Re: [Any] Classy Crash Logger
Reply With Quote #86

Quote:
Originally Posted by DarthNinja View Post
Not in this version
Can you add in next version?
Dagunchi is offline
snelvuur
Veteran Member
Join Date: Jun 2008
Location: Netherlands
Old 05-27-2013 , 09:54   Re: [Any] Classy Crash Logger
Reply With Quote #87

Install hlxce, if you have not done already. If it crashes you can see on what map it was on that history too.
__________________
Arguing with a fool only proves there are two
snelvuur is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 05-27-2013 , 10:14   Re: [Any] Classy Crash Logger
Reply With Quote #88

nonclassy crash logger:

PHP Code:
For /"tokens=1,2,3,4 delims=/ " %%A in ('Date /t') do (
  
Set DayW=%%A
  Set Day
=%%B
  Set Month
=%%C
  Set Year
=%%D
  Set 
"All=%%A (%%B-%%C)"
)
For /
"tokens=1,2,3 delims=:,. " %%A in ('echo %time%') do (
  
set /"Hour=100%%A%%100"
  
set Min=%%B
  set Sec
=%%C
)
if %
Hourgeq 12 (
  
set AMPM=PM
  set 
/"Hour-=12"
) else set "AMPM=AM"
if %Hourequ 0 set "Hour=12"
if %Hourlss 10 set "Hour=0%Hour%"
set "Allm=%Hour%.%Min%.%Sec% %AMPM%"

ECHO %All% %Allmsrcds started >> crashlog.txt
type crashlog
.txt

<stuff>

For /
"tokens=1,2,3,4 delims=/ " %%A in ('Date /t') do (
  
Set DayW=%%A
  Set Day
=%%B
  Set Month
=%%C
  Set Year
=%%D
  Set 
"All=%%A (%%B-%%C)"
)
For /
"tokens=1,2,3 delims=:,. " %%A in ('echo %time%') do (
  
set /"Hour=100%%A%%100"
  
set Min=%%B
  set Sec
=%%C
)
if %
Hourgeq 12 (
  
set AMPM=PM
  set 
/"Hour-=12"
) else set "AMPM=AM"
if %Hourequ 0 set "Hour=12"
if %Hourlss 10 set "Hour=0%Hour%"
set "Allm=%Hour%.%Min%.%Sec% %AMPM%"

ECHO %All% %AllmWARNINGsrcds crashedrestarting  >> crashlog.txt 
rsync to web...

profit?

oh right, and if you have another daemon monitoring the server updates//hangs (you should)
PHP Code:
copypastedatecodefromabove

ECHO %All% %AllmServer Terminated Was Not Responsive >> "path\to\crashlog.txt"

and in your steamcmd update file

ECHO %All% %AllmServer Updated >> "path\to\crashlog.txt" 
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.

Last edited by friagram; 05-27-2013 at 10:37.
friagram is offline
Dagunchi
Member
Join Date: Sep 2009
Old 05-29-2013 , 14:01   Re: [Any] Classy Crash Logger
Reply With Quote #89

Thank you for you help. I will use already installed HLStatsX.
Dagunchi is offline
maxolahird
Veteran Member
Join Date: Dec 2012
Old 10-19-2013 , 21:23   Re: [Any] Classy Crash Logger
Reply With Quote #90

Pls help getting this error on the web server

PHP Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in /home/impactcs/public_html/crash/index.php on line 18


database is blank for some reason... whats wrong?

Last edited by maxolahird; 10-19-2013 at 21:24.
maxolahird 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