Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Implementing the new api into the Scanner #414

Open
6 tasks
Su9m7 opened this issue Oct 24, 2016 · 96 comments
Open
6 tasks

Implementing the new api into the Scanner #414

Su9m7 opened this issue Oct 24, 2016 · 96 comments

Comments

@Su9m7
Copy link

Su9m7 commented Oct 24, 2016

Checklist

  • I have read the FAQ
  • I have checked if this issue already exists (both open and closed issues)
  • I am using the most recent version of pogom from the master branch
  • If this is an installation issue, I am posting my OS, OS version, python version, pip version
  • I'm posting the complete log
  • I'm using a descriptive title for this issue

My Issue

Is there anyway to implement the new api into the pogom scanner? My coding skills aren't high enough to understand the scanner's code or to edit the code.

...

@smartcuc
Copy link

Good question. Not sure by when the new API will be released, but is PoGoM still under development?

@CookiesOfficial
Copy link

I think so

@smartcuc
Copy link

Would be great. I like PoGoM, is my favorit app.

@CookiesOfficial
Copy link

Wait it there a app for pogom

@HerrTapper
Copy link

the new api is live, lets hope it gets implemented soon!

@Brandje
Copy link

Brandje commented Nov 10, 2016

yes please, pogom is the best scanner out there

@Paralysing
Copy link

Paralysing commented Nov 11, 2016

If you are running on a 64bit version of linux, such as ubuntu, try this: https://github.com/PokeHunterProject/pogom-linux. It isn't using the latest api since no one has 0.45.0 re'd yet.

@Brandje
Copy link

Brandje commented Nov 12, 2016

Thx for that Paralysing, now just need to figure out how to get rid of the rate limited errors

@Paralysing
Copy link

Already patched for 0.45.0, will apply a few patches that I use on my website to minimize empty responses. I would also recommend using a lot of accounts.

@Su9m7
Copy link
Author

Su9m7 commented Nov 12, 2016

Paralysing, a Windows version would be very nice. Would that be possible?

@Paralysing
Copy link

Yes, I'll see what I can do, shouldn't be too hard.

@Paralysing
Copy link

@Su9m7
Copy link
Author

Su9m7 commented Nov 12, 2016

Yes, i will check it :)

@Su9m7
Copy link
Author

Su9m7 commented Nov 12, 2016

Console crashes after starting it. Do I have to install the requirements.txt again or anything else?

@Paralysing
Copy link

Any specific error messages? Are you on a 64bit version of windows?

@Su9m7
Copy link
Author

Su9m7 commented Nov 12, 2016

Yes 64bit Windows. Tried it on 2 pc's. Cant read anything on the console, it crashes too fast

@Paralysing
Copy link

I'll check if there are any issues.

@Paralysing
Copy link

Paralysing commented Nov 12, 2016

Added a patch for library path, could you replace the contents of pogom/utils.py with https://github.com/PokeHunterProject/pogom-windows/blob/master/pogom/utils.py or pulling the latest version?

@Paralysing
Copy link

Also, try running the program in cmd with the command "c:\python27\python.exe runserver.py" instead of double clicking.

@Paralysing
Copy link

Paralysing commented Nov 12, 2016

Windows instructions:

  1. Pull the latest verson from github
  2. Hold shift and right click in the main folder, click "Open command window here"
  3. In the command window, type "python runserver.py", if that doesn't work, try "c:\python27\python.exe runserver.py"

@Su9m7
Copy link
Author

Su9m7 commented Nov 12, 2016

@Paralysing
Copy link

Go to localhost:5000 in a browser and configure the map, the rest is exactly the same as the old pogom.

@Su9m7
Copy link
Author

Su9m7 commented Nov 12, 2016

Working, thanks a lot, you legend

@Su9m7
Copy link
Author

Su9m7 commented Nov 12, 2016

btw would it be possible to implement pushbullet notifications? #317

@Paralysing
Copy link

Should be fine if you want to implement it yourself, that PR doesn't affect the api, so there shouldn't be any conflicts.

@Su9m7
Copy link
Author

Su9m7 commented Nov 13, 2016

It crashes after the changes, error message says its because of the changes in runserver.py. Do you have any idea how to solve that? :/

