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

Official HLstatsX Ingame Plugin


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author
Tobi17
Senior Member
Join Date: May 2005
Plugin ID:
96
Plugin Version:
2.8
Plugin Category:
Statistical
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
    11 
    Plugin Description:
    HLstatsX - SourceMod plugin to display ingame messages
    Unapprover:
    Reason for Unapproving:
    Broken and unsupported, replaced by gameME (http://www.hlstatsx.com/downloads/gameme_plugin_sourcemod_v3.0.zip)
    Old 07-23-2007 , 18:11   Official HLstatsX Ingame Plugin
    #1

    Hello,

    just want to introduce the official HLstatsX Plugin which manages all ingame events and more! Besides the known advanced HLstatsX ingame statistics (new coloring!) the plugin provides the blocking of the HLstatsX commands from the chat area, a very cool ingame menu for faster access to all HLstatsX commands and finally an option to log headshots accordingly to the valve logging standard! Additionally a second plugin is included which generates the advanced weapon logging to create server logs which can be parsed by various statistic systems (like HLstatsX) to display weapon accuracy and weapon targets.

    License
    Code:
     HLstatsX - SourceMod plugin to display ingame messages
     http://www.hlstatsx.com/
     Copyright (C) 2007-2008 TTS Oetzel & Goerz GmbH
    
     HLstatsX - SourceMod plugin to generate advanced weapon logging
     http://www.hlstatsx.com/
     Copyright (C) 2007-2008 TTS Oetzel & Goerz GmbH
    
     This program is free software; you can redistribute it and/or
     modify it under the terms of the GNU General Public License
     as published by the Free Software Foundation; either version 2
     of the License, or (at your option) any later version.
     
     This program is distributed in the hope that it will be useful,
     but WITHOUT ANY WARRANTY; without even the implied warranty of
     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
     GNU General Public License for more details.
      
     You should have received a copy of the GNU General Public License
     along with this program; if not, write to the Free Software
     Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
    Current Version
    • HLstatsX Ingame Plugin: v2.8
    • Weapon Logging: v2.8

    Important Notes
    • None at the moment

    Notes History
    • Version 2.5 and above
    • None
    • Version 2.0 - 2.4
    • The weapon_logging plugins seems not to be running stable for the latest dods beta version. This problem will be investigated in once the beta phase is over.
    • For dods it is recommended to reload both plugins at the end of the server.cfg to ensure the plugins are loaded always properly. At the moment the "OnPluginStart" event seems not to be called everytime by SourceMod on (only) dods gameservers.
    • Example: sm plugins reload hlstatsx.smx
    • Example: sm plugins reload weapon_logging.smx
    • SourceMod version rev1900 or above is required.
    • The file hlstatsx.sdktools.txt is no more required and should be deleted!
    • To enable the address protection system add hlx_protect_address "logaddress" to your autoexec.cfg or server.cfg. Once the logging/forwarding will be disabled it will be resetup immedately.
    • Version 1.9
    • To compile the weapon_logging plugin on windows the SourceMod version rev1781 or above is required.
    • Version 1.8
    • SourceMod version rev1711 or above is required.
    • Version 1.7
    • Added full support for Team Fortress 2 (orangebox engine) and fixed the weapon logging for Day of Defeat: Source.
    • Version 1.6
    • This is just a bugfix release.
    • Version 1.5
    • It is possible again to compile the plugin without any changes required to the file halflife.inc. Since the latest SourceMod releases the "AskConnect" constant is available by default.
    • Version 1.4
    • The way of coloring has changed completely. If there are exists any problems you can step back to a previous version! All versions are compatible to each other.
    • Version 1.3
    • Accuracy values should now be calculated correctly and not just displays 100% for each player. Thanks to bailopan to look into the sources of the mani-admin-plugin.
    • Example call to ask a player to redirect:
      Code:
      Usage: hlx_sm_redirect <time><userid><address><reason>
      
      hlx_sm_redirect 10 440 213.133.123.103:27016 Please consider playing here!
    • The ingame menu can now be called with "hlstatsx", "hlx" and "hlx_menu" in the chat area.
    • We have now inbuilt commands to create player/team/world actions accordingly to the valve logging standard! This means you can define your own actions for your HLstatsX installation. Since the actions wrappers are defined as server command they are callable from any rcon interface or directly in SourceMod! At the moment there are three triggers:
      Code:
      hlx_sm_player_action <userid><action>
      hlx_sm_team_action <team_name><action>
      hlx_sm_world_action <action>
      Example to be used in SourceMod (HLstatsX Plugin is required):
      Code:
      new String:world_action[192];
      ServerCommand("hlx_sm_world_action %s", world_action);
      Example call from any rcon interface (like HLSW):
      Code:
      hlx_sm_world_action Round_End
      Example return from the server console (twice entries through rcon logging!):
      Code:
      00:58:51 hlx_sm_world_action Round_End
      00:58:51 L 09/03/2007 - 01:40:47: World triggered "Round_End"
      00:58:51 L 09/03/2007 - 01:40:47: World triggered "Round_End"
      This interface gives you the possibility to add your own actions to your HLstatsX account! Just define the specified action in your HLstatsX webinterface and call the event from your plugin/console to reward players for various actions!

      A good example would to restore player points if a player forgives a team-kill. In such cases you define the action in your HLstatsX webinterface and call the hlx_sm_player_action command if a player forgives the team-kill.
    • The new HLstatsX Premium commands "gstats" and "global_stats" are hided from the chat area by default.


    Changelog HLstatsX Plugin
    Code:
    30th November 2008 [V2.8]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    + Added game detection for "Left4Dead", "Fortress Forever", 
      "Zombie Panic! Source" and "Age of Chivalry"
    + Added "Round_Win" events for "Insurgency" and "Age of Chivalry"
    + Added recognition of chat commands for the game "Zombie Panic! Source"
    - Minor changes
    Fixed: Logging of team names for "Insurgency"
    
    
    05. October 2008 [V2.7]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    + Added recognition of chat commands for the game "Insurgency"
    - Minor changes
    
    
    02. August 2008 [V2.6]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    + Added recognition of game "Insurgency"
    + Removed default message prefix and introduce a new cvar to define the prefix manually
    - Improved mod detection to ensure game-specific features are enabled
    
    
    17. July 2008 [V2.5]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    - Reenabled team-color check for colored messages
    - Disabled location logging for Half-Life 2: Deathmatch
    
    
    08. July 2008 [V2.4]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    + Improved performance of player location logging
    + Enabled location logging for Half-Life 2: Deathmatch
    - Removed team-check for colored messages
    - Refactoring
    - Minor changes
    Fixed: Player location logging for the event "suicide"
    
    
    25. May 2008 [V2.3]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    + Enable "hlx_sm_psay2"-command for Day of Defeat: Source to allow green colored messages
    
    
    12. May 2008 [V2.2]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    + Extend logging with locations for kill, suicides and player events.
    Fixed: Commands "hlx_sm_msay" and "hlx_sm_hint" are not aborted for Half-Life 2: Deathmatch
    
    
    16. March 2008 [V2.1]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    Fixed: Plugin crashes with Half-Life 2: Deathmatch
    
    
    8. March 2008 [V2.0]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    + Added HLstatsX address protection system
    + Improved performance
    + Menus are not displayed during a running vote
    - Removed the requirement of the file hlstatsx.sdktools.txt
    - Switched to native team swap/detection functions
    Fixed: Death players won't be spawned alive by the swap function
    
    
    9. December 2007 [V1.9]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    - Team colors are checked on every call
    - The function to color players only uses one global array now
    Fixed: Handle the comma on splitted messages properly
    Fixed: Check now if the client is ingame for all HLstatsX commands
    
    
    26. October 2007 [V1.8]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    - Removed native network messages and switched to internal sourcemod commands where possible
    Fixed: Reenabled message cache
    
    
    26. October 2007 [V1.7]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    + Added support for games of the orange box
    + Added coloring in the chat area for Team Fortress 2
    + Added headshot/backstab kill events for Team Fortress 2
    Fixed: Browsing wrong URL if only one parameter is submitted
    
    
    22. September 2007 [V1.6]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    Fixed: Invalid handle created from function CreateArray() because the handles are not closed properly
    
    
    16. September 2007 [V1.5]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    - Added support for the inbuilt "AskConnect" dialog type
    Fixed: Some debug messages displayed
    
    
    9. September 2007 [V1.4]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    + Added cache for colored message to avoid unnecessary parsing
    + Team names are colored in private say messages
    - Changed way of coloring player names (first name in team color, all others in green)
    Fixed: Headshot event is triggered on team-kills
    Fixed: Various name display bugs
    Fixed: Some other minor bugs
    
    
    3. September 2007 [V1.3]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    + Added commands to trigger player/team/world action from sourcemod plugins and rcon interface
    + Introduction of command "hlx_sm_redirect" to redirect players with the new engine (Unused yet)
    + Added server status command to the HLstatsX ingame menu
    - Ingame menu is now callable with "hlx_menu", "hlstatsx" and "hlx" in the chat area
    - Added SetModel call to ensure the right player model is displayed after team swap
    - New blocked commands "gstats" and "global_stats" by default
    
    
    23. July 2007 [V1.2]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    - Initial Release
    Changelog Weapon Logging Plugin
    Code:
    30th November 2008 [V2.8]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    + Added game detection for "Left4Dead", "Fortress Forever", 
      "Zombie Panic! Source" and "Age of Chivalry"
    + Added weapon logging for "Left4Dead"
    - Minor changes
    
    
    05. October 2008 [V2.7]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    No changes
    
    
    02. August 2008 [V2.6]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    + Added recognition of game "Insurgency"
    - Improved mod detection to ensure game-specific features are enabled
    
    
    17. July 2008 [V2.5]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    No changes
    
    
    08. July 2008 [V2.4]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    - Minor changes
    
    
    25. May 2008 [V2.3]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    No changes
    
    
    12. May 2008 [V2.2]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    No changes
    
    
    16. March 2008 [V2.1]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    Fixed: Plugin crashes with Half-Life 2: Deathmatch
    
    
    8. March 2008 [V2.0]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    + Improved performance
    - Switched to native team swap/detection functions
    
    
    9. December 2007 [V1.9]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    No changes
    
    
    26. November 2007 [V1.8]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    No changes
    
    
    26. October 2007 [V1.7]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    Fixed: Logging for Day of Defeat: Source
    Fixed: Some debug messages displayed
    
    
    16. September 2007 [V1.5]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    Fixed: Some debug messages displayed
    
    
    9. September 2007 [V1.4]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    - Added some client checks to avoid debug messages
    
    
    3. September 2007 [V1.3]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    + Added accuracy calculation for Day of Defeat: Source
    
    
    23. July 2007 [V1.2]
    --------------------------------------------------------------------------------------------------------------------------------------------- 
    - Initial Release
    Download
    Previous Releases
    Features
    • New colored ingame commands (css and tf2)
    • Ingame command support for all common mods (css, tf2, dods, hl2mp, hl2ctf and insmod)
    • Added very cool ingame menu (/hlx_menu, /hlx, /hlstatsx)
    • Removed HLstatsX ingame commands from the chat area
    • Introduced new headshot event for HLstatsX
    • Seperated plugin to generate advanced weapon statistic logs (only css and dods)

    Installation
    • Just copy the "smx" files from the plugins subdirectories to your sourcemod plugins directory.
    • Note: It maybe required to recompile the HLstatsX plugin for the latest sourcemod releases. In such cases you should use the webcompiler at http://www.sourcemod.net/compiler.php to compile the sources from the "sp" files against the latest version!
    • Note: Depending on your sourcemod configuration a gameserver restart maybe be required to activate the plugins after copying them.

    Configuration
    • hlx_block_commands = If activated HLstatsX commands are blocked from the chat area
    • hlx_protect_address - Address to be protected for logging/forwarding
    • hlx_message_prefix - Define the prefix displayed on every HLstatsX ingame message

    Available Ingame Commands
    • hlx_menu = HLstatsX Ingame Menu
    • rank [skill, points, place (to all)] = Current position
    • kpd [kdratio, kdeath (to all)] = Total player statistics
    • session [session_data (to all)] = Current session statistics
    • next = Players ahead in the ranking.
    • hlx_auto clear|start|end|kill command = Auto-Command on specific event (on death, roundstart, roundend)
    • hlx_display 0|1 = Enable or disable displaying console events.
    • hlx_chat 0|1 = Enable or disable the displaying of global chat events (if enabled).
    • load = Statistics from all servers
    • status = Current server status
    • servers = List of all participating servers
    • top20 [top5, top10] = Top-Players
    • clans = Clan ranking
    • cheaters = Banned players from Valve-Anti-Cheat
    • statsme = Statistic summary
    • weapons [weapon] = Weapons usage
    • accuracy = Weapons accuracy
    • targets [target] = Targets hit positions
    • kills [kill, player_kills] = Kill statistics (5 or more kills)
    • actions [action] = Server actions summary
    • help [cmd, cmds, commands] = Help screen
    • Note: The commands in the brackets are the optional ones, except for the public commands.
    • Note: If all commands are available depends on the configuration of the HLstatsX account.

    Example Configuration "hlstats.conf" for HLstatsX
    Code:
    # Example server configuration with extended options enabled 
    # (requires SourceMod) URL: http://www.sourcemod.net
    Servers[0] = ("AddressPort"                    => "xxx.xxx.xxx.xxx:xxxxx", 
                  "MinPlayers"                     => "6",              
                  "AdminContact"                   => "[email protected]", 
                  "HLStatsURL"                     => "http://www.hlstatsx.com",
                  "DisplayResultsInBrowser"        => "1",
                  "MasterServerData"               => "7",
                  "MasterServerInterval"           => "200",
                  "BroadCastEvents"                => "1",
                  "BroadCastPlayerActions"         => "1",
                  "BroadCastEventsCommand"         => "hlx_sm_psay",
                  "BroadCastEventsCommandSteamid"  => "1",
                  "BroadCastEventsCommandAnnounce" => "hlx_sm_csay",
                  "PlayerEvents"                   => "1",
                  "PlayerEventsCommand"            => "hlx_sm_psay",
                  "PlayerEventsCommandSteamid"     => "1",
                  "PlayerEventsCommandOSD"         => "hlx_sm_msay",
                  "PlayerEventsAdminCommand"       => "",
                  "ShowStats"                      => "1",
                  "TKPenalty"                      => "50",
                  "SuicidePenalty"                 => "5",
                  "AutoTeamBalance"                => "0",
                  "AutoBanRetry"                   => "0",
                  "TrackServerLoad"                => "1",
                  "MinimumPlayersRank"             => "0",
                  "Admins"                         => "",
                  "SwitchAdmins"                   => "0",
                  "IgnoreBots"                     => "1",
                  "SkillMode"                      => "0",
                  "GameType"                       => "0",
                  "EnablePublicCommands"           => "1", 
                  "Mod"                            => "SOURCEMOD")
    We hope you have fun and enjoy this release!
    Tobi
    Attached Files
    File Type: sp Get Plugin or Get Source (hlstatsx.sp - 14284 views - 59.6 KB)
    File Type: sp Get Plugin or Get Source (weapon_logging.sp - 9498 views - 29.6 KB)
    __________________

    Last edited by Tobi17; 11-30-2008 at 18:13. Reason: New Release v2.8
    Tobi17 is offline
    Tobi17
    Senior Member
    Join Date: May 2005
    Old 07-23-2007 , 18:27   Re: Official HLstatsX Ingame Plugin
    #2

    Reserved
    Tobi17 is offline
    Isias
    Senior Member
    Join Date: Apr 2006
    Old 07-23-2007 , 19:46   Re: Official HLstatsX Ingame Plugin
    #3

    Great job Tobi17, could you add a possibility to make the plugin multilingual?
    Isias is offline
    ^BuGs^
    Senior Member
    Join Date: May 2007
    Old 07-24-2007 , 00:57   Re: Official HLstatsX Ingame Plugin
    #4

    You could make a command that would directly access hlx_menu instead of having to phrase through the "say". Quicker and more through. good job!
    __________________
    Sourcemod Plugin Author and Plugin Approver
    "The correct way is MAXPLAYERS + 1"
    I will not take bugs/new idea reports over the forums. Please use the issue list.
    ^BuGs^ is offline
    Extreme_One
    Veteran Member
    Join Date: Nov 2006
    Old 07-24-2007 , 03:52   Re: Official HLstatsX Ingame Plugin
    #5

    Great stuff. I look forward to enabling this tonight

    I assume that HLstatsX Premium already supports this plugin?
    __________________
    Extreme_One is offline
    Extreme_One
    Veteran Member
    Join Date: Nov 2006
    Old 07-24-2007 , 15:21   Re: Official HLstatsX Ingame Plugin
    #6

    Hmmm I tried this and recompiled for SourceMod 1.0.0.116

    Whilst the plugins were sending data to the master server and it was repsonding to client's queries there was no output being displayed to the clients in game.

    We are still using MANI for some admin functionality and although I ensured I enabled SourceMOD as the plugin in my control panel and ensured the hlx_sm commands were selected I'm wondering if there's a conflict between MANI admin and this SM plugin.

    Reverted back to using MANI 1.2 version for the time being.
    __________________
    Extreme_One is offline
    Tobi17
    Senior Member
    Join Date: May 2005
    Old 07-24-2007 , 16:31   Re: Official HLstatsX Ingame Plugin
    #7

    Hello,

    Quote:
    Originally Posted by Extreme_One View Post
    Hmmm I tried this and recompiled for SourceMod We are still using MANI for some admin functionality and although I ensured I enabled SourceMOD as the plugin in my control panel and ensured the hlx_sm commands were selected I'm wondering if there's a conflict between MANI admin and this SM plugin.
    The plugin is fully compatible to mani v1.2 and both plugins can working side-by-side. Please use our local forums for public support for your HLstatsX issues since I am pretty sure this is just an configuration error of your HLstatsX account we should not be handled here in the plugin announce thread.


    Bye
    Tobi

    Last edited by Tobi17; 07-24-2007 at 16:40.
    Tobi17 is offline
    Tobi17
    Senior Member
    Join Date: May 2005
    Old 07-24-2007 , 16:34   Re: Official HLstatsX Ingame Plugin
    #8

    Hello,

    Quote:
    Originally Posted by ^BuGs^ View Post
    You could make a command that would directly access hlx_menu instead of having to phrase through the "say". Quicker and more through. good job!
    Yes, this would be surely possible but since I must take care of every say command to decide to block it from the chat area I do not think this is a real issue.

    Bye
    Tobi

    Last edited by Tobi17; 07-24-2007 at 16:40.
    Tobi17 is offline
    Tobi17
    Senior Member
    Join Date: May 2005
    Old 07-24-2007 , 16:35   Re: Official HLstatsX Ingame Plugin
    #9

    Hello,

    Quote:
    Originally Posted by -<[PAGC]>- Isias View Post
    Great job Tobi17, could you add a possibility to make the plugin multilingual?
    Yes, it would be possible to integrate multi-lingual support which would surely only affect the Ingame Plugin and not any other ingame output. All other ingame messages are generated by the perl daemon itself and are only be displayed by the plugin.

    Bye
    Tobi
    Tobi17 is offline
    twitchor
    Junior Member
    Join Date: Aug 2007
    Old 08-04-2007 , 10:51   Re: Official HLstatsX Ingame Plugin
    #10

    Will this work as a stand alone stats system or do you need to install the full

    HLstatsX v1.20 RC2


    Thanks
    twitchor is offline
    Closed Thread


    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:10.


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