you can make a plugin for offline, but either it'll have 2 seperate ways to make it work, so it works local and server side, or you would have to have 2 plugins, 1 for local 1 for serverside
biggest problem for local plugin with sourcemod is that the player hosting it equals the server, which is a hell to make sense of in code. (not even considering cheatproofing since that'd be a whole nother can of worms)
As for skillsrank, afaik from even before steampipe, it worked near flawless in the sense that on chillout it haven't heard any/many complaints about it not working, it will fail every now and then though, however that frequency that i do get reports of things failing, and the type of reports, lead me to think that the connection just timed out.
As for it being cheatable or not, i'm sorry, i can't fix most things other then plugins i make myself, i could've theoretically went out and checked all 400+ plugins on chillout, to see which can make cheats, then find the sourcecode for each and everyone by asking their devs for it, then changing each and everyone around so they work together with skillsrank, but thats just insanity.
As for the bad code, i know
It's got a lot of double bits and indeed some commented out stuff, and because when i made it i thought it'd be much better to only upload 1x a map, i made it save all the info into ram until end of map, which is also not really what i shouldve done.
Times in the plugin are per class, so yes they can be ranked seperatly, though i think you already can filter per class?
Or is the problem the idea that your "account" gets points for all classes?
Also, as for the scoring system, im 100% sure that if someone gets all no1 times, he'll be no1
We can use a shitload of different algorythms which all do about the same, the main thing to keep account of is that the db starts empty, and that the runs themselves have to define how hard/easy a map is and t hus how many points get awarded for it, and thus also the diffference between the times is important
thus yes, if you are first, yet 2-50 are only up to 2 seconds slower, then your not gonna get a lot of extra points more then nr 2-50, a bit more, but not much
What could be done to make it more obvious is somehow include the nr of points you have for a map next to your run, however... since this number will change as more runs are included, it's at the very least a challenge to get that nice.
but hey, again... get someone to make it, i've been saying skillsrank sucks for ages, it functions, it does what it needs to do, but its the bare basics.
So go get someone to put in the x amout of hours of designing/making a new plugin and BAMN, no more shit with the current stuff
EDIT: i just read the bit about from afterglow about the cheating,
wonderland bug: if its a command, perhaps a plugin could detect it
Demos: ingame/mods can do NOTHING AT ALL with demos, stupid idea, unless you dont need a plugin in the first place, with demos it'd just be send your demo to the judges,then theyll put your time online if they agree with it.... a plugin is supposed to give automation.... ohwell
Host_timescale: accounting for it near impossible to get right, however you could detect it and then block runs
HOWEVER ANY AND ALL OF THESE CHEATS, can easily be hacked in with any new thingy.... sourcemod.. or hell TF2 as a WHOLE is extremely cheat-prone, even if you use sv_pure 2.
For example, if i make a clientside "hacky" plugin every week, then valve will never detect it, and i could have godmode in any server (or a little less obvious like slow regen or vampiric things so ppl in comp wouldnt notice as much)
SO NO, IT IS NOT POSSIBLE, to make a cheatproof plugin for tf2, if people want to cheat, they are able to, no matter what a pluginmaker/modmaker/dev would do with this game (save for full/large redo of i/o netcode)
basically afterglow,
if you want cheatproof, you need demos.
if you need demos you need people.
not a plugin
Edit2: ohw and kairu, if youd tell me on steam teh regen glitch, i might be able to fix that one
EDIT3: if any admin that has ftp for jumpit could simply ask me for newest version of skillsrank and then get it on there, im pretty sure most problems on it should go away, or at least thats the only thing i can think of since it has been working without many/any hiccups on chillout (and we all know chillout is much more fickle about not working cos of the 400+ plugins)