Hi Zygor and all,
I have recently switched to Carbonite as it appears to be the only working vesion of google style maps after Cartographer 3.0 died! :-(
Anyway Zygor's way-points don't apear on the map which sucks so I looked into fixing the TomTom emulation and as i can't be arsed decoding the mess that Carbonite did to there code to hide it I have had to hack Zygor's code .
The reason Zygor doesn't work with Carbonite is Carbonites TomTom emulator don't have a few bits of code Zygor looks for but doesn't use "TomTom.defaults" which Zygor doesn't use at all and seems safe to remove as a check and "TomTom.profile.persistence.cleardistance" which Zygor sets to "0" which I just added a if around it to ensure it's there before setting it to "0".
So to sum up:
1.) Remove all checks for "TomTom.defaults" as you already check for TomTom
2.) Change line 396 of Waypoints.lua from:
"TomTom.profile.persistence.cleardistance = 0"
to
"if (TomTom.profile and TomTom.profile.persistence) then
TomTom.profile.persistence.cleardistance = 0
end"
and Zygor will have more happy users! :-)
Regards,
Zas
I have recently switched to Carbonite as it appears to be the only working vesion of google style maps after Cartographer 3.0 died! :-(
Anyway Zygor's way-points don't apear on the map which sucks so I looked into fixing the TomTom emulation and as i can't be arsed decoding the mess that Carbonite did to there code to hide it I have had to hack Zygor's code .
The reason Zygor doesn't work with Carbonite is Carbonites TomTom emulator don't have a few bits of code Zygor looks for but doesn't use "TomTom.defaults" which Zygor doesn't use at all and seems safe to remove as a check and "TomTom.profile.persistence.cleardistance" which Zygor sets to "0" which I just added a if around it to ensure it's there before setting it to "0".
So to sum up:
1.) Remove all checks for "TomTom.defaults" as you already check for TomTom
2.) Change line 396 of Waypoints.lua from:
"TomTom.profile.persistence.cleardistance = 0"
to
"if (TomTom.profile and TomTom.profile.persistence) then
TomTom.profile.persistence.cleardistance = 0
end"
and Zygor will have more happy users! :-)
Regards,
Zas
Comment