pokemongo-webspoof icon indicating copy to clipboard operation
pokemongo-webspoof copied to clipboard

Altitude

Open eq2kazial opened this issue 8 years ago • 26 comments

With the discovery that the game also uses altitude in its communications with Niantic's servers, how does this app handle altitude? Is it the same number constantly (and thus easy for them to detect?) or is it something we can customize?

eq2kazial avatar Aug 06 '16 03:08 eq2kazial

It sends nothing. The variable never pulls. This will be an enormous red flag and any account you've used this on will almost definitely be banned. All your Pokemon captures, Poke Stop spins, and Gym Battles will have a logged Altitude of nothing (blank). It's worse than having the same altitude all the time.

You can download one of the many free altitude checking apps to confirm this while it's running.

JoTestry avatar Aug 06 '16 07:08 JoTestry

The current app only uses Google's Directions API, which does not send elevation information. Jotestry's right, there's no logged altitude. One fix could be using Google's elevation API to get elevation data.

jamesjia94 avatar Aug 06 '16 08:08 jamesjia94

=(

HoDaDor avatar Aug 07 '16 23:08 HoDaDor

Can @iam4x or any other coder implement altitude to the app?

eq2kazial avatar Aug 08 '16 04:08 eq2kazial

I am afraid this project is dead. I did some testing with the code and altitude is always 0 when using this gps spoof technique. Unfortunately this relies on using xcode to simulate the GPS coordinates and at this time xcode does not have the ability to simulate altitude.

m4hx avatar Aug 08 '16 04:08 m4hx

༼ つ ಥ_ಥ ༽つ

Thanks for the attempt @m4hx

HoDaDor avatar Aug 08 '16 04:08 HoDaDor

Red flag indeed :/

MoOx avatar Aug 08 '16 15:08 MoOx

@m4hx would these links help?

http://stackoverflow.com/questions/9439495/when-using-gpx-in-xcode-to-simulate-location-changes-is-there-a-way-to-control/9439580#9439580

https://developer.apple.com/library/ios/documentation/ToolsLanguages/Reference/UIATargetClassReference/index.html#//apple_ref/javascript/instm/UIATarget/setLocationWithOptions

At least maybe set something other than 0 outside of the gpx file?

ehad16 avatar Aug 08 '16 18:08 ehad16

Perhaps set a config variable to set and program in some fluctuation so the elevation variable doesn't remain constant?

Elevation data here: http://viewer.nationalmap.gov/basic/?basemap=b1&category=ned,nedsrc&title=3DEP%20View

HoDaDor avatar Aug 08 '16 19:08 HoDaDor

Can you link to where this discovery was found?

nickg819 avatar Aug 09 '16 00:08 nickg819

Few threads talking about it in the PoGo Dev reddit, here is one.

https://www.reddit.com/r/pokemongodev/comments/4wdpue/so_waitthe_game_verifies_altitude_thats_going_to/

ehad16 avatar Aug 09 '16 00:08 ehad16

I've found this guy on the look for alternatives: https://github.com/vermont42/GpxLocationManager

Not sure it helps on this project, and I'm not a ios/swift developer as well, but looks like this guy offers some classes that allow simulating location with elevation information based on gpx files.

filipechagas avatar Aug 09 '16 13:08 filipechagas

It would be nice if someone is comfortable enough with ios/xcode dev to handle this via PR. Should be a high priority since we could all be banned because of this.

MoOx avatar Aug 09 '16 18:08 MoOx

I guess if niantic is becoming serious about this (that's what we can read if you take a look to niantic ceo replies on twitter), we could even be banned retroactively...

MoOx avatar Aug 09 '16 18:08 MoOx

You're right. And, besides the elevation (altitude) thing, if they start checking the accelerometer to make sure the player is in motion, we might as well just wind up not being able to use spoofing altogether.

filipechagas avatar Aug 09 '16 19:08 filipechagas

Any updates on adding altitude? If not, anyone know another similar program to spoof on iOS that does?

eq2kazial avatar Aug 11 '16 00:08 eq2kazial

@iam4x is probably on vacation according to his github activity stream. Nobody has access to the repo except himself so we have to wait. Meanwhile anyone can make a PR with this improvements and everyone will be able to use it.

MoOx avatar Aug 11 '16 08:08 MoOx

I doubt there is any solution. The only way to simulate any iOS data without jailbreak is to use Apples tools. But Xcode has afaik no built-in solution to fake altitude. There -was- a way to simulate altitude using automations but I think the support got dropped with iOS10.

grinsekatze003 avatar Aug 11 '16 09:08 grinsekatze003

Did actually someone got banned using this ?

Ivan-Mak avatar Aug 18 '16 15:08 Ivan-Mak

I got a soft ban after using it once.

filipechagas avatar Aug 18 '16 17:08 filipechagas

@AnySkill Not yet for myself.

iam4x avatar Aug 18 '16 18:08 iam4x

I just got some soft bans but it was because I moved to quickly (and sometimes, not on purpose). No permanent ban (yet?) and I used it probably some hours already.

MoOx avatar Aug 18 '16 20:08 MoOx

@filipechagas I never used other applications and scripts third-party?

adrianoresende avatar Aug 20 '16 21:08 adrianoresende

@filipechagas The GpxLocationManager won't work. It's scoped to the app running it, not system wide.

This could be possible to override using Automation, but I don't know if it's feasible.

But there is an alternative... the hardware alternative. On iOS you can connect an external GPS and the system will use it as it's location hardware (at least on iPods and SIM-less iPads, which don't have the GPS chip, but will probably work on every iOS device). Better yet, it seems to be possible to do that over bluetooth.

(And I'm going to stop here and let someone with iOS Bluetooth communication background to take over)

EDIT: Something like this: https://www.youtube.com/watch?v=RTgdZz2U1Bg

KTachyon avatar Aug 23 '16 11:08 KTachyon

Automation doesn't work with the current iteration, I've just checked using various options.

var target = UIATarget.localTarget();

var location = {
latitude: 0,
longitude: 0`
};

var locationOptions = {
altitude: 20,
horizontalAccuracy: 10,
verticalAccuracy:15
};

target.setLocationWithOptions (location, locationOptions);

Going to keep trying, but I've read around it's not possible anymore (though I can't remember where I read it).

ghost avatar Aug 27 '16 02:08 ghost

Has there been any development on implementing some sort of altitude value into this project?

GForceWeb avatar Oct 11 '16 08:10 GForceWeb