Results 1 to 5 of 5

Thread: using BYVAR in Indicator

  1. #1
    Newbie
    Join Date
    Nov 2006
    Location
    Milan/Italy
    Posts
    8

    Question 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. #2
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    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."

  3. #3
    Newbie
    Join Date
    Nov 2006
    Location
    Milan/Italy
    Posts
    8
    Hey Guino, thanks for immediate reply!

    Quote 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$

    Quote 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 )

  4. #4
    RoadRunner Mastermind
    Auto Apps:loading...
    guino's Avatar
    Join Date
    Nov 2004
    Location
    Toronto, Canada
    Posts
    9,818
    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."

  5. #5
    Newbie
    Join Date
    Nov 2006
    Location
    Milan/Italy
    Posts
    8
    Quote 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...

Similar Threads

  1. Indicator Within button border problem
    By JohnWPB in forum RR Bug Tracker
    Replies: 4
    Last Post: 08-15-2006, 12:48 PM
  2. Problem with DIRECTION indicator
    By Passe in forum Road Runner
    Replies: 7
    Last Post: 06-10-2006, 01:27 AM
  3. Direction Indicator for MM & FD
    By GizmoQ in forum RR Skins
    Replies: 7
    Last Post: 10-09-2005, 11:50 PM
  4. My Online Indicator
    By F350 in forum Road Runner
    Replies: 10
    Last Post: 10-05-2005, 03:18 AM
  5. Indicator on top of a Button
    By DjBac in forum RR Skins
    Replies: 2
    Last Post: 04-27-2005, 07:24 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
  •