[INC] loghelper (updated 2010-05-27)
1 Attachment(s)
This is an include I wrote for use with my SuperLogs plugin set. It has stocks for many HL Standard log line formats, and also gets around the current limitations of Sourcemod's %L format operator and FormatUserLogText() function (not including team name on log line). This makes it very easy to add HLstatsX(:CE) or Psychostats support to a plugin.
All included functions are stocks so they are only compiled in with the plugin if uses, or feel free to copy individual functions so as to not create a dependency on the include. Note: you must call the GetTeams() function during OnMapStart() to correctly cache team names. PHP Code:
- Replaced instances of deprecated GetClientAuthString - Converted to use SourcePawn 1.7 Transitional Syntax - Changed IsValidPlayer function to be static to avoid conflict when included in a plugin with function of same name. Updated 2009-11-09 - Fixed formatting of position logging for plyrplyr events - Added version define (starting with "#define LOGHELPER_VERSION 2") Updated 2010-2-13 - Added Psychostats KTRAJ logging |
Re: [INC] loghelper
I can't wait to try this and the SuperLogs plugin
Thank You :) |
Re: [INC] loghelper (updated 2010-05-27)
Thank You :)
|
Re: [INC] loghelper (updated 2010-05-27)
Seeing lots of error spam like that lately in css.
Code:
L 12/22/2011 - 03:17:50: [SM] Native "GetTeamName" reported: Team index 0 is invalid |
Re: [INC] loghelper (updated 2010-05-27)
1 Attachment(s)
Quote:
|
Re: [INC] loghelper (updated 2010-05-27)
Quote:
|
Re: [INC] loghelper (updated 2010-05-27)
where do i put the .inc file
|
Re: [INC] loghelper (updated 2010-05-27)
Quote:
|
[INC] loghelper (updated 2010-05-27) ? Help!
CS:GO server version 171, instance idx 1
sm version SourceMod Version Information: SourceMod Version: 1.6.3-dev+4577 SourcePawn Engine: SourcePawn 1.2, jit-x86 (build 1.6.3-dev+4577) SourcePawn API: v1 = 4, v2 = 6 Compiled on: Sep 20 2014 10:36:45 Built from: https://github.com/alliedmodders/sou...commit/5c13a0b Build ID: 4577:5c13a0b http://www.sourcemod.net/ meta list Listing 4 plugins: [01] SourceMod (1.6.3-dev+4577) by AlliedModders LLC [02] CS Tools (1.6.3-dev+4577) by AlliedModders LLC [03] SDK Tools (1.6.3-dev+4577) by AlliedModders LLC [04] SDK Hooks (1.6.3-dev+4577) by AlliedModders LLC sm exts list [SM] Displaying 14 extensions: [01] Automatic Updater (1.6.3-dev+4577): Updates SourceMod gamedata files [02] Webternet (1.6.3-dev+4577): Extension for interacting with URLs [03] CS Tools (1.6.3-dev+4577): CS extended functionality [04] BinTools (1.6.3-dev+4577): Low-level C/C++ Calling API [05] SDK Tools (1.6.3-dev+4577): Source SDK Tools [06] Top Menus (1.6.3-dev+4577): Creates sorted nested menus [07] GeoIP (1.6.3-dev+4577): Geographical IP information [08] Client Preferences (1.6.3-dev+4577): Saves client preference settings [09] SQLite (1.6.3-dev+4577): SQLite Driver [10] SDK Hooks (1.6.3-dev+4577): Source SDK Hooks [11] cURL Extension (1.3.0.0): cURL Extension [12] Regex (1.6.3-dev+4577): Provides regex natives for plugins [13] Socket (3.0.1): Socket extension for SourceMod [14] <FAILED> file "steamtools.ext.dll": ═х эрщфхэ єърчрээ√щ ьюфєы№. sm plugins list [SM] Listing 31 plugins: 01 "Admin File Reader" (1.6.3-dev+4577) by AlliedModders LLC 02 "Admin Help" (1.6.3-dev+4577) by AlliedModders LLC 03 "Admin Menu" (1.6.3-dev+4577) by AlliedModders LLC 04 "Advertisements" (0.6 CSGO-1.1) by Tsunami (CSGO FIX ╨д╨╡╨╜╨╕╨║╤Б) 05 "Anti-Flood" (1.6.3-dev+4577) by AlliedModders LLC 06 "Basic Ban Commands" (1.6.3-dev+4577) by AlliedModders LLC 07 "Basic Chat" (1.6.3-dev+4577) by AlliedModders LLC 08 "Basic Comm Control" (1.6.3-dev+4577) by AlliedModders LLC 09 "Basic Commands" (1.6.3-dev+4577) by AlliedModders LLC 10 "Basic Info Triggers" (1.6.3-dev+4577) by AlliedModders LLC 11 "Basic Votes" (1.6.3-dev+4577) by AlliedModders LLC 12 "CD Announcer" (2.9) by Fredd, gH0sTy, MOPO3KO 13 "Client Preferences" (1.6.3-dev+4577) by AlliedModders LLC 14 "CS:GO Admin ESP" (2.1) by Root 15 "cURL self test" (1.1.0.0) by Raydan 16 "Custom Player Skins (Core)" (1.2.0) by Mitchell, Root 17 "Fun Commands" (1.6.3-dev+4577) by AlliedModders LLC 18 "Fun Votes" (1.6.3-dev+4577) by AlliedModders LLC 19 "HLstatsX CE Ingame Plugin" (1.6.19) by psychonic 20 <Error> "[INS] Logger" (1.2.0) by Jared Ballou 21 "listen socket example" (1.0.1) by Player 22 "Player Commands" (1.6.3-dev+4577) by AlliedModders LLC 23 "Reserved Slots" (1.6.3-dev+4577) by AlliedModders LLC 24 "Resetscore+" (1.4.1) by AlmazON 25 "socket extension selftest" (1.1.0) by Player 26 "Knife Upgrade" (2.5.2) by Klexen 27 "socket example" (1.1.0) by Player 28 "Sound Commands" (1.6.3-dev+4577) by AlliedModders LLC 29 "SuperLogs: CSS" (1.2.4) by psychonic 30 "SwapTeam" (1.2.6) by Rogue - Originally by MistaGee 31 "Updater" (1.2.1) by GoD-Tony Load Errors: [INS] Logger: Error detected in plugin startup (see error logs) how to fix it |
Re: [INC] loghelper (updated 2010-05-27) ? Help!
Quote:
|
All times are GMT -4. The time now is 17:05. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.