SA-MP Forums Archive
[FilterScript] HostName CountDown - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] HostName CountDown (/showthread.php?tid=278904)



HostName/ServerTime CountDown - TheArcher - 24.08.2011

What is this ?
This is a simple FilterScript which you your hostname have a timer till it will open.

How to install it?
1° Just Download the Folder below.
2° Extract the files and put them in "FilterScript" folder.
3° Open server.cfg and add CountDown in the "filterscript" line.
4° Save it!
5° (version 2.x.x+) Copy the folder YSI into your pawno/include directory
Then Enjoy!

ScreenShots



ChangeLog
Quote:

Version 1: 24/08/2011 [dd/mm/yyyy] - First Release

Version 1.1:
- The countdown will print on your 'samp-server'. [Useful for who don't want to open SAMP and refresh the server to see the countdown everysecond. ]
- Fixed the countdown when goes to hour 0 it printed -1

Version 1.1 R1: Fixed the countdown when goes to hour 0 and minute 0 it printed - sometime 0 or -1 to hour and 60 to minutes

Version 1.x Final
- I finnaly fixed all the issues about CountDown and printing.
- Now the countdown will be around 96% perfect in the count.
- When the countdown goes to hour 0, minute 0, seconds 0. [Will open the server with your Original Server Name. Remember to set it in the FS]

Version 2
- Now the filterscript will be unloaded when the countdown finish beacuse it's being useless after it. [Never finished]
- Now the CountDown will save every hour, minute, second thanks to DINI by DragoneBlue. [ Very useful if you want to restart/make offline for some seconds your GameMode without losing your countdown. When the countdown will go to 0h 0m 0s, the FS will load the default time made in the script. ]
- More precision in countdown it will be around 98-99% [Laste Update was a bit late. On 1 hour of countdown it was about 1 minute late. ]
- Fixed the issue when you close the 'server-samp' at the same time as 0h 0m 0s it saved a negative random number. [Useful fix beacause if you start the server and the file have a negative number will countdown it instead the normai. ]
- Little thanks to Valve Secure beacause of save disk space [1 day = about 50mb is not useful]. Now it's optional.

Version 2.0.1
- Converted the write/read file system (Thanks to Double-O-Seven)
Note: The functions still the same as dini beacuse i've just converted into DOF2

Version 2.0.2
- Re-ordered some parts of the script to simply config your countdown.
- Many things re-written:
- Now it's more faster and more easy even newbies can take a look.
- Less lines used
- New Saving method

- Fixed the counting when starts from 0 minutes it went to -1
- Now the counting is precise at 99.9%
- Quick Config: - Just edit the "Config" lines to set your options.
- Saving & Loading the countdown file system changed to Y_Less's one.
- Days future added.

Version 2.0.2 R2
- Now you can lock/unlock your server until the countdown finishes
- You can enable/disable the password until the countdown finishes [Just change "ServerPassword" variable to " true " or " false "]
Download
Final Link DOWNLOAD!

Click Here To Download The FS Version 2.0.2 R2

Click Here To Download The FS Version 2.0.2

Click Here To Download The FS Version 2.0.1

Click Here To Download The FS Version 1.x Final

PasteBin (Version 2.0.2)

Bugs
Feel free to report them here, PM, or on my profile.

-No bugs at the moment

Credits
Me for creating the FS
Very much thanks to Y_Less.

NOTE:

Text in the [ ] (Brackets) on Changelog are the comment of the update.

You have some problems just ask here or on my PM's.

If you got any ideas to improve the script or suggestion just ask in this topic.

Please don't upload mirrors without my permision please

CountDown LIVE! (v2.0.2)
Not available yet.


Re: HostName CountDown - Michael@Belgium - 24.08.2011

lol this is unique xD Never saw it before but i don't think i gonna use it :-/
But awesome work !


Re: HostName CountDown - Pinguinn - 24.08.2011

Unique script indeed, nice release


Re: HostName CountDown - TheArcher - 24.08.2011

Thank you all


Re: HostName CountDown - Kaperstone - 24.08.2011

awasome!
very unquie.. will use it..
thanks alot


Re: HostName CountDown - Lorenc_ - 24.08.2011

haha, nice idea. I like to see this on some server: "We're updating and doing changes, we'll be back in ......"

Good job, hope to see more unique ideas around.


Re: HostName CountDown - TheArcher - 24.08.2011

Thanks guys.

This is not a complicated script but i'm not a newbie.
Any good scripter didn't release this so i decided to do this by myself.


Re: HostName CountDown - royal_king - 24.08.2011

Unique script! thanks for amazing share


Re: HostName CountDown - iPLEOMAX - 24.08.2011

Nice work, as other said: Idea is unique.


Re: HostName CountDown - Toreno - 24.08.2011

Very unique!
Good job, I think everyone finds it useful!