Forum

> > CS2D > Scripts > about time script + system windows
ForenübersichtCS2D-Übersicht Scripts-ÜbersichtEinloggen, um zu antworten

Englisch about time script + system windows

5 Antworten
Zum Anfang Vorherige 1 Nächste Zum Anfang

alt about time script + system windows

Hanz
User Off Offline

Zitieren
Hi everyone i need some help can you make a lua script can connect to the system i mean time system

like automatic change time when i change time on my system

more simple:

Windows time "changed" automatic game time "changed" i mean on the game there is a time at the top or what ya so i not need to change the time when i want to start my server

because my server is use a timeleft server on 06:00 am to 09:00 pm hehe i not a programmer so i can't make like that

alt Re: about time script + system windows

Banaan
User Off Offline

Zitieren
Wait... is that server running on your own system or somewhere else? 'cause the time on your screen (since it's a Lua script) is server-side and cannot detect a client's system time.

Since Lua accesses your OS for the time, it should change whenever your OS's time changes (if the server is running on your system, which apparently isn't the case).

Something with country detection through IP address and a time zone table should do though (not entirely accurate however, as many countries have multiple time zones).

Possibly, I understood you wrong, in that case my answer is of no relevance to your question.

alt Re: about time script + system windows

Hanz
User Off Offline

Zitieren
Banaan hat geschrieben
Wait... is that server running on your own system or somewhere else? 'cause the time on your screen (since it's a Lua script) is server-side and cannot detect a client's system time.

Since Lua accesses your OS for the time, it should change whenever your OS's time changes (if the server is running on your system, which apparently isn't the case).

Something with country detection through IP address and a time zone table should do though (not entirely accurate however, as many countries have multiple time zones).

Possibly, I understood you wrong, in that case my answer is of no relevance to your question.


thank you but i already found it yeah so easy i'm trying make a virus program to a normal prgoram and it's succes %I:%M %p (xD) thats all (i'm little bit can make a software but not like a misc crazyyy make a toolbar ew -.- i can't do that i just can like write and write and walla your computer destroyed by xlsmilelx haha)

thank for your help i hope your hosting server is famous and many people use your hosting server

EDIT:
oh ya two thing more why your link top is nl -.- looks like my community name nl

can you teach me how to make website -.- hehe i not a smart website builder

alt Re: about time script + system windows

KimKat
GAME BANNED Off Offline

Zitieren
This tutorial here will help you with Lua and time.

Designing a website to me is quite simple. In my opinion it's far more simple than Lua scripting.

If you need a easy way to start I'd recommend freewebs(now called: webs) cause that's where I started off creating websites with a UK pal of mine.

alt Re: about time script + system windows

Banaan
User Off Offline

Zitieren
xlSmilelx hat geschrieben
oh ya two thing more why your link top is nl -.- looks like my community name nl

can you teach me how to make website -.- hehe i not a smart website builder


http://en.wikipedia.org/wiki/.nl
en.wikipedia.org hat geschrieben
.nl is the Internet country code top-level domain (ccTLD) for the Netherlands.

Banaan's profile hat geschrieben
Country:     NL - Netherlands NL - Netherlands


Webs is a reasonable site builder indeed.

alt Re: about time script + system windows

Hanz
User Off Offline

Zitieren
KimKat7 hat geschrieben
This tutorial here will help you with Lua and time.

Designing a website to me is quite simple. In my opinion it's far more simple than Lua scripting.

If you need a easy way to start I'd recommend freewebs(now called: webs) cause that's where I started off creating websites with a UK pal of mine.


huh better i make my own website and sorry i already found more easy hehe to make lua script connect to my system
Zum Anfang Vorherige 1 Nächste Zum Anfang
Einloggen, um zu antworten Scripts-ÜbersichtCS2D-ÜbersichtForenübersicht