Search Archive

Bug - Speed Limit when displaying KM/H (Calling Canadians!)

By spadabear · Apr 11, 2009in Hacks/Mods💬 40 posts👁️ 3,458 views
Page 2 of 2
Posted Apr 16, 2009 · 08:02 UTC#26
got everything set up but still not able to get it to display the the new assigned value,

 

Strange... Can you put something in the onchange script that you would immediately notice?

 

something like?

 

maybe hide one of your buttons? I'm guessing Boris is just trying to make sure your onchange script is actually running so if the first thing you do in the script is hide a button then if that button disappears you will at least know the script is running.

Posted Apr 16, 2009 · 16:26 UTC#27
maybe hide one of your buttons? I'm guessing Boris is just trying to make sure your onchange script is actually running so if the first thing you do in the script is hide a button then if that button disappears you will at least know the script is running.

 

Indeed. This code does work on other iGo incarnations, and ours does appear to have OnChange, so I'd try debugging it piece by piece to see which piece does not work.

 

Also, for giggles, may be add a button on screen that will call sc_SpeedLimit script directly. If that does update speed limit display, this will narrow the field down quite a bit...

Posted Apr 16, 2009 · 17:03 UTC#28
maybe hide one of your buttons? I'm guessing Boris is just trying to make sure your onchange script is actually running so if the first thing you do in the script is hide a button then if that button disappears you will at least know the script is running.

 

Indeed. This code does work on other iGo incarnations, and ours does appear to have OnChange, so I'd try debugging it piece by piece to see which piece does not work.

 

Also, for giggles, may be add a button on screen that will call sc_SpeedLimit script directly. If that does update speed limit display, this will narrow the field down quite a bit...

 

added a button to run the script but it still does nothing,

Posted Apr 16, 2009 · 17:19 UTC#29
added a button to run the script but it still does nothing,

 

Hmmm... This tells me that the script is not setting something correctly.

 

Try doing this: since the button is initially defined as unknown, have the first statement of the script setting it to something else:

tMySpeedLimit.text "Testing 1,2,3"

 

Then run all the statements that set speed limit sign to something else. Manually setting text value of a text element should always work, regardless of anything models, OnChange etc. do. I just tried it in the emulator, and it works here, too...

Posted Apr 16, 2009 · 17:37 UTC#30

i'm caliing it quits, have spent so many hours just on this one, if anyone wants to continue working on this one please do, as for me it's time to move on to a project i'm working on, BTW thanks for the help Borism

Posted Apr 16, 2009 · 20:23 UTC#31
i'm caliing it quits, have spent so many hours just on this one, if anyone wants to continue working on this one please do, as for me it's time to move on to a project i'm working on, BTW thanks for the help Borism

 

You're welcome! Sorry you didn't get it working...

Posted Apr 16, 2009 · 22:28 UTC#32
i'm caliing it quits, have spent so many hours just on this one, if anyone wants to continue working on this one please do, as for me it's time to move on to a project i'm working on, BTW thanks for the help Borism

 

You're welcome! Sorry you didn't get it working...

 

that's ok, i know someone else would figure this out soon, or maybe i'll get back to it after i finish my new project, we'll see

Posted Apr 17, 2009 · 01:29 UTC#33
that's ok, i know someone else would figure this out soon, or maybe i'll get back to it after i finish my new project, we'll see

 

Good luck!

Posted Apr 22, 2009 · 01:25 UTC#34

anyone want to look at this bug? this is what i have so far,

 

in the header part of model_variables.ui


 

and this


 

and in navigatemap.ui header


 

and this script in in navigatemap.ui


 

and in text element for the speed limit navigatemap_800_480.ui





;Speed limit us




 

i can't figure out why it's not changing the display and just shows unknown, any coders that could help fix this?

 

IDT

Posted Apr 22, 2009 · 01:56 UTC#35

would creating an speedlimit bmp with a written text of the current speed limit work, i was thinking of creating a bunch of speedlimit images so that instead of having the text show up in the navi screen it would be an image? would that work or would it be a PITA?

Posted Apr 22, 2009 · 03:47 UTC#36
would creating an speedlimit bmp with a written text of the current speed limit work, i was thinking of creating a bunch of speedlimit images so that instead of having the text show up in the navi screen it would be an image? would that work or would it be a PITA?

 

Probably more work than it is worth, and in any case we need to get speed conversion working properly first...

Posted Apr 22, 2009 · 04:19 UTC#37
would creating an speedlimit bmp with a written text of the current speed limit work, i was thinking of creating a bunch of speedlimit images so that instead of having the text show up in the navi screen it would be an image? would that work or would it be a PITA?

 

Probably more work than it is worth, and in any case we need to get speed conversion working properly first...

 

thanks

Posted May 22, 2009 · 03:07 UTC#39

Can you post the info how to add your fix for this problem to our existing setups? Thanks.

Posted May 22, 2009 · 16:55 UTC#40
Can you post the info how to add your fix for this problem to our existing setups? Thanks.

i don' know how much detail you want me to post but if you want the full detail let me know, it's a pretty long one and kinda busy at the moment so let me know if you want the full details so that i could make time to post it

Page 2 of 2