Where are you going 進化了

Faye Huang
Sep 9, 2018 · 2 min read

2016/08/25 (四)

Where are you going 是可以透過網頁的操作改變 iOS 裝置(ex: iPhone, iPad)定位的程式( Pokemon Go 作弊工具),曲折的誕生過程可以看這篇。

這幾天的測試都選擇在北投公園蹲點,邊走動邊用 PokeRadar 看附近有甚麼神奇寶貝,真是百聞不如一見,一個晚上就在 PokeRadar 的地圖上看到附近出現四、五次卡比獸,但每次都因為太激動點擊方向鍵,程式不是 hang 住就是直接當掉,等重開恢復正常時,都只剩下波波和鯉魚在等著我 …

為了不讓悲劇再度發生,加上強迫症發作,決定把程式好好整修一番。

有時,最簡單的最好用

查看 log,發現程式常常在執行 apple script (自動點 Xcode Simulate Location 選位置設定,以更新 iOS 裝置位置) 時卡住或當掉,原本執行 apple script 是用別人寫好的 python 套件 py-applescript,後來查到用 python 內建的 so.system 就能執行 apple script,有種「眾裡尋他千百度,驀然回首,那人卻在燈火闌珊處」的感覺,執行起來順暢許多。

卡比獸我來了

現在瘋狂點擊方向鍵沒問題了,但一下要切換到 PokeRadar 看哪裡有卡比獸,一下要切換回 Where are you going 移動位置,還是有點麻煩,為了發揮工程師 “懶惰” 的美德,決定把 PokeRadar 的資訊整進 Where are you going 裡。

用 Chrome 開發人員工具找到 PokeRadar restful API 的呼叫方式,而且很佛心的,沒有權限限制,是一個公開的 API,那就不客氣的拿來用囉,謝謝巨人的肩膀。

現在可以在 Where are you going 的地圖上邊走動邊看附近有哪些神奇寶貝,也增加了一個可以快速移度到某個位置的小功能,這下子應該可以讓我如願了吧!哈!

Where are you going 截圖

fayelife

收藏生活中的理性與感性

Faye Huang

Written by

我是媽媽,也是一名軟體工程師。喜歡透過書寫整理思緒,覺得寫作是一種治療慢性心理病的苦口良藥。

fayelife

fayelife

收藏生活中的理性與感性

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade