Author Topic: Unpause Countdown  (Read 8888 times)

0 Members and 1 Guest are viewing this topic.

Offline SpiltCoffee

  • Veteran
  • *****
  • Posts: 1579
  • Spilt, not Split!
    • SpiltCoffee's Site
Unpause Countdown
« on: September 28, 2008, 01:35:25 am »
Script Name: Unpause Countdown
Script Description Adds a countdown timer to the /unpause command.
Author: SpiltCoffee
Compile Test: Passed
Core Version: 2.6.4
Hosted by: Soldat Central - http://soldatcentral.com/

Full Description:
Adds a countdown timer to the /unpause command.

Example
Unpausing...
3...
2...
1...
GO!


Additionally, if you type /pause when the countdown is going, the countdown is cancelled.

Script is commented for your reading pleasure.
Updated to work with 2.6.4



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


** Script hosted by Soldat Central! Please visit the author's script page and Rate this script **
« Last Edit: April 17, 2009, 08:53:38 pm by SpiltCoffee »
When life hands you High Fructose Corn Syrup, Citric Acid, Ascorbic Acid, Maltodextrin, Sodium Acid Pyrophosphate,
Magnesium Oxide, Calcium Fumarate, Yellow 5, Tocopherol and Less Than 2% Natural Flavour... make Lemonade!

Offline As de Espada

  • Soldat Beta Team
  • Veteran
  • ******
  • Posts: 1493
  • Mapper
    • My maps
Re: Unpause Countdown
« Reply #1 on: September 28, 2008, 02:39:58 am »
usefull, mandatory
All my maps | my latest map: SoldatX Racing Mappack
me making a map on youtube: ctf_FastMade

Offline Vyka

  • Major
  • *
  • Posts: 59
Re: Unpause Countdown
« Reply #2 on: September 28, 2008, 03:38:15 am »
yay, man :) nice script. wery usefull, im going to use this code in my server : )

Offline Mr

  • Inactive Soldat Developer
  • Soldier
  • ******
  • Posts: 166
Re: Unpause Countdown
« Reply #3 on: September 28, 2008, 03:50:09 am »
Compile Test: Passed

Lol'd... I think every script that's released here should compile without problems. The scripts that won't compile... meh, -> Scripting Help :D
But anyways - I like the idea, and I like the script.

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Unpause Countdown
« Reply #4 on: September 28, 2008, 04:10:24 am »
Its re-assurance against people that come along and do something wrong installing and blame it on the script or author.

Offline SpiltCoffee

  • Veteran
  • *****
  • Posts: 1579
  • Spilt, not Split!
    • SpiltCoffee's Site
Re: Unpause Countdown
« Reply #5 on: September 28, 2008, 06:53:57 am »
Updated the script, guys, so if you want a slightly more efficient unpause countdown, might wanna redownload.

There was nothing wrong with the previous version, but it had a few areas where it could be tidied up.

Tah, upnPAD
When life hands you High Fructose Corn Syrup, Citric Acid, Ascorbic Acid, Maltodextrin, Sodium Acid Pyrophosphate,
Magnesium Oxide, Calcium Fumarate, Yellow 5, Tocopherol and Less Than 2% Natural Flavour... make Lemonade!

Offline Mr Pink

  • Major(1)
  • Posts: 37
Re: Unpause Countdown
« Reply #6 on: September 29, 2008, 02:00:05 am »
Great stuff, these sorts if nice additions should be in everyones basic server scipt imo.

Given that it would be easy to leverage off your existing code, how about adding in a war starter, as a countdown to restarting the current map?

Offline SpiltCoffee

  • Veteran
  • *****
  • Posts: 1579
  • Spilt, not Split!
    • SpiltCoffee's Site
Re: Unpause Countdown
« Reply #7 on: September 29, 2008, 02:18:36 am »
Probably not needed. I made the unpause countdown with wars in mind, yes, but that was because the person unpausing didn't have any time available to get their hands back to the right positions. Restarting the round, at least, takes a bit of time, and so offers the person restarting a chance to get ready.
When life hands you High Fructose Corn Syrup, Citric Acid, Ascorbic Acid, Maltodextrin, Sodium Acid Pyrophosphate,
Magnesium Oxide, Calcium Fumarate, Yellow 5, Tocopherol and Less Than 2% Natural Flavour... make Lemonade!

Offline UnknownSniper

  • Camper
  • ***
  • Posts: 428
  • Southern by the Grace of God
Re: Unpause Countdown
« Reply #8 on: September 29, 2008, 12:05:16 pm »
Race map start please?
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 SpiltCoffee

  • Veteran
  • *****
  • Posts: 1579
  • Spilt, not Split!
    • SpiltCoffee's Site
