Raised This Month: $62 Target: $400
 15% 

SuperLogs: CSpromod 2.2 (updated 2010-09-20)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
NeoCortex
New Member
Join Date: May 2010
Plugin ID:
1689
Plugin Version:
2.2
Plugin Category:
Statistical
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    3 
    Plugin Description:
    This Plugin adds extra lines of logs HLstatsX:CE will understand.
    Old 05-27-2010 , 17:29   SuperLogs: CSpromod 2.2 (updated 2010-09-20)
    Reply With Quote #1

    SuperLogs: CSpromod

    HLstatsX:CE (version 1.6.7) cant read the logs from CSpromod (version b1.04) because CSpromod uses Warmod
    (http://wiki.gotgames.com.au/Log_Events_%28WarMod%29)
    instead of Valve's standart.

    This Plugin adds extra lines of logs HLstatsX:CE will understand.
    As long as HLstatsX:CE has no CSpromod support, just install your CSpromod server as CS:S server in HLstatsX:CE and it will work just fine.

    A big thank you goes to psychonic for alot of help and his great loghelper.inc.
    Just like SuperLogs: CS:S this plugin uses loghelper.inc

    Cvars
    None

    Also see
    SuperLogs: CS:S
    SuperLogs: TF2
    SuperLogs: L4D
    SuperLogs: Insurgency
    SuperLogs: NeoTokyo
    SuperLogs: Age of Chivalry
    SuperLogs: Fistful Of Frags
    SuperLogs: GoldenEye: Source
    SuperLogs: DODS
    SuperLogs: Generic
    SuperLogs: ZPS
    SuperLogs: HL2DM/SourceForts
    SuperLogs: PVKII

    Compiling Notes
    SuperLogs: CSpromod requires loghelper.inc to be in the scripting/include directory when compiling, and therefore, will not compile on the web compiler. SM version 1.1 or higher is required to compile.
    Attached Files
    File Type: inc loghelper.inc (9.0 KB, 310 views)
    File Type: sp Get Plugin or Get Source (superlogs-cspromod.sp - 306 views - 3.3 KB)
    File Type: smx superlogs-cspromod.smx (5.8 KB, 387 views)

    Last edited by psychonic; 09-20-2010 at 08:41. Reason: updated text for SuperLogs: HL2DM link
    NeoCortex is offline
    Twelve-60
    Senior Member
    Join Date: Aug 2007
    Old 05-27-2010 , 22:27   Re: SuperLogs: CSpromod
    Reply With Quote #2

    nw

    - Twelve-60
    __________________
    Twelve-60 is offline
    psychonic

    BAFFLED
    Join Date: May 2008
    Old 09-20-2010 , 08:30   Re: SuperLogs: CSpromod
    Reply With Quote #3

    Updated today to version 2.2. Added Round_Win team event logging.
    psychonic is offline
    duydangle
    Senior Member
    Join Date: May 2010
    Old 02-01-2011 , 02:54   Re: SuperLogs: CSpromod 2.2 (updated 2010-09-20)
    Reply With Quote #4

    Update it please, 1.05 beta and this plugins causing my server's crashing.
    duydangle is offline
    psychonic

    BAFFLED
    Join Date: May 2008
    Old 02-01-2011 , 09:58   Re: SuperLogs: CSpromod 2.2 (updated 2010-09-20)
    Reply With Quote #5

    Quote:
    Originally Posted by duydangle View Post
    Update it please, 1.05 beta and this plugins causing my server's crashing.
    This plugin likely isn't needed anymore. CSP implemented standard logging in 1.0.5. (not to mention that I see no way how this could cause a crash)
    psychonic is offline
    duydangle
    Senior Member
    Join Date: May 2010
    Old 02-01-2011 , 10:31   Re: SuperLogs: CSpromod 2.2 (updated 2010-09-20)
    Reply With Quote #6

    Cspromod is official supported by HLX:CE 1.6.11. But can this plugin be re-written so we can use it for tracking player events in Cspromod, the same purpose of Superlogs:CSS and Superlogs:TF2?
    duydangle is offline
    psychonic

    BAFFLED
    Join Date: May 2008
    Old 02-01-2011 , 10:41   Re: SuperLogs: CSpromod 2.2 (updated 2010-09-20)
    Reply With Quote #7

    Quote:
    Originally Posted by duydangle View Post
    Cspromod is official supported by HLX:CE 1.6.11. But can this plugin be re-written so we can use it for tracking player events in Cspromod, the same purpose of Superlogs:CSS and Superlogs:TF2?
    This plugin existed to write basic log lines that should have already existed in the proper format (which did exist, but in a different format), such as connects, disconnects, kills, etc. All of this is logged correctly by the game itself now.

    More could be added to the plugin, maybe weaponstats for accuracy tracking (using sdkhooks if the proper event info still doesn't exist), but as it stands right now, everything this plugin writes is redundant with CSP 1.0.5.
    psychonic is offline
    Twelve-60
    Senior Member
    Join Date: Aug 2007
    Old 02-01-2011 , 10:45   Re: SuperLogs: CSpromod 2.2 (updated 2010-09-20)
    Reply With Quote #8

    Unless you have magically set log_warmod_format to "1" in csp, psychonic is correct ;)

    Can't see how this plugin could possibly crash the server...

    Edit: just saw the .inc file, you could try replacing any functions of GetClientAbsOrigin with GetEntPropVector(client, Prop_Send, "m_vecOrigin", player_origin);

    I've spoken to the CSPromod develoers about why GetClientAbsOrigin doesn't work (thanks to psychonic), and should be fixed on next patch (so you shouldn't really replace it tbh ).
    __________________

    Last edited by Twelve-60; 02-01-2011 at 11:08.
    Twelve-60 is offline
    psychonic

    BAFFLED
    Join Date: May 2008
    Old 02-01-2011 , 10:57   Re: SuperLogs: CSpromod 2.2 (updated 2010-09-20)
    Reply With Quote #9

    Quote:
    Originally Posted by psychonic View Post
    (not to mention that I see no way how this could cause a crash)
    I stand corrected. The CSP team doesn't know how to not break a public, versioned iface (IPlayerInfo).
    psychonic is offline
    duydangle
    Senior Member
    Join Date: May 2010
    Old 02-17-2011 , 07:23   Re: SuperLogs: CSpromod 2.2 (updated 2010-09-20)
    Reply With Quote #10

    Updated loghelper.inc for CSPromod, Download the .sp file, put it in addons\sourcemod\scripting, Put the updated loghelper.inc to \scripting\include and re-compile the plugin.

    Last edited by psychonic; 02-17-2011 at 07:33. Reason: Removed attachment. Please don't post (unnecessary) modified, unmarked versions of my include with same version# as official.
    duydangle 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 00:39.


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