View Single Post
Author Message
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 07-28-2008 , 08:38   Save Scores (1.3.4)
Reply With Quote #1

Save Scores
Version: 1.3.4


[IMG]http://img196.**************/img196/4317/about1q.jpg[/IMG] Description:

Plugin saves player scores when they leave a map then restores their scores if they then rejoin on the same map. For Counter-Strike:Source this can also include cash if the option is set. If a map is restarted via mp_restartgame the saved scores are reset.
It is rewritten for SourceMod Mani Admin Save Scores module. It also have a few new features.
Servers running this plugin.

Requirements:[IMG]http://img38.**************/img38/3856/install3.png[/IMG] Installation:
  1. Extract the contents of SaveScores_v1.3.4.zip into addons/sourcemod folder.
  2. Start your server. Config file will be automatically generated.
  3. Configure plugin.savescores.cfg in cfg/sourcemod folder and restart your server.

[IMG]http://img375.**************/img375/3867/iconupdate.png[/IMG] Auto-Updating:
  1. If you don't have Plugin Autoupdater install it. Updater works only in version 1.3.0 and higher.
  2. Type in the server console: sm_autoupdate_download savescores
  3. New version will be downloaded from the internet. It will load after map change.

[IMG]http://img20.**************/img20/2184/settings3.png[/IMG] Settings:
Quote:
  • sm_save_scores
    default: 1
    Enabled/Disabled save scores functionality, 0 = off/1 = on
  • sm_save_scores_tracking_time
    default: 20
    Amount of time in minutes to store a player score for, if set to 0 the score will be tracked for the duration of the map
  • sm_save_scores_allow_reset
    default: 1
    Allow players to reset their score
  • sm_save_scores_css_cash
    default: 1
    For CS only if set to 1 the save scores will also restore their cash
  • sm_save_scores_css_spec_cash
    default: 1
    For CS only if set to 1 the save scores will save spectators cash and restore it after team join. 0 = off/1 = on
  • sm_save_scores_forever
    default: 0
    If set to 1 save scores will not clear scores on map change or round restart. Track players scores until admin use "sm_save_scores_reset"
Admin/Server commands:
Quote:
  • sm_save_scores_reset
    Clears all saved scores
Player commands:
Quote:
  • Settings Menu -> Reset Score or !resetscore in the chat
    This option can be removed via sm_save_scores_allow_reset
[IMG]http://img41.**************/img41/4063/ok2c.jpg[/IMG] Supported Games:
  • Counter-Strike: Source
  • Half-Life 2: Deathmatch
  • Pirates, Vikings and Knights II
  • Day of Defeat: Source (without restoring objective score)
  • Some other Source games

[IMG]http://img30.**************/img30/5649/lang2.jpg[/IMG] Supported Languages:
  • English
  • Russian
  • Polish
  • German (requires update)
  • Danish
  • Swedish
  • Norwegian
  • Dutch

[IMG]http://img38.**************/img38/4548/changelog1.png[/IMG] Changelog:
  • 1.3.4
    • Fixed again bug when plugin restored score for players after map changed
  • 1.3.3
    • Fixed bug when plugin restored score for random player after map changed
    • SQL: steamId changed to be a "PRIMARY KEY"
    • SQL: replaced "INSERT" and "DELETE" with "INSERT OR REPLACE"
    • SQL: added "VACUUM" command for DB optimization
    • SQL: added errors output for queries with empty callbacks
    • Added Danish, Swedish and Norwegian translations (by sissalina)
    • Added Dutch translation (by DaNi0)
    • Plugin now requires SourceMod 1.2.0 or higher
  • 1.3.2
    • Optimized SQL functionality (freezes fix)
    • Integrated colors.inc for chat colors management
    • Updated Polish translation (by FrozenHaxor and Zuko)
  • 1.3.1
    • Not a beta anymore
    • Minor code changes
  • 1.3.0 (beta)
    • Fixed incorrect stats working in Team Fortress 2
    • Added partial Day of Defeat: Source support
    • Optimization of save scores forever mode
    • Added auto-update functionality
    Full Changelog
    Old Versions

Credits: Mani, SourceMod Developers, Greyscale, DJ Tsunami, teame06, dalto, bl4nk, MikeJS, Fyren, BAILOPAN, joinT.
Translators: Zuko, Isias, FrozenHaxor, sissalina, DaNi0.
Attached Files
File Type: zip SaveScores_v1.3.4.zip (26.9 KB, 9751 views)
__________________
For admins: My plugins

For developers: Colors library

Last edited by exvel; 08-30-2010 at 05:30.
exvel is offline
Send a message via ICQ to exvel