Re: Unpause Countdown
« Reply #9 on: September 29, 2008, 06:32:59 pm »
When life hands you High Fructose Corn Syrup, Citric Acid, Ascorbic Acid, Maltodextrin, Sodium Acid Pyrophosphate,
Magnesium Oxide, Calcium Fumarate, Yellow 5, Tocopherol and Less Than 2% Natural Flavour... make Lemonade!

Offline Sir Jeremy

  • Flagrunner
  • ****
  • Posts: 691
  • Eurolicous!
Re: Unpause Countdown
« Reply #10 on: September 29, 2008, 10:03:54 pm »
Very Nice SpiltCoffee, didn't know you could do this stuff :D
« Last Edit: September 29, 2008, 10:14:57 pm by Sir Jeremy »

Offline SpiltCoffee

  • Veteran
  • *****
  • Posts: 1579
  • Spilt, not Split!
    • SpiltCoffee's Site
Re: Unpause Countdown
« Reply #11 on: September 29, 2008, 10:12:43 pm »
Very Nice SplitCoffee, didn't know you could do this stuff :D
Yeah, but I don't know who this SplitCoffee guy is. Are you sure you didn't mean me?
When life hands you High Fructose Corn Syrup, Citric Acid, Ascorbic Acid, Maltodextrin, Sodium Acid Pyrophosphate,
Magnesium Oxide, Calcium Fumarate, Yellow 5, Tocopherol and Less Than 2% Natural Flavour... make Lemonade!

Offline Sir Jeremy

  • Flagrunner
  • ****
  • Posts: 691
  • Eurolicous!
Re: Unpause Countdown
« Reply #12 on: September 29, 2008, 10:15:41 pm »
What? I spelled your name properly :) What are you complaining about XD
Anyway nice Script again, hope it works <3

Offline sckme

  • Major(1)
  • Posts: 33
Re: Unpause Countdown
« Reply #13 on: September 30, 2008, 02:18:13 am »
nice thx

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: Unpause Countdown
« Reply #14 on: September 30, 2008, 05:13:48 am »
What? I spelled your name properly
SpliitCoffe (incorrect) -> SpiltCoffee (correct)

Offline SpiltCoffee

  • Veteran
  • *****
  • Posts: 1579
  • Spilt, not Split!
    • SpiltCoffee's Site
Re: Unpause Countdown
« Reply #15 on: September 30, 2008, 06:54:40 am »
What? I spelled your name properly
SpliitCoffe (incorrect) -> SpiltCoffee (correct)
He's being sarcastic, DorkeyDear. He edited his first post to correct it and then pretended it never happened...

But I'll remember... I'll always remember... D:!
When life hands you High Fructose Corn Syrup, Citric Acid, Ascorbic Acid, Maltodextrin, Sodium Acid Pyrophosphate,
Magnesium Oxide, Calcium Fumarate, Yellow 5, Tocopherol and Less Than 2% Natural Flavour... make Lemonade!

Offline utkesmer

  • Major(1)
  • Posts: 44
Re: Unpause Countdown
« Reply #16 on: January 30, 2009, 09:12:43 am »
thanks i use it on my server. it works but 1 hour ago when i was play soldat on my server, suddenly the game paused!

there is no reason to pause. is there a bug or something?

i'm not sure, a few players has left the game at this moment. may be a connection?

-
sorry for my english:D
-
« Last Edit: January 30, 2009, 09:18:15 am by utkesmer »

Offline SpiltCoffee

  • Veteran
  • *****
  • Posts: 1579
  • Spilt, not Split!
    • SpiltCoffee's Site
Re: Unpause Countdown
« Reply #17 on: January 30, 2009, 08:01:27 pm »
No bugs as far as I know... did it happen when someone joined?
When life hands you High Fructose Corn Syrup, Citric Acid, Ascorbic Acid, Maltodextrin, Sodium Acid Pyrophosphate,
Magnesium Oxide, Calcium Fumarate, Yellow 5, Tocopherol and Less Than 2% Natural Flavour... make Lemonade!

Offline utkesmer

  • Major(1)
  • Posts: 44
Re: Unpause Countdown
« Reply #18 on: February 01, 2009, 12:20:42 pm »
no not happened someone joined. it happened when someone left the game.

Offline scarface09

  • Veteran
  • *****
  • Posts: 1153
  • Arsenal Supporter For Life
Re: Unpause Countdown
« Reply #19 on: February 01, 2009, 11:56:33 pm »
Awesome script and very useful for wars and gathers. Nice work!
Football is the other face of the world. If you don't like it, then you can get the hell out!