Hello,
I'm here to present an Alpha stage release working somewhat version of SourceTimer.
https://github.com/OSCAR-WOS/SourceTimer
Another timer yes.
I'm posting this here since I was looking to release this on the 30th, I've gotten as close to it as I can, but will be very unlikely I will be able to put in the same time as I have over the past weeks.
Pros
All records are saved
CP segments show best run time rather than time of your fastest record
Cons
Very unoptimized currently, over 80k records on a map will start causing issues...
I've tried my best to optimize every single action from sql to arraylist, but in-order to fix massive record I have to come back with a new approach.
Also since
https://github.com/alliedmodders/sou...8db60b1ee2b53e is still yet not implemented in dev build most functions utilize the "hotfix" method of having method for the struct and parsing a variable from the main function to it to return data from vectors etc. All of it needs to be re-wrote to work with the new fix.
This is a drag-drop plugin, simply add a database.cfg for "sourcetimer" and you'll be able to run it immediately.
I'm also unable to having testors on a scale of more than one so any erros or issues please let me know, this is not to be on a production server unless you want to end up with errors some day into the future.
I've had a blast of relearning SP and apply new features implemented, feel free to yoink anything you like.
Commands:
sm_admin, sm_zone, sm_addzone, sm_editzone, sm_deletezone, sm_r
edit:
#define ARRAYLIST_BUFFER_SIZE 8
change to a higher value if you server can support it! recommended: 32
__________________