Adding coordinate logging

Detective Squirrel [2016-07-24 21:15:22]
Adding coordinate logging

So you can use http://www.ownedcore.com/forums/pokemon-go/pokemon-go-hacks-cheats/563636-botmap-v1-0-realtime-map-pokemon-bots.html
Filename
PokemonGo/RocketAPI/Client.cs
diff --git a/PokemonGo/RocketAPI/Client.cs b/PokemonGo/RocketAPI/Client.cs
index 4ecf43c..f1f784d 100644
--- a/PokemonGo/RocketAPI/Client.cs
+++ b/PokemonGo/RocketAPI/Client.cs
@@ -401,6 +401,9 @@ namespace PokemonGo.RocketAPI
         public async Task<PlayerUpdateResponse> UpdatePlayerLocation(double lat, double lng)
         {
             SetCoordinates(lat, lng);
+            var latlng = _currentLat + ":" + _currentLng;
+            File.WriteAllText(AppDomain.CurrentDomain.BaseDirectory + "coords.txt", latlng);
+
             var customRequest = new Request.Types.PlayerUpdateProto
             {
                 Lat = Utils.FloatAsUlong(_currentLat),
You may download the files in Public Git.