Raised This Month: $154 Target: $400
 38% 

Save Scores (1.3.4)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Plugin ID:
479
Plugin Version:
1.3.4
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
Servers with this Plugin:
259 
Plugin Description:
Plugin saves player scores when they leave a map then restores their scores if they then rejoin on the same map. If a map is restarted via mp_restartgame the saved scores are reset.
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, 7867 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
xXxsilencerxXx
Member
Join Date: Jul 2008
Location: Russia,Moscow
Old 07-28-2008 , 09:17   Re: Save Scores v1.0
Reply With Quote #2

первый тестер нах!
it works!
but can you disable save score and cash earned in warmup?
xXxsilencerxXx is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 07-28-2008 , 09:18   Re: Save Scores v1.0
Reply With Quote #3

ok, will make it soon
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
xXxsilencerxXx
Member
Join Date: Jul 2008
Location: Russia,Moscow
Old 07-28-2008 , 09:47   Re: Save Scores v1.0
Reply With Quote #4

Servers with this Plugin: one now )
http://www.game-monitor.com/search.p..._version=1%2e0
xXxsilencerxXx is offline
MuXeu
Member
Join Date: Mar 2004
Location: Kharkov UA
Old 07-28-2008 , 09:48   Re: Save Scores v1.0
Reply With Quote #5

I'll test it this evening, but have warning by compile:
Code:
 ./spcomp savescores.sp
SourcePawn Compiler 1.1.0-svn
Copyright (c) 1997-2006, ITB CompuPhase, (C)2004-2008 AlliedModders, LLC

savescores.sp(27) : warning 217: loose indentation
Header size:           2516 bytes
Code size:             3964 bytes
Data size:             1396 bytes
Stack/heap size:      16384 bytes; Total requirements:   24260 bytes

1 Warning.
__________________
MuXeu is offline
Send a message via ICQ to MuXeu
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 07-28-2008 , 12:14   Re: Save Scores v1.0
Reply With Quote #6

MuXeu, don't worry about that. It is a web-compiler or PawnStudio little bug which doesn't affect on plugin functionality.
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Old 07-28-2008 , 12:24   Re: Save Scores v1.0
Reply With Quote #7

Warnings are still bad
__________________
DJ Tsunami is offline
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 07-28-2008 , 12:36   Re: Save Scores v1.0
Reply With Quote #8

DJ Tsunami, I just removed one space symbole and now there is no warnings.
__________________
For admins: My plugins

For developers: Colors library

Last edited by exvel; 07-28-2008 at 12:46.
exvel is offline
Send a message via ICQ to exvel
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 07-28-2008 , 12:51   Re: Save Scores v1.0
Reply With Quote #9

Quote:
Originally Posted by xXxsilencerxXx View Post
but can you disable save score and cash earned in warmup?
I think there is no need in this, because after warmup is over game restarts and all saved scores remove.

После вармапа происходит рестарт и база сохраненных очков очищается.
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
exvel
SourceMod Donor
Join Date: Jun 2006
Location: Russia
Old 07-28-2008 , 12:55   Re: Save Scores v1.0
Reply With Quote #10

Re-uploaded plugin, so there is no compilation warnings now.
__________________
For admins: My plugins

For developers: Colors library
exvel is offline
Send a message via ICQ to exvel
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:19.


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