Check Time v1.0

Started by JocA Banned
20/04/2018 23:51
Page 1 of 1
JocA Banned20/04/2018 23:51

Hello guys. Made a new plugin which is like statistic type of plugin or Time-saver.

What is it?
You have possibity to make checkpoints (2 max for now) and your (present) run will be compared in three modes/methods. By default its comparing your present run to your last run (could be say best run, cuz every your next run is better haha)
Second mode is: by cvar. Like manually...i honestly dont see too much use of this, so maybe forget about this haha
***Third method (very important) is by other player. It means: whoever sent you his positions you can load it and compare to these. Gonna explain it under.
How to use this?
Easy. Commands for now are:
time_check (bind f time_check) - it will make a position. (2 max)...you can do this before any run, or in your run, its really fast and easy to do, just press F
say /tmenu - opens the Check Time menu
( say /delete, /mode, /checkpos, /savetime, /loadtime ) - all these are included in the menu, but its maybe faster to someone haha

VIDEO EXPLANATION OF THIS ALL FROM ABOVE AND UNDER:
(sorry for bad enlighs, and bad recording, its my first english tutorial with recording screen)



Why use this?
Use this if you want to see if you improved your time, if you are becaming better and better :)

***Time by other player:
While you are in the default mode (your last run) and make 1 or 2 positions -> finish the map -> you will get the message "if you want to help others to improve, save it via /savepos". If you do that, your existing positions will be created with times. File is located: amxmodx/configs/time_check/mapname.txt
Why did you added this option, its so confusing...?
Well...if for example shooting star or shNz are making their runs (trying wr) when they finish it, IF they save these positions, they can post that txt file in like this example:

"shooting star said:
hi, i recorded new wr guys! map is: kz_extreme_bhop_v5, here you are my positions and time:

//  Format is: X, Y, Z | Nick | entity_number | Time (Float) //
949 -2032 -2766 ss 1 38.55
1433 -2224 -2686 ss 2 44.29

"

so any member can copy that to his file in time_check folder (must make the same mapname.txt) and paste it there, thats it. Start game and switch mode to third one.




Additional things:
*maybe you shouldn't make Position really near the edge, cuz its not saving by float (gonna improve it) so you will get stuck sometimes :)

*what i will add when i have more time:

- you can save how much you write in the plugin, default will be 10.
- i will try to add option to change name of every position
- cvar/manual mode will be delete, probably
- the code will be totally new, shorter and optimized


* any question, suggestion is welcome :)

Code: https://pastebin.com/t9D6i5zd

Amxx: https://www.sendspace.com/file/k4zlf7


i hope everyone knows how to install the plugin...just put .amxx file into /plugins and write in /configs/plugins.ini demo_rec_1.amxx
And ofc thanks to:

Thanks to fame (testing + suggestions)
Thanks to SS (testing + cvar)
Thanks to p0ker (ideas)
Thanks to trajko (testing)
Thanks to Gorborachev_x for uplading the video!

@april, 2018


So in the end you won't make it work for world records? I mean, even if everyone were to share their positions, it would be less than 1% compared to all old world records that exist.

JocA Banned21/04/2018 00:41

not that easy as i thought...but the hardest (and boring) thing will be adding positions to every map (it should be made manually, every of it)...and who will decide it where to put...its complicated :)

Hm what about adding positions by yourself and then the plugin will compare the positions according to the world record? This way everyone on their lan will have their own positions.

JocA Banned21/04/2018 01:05

it could be made...i thought like xj to add these positions to their databe...just like demos.txt, so WR plugins is reading that...but probably its hard to be accepted and its hard for me to code that thing...

we can be optimistic...im sure someone will make it sometime (just like i started modifying /wr plugin + demo recording ) and now we have who-knows-what for recording demos...im sorry but i dont have time for that wr thing, i will try to do what i announced

Page 1 of 1

Please log in to post replies.