SA-MP Forums Archive
[FilterScript] [FS]The Remi-X Time Tools V2.0, the PERFECT all-in-one clock for your server! - 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] [FS]The Remi-X Time Tools V2.0, the PERFECT all-in-one clock for your server! (/showthread.php?tid=74050)

Pages: 1 2


[FS]The Remi-X Time Tools V2.0, the PERFECT all-in-one clock for your server! - Remi-X - 19.04.2009

Remi-X Time Tools
[RXTT]
_________________________________________________
Hi everybody!

About this filterscript:
-Ingame clock, working in servertime, in seconds.
-If it is night in your server time, than will it be also ingame night.
-A random weather script, that will change the weather every hour.
-The weather is based on the seasons, so if it's summer, you don't get winter weather.
-There are no bullshit weathers, like the darkest weather ever.
-The clock works on servertime, with seconds. It has the same place and size as the normal clock in San Andreas.
-There is also a simple date, only without the year. Beacause I dont know where to place the year nice
-If it's month 4, the game says April.
-The WorldTime change also, so if someone chek your server values, he see also the hour.
-There is a SetPlayerTime, so every minute will the daytime changed.


What's coming?

-For V2.1, a place for the yeartextdraw.

_________________________________________________
-DOWNLOAD
Note: This one is compiled with the 0.3a server.

Pastebin.
_________________________________________________


SCREEN:
Only from the very simple time textdraw.

Here it is April, in september the text wil reach the 3 at his end.
The web link isn't included with this FS.


Suggestions? Post it
Have fun

PS: Again, sorry for my bad english. If a have faults in my text, please help me to correct it



_________________________________________________
[size=8pt]
Older versions (Compiled with the 0.2X server):
It's better to use the newest version.
--V1.3


Pastebin
Please edit lines 233 and 582, the SetWorldTime into this:
pawn Code:
if(ServerHour == 22){SetWorldTime(22);}
else{SetWorldTime(ServerHour);}
Otherwise, you have a atomic bomb weather in your server at 10 o clock AM.

--V1.2


Pastebin

--V1.1

Pastebin

--V1.0
Pastebin



Re: [FS]The Remi-X Time Tools V1.0 - CroAtTheTop - 19.04.2009

Nice filterscript, very usefull because it has a lot of functions in it.


Re: [FS]The Remi-X Time Tools V1.0 - Weirdosport - 19.04.2009

I once planned on making a GMT +- thing, but I decided against it so i'll b interested to see how you do it.

Also, the year could happily go next to the date, the only bit I am not so sure about is the second sticking out the side..

Good job though.

EDIT: Pastebin please


Re: [FS]The Remi-X Time Tools V1.0 - Rks25 - 19.04.2009

Nice, and agree on the request of pastebin link


Re: [FS]The Remi-X Time Tools V1.0 - Burridge - 19.04.2009

Looks very nice, and i third the pastebin link :P


Re: [FS]The Remi-X Time Tools V1.0 - Remi-X - 19.04.2009

Pastebin.


Re: [FS]The Remi-X Time Tools V1.0 - krisis32 - 19.04.2009

errors:

Code:
E:\sa-mp servers\gamemodes\wwrrp.pwn(258) : error 017: undefined symbol "weather"
E:\sa-mp servers\gamemodes\wwrrp.pwn(270) : error 017: undefined symbol "weather"
E:\sa-mp servers\gamemodes\wwrrp.pwn(278) : error 017: undefined symbol "weather"
E:\sa-mp servers\gamemodes\wwrrp.pwn(292) : error 017: undefined symbol "weather"
Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


4 Errors.
258:

pawn Code:
new SpringWeather[][weather] =
{
    {1},
    {10},
    {11},
    {14},
    {17},
    {23},
    {24},
    {29},
    {33}
};
270:
pawn Code:
new SummerWeather[][weather] =
{
    {0},
    {1},
    {10},
    {11},
    {19}
};
278:
pawn Code:
new AutumnWeather[][weather] =
{
  {7},
  {8},
  {9},
  {12},
  {15},
  {16},
  {17},
  {24},
  {25},
  {30},
  {32}
};
292:
pawn Code:
new WinterWeather[][weather] =
{
  {1},
  {4},
  {5},
  {7},
  {8},
  {9},
  {12},
  {15},
  {17},
  {20},
  {25},
  {27},
  {30}
};



Re: [FS]The Remi-X Time Tools V1.0 - Remi-X - 19.04.2009

That must be your problem. Do you have the Enum copied at the top of my script?
pawn Code:
enum weather
{
   wt_id,
};



Re: [FS]The Remi-X Time Tools V1.0 - Backwardsman97 - 19.04.2009

It compiles fine. Nice script. I like how the textdraw is laid out in a nice style.


Re: [FS]The Remi-X Time Tools V1.0 - Remi-X - 19.04.2009

Thanx


Re: [FS]The Remi-X Time Tools V1.0 - krisis32 - 19.04.2009

i fixed the problem... the faulth wuz - PAWNO... dont know why.. i restarted pc.. cuz i did installed one program... and then started PAWNO and compile it... and all was okay!
Nice script... really nice!


Re: [FS]The Remi-X Time Tools V1.0 - Remi-X - 19.04.2009

Thanks, all.


Re: [FS]The Remi-X Time Tools V1.0 - alex.naoumov - 20.04.2009

I really like it, good work .




Re: [FS]The Remi-X Time Tools V1.1 [So, it's UPDATED] - Remi-X - 20.04.2009

I've updatet(or updated?) the script.

Changelog V1.1:
-Dome Dutch text translated, that is was forgotten.
-If you startup the FilterScript, a random weather will choosen.
-If you startup the FilterScript, the worltime will set.
-The weather, changed at the older version just one time. Now every time.

Have fun (again xD)


Re: [FS]The Remi-X Time Tools V1.0 - RenisiL - 24.04.2009

Nice clock


Re: [FS]The Remi-X Time Tools V1.1 [So, it's UPDATED] - j500 - 30.04.2009

love it great for stunt servers had problems downloading new update downloaded old version
i didnt really need the weather changes because it lags my pc if it rains and half ppl like clear weather
A+ man im using this one

EDIT: you where in the middle of update when i downloaded


Re: [FS]The Remi-X Time Tools V1.1 [So, it's UPDATED] - Remi-X - 30.04.2009

Quote:
Originally Posted by j500
love it great for stunt servers had problems downloading new update downloaded old version
i didnt really need the weather changes because it lags my pc if it rains and half ppl like clear weather
A+ man im using this one
Tnx

At the moment i am adding the following:
-Set rxtt on or off(rcon login reqiured)
-Changeweather(rcon login required)

But wat is your problem that the update doesn't work?


EDIT:
'Cause pastebin doesn't work, i've uploaded the script again.


Re: [FS]The Remi-X Time Tools V1.1 [So, it's UPDATED] - DauerDicht - 02.05.2009

rxtt.pwn(261) : error 001: expected token: ";", but found "}"


Re: [FS]The Remi-X Time Tools V1.1 [So, it's UPDATED] - [DSK]Vyorel - 02.05.2009

Very nice! ! !


Re: [FS]The Remi-X Time Tools V1.1 [So, it's UPDATED] - Remi-X - 02.05.2009

Quote:
Originally Posted by DauerDicht
rxtt.pwn(261) : error 001: expected token: ";", but found "}"
I hope that you're not stupid, only place a ; at the end of that rule.


Quote:
Originally Posted by [DSK
Vyorel ]
Very nice! ! !
Thanks