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

[ANY] Extended Speed Meter (v1.4, 2017-06-05)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
kiljon
Junior Member
Join Date: Aug 2015
Plugin ID:
4792
Plugin Version:
1.4
Plugin Category:
Statistical
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Shows current player speed in HUD, saves it and manages the highest.
    Old 08-25-2015 , 15:56   [ANY] Extended Speed Meter (v1.4, 2017-06-05)
    Reply With Quote #1

    Extended Speed Meter
    An extended version of the popular Advanced Speed Meter which tracks the records. GitHub Link

    This replaces the advspeedmeter plugin!!
    • Description

      This plugin will display the current speed of the player in the HUD text. Players can then see the highest speeds in the current game with a command. When the map changes this plugin will save all those highest speeds. Players will be able to view the highest speeds ever achieved on the current map with a command. Also players will be able to view the highest speeds ever achieved on all maps on the server. Finally players are able to view all their personal speedrecords and ranks on all maps. Admins are able to manage the speedrecords (reset/delete). Players can also use a help menu to find more information about the commands.

      This plugin can compile without errors or warnings in my environment. However it does not compile through the forum since it needs SMLib and Colors.

      This plugin is a copy of the original Advanced Speed Meter with added functionality, more convars, cleaner code (imo), translations and more future-proof (removed the warnings that the original approved plugin displays). It's also active.

      I made this plugin because I wanted a server (that I play on) to keep track of my speedrecords. After finding out that the original plugin was inactive, I started exploring the great Sourcemod community. Since I'm a developer I could easily find out how everything worked and started building upon the original plugin. I worked about 6 days on this plugin, tested it and released it. After a week of having this plugin on the server that I play on, I fixed a few bugs and added a few features. Feel free to leave feedback and suggestions.

    • Feature list

      - Display current speed in HUD
      - Disable HUD
      - View all current speedrecords of the current players on the current map
      - View all speedrecords on the current map (with an optional menu to view details of the records)
      - View all speedrecords on all maps (with an optional menu to view details of the records)
      - View your personal speedrecords and ranks on all maps, in a menu
      - Help menu with information on the commands
      - Help message every 4 minutes (can be changed/disabled in cfg)
      - Admin menu to manage (reset/delete) speedrecords
      - Optional integration in the sourcemod !admin menu

      - Lots of customisation
      - All text in translations
      - Translations in Danish, Dutch, English, French and German (thanks to TaiwananCat, PG24 and Phatso)

    • CVAR/Command list

      CVAR list
      Spoiler


      Commands

      !topspeed / !topspeeds - View all speedrecords of the current players on the current map
      !topspeedmap - View the highest speedrecords of all players on the current map
      !topspeedtop - View the highest speedrecords of all players on all maps
      !topspeedpr - View your highest speedrecords and rankings on all maps
      !topspeedhelp - View a menu containing the above information

      Admin Commands
      Spoiler

    • Changelog

      Quote:
      2017-06-04 (v1.4)

      * Performance improvements (Async database calls)
      * Fix for default database configuration
      * Convar to disable Speed Meter HUD
      * Small code refactors
      * Added GitHub link

      2015-09-08 (v1.3)

      * Verified DoD, HL2 DM, L4D2 and TF2 compatibility
      * 1 plugin version that automatically sets the soundcheck correctly
      * Delete all records on a different map
      * Better managed translations

      2015-09-03 (v1.2)

      * Added topspeed personal records feature
      * CS:GO compatibility
      * Updated translations
      * More stable player recognition (also against bots)

      2015-08-28 (v1.1)

      * More stable admin menu catching
      * Added this url

      2015-08-25 (v1.0)

      * Initial release
    • Installation instructions

      - Extract .zip in your mod folder.
      - The cfg file in cfg/sourcemod will automatically be created and adjusted for the current game.
      - Make sure the "default" database is set up in /addons/sourcemod/configs/databases.cfg (the database string can be changed in the cfg file)

    • Dependencies

      - SMLib (included in .zip)
      - Colors (included in .zip)
      - Sourcemod 1.6.2+ (mainly due to Steam Auth API changes), compatible with 1.7.0+, 1.8 (6002) and 1.9 (6098-dev)
      - Sourcemod Admin menu (optional)

    • Verified working games

      - Counter Strike: Source
      - Counter Strike: Global Offensive
      - Day of Defeat: Source
      - Half-Life 2: Deathmatch
      - Left 4 Dead 2
      - Team Fortress 2

    • Possible problems

      - "SV_StartSound: UI/hint.wav not precached (0)" errors in TF2 or CS:S, set sm_extendedspeedmeter_checksoundprecache to 0 in the cfg file.

      - Spamming hint sounds in TF2 or CS:S, use "sv_hudhint_sound 0". Please comment if you're having problems in a different game.

    • Plans

      - Individual disabling of HUD by !topspeedmeter or !topspeedenable or !topspeedhub , not sure yet
      - Display average speed in topspeed list (this will not be in the default configuration)
      - Possibly a PHP website thanks to the help of a community member (not sure if I can mention him)
      - More game verification

    • Media

      Pictures
      Spoiler


    Attached Files
    File Type: zip extendedspeedmeter-1.4.zip (156.6 KB, 2351 views)

    Last edited by kiljon; 07-22-2017 at 05:49. Reason: add average speed plan
    kiljon is offline
    Hackmastr
    Member
    Join Date: Sep 2013
    Old 09-01-2015 , 12:10   Re: [ANY] Extended Speed Meter (v1.1, 2015-08-25)
    Reply With Quote #2

    Works pretty good , thanks for updating/enhancing it.
    EDIT: It stores nothing...

    Last edited by Hackmastr; 09-02-2015 at 07:22.
    Hackmastr is offline
    kiljon
    Junior Member
    Join Date: Aug 2015
    Old 09-02-2015 , 23:00   Re: [ANY] Extended Speed Meter (v1.1, 2015-08-25)
    Reply With Quote #3

    Quote:
    Originally Posted by Hackmastr View Post
    Works pretty good , thanks for updating/enhancing it.
    EDIT: It stores nothing...
    I have it running perfectly on my server with lots of records already... Are you sure you have the "default" database setup in addons/sourcemod/configs/databases.cfg file? Which other plugins are running?
    kiljon is offline
    Hackmastr
    Member
    Join Date: Sep 2013
    Old 09-03-2015 , 07:10   Re: [ANY] Extended Speed Meter (v1.1, 2015-08-25)
    Reply With Quote #4

    Quote:
    Originally Posted by kiljon View Post
    I have it running perfectly on my server with lots of records already... Are you sure you have the "default" database setup in addons/sourcemod/configs/databases.cfg file? Which other plugins are running?
    No errors, table is created in the database, so ye, the 'default' is set up, and correctly.

    Runnnig csgo, with sm: 1.7.2 | mm: 1.10.5

    SM PLUGINS INFO
    Code:
    13:11:47 sm plugins info extendedspeedmeter
    13:11:47   Filename: extendedspeedmeter.smx
               Title: Extended Speed Meter (Shows current player speed in HUD, saves it and manages the highest.)
               Author: kiljon (based on Chanz's work)
               Version: 1.1
               URL: https://forums.alliedmods.net/showthread.php?p=2336846
               Status: running
               Reloads: Map Change if Updated
               Timestamp: 08/28/2015 19:05:40
               Hash: 4ffa99cda3c898c4c49040df3b5c91e4

    Last edited by Hackmastr; 09-03-2015 at 07:12. Reason: sm plugins info
    Hackmastr is offline
    kiljon
    Junior Member
    Join Date: Aug 2015
    Old 09-03-2015 , 11:10   Re: [ANY] Extended Speed Meter (v1.1, 2015-08-25)
    Reply With Quote #5

    Quote:
    Originally Posted by Hackmastr View Post
    No errors, table is created in the database, so ye, the 'default' is set up, and correctly.

    Runnnig csgo, with sm: 1.7.2 | mm: 1.10.5

    SM PLUGINS INFO
    Code:
    13:11:47 sm plugins info extendedspeedmeter
    13:11:47   Filename: extendedspeedmeter.smx
               Title: Extended Speed Meter (Shows current player speed in HUD, saves it and manages the highest.)
               Author: kiljon (based on Chanz's work)
               Version: 1.1
               URL: https://forums.alliedmods.net/showthread.php?p=2336846
               Status: running
               Reloads: Map Change if Updated
               Timestamp: 08/28/2015 19:05:40
               Hash: 4ffa99cda3c898c4c49040df3b5c91e4
    Hey, my server is running on counter strike source and it looks like counter strike global offensive has a different movetype. I removed it from the script and then everything seems to run fine. I'll do some more testing and post an updated version. (I also added a new feature to check your personal rankings on all maps, so look out for that ) It should be ready in a few hours.
    kiljon is offline
    Hackmastr
    Member
    Join Date: Sep 2013
    Old 09-03-2015 , 13:11   Re: [ANY] Extended Speed Meter (v1.1, 2015-08-25)
    Reply With Quote #6

    Quote:
    Originally Posted by kiljon View Post
    Hey, my server is running on counter strike source and it looks like counter strike global offensive has a different movetype. I removed it from the script and then everything seems to run fine. I'll do some more testing and post an updated version. (I also added a new feature to check your personal rankings on all maps, so look out for that ) It should be ready in a few hours.
    Sounds good, thanks for the update.
    Hackmastr is offline
    kiljon
    Junior Member
    Join Date: Aug 2015
    Old 09-03-2015 , 17:45   Re: [ANY] Extended Speed Meter (v1.1, 2015-08-25)
    Reply With Quote #7

    Quote:
    Originally Posted by Hackmastr View Post
    Sounds good, thanks for the update.
    Hey, it's updated. Have fun with it ^^ Make sure to use the _nosoundcheck version as you can read in the Known Problems section. Thanks again for the feedback!
    kiljon is offline
    Hackmastr
    Member
    Join Date: Sep 2013
    Old 09-04-2015 , 08:04   Re: [ANY] Extended Speed Meter (v1.1, 2015-08-25)
    Reply With Quote #8

    Quote:
    Originally Posted by kiljon View Post
    Hey, it's updated. Have fun with it ^^ Make sure to use the _nosoundcheck version as you can read in the Known Problems section. Thanks again for the feedback!
    Works good now! Well done!
    Hackmastr is offline
    x1130
    SourceMod Donor
    Join Date: Aug 2015
    Location: Turkey
    Old 09-05-2015 , 11:23   Re: [ANY] Extended Speed Meter (v1.2, 2015-09-03)
    Reply With Quote #9

    it reset everytime i chanfe map and !topspeedtop !topspeedpr do nothing, nothing show up (cs go)
    x1130 is offline
    kiljon
    Junior Member
    Join Date: Aug 2015
    Old 09-06-2015 , 06:35   Re: [ANY] Extended Speed Meter (v1.2, 2015-09-03)
    Reply With Quote #10

    Quote:
    Originally Posted by x1130 View Post
    it reset everytime i chanfe map and !topspeedtop !topspeedpr do nothing, nothing show up (cs go)
    I'm planning on releasing a version soon that fixes topspeedtop and topspeedpr when there is nothing in the database yet.

    But this will probably not fix your problem. Are you sure the "default" database in databases.cfg is setup? If so, can you check if there is a table "topspeed" in the database that you have?

    I would also like to know your sourcemod version and your database setup (is it mysql or sqlite or something different?).
    kiljon 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 10:40.


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