View Single Post
Posts: 1,680 | Thanked: 3,685 times | Joined on Jan 2011
#577
Yeah, google is now blocking CGPS. I suspect it is an issue with the user agent CGPS presents GMAPS.

Ok. According to this the user agent is set by the line:

Code:
options.userAgent = g_key_file_get_string(keyfile, "Network", "httpUserAgent", NULL);
That would imply (in my limited understanding) that there is a config file somewhere that contains the field "httpUserAgent".

This also sets the user agent for curl, which is what I think Dwarz is using to grab the tiles from the GMAPS server.


//DERP

Code:
/opt/cloudgps/cloudgps.ini


//HERP McDERP OF CLAN McDERP from the DERPS

edit:

Code:
/opt/cloudgps/cloudgps.ini
and comment out the line:

Code:
httpUserAgent=CloudGPS for N900
and uncomment the line:

Code:
#httpUserAgent=Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.11) Gecko/20071127 Firefox/2.0.0.11
It would seem Dwarz is such a creative genius he was playing the long game all along. He already forsaw this and wrote in a contingency with clever clues in his well commented, professionally laid out code for us to find in his absence!
__________________
N900: One of God's own prototypes. A high-powered mutant of some kind never even considered for mass production. Too weird to live, and too rare to die.

Last edited by vi_; 2012-06-19 at 08:30.
 

The Following 4 Users Say Thank You to vi_ For This Useful Post: