Forum

> > CS2D > Scripts > about time script + system windows
Forums overviewCS2D overview Scripts overviewLog in to reply

English about time script + system windows

5 replies
To the start Previous 1 Next To the start

old about time script + system windows

Hanz
User Off Offline

Quote
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

old Re: about time script + system windows

Banaan
User Off Offline

Quote
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.

old Re: about time script + system windows

Hanz
User Off Offline

Quote
Banaan has written
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

old Re: about time script + system windows

KimKat
GAME BANNED Off Offline

Quote
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.

old Re: about time script + system windows

Banaan
User Off Offline

Quote
xlSmilelx has written
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 has written
.nl is the Internet country code top-level domain (ccTLD) for the Netherlands.

Banaan's profile has written
Country:     NL - Netherlands NL - Netherlands


Webs is a reasonable site builder indeed.

old Re: about time script + system windows

Hanz
User Off Offline

Quote
KimKat7 has written
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
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview