Files

> > CS2D > Lua Scripts > Day N Night! KaBooMa's updated DnN script!
Files overviewCS2D overviewLua Scripts overview

English Day N Night! KaBooMa's updated DnN script! >

12 comments2 kb, 602 Downloads

old Day N Night! KaBooMa's updated DnN script!

KaBooMa
User Off Offline

What is going on guys. I hope everyone in the CS2D community has been having a lot of fun while playing this game! Now, I haven't played this game since about 2010ish. I am not planning on getting back into it like I used to but I will DEFINITELY watch this here upload for you guys so I can fix bugs and add different features.

Onto the script!
Spoiler >


So you might want to know what langs. I have knowledge in, and how much.
Spoiler >


Enough the damn rants! Whats this script got right?
Spoiler >


Did you add realtime...I actually did add something along those lines!
Spoiler >


Now I do have some plans to fix this up if needed. Here is a list of some of the stuff I might/can add if needed.

Spoiler >
Approved by GeoB99

Download Download

2 kb, 602 Downloads

Comments

12 comments
To the start Previous 1 Next To the start

Log in!

You need to log in to be able to write comments!Log in

old

The_Admiral
User Off Offline

@user xDPolskaxD: Haven't you even Noticed that he's Long been Offline? Last time he Visited this Site was 2016, and His Latest Post in 2012, I Doubt he will Come back To this Game.

old problem

xDPolskaxD
User Off Offline

Please check PM, I have problem with run this script in game :d

old

KabirDuy
User Off Offline

Ah, thanks you!
I like it!

old

KaBooMa
User Off Offline

Oh really nice! So yours does support non realtime. Nice Livia! Also, it is throwing a error on 64 because num was nil...I am sure I know why. Would be simple to fix up But now that I think about it...num shouldn't be nil...num is set to 0.8 at the very start of the variables.lua...humm...Maybe I can look at that. It should be either 0.8 or lower..

old

Livia
User Off Offline

user KaBooMa
You should at least initialize variables. The script threw an error on line 64 (Functions.lua) because variable 'num' was nil.

I bet you didn't notice dnn.timescale = 60, which controls how fast the time runs.

old

KaBooMa
User Off Offline

Nicely done Livia! that is a really nice setup you got there. To be honest with you, I haven't scripted on cs2d for about 2 years. I am sure there is some messups but that is why we have first stages I posted it here seeing if I could get some input on what is wrong. Being I haven't coded in lua for 6 months and on cs2d for 2 years, I made some messy mistakes. If you could explain some of the bugs or so I would love to go back and fix them up. The whole purpose of posting this was to get input so I could make this work better than my old one. Input on what is wrong with it, and what bugs you have seen would be amazing. Same for you th3h4mz4n6

PS: Your 14 line script only does realtime. Mine has the option for realtime or 1 second = 1 minute. Update yours with 1 sec = 1 min

old Nice Script

alanbk
User Off Offline

Nice script dude, this script is the best for my server
I like it!

old

TheHamzan6
User Off Offline

Quote
I'm sorry to say that this is horrible. It's poorly coded and has bugs. Never ever place images inside lua folder.

This crap could be done in 14 lines:
> http://pastie.org/4926398

This. My job is done here.

old

Marcell
Super User Off Offline

Thanks! You solved my problem (real-time)
It's important for my server!:)
I like it!

old

Livia
User Off Offline

I'm sorry to say that this is horrible. It's poorly coded and has bugs. Never ever place images inside lua folder.

This crap could be done in 14 lines:
> http://pastie.org/4926398

old

hacked
User Off Offline

Does flashlight work with this system?
To the start Previous 1 Next To the start