Page 21 of 45 FirstFirst ... 111213141516171819202122232425262728293031 ... LastLast
Results 201 to 210 of 443

Thread: RRGAS - Gas prices for the US - Status: Updated 12/01/10

  1. #201

  2. #202
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,630
    Quote Originally Posted by Enforcer View Post
    I'll upload updated BMV2 and iDrive skins later tonight with examples of the slider, new buttons and exectbl.ini commands

    BMV2 has been updated (for those using 1.4.x)

    For slider to work you will need to use a version previous to the last one.

  3. #203
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,723
    Blog Entries
    1
    Quote Originally Posted by Enforcer View Post
    OK, just tried it with the 27/05/08 beta, and it doesn't work

    However it works with the 13/12/07 version

    and the 06/12/07, 4/11/07 versions


    but not the 2/11/07 version


    So I suspect there is something wrong with the extension slider interface in the 'latest' beta.


    Will now try mitchjs one (no I won't because it doesn't seem to want to run. Oh well )
    Talking with BlueZX3, he gave me the command to set the slider variable directly, bypassing the broken Extension slider code completely


    CMD = "SETVAR;rrgas;" & CStr(rrgas)

    If you are setting a ReturnCode = 2 in your case staments, all is good, but do not set the ReturnCode = 2 in the section where you are setting the above command. Blue says.... welll..... ummm I am sure he can explain it better, please read below:
    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

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

    First off as seeing that your a noob to ext plugins, I'm not sure how exactly you doing the trying to update the progress slider.
    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."

  5. #205
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,630
    Quote Originally Posted by JohnWPB View Post
    Talking with BlueZX3, he gave me the command to set the slider variable directly, bypassing the broken Extension slider code completely


    CMD = "SETVAR;rrgas;" & CStr(rrgas)

    If you are setting a ReturnCode = 2 in your case staments, all is good, but do not set the ReturnCode = 2 in the section where you are setting the above command. Blue says.... welll..... ummm I am sure he can explain it better, please read below:

    All sounds very messy.

    Quote Originally Posted by Blue ZX3 View Post
    Reserved...

    First off as seeing that your a noob to ext plugins, I'm not sure how exactly you doing the trying to update the progress slider.

    However I'll wait with baited breath.


    *edit.

    By having a variable called pslider which is updated at various times during the prices update procedure.

    This value is then passed back to RR when requested in the


    (hmmm let me see, where would I do this?. . . . . . . . . . . . Oh yeah)

    ReturnSlider section of the extension.cls

  6. #206
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,723
    Blog Entries
    1
    Actually the slider section seems to be whats not working. By just updating the pslider variable above, right where you are updating it will work perfectly. Nothing is then needed in the extension return slider or set slider section. It's not really messy at all, you are just setting the RR interface variable directly from the pslider variable in the extension.

    I put a single line in my extension, and the slider now works in any version of RR.

    so right where you are:

    "having a variable called pslider which is updated at various times during the prices update procedure."

    Just add this line in that section, below where you are updating the pslider var:

    CMD = "SETVAR;rrgas;" & CStr(pslider)

    That will set the rrgas variable in RR with your extension var of pslider.

    It is a work around, yes, but not really a mess one at all, just a different way of doing it. Actually it is just more of a direct way of doing it by setting the variable directly, instead of relying on the need for the other slider sections in the extension. Right now, who knows how long it will be till the slider gets corrected in the official source, and that would still not let people use the 11/07, 02/08, Mitch's build, or the 05/08 versions ect...
    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. #207
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,630
    Quote Originally Posted by JohnWPB View Post
    Actually the slider section seems to be whats not working. By just updating the pslider variable above, right where you are updating it will work perfectly. Nothing is then needed in the extension return slider or set slider section. It's not really messy at all, you are just setting the RR interface variable directly from the pslider variable in the extension.
    Yeah, I got that, infact I am going to run with both options but with different slider names.

    And yes it is messy.

    It adds extra code to my program
    it adds extra processes to the commnad queue of RR
    and it means bypassing the way that the extension plugin was (is supposed) designed to work. (I mean we could bypass all the commands of the extension plugin interface by doing other ways and then what is the point of the extension plugin)


    Quote Originally Posted by JohnWPB View Post

    Just add this line in that section, below where you are updating the pslider var:

    CMD = "SETVAR;rrgas;" & CStr(pslider)

    That will set the rrgas variable in RR with your extension var of pslider.

    Can't see what adding CMD = "SETVAR;rrgas;" & CStr(pslider) to my code will do.


    adding SDK.Execute (CMD) afterwards might help though.




    Quote Originally Posted by JohnWPB View Post
    It is a work around, yes, but not really a mess one at all, just a different way of doing it. Actually it is just more of a direct way of doing it by setting the variable directly, instead of relying on the need for the other slider sections in the extension. Right now, who knows how long it will be till the slider gets corrected in the official source, and that would still not let people use the 11/07, 02/08, Mitch's build, or the 05/08 versions ect...

    Still messy

  8. #208
    Super Moderator
    Auto Apps:loading...
    JohnWPB's Avatar
    Join Date
    Sep 2005
    Location
    West Palm Beach, Florida
    Posts
    4,723
    Blog Entries
    1
    Quote Originally Posted by Enforcer View Post
    Can't see what adding CMD = "SETVAR;rrgas;" & CStr(pslider) to my code will do.


    adding SDK.Execute (CMD) afterwards might help though.
    That will work to directly execute it, but if you do not use the ReturnCode = 2, RR will just continue on, and when reaching the end of the plugin, will carry out the command, as the ReturnCode tells RR that ahhhh we are done here, no need to fire anything else.


    The plugin I was working on, was for home automation purposes I threw together a small video for the Home Automation guys to show just how well RR can work as a front end for home automation. You can see the slider in action controlling a lamp in the video.
    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

  9. #209
    Confusion Master
    Auto Apps:loading...
    Enforcer's Avatar
    Join Date
    Sep 2003
    Location
    If you go down to the woods today, You're sure of
    Posts
    14,630
    Hang on, where are you saying to stick this code?

    because just sticking CMD = "SETVAR;rrgas;" & CStr(pslider) where the pslider code gets changed will do nothing.

    Sticking it in the slider part of the plugin code, will also do nothing.

  10. #210
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    As such... you are the "Confusion Master"
    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."

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
  •