Announcement

Collapse
No announcement yet.

using BYVAR in Indicator

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

  • using BYVAR in Indicator

    Hello all, a special one for Guino for creating such a beauty!

    Since time I'm following the forum, recently started to develop a new reduced skin (which I'll post once the basic parts will be completed)

    I have a few questions for you gurus:

    1)Is there any way to understand if MapMonkey is routing or not?
    I'm asking this as I want to show on the main page (on the same space) the "direction indications" if monkey is routing OR the "heading" if monkey is in free ride mode.

    I have used the following lines on the gps skin using a variable:
    B01,5,510,79,110,"MM;Destinate_Address||SETVAR;Nav Active;1",
    B02,84,510,79,110,"MM;Destinate_POI||SETVAR;NavAct ive;1",
    B04,242,510,79,110,"MM;CancelRoute||SETVAR;NavActi ve;0",


    (this is partial as it assumes routing started once you press the Destinate button, but I couldn't find any other way to solve this)

    The tricky part is here:
    I2,341,240,119,119,"BYVAR;NavActive;HEADING<<DIREC TION"
    This code seems not working somehow, as BYVAR seems not fully supported with indicators. Any way to make this code work?

    2) "SETVOL;CD;20" seems not working, I'm able to adjust all volumes (master,line,aux) except this one. What is the correct statement to adjust it? I'm asking this as whenever I play a CD track hitting play, next, prev buttons boosts cd volume to 100% (while I want it on 20% as I'm using master controls only) even between the tracks.

    Many thanks for your help
    Cheers
    Oguz

  • #2
    1) Change SETVAR;NavActive;1 to: SETVAR;CURIND;DIRECTION and change SETVAR;NavActive;0 to SETVAR;CURIND;HEADING then change the indicator code to: "$CURIND$" -- I'm pretty sure byvar only works with commands and labels.

    2) Sounds like some weird setting in a plugin/winamp. Open your windows mixer, make note of the EXACT NAME for the Audio line used for the CD -- in my case for instance is "CD Player" so that's what you'd have to put in the command: SETVOL;CD Player;20
    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
      Hey Guino, thanks for immediate reply!

      Originally posted by guino View Post
      1) Change SETVAR;NavActive;1 to: SETVAR;CURIND;DIRECTION and change SETVAR;NavActive;0 to SETVAR;CURIND;HEADING then change the indicator code to: "$CURIND$" -- I'm pretty sure byvar only works with commands and labels.
      Great, I have to test this on the car as I cannot move my house
      But how can I give an initial value to CURIND? on the first run CURIND is empty therefore nothing will be displayed unless I click one of the above buttons. I've tried with /DEFINE CURIND DIRECTION but then I have to use #CURIND# instead of $CURIND$

      Originally posted by guino View Post
      2) Sounds like some weird setting in a plugin/winamp. Open your windows mixer, make note of the EXACT NAME for the Audio line used for the CD -- in my case for instance is "CD Player" so that's what you'd have to put in the command: SETVOL;CD Player;20
      Hehe, Italian windows so CD name is -> Lettore CD, now it works, thanks )

      Comment


      • #4
        Options:
        1-You can execute the "initial" SETVAR on the Start command in RRConfig
        2-You can execute the "initial" SETVAR on the ONSKINSTART event in exectbl
        3-You can add the default value to RR.INI: CURIND=HEADING

        3 is probably the easiest, there may be other ways though.
        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


        • #5
          Originally posted by guino View Post
          Options:
          1-You can execute the "initial" SETVAR on the Start command in RRConfig
          2-You can execute the "initial" SETVAR on the ONSKINSTART event in exectbl
          3-You can add the default value to RR.INI: CURIND=HEADING

          3 is probably the easiest, there may be other ways though.
          Thanks, I have gone for number 2, so if one uses this skin no needs to change his own exectbl.ini as I'll include one on the skin itself.

          Very strange but, when I click on Quit, the prog uses 100% windows and freezes, if I untag the "QUIT","SendMsg;RRCDRip;showplugin||bye" then it works... in fact I've looked through all faqs and threads for CDrip but couldn't manage to start within my skin... (it works standalone and with other skins but not with mine) ... the path is correct ("CDRIP","PLUGIN;RRCDRip;C:\Programmi\RoadRunner\C DRip\cdrip.exe") the command should be correct (B4,25,337,237,70,"CDRIP"), but it doesn't start...

          Comment

          Working...
          X