Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: DayNightEvents [ Now in RRExtended ]

  1. #11
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    This actually came from John wanting a cmd fired on a day/night change so to do it correctly and with most flexibility I did it this way.
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  2. #12
    THE EXPERIMENTER
    Auto Apps:loading...
    carputer1's Avatar
    Join Date
    Sep 2007
    Location
    UK,Surrey
    Posts
    1,978
    ok i do agree so how about re-building the timerexec instead , its an extension plug so it goes inline with the way things are going with rr, which i do agree is needed .
    as most skins are going down this route it just makes more sense, to have an extenstion plugin for it instead , and all functions that may get suggested can be added before the release of it, if its a no go then i acept that as i'm no coder i jjust suggest an idea.

    thanks blue

  3. #13
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    Someone sometime ago did ask if I would add to/change that plugin, forget who, but I was way to busy working on my RRMedia at that time and didn't want to get sidetracked..hehehe

    If i remember correctly, it was to add by date as well as time. Which probably shouldn't be to hard now as I getting better & faster to getting code in VB to work w/o syntax errors or type Mismatch...<-- hate those!

    Maybe start a new thread being a Request and list what you'd like to see changed / added and I'll see if it can be added/modded in a timely fashion...(nice pun)
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  4. #14
    Constant Bitrate overlander's Avatar
    Join Date
    Feb 2008
    Posts
    113
    what are some common examples in your minds of potential uses for this plugin? just curious.

  5. #15
    THE EXPERIMENTER
    Auto Apps:loading...
    carputer1's Avatar
    Join Date
    Sep 2007
    Location
    UK,Surrey
    Posts
    1,978
    well thanks for the advise blue

    @overlander new thread to discuss this feature as blue mentioned , so really the sky is the limt as long as we keep the main function clean eg timer part , i think lots of people would come up with other uses chuck use timer for other functions so have to keep this in mind look at the new thread in the plugins section

  6. #16
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,691
    Blog Entries
    1

    Thumbs up Day Night Events Explained.

    This is a VERY simple plugin, it works like this:

    The plugin has built in code to automatically calculate your sunrise & sunset times ( +/- 3 Minutes or so, so it is quite acurate!), based on your Latitude and Longitude.

    It gets this information like this:

    First, if GPS is detected, it uses the Lat and Lon To calculate Sunrise and set times (Recalculates once every hour, so if you are on a long East to West trip, it will remain acurate! (As long as you change the time zones on the system that is ).

    Second if GPS is not found, it uses a Lat and Lon from the ini and calculates from that.

    Lastly, if no lat or lon are available, it gets the DayEventTime & NightEventTime from the ini.

    As an example:

    I have this in my Exectbl.ini for my skin:

    Code:
    "DayTimeEvent","GetDaySettings"
    "NightTimeEvent","GetNightSettings"
    
    "GetDaySettings","RUNQ;$SKINPATH$Scripts\Time Switch\SwitchDayNight.exe|day"
    "GetNightSettings","RUNQ;$SKINPATH$Scripts\Time Switch\SwitchDayNight.exe|night"
    So, if it is daytime, you are driving, and you pass the sunset time, "NightTimeEvent" is fired. The great thing is, if you shut the car off in the day, and then start it at night, it will fire the "NightTimeEvent" when RR starts / resumes.

    Road Runner's Day and night skin switching, does not do this, Road Runner would have to be running at the time it goes from day to night to switch. I never understood this, and it really annoyed me

    Now, with the "NightTimeEvent" event firing in my skin, it fires a script as you can see in the example above. The script changes the skin background, the font color, and a couple of other things.

    This plugin works flawlessly actually When I was setting up and testing, I opened the windows system time clock, it was like 2:30 PM. I changed the PM to AM and hit apply, and the skin switched to night colors, I put it back to PM, and it returned to the Day colors.

    Lastly, this plugin compensates for when daylight savings time switches. This means it will not be off an hour when the clocks change. (Even if you are driving through the night, when the clocks change, it will switch accurately with the correct sunrise time when the sun comes up ).
    Front End of Choice: Ride Runner (Is there anything else??? ) & Powered by the DFX5.1 Skin Available in the Mobile App Mart

    My Fiero Build Thread

  7. #17
    Maximum Bitrate Dave One's Avatar
    Join Date
    Mar 2005
    Location
    Norfolk UK
    Posts
    540
    This looks like a great plugin. I was just curious whether you can force the change to night by use of the day/night button for the dark, glummy UK winter evenings .

    Thanks for the hard graft you guys invest into these plugins!

    Cheers,
    Dave
    Vauxhall Astra SXi Car PC installed.

  8. #18
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    FYI.

    This Plugin has now been added to my RRExtended plugin. See Here
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 124
    Last Post: 01-25-2009, 09:19 PM
  2. Jokes thread
    By Cris in forum Off Topic
    Replies: 223
    Last Post: 05-02-2007, 11:24 PM
  3. GaroNav 1.0 Final Released
    By garo in forum Other Cool Stuff
    Replies: 87
    Last Post: 09-05-2006, 10:23 PM
  4. Problems installing Girlfriend 1.0...
    By gospeed.racer in forum Off Topic
    Replies: 28
    Last Post: 10-18-2005, 05:17 PM
  5. Spaghetti Player 1.0 released!!!
    By Spaghetti in forum Software & Software Development
    Replies: 16
    Last Post: 09-07-2004, 01:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •