Results 1 to 8 of 8
Thread: New logging working
-
03-26-08, 02:28 AM #1
New logging working
By default it will put logs in the directory "<game path>\logs\lonestar". If that directory doesn't exist, it will be automatically created. So for instance on my computer it's putting the logs at "C:\Valve\HLServer\orangebox\tf\logs\lonestar"
It supports dumping the same log information into the server log, but it's turned off by default.
Log entries can be forwarded to a specific player's console (useful for debugging, you need the highest admin rights in order to use this feature).
Logs are always printed to the server console in addition to anywhere else they may go.
Log file names are in the format "lonestar_MMDD###.log". Where MM is the month, DD is the day, and ### is a number that makes sure this log is a unique log name for the day.
Examples:
lonestar_0326000.log (first log the day)
lonestar_0326001.log (second log the day)
lonestar_0326002.log (third log the day)
Log's will rotate every map change.
When log messages are printed to the server console, player console, or put in the normal server log, they have a "[LoneStar]" prefix so they are easier to find
Server console example
Code:meta load ls [LoneStar]: LoneStar is now fully up and running [LoneStar] INFO: LoneStar log file opened (file "C:\Valve\HLServer\orangebox\tf\logs\lonestar\lonestar_0325005.log") Plugin "LoneStar" loaded with id 4. Client "« ?£? » Ewok" connected (172.16.1.33:27006). [LoneStar] DEBUG: Made real player '« ?£? » Ewok' at index 1 with steamId 'STEAM_ID_PENDING', at addr 172.16.1.33:27006 [LoneStar] DEBUG: Adding player for pending id: « ?£? » Ewok [LoneStar] DEBUG: Found a (deferred) admin account for player « ?£? » Ewok [LoneStar] DEBUG: Player finally has a valid steam id: « ?£? » Ewok [LoneStar] INFO: Admin '« ?£? » Ewok' <STEAM_0:0:16511154> kicked player '« ?£? » Ewok' <STEAM_0:0:16511154> Dropped « ?£? » Ewok from server (Kicked by Console : For not being a teamplayer) Client "« ?£? » Ewok" connected (172.16.1.33:27006). [LoneStar] DEBUG: Made real player '« ?£? » Ewok' at index 1 with steamId 'STEAM_ID_PENDING', at addr 172.16.1.33:27006 [LoneStar] DEBUG: Adding player for pending id: « ?£? » Ewok [LoneStar] DEBUG: Found a (deferred) admin account for player « ?£? » Ewok [LoneStar] DEBUG: Player finally has a valid steam id: « ?£? » Ewok meta unload ls [LoneStar] INFO: LoneStar log file closed [LoneStar]: LoneStar is now completely shutdown Plugin 4 unloaded.
Log file example of the same time period as the above server console dump
Code:03/25/2008 - 23:52:16: [INFO] LoneStar log file opened (file "C:\Valve\HLServer\orangebox\tf\logs\lonestar\lonestar_0325005.log") 03/25/2008 - 23:56:50: [DEBUG] Made real player '« ?£? » Ewok' at index 1 with steamId 'STEAM_ID_PENDING', at addr 172.16.1.33:27006 03/25/2008 - 23:56:50: [DEBUG] Adding player for pending id: « ?£? » Ewok 03/25/2008 - 23:56:55: [DEBUG] Found a (deferred) admin account for player « ?£? » Ewok 03/25/2008 - 23:56:55: [DEBUG] Player finally has a valid steam id: « ?£? » Ewok 03/26/2008 - 00:02:55: [INFO] Admin '« ?£? » Ewok' <STEAM_0:0:16511154> kicked player '« ?£? » Ewok' <STEAM_0:0:16511154> 03/26/2008 - 00:03:03: [DEBUG] Made real player '« ?£? » Ewok' at index 1 with steamId 'STEAM_ID_PENDING', at addr 172.16.1.33:27006 03/26/2008 - 00:03:03: [DEBUG] Adding player for pending id: « ?£? » Ewok 03/26/2008 - 00:03:08: [DEBUG] Found a (deferred) admin account for player « ?£? » Ewok 03/26/2008 - 00:03:08: [DEBUG] Player finally has a valid steam id: « ?£? » Ewok 03/26/2008 - 00:03:45: [INFO] LoneStar log file closed
Categories right now are: ERROR, WARNING, INFO, CHAT, DEBUG
When an admin uses a power, the log entries for using them will generally look like this line (from the above log)
Code:03/26/2008 - 00:02:55: [INFO] Admin '« ?£? » Ewok' <STEAM_0:0:16511154> kicked player '« ?£? » Ewok' <STEAM_0:0:16511154>
Unless you guy have suggestions or comments, I think logging is basically done and working as we'd like it to.
-
-
03-26-08, 04:23 PM #3
Re: New logging working
keep in mind, we'll need the mod to be able to parse the damage logs and translate them into a format that psychostats understands for hitbox data.
-
03-26-08, 04:29 PM #4
Re: New logging working
rgr. I'll have to take a look at pyschostats to see what it needs.
I think that can be an independent TODO item and put into the "nice to have" category (i.e. we won't let that feature hold up the first release, but we'll get to it eventually).
-
03-26-08, 04:31 PM #5
Re: New logging working
certainly. we can always reduce mani functions to a minimum, and just keep it's stats logging online. It's simply appending the existing log out put to be in the original pstats format (from 1.6 and prior).
-
06-23-11, 01:05 PM #6
Really weird color bug.
My xbox is pretty wierd 'cause every survivors is white and guns too. It's probably a bug because I accidentally hit my xbox with a bottle of water yesterday. :3
It's a realllllly old one, so it's not that bad.
So Mince asked me for pictures, I decided to create a thread if you are interested in my really weird bug.(It's really annoying in versus)
Pictures ; (The quality of the images is not really good.)
1.Rochelle
2. Coach.Actually, the only normal survivor.
3.Ellis is scary.
4.Healthpack
5. What the hell.
6.Look at the gun, it's supposed to be black.
That's it, fucking weird thing. Horrible in versus.
-
06-23-11, 06:20 PM #7
I wish I had glitches like this.
Also, didn't you say your Tank was an odd pink or something?
-
06-23-11, 08:15 PM #8
Mince ?Lawl. It's really annoying in Versus when you're a SI, because you don't see the survivors well.
Actually, the jockey, in Versus, is flashy pink but I didn't want to take a pic, too lazy. Plus, the spitter is almost yellow.
[BTW, it's not a glitch, but a stupid bug]
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks