Announcement

Collapse
No announcement yet.

Menu and Timer help

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Menu and Timer help

    Tried searching, but haven't seent this particular problem. It's a little complicated to explain but I will try my best.

    I'm making another custom skin for myself and I am trying to utilize the menu command. I have it on a timer to exit after 3 seconds.

    Basically what is happening if I call a menu.skin while in a screen that menu.skin has a button for, when the timer runs out, it exits the menu.skin AND the skin i am in. However, if I call the menu.skin while in a screen that the menu.skin DOES NOT have a button for, when the timer runs out it only exits that menu.skin and stays in the skin I'm in.

    Say I'm in my MAIN.SKIN and I call my AUDIOMENU.SKIN. In my AUIDOMENU.SKIN there are 4 buttons and I press button 1. It loads the CURRENT.SKIN like it should and the menu goes away. However, while I'm in the CURRENT.SKIN and I call the AUDIOMENU.SKIN again and wait 3 seconds, it not only exits the AUDIOMENU.SKIN but it exits the skin i'm in as well. Obviously I only want it to exit the AUDIOMENU.SKIN and stay in the CURRENT.SKIN.

    I have another menu skin (MEDIAMENU.SKIN) that also has 4 buttons but calls different screens than the AUDIOMENU.SKIN. I did the same scenario. While in the MAIN.skin, i call the AUDIOMENU.SKIN, press button 1 to load the CURRENT.SKIN and while in the CURRENT.SKIN I call the MEDIAMENU.SKIN and wait 3 seconds but it just exits MEDIAMENU.SKIN and not CURRENT.SKIN.

    I tried using IDLE and the same things happens.

    in my exectbl.ini i have:

    "TIMER","CANCEL",AUDIOMENU.SKIN,MEDIAMENU.SKIN

    and in the AUDIOMENU.SKIN and MEDIAMENU.SKIN i have:

    TMR,3

    Am I missing some code? Any thoughts? I can send an alpha of my skin if they want to see the problem.

    Thanks!

  • #2
    First, this:

    "TIMER","CANCEL",AUDIOMENU.SKIN,MEDIAMENU.SKIN

    should be replaced by this:

    "TIMER","CANCEL",AUDIOMENU.SKIN
    "TIMER","CANCEL",MEDIAMENU.SKIN

    (RR can only match one skin name per line/command in exectbl.ini

    For debugging the skin flow, I would recommend looking at the debug log. If you can't figure it out, you should post a zip with your audio/mediamenu.skin along with any related entries of exectbl.ini AND (More importantly) a copy of your debug log while trying to perform the problem function -- then we can look at it.
    Ride Runner RR's Myspace

    "Being happy is not about having what you want, it's about wanting what you have."
    "The best things in life are always free - but that doesn't mean money can't buy you good things."

    Comment


    • #3
      changed the exectbl.ini so that each menu has a TIMER event associated with it, but still didn't work. Looked at the debug.txt and can't really figure it out.

      Here is winRAR file of my skin up till now and the debug.txt and exectbl.ini that go along with it

      http://www.mediafire.com/?loigtwwor3f

      Any help is appreciated, Thanks!

      Comment


      • #4
        Played around with it and I am duplicating the problem you describe.

        Add a "CANCEL" code to the menu buttons before loading the next screen. It seemed to help.
        Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

        Comment


        • #5
          Ditto..
          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."

          Comment


          • #6
            Good to hear I'm not insane and you guys encountered the same problem. I'll add the CANCEL command when I get a chance. Thanks for the help!

            Any thoughts on the skin? I thought I'd give this type of menu system a try since I haven't seen it before.

            Comment


            • #7
              Originally posted by 2poor4mods View Post
              Good to hear I'm not insane and you guys encountered the same problem. I'll add the CANCEL command when I get a chance. Thanks for the help!

              Any thoughts on the skin? I thought I'd give this type of menu system a try since I haven't seen it before.
              I use lots of menus on my skin to group together similar functions to keep the button layout clean.

              Might want to extend the timer a tad. 3 seconds is a bit fast especially while on the move. I'd also suggest using idle instead of timer. On my menus, I use 15 seconds and works out real well.
              Pico-ITX / XP Home with EWF-HORM / RR v12/02/2009 / Winamp v5.13 / RRMedia v1.2.2

              Comment


              • #8
                worked like a charm thanks

                Comment

                Working...
                X