I made some more changes to my version to address Tyrone's suggestions.
Quote:
me and a few others made a list of suggestions.
- on /mapstats show the top 5 or 10 times.
|
done
Quote:
- no need to restart map to update the fastest time.
|
no change required
Quote:
- a speed run scoreboard, for top speed runners with best times.
|
I did this on the webpage via the php files. To see how it looks go to
http://ChurchOfConc.servehalflife.com/stats.html
Click Speedruns for fastest times for each map. If you click a mapname, you get the scoreboard for that map.
Quote:
- ability to add checkpoints to avoid cheating.
|
You can now add one checkpoint. I think that is enough on most maps to prevent cheap points. You could add more fairly easily by modifying the code. To see this in action the server ip is <98.210.4.113:27015> and concmap_exist and skeeconc are two maps that use the checkpoint feature.
Quote:
- separate speed runs for scout/med from soldier/demo.
|
This is already tracked. In the php pages I added this detail if you click on a mapname. It shows the overall top 10 and the top 10 for each class.
Quote:
- no delay from amx_stoptimer.
|
Reduced delay to 1 sec. You hardly notice it now and it still prevents one from spamming the start orb.
Quote:
- slay if you try to use /p or any /posme command while in a speed run.
|
This is already protected in my version. Instead of slaying the player, their stats just won't be recorded. If they touch the start orb, they are good to go again for stats as long as they don't tele again.
Quote:
- ability to add 2 or more sets of speed run balls for maps with multiple courses.
|
I agree its not worth the trouble for so few maps.
Quote:
I tried White Bishop's version and all the / commands stopped working, /top5, /skillme, /mapstats, none work and when someone finishes the server will lag a lot and play the sound file very loud
|
I didn't not change these commands and they work fine on my server.
Remember my version tracks different stats and has a few extra columns in the database compared to the original version (see the explanation in my earlier post). So if you are using my version with an existing database created with the original plugin you have to add the 'earnedPoints' column to 'skillmaps' table and the 'nMap' column to the 'skillrank' table. This is likely the cause to those problems. Because the stats that are tracked are slightly different, you probably would want to start a new database so the stats have consistent meaning. If you don't want to restart your stat database, you could also copy and paste specific features into your existing code.
Quote:
also it seems that if you try to /p or /s it'll tell you stats wont be recorded, and then not pos you, regardless of weather or not you're speed running.
|
Theplugin does not prevent you from using those commmands, it just won't record your stats if you do. If you touch the start orb it resets and will track your stats since we know your at the begining.
As I noted in an earlier post, my version of the skillsrank plugin does not have a teleport or noclip plugin built-in and that this function is used with
my specifc plugins for noclip and teleport. What I did was registered a subfunction that disables statistics recording for any player who uses one of those 'forbidden' commands (like /p). To use that functionality with your plugin modify the code to register the commands your server uses and that you want to prevent. You may have to also mod those plugins so they don't capture the command preventing the skillrank plugin from "seeing" it (this involves change PLUGIN_RETURN to PLUGIN_CONTINUE.