AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Save Scores (1.3.4) (https://forums.alliedmods.net/showthread.php?t=74975)

exvel 07-28-2008 08:38

Save Scores (1.3.4)
 
1 Attachment(s)
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.

xXxsilencerxXx 07-28-2008 09:17

Re: Save Scores v1.0
 
первый тестер нах!
it works!
but can you disable save score and cash earned in warmup?

exvel 07-28-2008 09:18

Re: Save Scores v1.0
 
ok, will make it soon

xXxsilencerxXx 07-28-2008 09:47

Re: Save Scores v1.0
 
Servers with this Plugin: one now )
http://www.game-monitor.com/search.p..._version=1%2e0

MuXeu 07-28-2008 09:48

Re: Save Scores v1.0
 
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.


exvel 07-28-2008 12:14

Re: Save Scores v1.0
 
MuXeu, don't worry about that. It is a web-compiler or PawnStudio little bug which doesn't affect on plugin functionality.

DJ Tsunami 07-28-2008 12:24

Re: Save Scores v1.0
 
Warnings are still bad :)

exvel 07-28-2008 12:36

Re: Save Scores v1.0
 
DJ Tsunami, I just removed one space symbole and now there is no warnings. :)

exvel 07-28-2008 12:51

Re: Save Scores v1.0
 
Quote:

Originally Posted by xXxsilencerxXx (Post 660341)
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.

После вармапа происходит рестарт и база сохраненных очков очищается.

exvel 07-28-2008 12:55

Re: Save Scores v1.0
 
Re-uploaded plugin, so there is no compilation warnings now.


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

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