AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [ANY] Extended Speed Meter (v1.4, 2017-06-05) (https://forums.alliedmods.net/showthread.php?t=270630)

kiljon 08-25-2015 15:56

[ANY] Extended Speed Meter (v1.4, 2017-06-05)
 
1 Attachment(s)
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. :3

  • 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


Hackmastr 09-01-2015 12:10

Re: [ANY] Extended Speed Meter (v1.1, 2015-08-25)
 
Works pretty good :), thanks for updating/enhancing it.
EDIT: It stores nothing...

kiljon 09-02-2015 23:00

Re: [ANY] Extended Speed Meter (v1.1, 2015-08-25)
 
Quote:

Originally Posted by Hackmastr (Post 2338901)
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?

Hackmastr 09-03-2015 07:10

Re: [ANY] Extended Speed Meter (v1.1, 2015-08-25)
 
Quote:

Originally Posted by kiljon (Post 2339347)
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


kiljon 09-03-2015 11:10

Re: [ANY] Extended Speed Meter (v1.1, 2015-08-25)
 
Quote:

Originally Posted by Hackmastr (Post 2339422)
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 :D ) It should be ready in a few hours.

Hackmastr 09-03-2015 13:11

Re: [ANY] Extended Speed Meter (v1.1, 2015-08-25)
 
Quote:

Originally Posted by kiljon (Post 2339481)
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 :D ) It should be ready in a few hours.

Sounds good, thanks for the update.

kiljon 09-03-2015 17:45

Re: [ANY] Extended Speed Meter (v1.1, 2015-08-25)
 
Quote:

Originally Posted by Hackmastr (Post 2339509)
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! :D

Hackmastr 09-04-2015 08:04

Re: [ANY] Extended Speed Meter (v1.1, 2015-08-25)
 
Quote:

Originally Posted by kiljon (Post 2339603)
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! :D

Works good now! Well done!

x1130 09-05-2015 11:23

Re: [ANY] Extended Speed Meter (v1.2, 2015-09-03)
 
it reset everytime i chanfe map and !topspeedtop !topspeedpr do nothing, nothing show up (cs go)

kiljon 09-06-2015 06:35

Re: [ANY] Extended Speed Meter (v1.2, 2015-09-03)
 
Quote:

Originally Posted by x1130 (Post 2340137)
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?).


All times are GMT -4. The time now is 23:01.

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