Author Topic: Time Recorder  (Read 2427 times)

0 Members and 2 Guests are viewing this topic.

Offline Rampage_Terranius

  • Major
  • *
  • Posts: 69
  • The Strategist
    • Soldat Noob Servers
Time Recorder
« on: October 02, 2008, 12:33:00 pm »
hey this is a small script i made its nothing much but hope you all like it all the same

Script Name: Time Recorder
Script Description Time Recorder designed for climbing servers
Author: Rampage_Terranius
Compile Test: Passed
Core Version: 2.6.3
Hosted by: Soldat Central - http://soldatcentral.com/

Full Description:
Small script designed to record the time it took to finish a climb map and make records of the top time for each map

Usage:
To use this script you must create a folder in the root of your soldat server folder called Times (note the capital T) it will automatically create each map time file when recording times

WeaponsList can be used to designate what guns if any are allowed to be used i would suggest putting 255 in there or fist will disable a players timer ;)

DisablingCommands will disable the timer for a player that uses a command listed (only works on admins)

To check the top time for a map use /top, /time or /best

If you find any bugs let me know :)



(Size 1.87 KB)
- http://soldatcentral.com/index.php?page=script&f=47 -


** Script hosted by Soldat Central! Please visit the authors script page and Rate this script **

« Last Edit: October 02, 2008, 12:58:17 pm by Rampage_Terranius »

Offline Norbo

  • Camper
  • ***
  • Posts: 338
Re: Time Recorder
« Reply #1 on: October 02, 2008, 12:43:21 pm »

Offline UnknownSniper

  • Camper
  • ***
  • Posts: 428
  • Southern by the Grace of God
Re: Time Recorder
« Reply #2 on: October 02, 2008, 12:45:20 pm »
http://forums.soldat.pl/index.php?topic=7409.0
dude....

Now you're going to post that link in every new script thread someone makes? ....
I had a job and a piece of land
My sweet wife was my best friend
But I traded that for Cocaine and a whore
-Jamey Johnson


Offline Rampage_Terranius

  • Major
  • *
  • Posts: 69
  • The Strategist
    • Soldat Noob Servers
Re: Time Recorder
« Reply #3 on: October 02, 2008, 12:56:06 pm »
changed it to the template ::)

Offline Norbo

  • Camper
  • ***
  • Posts: 338
Re: Time Recorder
« Reply #4 on: October 02, 2008, 02:01:15 pm »
http://forums.soldat.pl/index.php?topic=7409.0
dude....

Now you're going to post that link in every new script thread someone makes? ....

no?
he just wrote random stuff, completly ignoring the scripting realeses post templatate

Offline Rampage_Terranius

  • Major
  • *
  • Posts: 69
  • The Strategist
    • Soldat Noob Servers
Re: Time Recorder
« Reply #5 on: October 02, 2008, 02:08:29 pm »
Fixed a minor bug had the timer sitting in a loop section lol

and norbo this is script releases not flaming center calm down

Offline Norbo

  • Camper
  • ***
  • Posts: 338
Re: Time Recorder
« Reply #6 on: October 02, 2008, 02:29:06 pm »
and norbo this is script releases not flaming center calm down
i am calm down, i just dont wanna be flamed by some guys that dont even read and dont get a damn about what im talking about

about the script, pretty good, but i dante made the same one, and added /save and /load

Offline Rampage_Terranius

  • Major
  • *
  • Posts: 69
  • The Strategist
    • Soldat Noob Servers
Re: Time Recorder
« Reply #7 on: October 02, 2008, 02:53:58 pm »
yeah i know ive seen that one i made this one for a server but i wanted to control what weapons were allowed to be used and commands etc... and this script is just a timer and recorder not for saving and loading etc...

Offline iDante

  • Veteran
  • *****
  • Posts: 1967
Re: Time Recorder
« Reply #8 on: October 02, 2008, 05:08:41 pm »
about the script, pretty good, but i dante made the same one, and added /save and /load
thats iDante to you.

Anyways Rampage, I like it. However, it seems to only keep track of how long it took a person to cap from the map starting. In mine I made it so that every person has a timer and every time they respawn their time is reset to 0.
I'd suggest adding a lot more stuff to it, like time from start of map, time from death, number of deaths it took, etc.

Offline Rampage_Terranius

  • Major
  • *
  • Posts: 69
  • The Strategist
    • Soldat Noob Servers
Re: Time Recorder
« Reply #9 on: October 03, 2008, 05:40:14 am »
yeah i could but with unlimited saves on the server someone dying then reloading will allow them a 1 second time lol thats unless i set it up to disable it on laoding etc...
i could set up arrays for each players time from when they join the server and i do plan to do that also planning to add some multi slot loading and saving into it like /save1 /save2 etc.....

oh yes before i forget im also changing it to top 3 times not just a top time

Edit:
k ive updated it to have a choice of whether or not you want to restart the timer on death
RestartTimerOnDeath = True;
so that if you have no saves allowed you can set it up to auto restart the timer

ive also set up a 3 slot saving system i havent tested it yet tho but it should work fine im going to make the top score into top3 later on
« Last Edit: October 03, 2008, 07:21:09 am by Rampage_Terranius »