Welcome guest, is this your first visit? Click the "Create Account" button now to join.
Page 2 of 2 FirstFirst 12
Results 11 to 20 of 24

Hybrid View

  1. #1
    Master
    Join Date
    May 2011
    Location
    UK
    Age
    40
    Posts
    191
    Rep Power
    133

    Default

    You can see the script/skin yourself on these

    This skin shows the speed limit has lowered
    [Only registered and activated users can see links. ]

    This skin shows the speed limit has increased
    [Only registered and activated users can see links. ]

    To test each skin choose a start point half a mile from where the speed increases or lowers and destination half a mile after that then simulate route. For example start in 60mph zone and travel through a 30mph zone and vice versa.

    the code that controls the limit descrease/increase is line 2009 of customised.lua
    Last edited by urbexuk; 19th August 2015 at 07:19 PM.

  2.    Advertissements


  3. #2
    Global Moderator You can increase your speed ux (skin addon) question
    You can increase your speed ux (skin addon) question
    Midnight Blues's Avatar
    Join Date
    Aug 2009
    Location
    EU
    Posts
    1,102
    Rep Power
    3038

    Default

    OK
    It's not that I don't like it, but let's forget about it.
    You uploaded two ZIP files which contain file customized.lua
    Problem is that they do not differ only in one ">" or "<", but they have many more differences.
    One is 343117 bytes (from increase.zip) and this one do have those code lines starting in line 2009
    Other is 342086 bytes (from lowered.zip) and code starting line 2009 is:
    Code:
    Please Login or Register to see the links
    I didn't analyze other files for differences
    So problem seems to be more complex then You presented, or did I miss something?
    Last edited by Midnight Blues; 15th August 2015 at 04:32 PM.
    NO THANKS POSTS ALLOWED, ALL MIRRORS APPRECIATED
    MB Moon night sky
    Please read: >[Only registered and activated users can see links. ]<, >[Only registered and activated users can see links. ]< and >[Only registered and activated users can see links. ]<
    Password for all my uploads (if needed): gpspower.net

  4. #3
    Master
    Join Date
    May 2011
    Location
    UK
    Age
    40
    Posts
    191
    Rep Power
    133

    Default

    ignore the file size as that is caused by changing the spoken text of the speed lower, speed increasing. and other stuff thats not relevent.

    again you seem to mention overspeed, it is nothing to do with that.

    I attached both skins as you can see the code in action.

    The only code that should be concerned about is the one I mentioned. By changing > to < changes the action of the display.

    If I add both codes but with different <> it does not work , neither work. but when only have one code it works fine.

    It is getting both codes to work independent of each other.

    the line of code will be different in the other skin as extra text added, but just do a search till you find the specfic line. You will see it is > compared to the other skin that has <

    As I said it is only that one specific line of code that is important, the rest is not.

    Try each skin in your device and you will see it in action.

    The challenge is just getting the two different sets of code to work together within the skin or creating a ux that will work with the other while the original stays with the skin.

  5. #4
    Master
    Join Date
    May 2011
    Location
    UK
    Age
    40
    Posts
    191
    Rep Power
    133

    Default

    anyone been able to look at this?

  6. #5
    Titanos
    Guest

    Default

    Quote Originally Posted by urbexuk View Post
    anyone been able to look at this?
    Your code needs this line to be defined in voice file: "The speed limit has lowered."
    Else this function will return allways FALSE.

    Code:
    Please Login or Register to see the links



    Change this code:
    Code:
    Please Login or Register to see the links

    To this code:
    Code:
    Please Login or Register to see the links

    And test.

  7. #6
    Master
    Join Date
    May 2011
    Location
    UK
    Age
    40
    Posts
    191
    Rep Power
    133

    Default

    Quote Originally Posted by Titanos View Post
    Your code needs this line to be defined in voice file: "The speed limit has lowered."
    Else this function will return allways FALSE.

    Code:
    Please Login or Register to see the links



    Change this code:
    Code:
    Please Login or Register to see the links

    To this code:
    Code:
    Please Login or Register to see the links

    And test.

    It displays the increase in speed visually but it does not show the decrease in speed limit visually at all
    this is the problem I am having, one works but the other does not
    Last edited by urbexuk; 9th September 2015 at 11:48 PM.

  8. #7
    Global Moderator You can increase your speed ux (skin addon) question
    You can increase your speed ux (skin addon) question
    Midnight Blues's Avatar
    Join Date
    Aug 2009
    Location
    EU
    Posts
    1,102
    Rep Power
    3038

    Default

    Yes.
    And did you read carefully my previous answer?
    I could not ignore anything in program code (as serious programmer).
    If You could be so kind to post two files with difference only in code that changes behavior, then maybe I'll have enough time to try to look for a solution.
    I do not have time to do searching for a same function in two totally different files and do analyzing if something is affecting final result or not.

    P.S.
    I was in hospital for some time and was not able to answer this.
    NO THANKS POSTS ALLOWED, ALL MIRRORS APPRECIATED
    MB Moon night sky
    Please read: >[Only registered and activated users can see links. ]<, >[Only registered and activated users can see links. ]< and >[Only registered and activated users can see links. ]<
    Password for all my uploads (if needed): gpspower.net

  9. #8
    Master
    Join Date
    May 2011
    Location
    UK
    Age
    40
    Posts
    191
    Rep Power
    133

    Default

    Quote Originally Posted by Midnight Blues View Post
    Yes.
    And did you read carefully my previous answer?
    I could not ignore anything in program code (as serious programmer).
    If You could be so kind to post two files with difference only in code that changes behavior, then maybe I'll have enough time to try to look for a solution.
    I do not have time to do searching for a same function in two totally different files and do analyzing if something is affecting final result or not.

    P.S.
    I was in hospital for some time and was not able to answer this.

    i did attach the two different skin files one each so they both different, one shows the lower and one shows the increase.

    The line of code in customised.lua in each skin is:

    Increased skin: Starts Line 2005
    Lowered Skin: Starts Line 2074
    Last edited by urbexuk; 9th September 2015 at 11:55 PM.

  10. #9
    Master
    Join Date
    May 2011
    Location
    UK
    Age
    40
    Posts
    191
    Rep Power
    133

    Default

    anyone been able to look at this?
    Last edited by urbexuk; 14th October 2015 at 02:36 PM.

 

 

Tags for this Thread

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
  •