Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

How do i get rid of night time? [ES]


Craselin
 Share

Recommended Posts

I found your topic luckily no one had answered it yet. :D

So I had done this a while back, you edit the source code with vb6\. Ill show you how.

Requirements:
VB6(link removed by user - YouTube Video on how to get it.)
A little knowledge on how to use VB6.

Step 1:
In VB6 open up "Server.vbp".

Step 2:
Go to the forms tab. And right click on "frmServer" then click "View Code".

Step 3:
Then click "Edit" then click "Find". Or Ctrl + F.

Step 4:
Search for "night".
You should see a code looking similar or exactly like this:
```
    If Hours > 20 Then
        If GameTime = TIME_DAY Then
            GameTime = TIME_NIGHT
            Call SendTimeToAll
        End If
    ElseIf Hours < 21 Then
        If Hours > 6 Then
            If GameTime = TIME_NIGHT Then
                GameTime = TIME_DAY
                Call SendTimeToAll
            End If
        End If
    ElseIf Hours < 7 Then
        If GameTime = TIME_DAY Then
            GameTime = TIME_NIGHT
            Call SendTimeToAll
        End If
    End If
```
Step 5:
Then all you have to do is delete that code.

See that wasn't so hard after all. This editing will allow you to have time enabled with NO night time.

Hope this Helped. :D
Link to comment
Share on other sites

@[SB:

> Damian666 link=topic=67060.msg723832#msg723832 date=1293016770]
> its not like its that hard man, just comment out the call to the night sub and your done, that way you can keep the time system, and events related to it, but not the lag associated with night.
>
> Dami

Thanks but since i am new to Eclispe i have NO IDEA how to do this. I would be highy thankfull if you could tell me how :)

And verex if VB6 isn't free i doubt my father would let me get it. And im purely broke
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...