AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Save scores (fixed version) (https://forums.alliedmods.net/showthread.php?t=277349)

ProCSS 01-07-2016 15:08

Save scores (fixed version)
 
1 Attachment(s)
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.

tigocesar 01-13-2016 23:51

Re: Save scores (fixed version)
 
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.

Lacrimosa99 01-15-2016 13:35

Re: Save scores (fixed version)
 
1 Attachment(s)
Compiled Version

tigocesar 01-15-2016 16:15

Re: Save scores (fixed version)
 
Thank you, Lacrimosa !!!

ShowTeKPT 04-03-2016 00:02

Re: Save scores (fixed version)
 
is it possible to make this plugin save scores to a file or internal/external database? Without reseting it every new map?

Ty

SilentBr 05-27-2016 15:39

Re: Save scores (fixed version)
 
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 ()

away000 02-14-2017 06:25

Re: Save scores (fixed version)
 
Is it possible to add "!rs" or "/rs" as "resetscore" alias?

Thanks.

DarkDeviL 02-14-2017 09:46

Re: Save scores (fixed version)
 
Quote:

Originally Posted by away000 (Post 2495336)
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.

away000 02-14-2017 16:00

Re: Save scores (fixed version)
 
Quote:

Originally Posted by arne1288 (Post 2495373)
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

msl1 04-07-2017 01:12

Re: Save scores (fixed version)
 
Could you add another mvp save for the css. Sorry for my English


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

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