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

Save scores (fixed version)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ProCSS
Junior Member
Join Date: Jan 2016
Location: Italy
Plugin ID:
4989
Plugin Version:
1.3.5
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    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 01-07-2016 , 15:08   Save scores (fixed version)
    Reply With Quote #1

    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.

    Changelog:
    1.3.5
    Fixed restore score
    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

    Credits: Mani, SourceMod Developers, Greyscale, DJ Tsunami, teame06, dalto, bl4nk, MikeJS, Fyren, BAILOPAN, joinT, exvel.
    Translators: Zuko, Isias, FrozenHaxor, sissalina, DaNi0.
    Attached Files
    File Type: zip Save scores v1.3.5.zip (14.1 KB, 955 views)

    Last edited by ProCSS; 01-07-2016 at 15:16.
    ProCSS is offline
    tigocesar
    Member
    Join Date: Oct 2015
    Old 01-13-2016 , 23:51   Re: Save scores (fixed version)
    Reply With Quote #2

    SourcePawn Compiler 1.8.0-dev+5439
    Copyright (c) 1997-2006 ITB CompuPhase
    Copyright (c) 2004-2015 AlliedModders LLC

    plugin.sp(5) : fatal error 183: cannot read from file: "savescores/globals.sp"

    Compilation aborted.
    1 Error.

    Last edited by tigocesar; 01-13-2016 at 23:51.
    tigocesar is offline
    Lacrimosa99
    Member
    Join Date: Oct 2010
    Old 01-15-2016 , 13:35   Re: Save scores (fixed version)
    Reply With Quote #3

    Compiled Version
    Attached Files
    File Type: zip Save scores v1.3.5.zip (32.3 KB, 500 views)
    Lacrimosa99 is offline
    tigocesar
    Member
    Join Date: Oct 2015
    Old 01-15-2016 , 16:15   Re: Save scores (fixed version)
    Reply With Quote #4

    Thank you, Lacrimosa !!!
    tigocesar is offline
    ShowTeKPT
    Member
    Join Date: Apr 2013
    Old 04-03-2016 , 00:02   Re: Save scores (fixed version)
    Reply With Quote #5

    is it possible to make this plugin save scores to a file or internal/external database? Without reseting it every new map?

    Ty
    ShowTeKPT is offline
    SilentBr
    Veteran Member
    Join Date: Jan 2009
    Old 05-27-2016 , 15:39   Re: Save scores (fixed version)
    Reply With Quote #6

    this plugin doesnt work in tf2 servers

    Quote:
    L 05/27/2016 - 16:42:01: SourceMod error session started
    L 05/27/2016 - 16:42:01: Info (map "cp_dustbowl") (file "errors_20160527.log")
    L 05/27/2016 - 16:42:01: [SM] Plugin encountered error 25: Call was aborted
    L 05/27/2016 - 16:42:01: [SM] Native "SetFailState" reported: CalcPlayerScore extension is not running
    L 05/27/2016 - 16:42:01: [SM] Displaying call stack trace for plugin "savescores.smx":
    L 05/27/2016 - 16:42:01: [SM] [0] Line 83, savescores/tf.sp::CheckTFExtensions()
    L 05/27/2016 - 16:42:01: [SM] [1] Line 25, savescores/tf.sp::TF_Stuff()
    L 05/27/2016 - 16:42:01: [SM] [2] Line 34, C:\Users\Lacrimosa99\Desktop\Save scores v1.3.5\Save scores v1.3.5\scripting\savescores.sp::OnPluginStart ()
    SilentBr is offline
    away000
    Veteran Member
    Join Date: Sep 2010
    Old 02-14-2017 , 06:25   Re: Save scores (fixed version)
    Reply With Quote #7

    Is it possible to add "!rs" or "/rs" as "resetscore" alias?

    Thanks.
    __________________
    away000 is offline
    DarkDeviL
    SourceMod Moderator
    Join Date: Apr 2012
    Old 02-14-2017 , 09:46   Re: Save scores (fixed version)
    Reply With Quote #8

    Quote:
    Originally Posted by away000 View Post
    Is it possible to add "!rs" or "/rs" as "resetscore" alias?
    Such "shortcut" aliases belong to each individual community on their own, and not to a particular plugin:

    RS could also stand for "Rough Slay", which would do some rough things and afterwards slay the user.

    It is quite nasty to get used to "!rs" on one server, then go to another server and find out tha the command does something else there.

    Users should learn to use the proper commands, and if they want a shortcut, you should advise your users to bind any unused keys to "sm_resetscore".


    Therefore, if this was my plugin, I would refuse to add it as a built-in thing, to avoid both possible conflicts and confusion from users.
    __________________
    Mostly known as "DarkDeviL".

    Dropbox FastDL: Public folder will no longer work after March 15, 2017!
    For more info, see the [SRCDS Thread], or the [HLDS Thread].
    DarkDeviL is offline
    away000
    Veteran Member
    Join Date: Sep 2010
    Old 02-14-2017 , 16:00   Re: Save scores (fixed version)
    Reply With Quote #9

    Quote:
    Originally Posted by arne1288 View Post
    Such "shortcut" aliases belong to each individual community on their own, and not to a particular plugin:

    RS could also stand for "Rough Slay", which would do some rough things and afterwards slay the user.

    It is quite nasty to get used to "!rs" on one server, then go to another server and find out tha the command does something else there.

    Users should learn to use the proper commands, and if they want a shortcut, you should advise your users to bind any unused keys to "sm_resetscore".


    Therefore, if this was my plugin, I would refuse to add it as a built-in thing, to avoid both possible conflicts and confusion from users.
    I think that this is probabily something which differ from region to region, in Brazil is a common thing resetscore with only "!rs", our community (not my clan community but in our country as a whole) is a common thing, also, it could be something that the owner of the gameserver set what he want as aliases and them no problem, if i want it to be "x2rs" (x2 is from my clan), it could be, just a way to be easier for players.

    I got ur point but i don't think it's a thing for all and every player/server, at least, it's not this way here xD
    __________________
    away000 is offline
    msl1
    New Member
    Join Date: Apr 2013
    Old 04-07-2017 , 01:12   Re: Save scores (fixed version)
    Reply With Quote #10

    Could you add another mvp save for the css. Sorry for my English
    msl1 is offline
    Reply



    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 18:50.


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