Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Strange DNS help
« previous next »
  • Print
Pages: [1]

Author Topic: Strange DNS help  (Read 2566 times)

Offline Jaarroho

  • Can't think of anything clever.
  • Initiate
  • *
  • Posts: 84
  • Umm...wha?
Strange DNS help
« on: November 29, 2007, 12:21:25 AM »
Well...I'm having a strange error. I have created a DNS for a game I'm working on, but It is having...issues...

Here is my Code:
------------------------------------------------------------------------------------------
<>Comment: Night Handler
<>Branch if timer1 is 12M 00S or less
    <>Tint Screen R070G070B070S100
    <>Switch Operation : [0067:Night Events On?] ON
    <>Switch Operation : [0067: Day Events On?] Off
:Else Handeler
<>Comment: Day Handler
<>Branch if timer1 is 05M 59S or Less
    <>Tint Screen R100G100B100S100
    <>Switch Operation : [0067: Day Events On?] ON
    <>Switch Operation : [0067:Night Events On?] OFF

:Else Handler
<>Branch Timer1 is 00M01S less
   <>Teleport: 007: Inside Your House
   <>Timer1 operation:Set, M12S00
------------------------------------------------------------------------------------------

It's pretty basic, and it works in one of my other projects...

My Problem?

 It's Always Night!!!

I have no clue what is going on... It Makes my brain hurt to think of what the problem might be...

Any suggestion? I almost threw a shoe into my moniter out of fustration...

I need either another DNS or some help in telling me whats wrong.

Thanks in advance!
Logged

Offline DragonBlaze

  • A Wild DB Appeared!
  • Royal
  • *
  • Posts: 3,329
(No subject)
« Reply #1 on: November 29, 2007, 03:33:42 PM »
Where are the if statements? Theres two else statements, so there has to be if statments with them.

Anyway, I'm guessing the problem is that if its a parallel process event, it constintly sets the timer to 12m and thus would always be night. So can you give me the whole code or a screenshot of the event?
Logged
Hell Yeah! Just recovered all my old rm2k/3 games from my 10 year old, broken laptop hard drive that had been formatted and had a new OS installed on it. Oh, and I did all of this from my phone. WIN

Offline A Forgotten Legend

  • Your neighborhood box of colors
  • Royal
  • *
  • Posts: 4,428
    • Website
(No subject)
« Reply #2 on: November 29, 2007, 07:06:07 PM »
Quote
Originally posted by Jaarroho

<>Comment: Night Handler

<>Branch if timer1 is 12M 00S or less
----<>Tint Screen R070G070B070S100
----<>Switch Operation : [0067:Night Events On?] ON
----<>Switch Operation : [0067: Day Events On?] Off
----:Else Handeler
--------<>Comment: Day Handler
--------<>Branch if timer1 is 05M 59S or Less
------------<>Tint Screen R100G100B100S100
------------<>Switch Operation : [0067: Day Events On?] ON
------------<>Switch Operation : [0067:Night Events On?] OFF
-------------:Else Handler
------------------------<>Branch Timer1 is 00M01S less
------------------------<>Teleport: 007: Inside Your House
------------------------<>Timer1 operation:Set, M12S00


They're there.
Logged

Offline Jaarroho

  • Can't think of anything clever.
  • Initiate
  • *
  • Posts: 84
  • Umm...wha?
(No subject)
« Reply #3 on: November 29, 2007, 09:00:25 PM »
Here is a screen.
Logged

Offline lilsniffs3

  • Exemplar
  • *
  • Posts: 1,573
(No subject)
« Reply #4 on: November 29, 2007, 10:33:43 PM »
Use variables instead of timers.
Logged

Offline Ganocide_of_a_Kingdom

  • People's Salvation To Ignorance
  • Associate
  • *
  • Posts: 105
(No subject)
« Reply #5 on: November 30, 2007, 07:40:11 AM »
You say it's always night, but, there I see you never put the "Tint Screen" back to normal. In the "Day" block of code, there's not "Tint Screen" putting back to normal. After night falls, that code is showing that the screen will remain at 70, 70, 70, 100 for the time being unless told otherwise. That might be it. Or maybe I am just tired and seeing things here.
Logged

Offline Jaarroho

  • Can't think of anything clever.
  • Initiate
  • *
  • Posts: 84
  • Umm...wha?
(No subject)
« Reply #6 on: November 30, 2007, 12:16:09 PM »
Hey, thanks! That was the problem. Man, that was kind of a stupid error...
Logged

Offline Moosetroop11

  • Sage
  • *
  • Posts: 7,398
(No subject)
« Reply #7 on: November 30, 2007, 02:39:20 PM »
*Dies*
Logged
Maaaaaaaaaaaaaaaaaaaaaaaaaaan I missed this place.

Quote from: drenrin2120
Maaaaaaaaaaaaaaaaaaan I missed you.

Quote from: fruckert
Maaaaaaaaaaaaaaan I missed that welcome.

Offline Ganocide_of_a_Kingdom

  • People's Salvation To Ignorance
  • Associate
  • *
  • Posts: 105
(No subject)
« Reply #8 on: November 30, 2007, 07:43:54 PM »
Quote
Originally posted by Jaarroho
Hey, thanks! That was the problem. Man, that was kind of a stupid error...


It happens....A LOT.
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Strange DNS help
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum