POKEMON GO API CHANGE - Reason for not working bots maps menu

Shout-Out

User Tag List

Page 2 of 6 FirstFirst 123456 LastLast
Results 16 to 30 of 79
  1. #16
    ZeroDayGhost's Avatar Private
    Reputation
    12
    Join Date
    Aug 2016
    Posts
    10
    Thanks G/R
    0/11
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Weird... I made a write up to help explain what an API change means (in a oversimplified way...). o.O it still hasn't appeared in this thread.

    ------

    Let's try this... (Explanation/write up kept getting deleted? Not sure why...)

    ------

    So, hopefully to bring some light to what this "API HAS CHANGED!!!!!!" means. - This is an oversimplification. Though, if you're curious, at least a place to start from and dig deeper.

    https://en.wikipedia.org/wiki/Applic...ming_interface

    In a gist, it's a way to interact with an application programmatically - through method/function/procedure calls, in your code (the bo.

    Most common/widespread form, or rather one that you might have encountered, of APIs come in the form of Web APIs. That is a webserver serving up content - provided you go to the right place.

    So, let's say for instance, Niantic has a webserver with the domain "api[.]pokemongo[.]com" (made up). You can browse to it using your browser ("hxxp://api[.]pokemongo[.]com/" - fake, don't browse, it's just an example) and get some sort of response.

    Now, say you wanted to get all the pokestops in New York.... An (web) API call would look something like (most likely doing a GET HTTP request, maybe POST request):

    hxxp://api[.]pokemongo[.]com/v1/pokestops?city=NewYork
    It will then give you back some information... say:

    {
    "PokeStops": [
    {
    "Name": "Example pokestop 1",
    "Description": "Some sort of description",
    "DefaultLatitude": 0.0,
    "DefaultLongitude": 0.0,
    },
    {
    "Name": "Example pokestop 2",
    "Description": "Some sort of description",
    "DefaultLatitude": 0.0,
    "DefaultLongitude": 0.0,
    }
    }
    Looks fimiliar, right? Yup, it's the same data-exchange language used to make up your config files - called JSON. Typically Web APIs serve back in JSON, maybe XML, maybe their own "cryptic" looking language/protocol. The nifty thing about JSON and why it's used for your config files is that it's easy for you to read and modify AND it's easy for a machine (computer, your bot) to read it, understand it, and create an object out of which it will then use with ease.

    So... what does it mean that APIs have changed...? Well, could be as simple as a different pathing in the URL for instance:
    hxxp://api[.]pokemongo[.]com/v2/prevent/all/bots/stopsPoke?city=NewYork
    Or it could mean that that JSON you get back looks different, for instance:

    {
    "PS": [
    {
    "N": "Example pokestop 1",
    "D": "Some sort of description",
    "Lat": 0.0,
    "Long": 0.0,
    },
    {
    "N": "Example pokestop 2",
    "D": "Some sort of description",
    "Lat": 0.0,
    "Long": 0.0,
    }
    }
    It could be a combition of the two.

    Seems simple right? So why would it take more than an hour to do? (Besides most people having lives or needing to eat and take breaks)

    Well, besides pokestops, what else exist in the Pokemon GO? Pokemon, they too have JSON/object representations. Items, your character, your profile, the list goes on. And perhaps they're placed different in the URLs like:

    hxxp://api[.]pokemongo[.]com/v2/prevent/all/bots/stopsPoke?city=NewYork
    instead of what the current bots are using:

    hxxp://api[.]pokemongo[.]com/v1/pokestops?city=NewYork
    While the bot itself, the logic that makes it walk, makes it do things, is there and should be fine... it's no longer in synce with how Niantic chooses to represent their PokeStops, or which URL it is for them.

    Of course, Niantic probably doesn't want people to bot... so they won't come out and say "HEY GUYS!!!! We changed our APIs, here are the new ones, bot away!" - so the bot devs will have to figure it out on their own - maybe through trial and error, maybe through clever ways.

    Hope that made sense :P (This is oversimplified, just to help you guys understand what "API changed" means)

    ---

    Edit:

    Obfuscation, could mean various things. Typically said that there's no security from obscurity - since it's only a matter of time till someone deobfuscates whatever you're hiding and sees it in plain.

    So, in terms of code (javascript for this example), we can take something like:
    console.log("I play pokemon go")
    Apply various obfuscation techniques (use: http://www.danstools.com/javascript-obfuscate/index.php) ... to get:

    eval(function(p,a,c,k,e,d){e=function(c){return c};if(!''.replace(/^/,String)){while(c--){d[c]=k[c]||c}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('1.0("2 3 4 5")',6,6,'log|console|I|play|pokemon|go'.split('|'),0,{}))
    Both of the above bits of javascript do the exact same thing (print out "I play pokemon go"), the difference is that no sane person would be able to read (or maybe spot ...) what the second one does.



    Or for instance, given the hash (MYSQL5 hash? 41 characters... weird ):

    b1f2bf509a025b7cd76e1c484e2a24411c50f0612
    We can use it to XOR a message, say "Hello World", using http://xor.pw (set things to ASCII, put hash in 2nd box, message in first) and get:

    6231663262663530396130323562376364373665316334383465326132347c545d0f5a10315f445d 56
    Which is "Hello World" xor'ed with "b1f2bf509a025b7cd76e1c484e2a24411c50f0612". Those that know the XOR key will be able to understand that giant string of gibberish (by reapplying the XOR key to the giant string), while those that don't, won't. You can also get the XOR key, knowing that the message is "Hello World".

    Though this is a type of weak cipher - even simplier one would be Caesar cipher, which "shifts" letters by a certain amount of letters (so say A changes to C and B to D, and D to F, which is two "shifts").


    Pair obfuscation, with "URL paths" and JSON/objects changing... and you got yourself a nightmare to reverse (or a fun puzzle, depends on how you look at things).

    Again, just explaining it relatively simple concepts... Haven't touched any of the code for any of the bots - or the API implementations they use to communicate with the official servers. (READ: I'm not a bot dev - just a dev during my day job).
    Last edited by ZeroDayGhost; 08-03-2016 at 07:46 PM. Reason: Wanted to explain what web API changed means.

    POKEMON GO API CHANGE - Reason for not working bots maps
  2. Thanks Pepejson, billnyescifi, jimboslice2171, venom0713, abuelo, noname001, DragonIzuna, sanseru, yopilax (9 members gave Thanks to ZeroDayGhost for this useful post)
  3. #17
    Karneey's Avatar Private
    Reputation
    1
    Join Date
    Jun 2012
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Considering Niantic doesn't make the API. Your knowledge is pretty much bullshit.

  4. #18
    ZeroDayGhost's Avatar Private
    Reputation
    12
    Join Date
    Aug 2016
    Posts
    10
    Thanks G/R
    0/11
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Karneey View Post
    Considering Niantic doesn't make the API. Your knowledge is pretty much bullshit.
    Me?

    That was a simplified example. :| gone missing again.

  5. #19
    Mich43's Avatar Member
    Reputation
    2
    Join Date
    Jul 2016
    Posts
    4
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Karneey View Post
    Considering Niantic doesn't make the API. Your knowledge is pretty much bullshit.
    Did you read the post or you just flaming for no reason?
    Niantic seems to have canged the way that the game "speak" with the client(writing like that to help newbie to understand) so we need to wait untill someone develop a new working api.

  6. #20
    dermeix's Avatar Member
    Reputation
    4
    Join Date
    Jul 2016
    Posts
    22
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    not sure if op is a badass 1337-h4x0r or just copied necro statement

  7. #21
    Mich43's Avatar Member
    Reputation
    2
    Join Date
    Jul 2016
    Posts
    4
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by dermeix View Post
    not sure if op is a badass 1337-h4x0r or just copied necro statement
    No need to be an "h4x0r" to understand what's going on right now.

  8. #22
    iFlame's Avatar Member
    Reputation
    1
    Join Date
    Aug 2016
    Posts
    19
    Thanks G/R
    3/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by ZeroDayGhost View Post
    Weird... maybe a write up to help explain what an API change means (in a oversimplified way...). o.O it still hasn't appeared in this thread.
    The interface/protocol between the client and the Niantic server changed. Apparently Niantic equipped the apps with the new protocol without devs noticing. So they now enforce the new way of communicating with the server that is already in the app but not yet figured out by 3rd party devs.
    Originally Posted by Karneey View Post
    Considering Niantic doesn't make the API. Your knowledge is pretty much bullshit.
    That is like the most stupid sentence I've come across on this board yet. Your post is bullshit and sounds like you don't even know what an API means. Obviously OP was talking about the official API which seemingly changed.
    Last edited by iFlame; 08-03-2016 at 05:14 PM.

  9. #23
    Funtela's Avatar Sergeant
    Reputation
    10
    Join Date
    Jul 2016
    Posts
    54
    Thanks G/R
    4/9
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    You're all so immature I swear. Stfu and just wait and stop acting like you guys know it all. OP said what's going on. Deal with it and wait.

  10. #24
    Ransu's Avatar Member
    Reputation
    1
    Join Date
    Jul 2016
    Posts
    11
    Thanks G/R
    1/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    for whatever reason, I cannot use pokestops. Anyone know why?

  11. #25
    Pepejson's Avatar Private Authenticator enabled
    Reputation
    41
    Join Date
    Aug 2016
    Posts
    7
    Thanks G/R
    2/40
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ok let's do this.

    API is something like software hosted on Niantic server which respond to our application.

    Basically you calling command in for example NecroBot something like "getToken":

    1. NecroBot sends to API server your login and password
    2. API is checking in account database
    3. API send to NecroBot state which could be "invalid", "notactivated"(etc.) or correct and then NecroBot gets token.
    4. NecroBot doing a "login" command which sents the token we got from API to the game server
    5. After that in Pokemon game server our account is logged in.

    Similiar proccess is for walking catching getting pokemons - actually everything in bot is working like I explained few lines up.
    And Niantic changed the method for getting map objects

    That's why the maps or bots are not getting any Gyms, PokeStops or Pokemons, because they can't got map objects from API.

    At the end I'll show you the change at it's source. I wouldn't explain what these lines below means because trust me you wouldn't get it anyway:

    POGORE1 - Pastebin.com - That's how the communication Application <---> API looked before change.

    POGORE2 - Pastebin.com - And that's how it looks now - you can see completely different values.

    So basically I tried to explain it to you as easy I really could.

    If you got more question feel free to ask, I'll answer them.

    And...
    Originally Posted by Karneey View Post
    Considering Niantic doesn't make the API. Your knowledge is pretty much bullshit.
    Developers make unofficial API for doing bots and maps. Niantic have official API which source you'll never see. That's what developers are doing is recreating the official API which will never be the same as original.

    EDIT: http://www.ownedcore.com/forums/poke...ml#post3515320 (POKEMON GO API CHANGE - Reason for not working bots maps) - Thanks to ZeroDayGhost - here you have explained it what means API change but on the example of unofficial API but it's good anyway.
    My post is actually explaining the WAY API WORKS and it's about this change which was made today.
    Last edited by Pepejson; 08-03-2016 at 05:23 PM.

  12. Thanks hpbaxx, R3dspark, heisenberg1000, wordup, Shadelurk, cajuputi, totorooney19, CptCrosswin, DragonIzuna (9 members gave Thanks to Pepejson for this useful post)
  13. #26
    Mich43's Avatar Member
    Reputation
    2
    Join Date
    Jul 2016
    Posts
    4
    Thanks G/R
    1/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Ransu View Post
    for whatever reason, I cannot use pokestops. Anyone know why?
    Read the answer below

  14. #27
    ZeroDayGhost's Avatar Private
    Reputation
    12
    Join Date
    Aug 2016
    Posts
    10
    Thanks G/R
    0/11
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by iFlame View Post
    The interface/protocol between the client and the Niantic server changed. Apparently Niantic equipped the apps with the new protocol without devs noticing. So they now enforce the new way of communicating with the server that is already in the app but not yet figured out by 3rd party devs.

    ....
    Yeah, I meant to say "I made a write up to help explain...". It was an oversimplified write up, from a Web API perspective... :/ I posted it twice in this thread, now. Still hasn't showed up... wtf? Guess it was deleted... o well. So much for me contributing to the community.

  15. #28
    MichaelSeph's Avatar Member
    Reputation
    1
    Join Date
    Aug 2016
    Posts
    1
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Pepejson View Post
    Yeah, give me it then. :P Just kidding don't do it

    Wrote it with condition to avoid spam. I know it'll be most likely tomorrow.

    I saw what you did when you edited it 15 min ago, you said your next post will be of a CLEAN bot release and use our old save and stuff, which is why you got 2 thankings there xD

    Guess your attempt at the NecroBot failed so you are going to take more time.

  16. #29
    alexbaas's Avatar Member
    Reputation
    2
    Join Date
    Aug 2016
    Posts
    8
    Thanks G/R
    2/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks bro for your explanation and does this also mean the Rocket API need to be changed?

  17. #30
    dermeix's Avatar Member
    Reputation
    4
    Join Date
    Jul 2016
    Posts
    22
    Thanks G/R
    0/3
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by Mich43 View Post
    No need to be an "h4x0r" to understand what's going on right now.
    it was ironic... all he wrote was written before
    Last edited by dermeix; 08-03-2016 at 05:23 PM.

Page 2 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. [Selling] Pokemon GO LVL 20 - 22 FOR $4. [SAFELY BOTTED] [DRAGONITE, SNORLAX, GYARADOS]
    By wetakekills in forum Pokemon GO Buy Sell Trade
    Replies: 1
    Last Post: 08-20-2016, 03:56 AM
  2. [Buying] Buying Pokemon GO account (deducted price for hacked or botted accounts)
    By ObliviousCSGO in forum Pokemon GO Buy Sell Trade
    Replies: 0
    Last Post: 08-06-2016, 02:06 AM
  3. NPC Lua script not working. (For unknown reason)
    By Joakim Karbing in forum WoW EMU Questions & Requests
    Replies: 4
    Last Post: 03-10-2016, 06:14 PM
  4. Changing realmlist is not working
    By TheParadiseServer in forum World of Warcraft Emulator Servers
    Replies: 6
    Last Post: 04-24-2011, 11:20 PM
  5. [Misc] [??] Display ID change not working & "Must have melee wep" for Custom Weapons
    By noodleman1 in forum WoW EMU Questions & Requests
    Replies: 24
    Last Post: 06-09-2010, 04:38 PM
All times are GMT -5. The time now is 10:06 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search