Raised This Month: $ Target: $400
 0% 

ChatLog v1.3.7 (Extended)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author
muukis
Veteran Member
Join Date: Apr 2009
Plugin ID:
873
Plugin Version:
1.3.7
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Logs chat messages from a Source game to a MySQL database.
    Old 04-29-2009 , 17:34   ChatLog v1.3.7 (Extended)
    Reply With Quote #1

    SUMMARY
    This plugin is an extended version of ChatLog v1.2.

    This version logs also some of the server messages. Currently the logged events are mapnames on beginning and ending of a map, player connections, disconnections and renames. This version also has the UTF-8 issue fixed in the chatlog.php.

    CVARS
    sm_chatlogex_id
    - Read usage from original thread.
    sm_chatlogex_filtermode - Read usage from original thread.

    EXTENDED CVARS
    sm_chatlogex_db - "default" [default] The database configuration to use for logging this server's chat to.
    sm_chatlogex_cleandays - 7 [default] causes ChatLogEx to clean the database input rows older than set value days. Set to 0 to leave all messages uncleaned.
    sm_chatlogex_srvmsgs - 1 [default] causes ChatLogEx to log server messages. Set to 0 to disable the extended functionality.
    sm_chatlogex_showbotkills - 0 [default] causes ChatLogEx to log messages when a bot got killed by a player. In L4D this value effects the logs of computer controlled special infected (Boomer, Smoker, etc). Does not override sm_chatlogex_srvmsgs.
    sm_chatlogex_showplayercon - 1 [default] causes ChatLogEx to log server messages when player connects or disconnects. Effects the visibility of showing how many players are connected to the server. Does not override sm_chatlogex_srvmsgs.
    sm_chatlogex_mpusemaxclients - 1 [default] max players are taken from MaxClients property. Overrides all other sm_chatlogex_mp* cvars when enabled. This value is displayed on 'players online' messages.
    sm_chatlogex_mpcoop - 4 [default] max players in co-op gamemode. This value is displayed on 'players online' messages.
    sm_chatlogex_mpversus - 8 [default] max players in versus gamemode. This value is displayed on 'players online' messages.
    sm_chatlogex_mpsurvival - 4 [default] max players in survival gamemode. This value is displayed on 'players online' messages.
    sm_chatlogex_mpdefault - 16 [default] max players in other gamemodes (other games than Left4Dead). This value is displayed on 'players online' messages.

    EXTENDED COMMANDS
    sm_chatlogex_clean - Flags required: ADMFLAG_ROOT, Usage: sm_chatlogex_clean [days] - cleans chatlog messages older than days given in parameter (default value set by sm_chatlogex_cleandays).

    INSTALLATION
    Read instructions for installation from original thread. In addition, this extended version creates a cfg-file in your cfg/sourcemod directory.

    CREDITS
    Nephyrin for providing the original version.
    naris for helping me out improving the code.

    PLUGIN VERSION HISTORY
    1.3 - Initial release of extended chatlog.
    1.3.1 - Log map names and fixed logging of connecting players.
    1.3.4 - Log "sm_say" and "sm_csay" and player count. Hopefully fixed some small bugs.
    1.3.5 - Error logging cleaned. New cvars: sm_chatlogex_showplayercon, sm_chatlogex_mpusemaxclients.
    1.3.6 - Hopefully fixed the database handle error. Implemented a cleaning mechanism for older messages. Thanks naris!
    1.3.7 - Log player death messages. New cvars: sm_chatlogex_db, sm_chatlogex_showbotkills.

    WEB INTERFACE VERSION HISTORY
    1.3 - Initial release of extended chatlog web interface.
    1.3.1 - Fixed some server messages causing failure.
    1.3.2 - Fixed a bug appearing on some PHP configurations.
    1.3.4 - Admin say commands.
    1.3.5 - Fixed HTML characters to show correctly (players were able to send messages like "<script>alert('blah')</script>" and the browser would open a dialog showing "blah".) Thank you dekken for pointing this out!

    TODO
    - Fix the database handle and invalid game event handle errors. MEDIUM PRIORITY
    - Extend by logging IP too. LOW PRIORITY
    Help me out here... what do you want there to be?
    Attached Thumbnails
    Click image for larger version

Name:	sm_csay.PNG
Views:	7407
Size:	8.4 KB
ID:	42133  
    Attached Files
    File Type: zip chatlogex_1.3.5.php.zip (61.4 KB, 3656 views)
    File Type: sp Get Plugin or Get Source (chatlogex.sp - 5693 views - 22.8 KB)

    Last edited by muukis; 08-17-2009 at 06:33. Reason: New version
    muukis is offline
     



    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 15:14.


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