@Paralysing
Copy link

I'll implement it myself and check, might be because that PR is based off a very old version of pogom, but I'll need to test it first.

@Paralysing
Copy link

I got a running application, but I don't have a pushbullet key, could you try the "pushbullet-test" tree (https://github.com/PokeHunterProject/pogom-windows/tree/pushbullet-test)?

@Paralysing
Copy link

@Su9m7 Does the "pushbullet-test" branch work?

@Su9m7
Copy link
Author

Su9m7 commented Nov 13, 2016

Sorry, still testing, propably not

@MartynTech
Copy link

ill take a look into 146. I do have a domain that I can setup for https.

and thanks for the heads up. I rushed to stop the server as soon as I saw your message!

@Paralysing
Copy link

No problem, next time I release an update, a warning will show up whenever the scanner api isn't up to date.

@Paralysing
Copy link

Working on patching pogom for 0.51, I'm not at my normal setup so development might be slower. Will hopefully be done soon.

@M3G4THEKING
Copy link

@Paralysing thank you , you have made a nice job until now and i'am here to test and find bugs :)

@Paralysing
Copy link

Surprisingly, finished patching in a few hours. Going to finish stability checks and I'll release it.

@Paralysing
Copy link

For anyone still using pogom, https://github.com/PokeHunterProject/pogom-updated is where the code running on the 0.51 api is hosted. Use the -k argument to enter your hashing key, use -sd to put a delay between getmapobject requests.

@M3G4THEKING
Copy link

@Paralysing thanks for you great work, i gonna try today and give you return :)

@MartynTech
Copy link

I have an API key and installed it. However when I try and scan I get a message saying that a response is received but has no data. any ideas?

@Paralysing
Copy link

Operating system?

@MartynTech
Copy link

windows 7

@Paralysing
Copy link

I'll boot up a w7 laptop and test it.

@MartynTech
Copy link

thanks

@Paralysing
Copy link

Found the issue, I pushed my test version without the new libs, I'll update it now.

@Paralysing
Copy link

Redownload the repo and try again?

@MartynTech
Copy link

it appears to be working now thanks.

What would a good scan delay be as I have mine set at 30 and its pretty slow with 150 accounts.

@Paralysing
Copy link

I usually either use 1ms or 0, the hashing server slows everything down due to the latency.

@Paralysing
Copy link

The delay was mostly to make sure that the requests don't get throttled by the hashing server.

@Paralysing
Copy link

The delay varies for the amount of accounts and the amount of requests you can make with your key.

@MartynTech
Copy link

right okay, I have set mine to 5ms and i'll see what happens. it was the 150RPM key I purchased. I'm thinking that was a mistake now and should have gone for the 500.

@MartynTech
Copy link

how can I add the ability to use current location on the map? I have a domain I could use for SSL

@Paralysing
Copy link

Setup SSL, the map will automatically geolocate when you allow it to access your locations.

@MartynTech
Copy link

how do I enable SSL on the map?

@Paralysing
Copy link

A free option is to use cloudflare ssl or you could buy an ssl certificate, but cloudflare should be enough.

@MartynTech
Copy link

i have added my domain to cloudflare, do i need to install a certificate or anything into the map?

@Paralysing
Copy link

No, just need to enable the cloud button on the dns settings and set ssl to flexible in crypto.

@Paralysing
Copy link

Also, for anyone still using pogom, pull the latest version, BuddyAuth changed the endpoint for hashing, so we had to edit the url we were sending and recieving with.

@darkeagl
Copy link

@Paralysing thx for the great work. Can you update the readme with the new values -k and -sd so we dont need to search for them.
And wouldnt it be better to switch the conversation to the ongoing repo than still writing here?

@Paralysing
Copy link

Sure, I'll update the readme, would be great if I could get maintainer on this repo so everything doesn't need to be shifted.

@darkeagl
Copy link

And if not possible, just shift it and who still wants to use it will follow.
Did you pull the IV and password pulls in your repo or is it the plain one, because I would like those implement if possible for them IV with filter and on/off switch

@Paralysing
Copy link

The version I released is without any addons, as long as the pull requests don't affect the api too much, they should still be able to be merged manually.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests