mchristopher / PokemonGo-DesktopMap

Electron App around PokemonGo-Map
https://pokemon-go-updater.mike.ai/download
MIT License
1.76k stars 393 forks source link

Is anyone working on a hotfix for the db thread > 50 issue? #1235

Closed loiacj closed 2 years ago

loiacj commented 8 years ago

Honestly, that's the only thing that stops the program from running. It only started happening in the last five days. I miss being able to leave it up and just view it while I'm out and about on campus.

I've tried: Uninstalling and Reinstalling Running as Administrator Using all PTC Accounts only Using all Google Accounts only Increasing the scanning radius Decreasing the scanning radius Crying profusely Resetting my ipaddress

Any update on the current project would be appreciated. I love the program and would like to see it running smoothly again. You guys are the best ^-^

srenobdrawkwa commented 8 years ago

This is my issue, what does Db>50 code mean? I have tried all new PTC accounts even chosen the buddy for each and also tried increasing/ decreasing accounts and radius. Resetting my IP address. And just signed into the accounts they still work, could the soft ban possibly not lift until you try to catch another Pokemon?

srenobdrawkwa commented 8 years ago

Don't worry about the SoftBan theory lol, very sleep deprived and after rereading it I realised even with a soft ban they should still see the Pokemon spawn 😅

loiacj commented 8 years ago

It's not even a ban. It's something to do with the database I think. Not sure. But I'd like it to be fixed so I can just leave my scan up

loiacj commented 8 years ago

What's really upsetting is that the scan just entirely slowly dies out. It doesn't show the areas being scanned slowly like it usually would going around in the circle making the rounds. Just really frustrating

srenobdrawkwa commented 8 years ago

Yeah just looked up what the code means on Google and it's way to deep for me to understand 😓 I just want to use the scanner lol I set it all up and have Made 88 accounts to date trying to sort it and have never got in to work once lol 😰

loiacj commented 8 years ago

I had it working for a week straight. 5 Dragonites spawned at my uni on the south side, so yeah, we have good stuff here. I'd like to know when it spawns so I can go get it xc

jasonasey commented 8 years ago

I get this too, not sure what it is.. Any more ideas?

loiacj commented 8 years ago

bump

EvilLost commented 8 years ago

If you guys are using too many accounts to be hitting this problem, its probably time to upgrade to the command line version.

loiacj commented 8 years ago

what does that mean?

mitchganjjah commented 8 years ago

Anyone ever figure this out???

loiacj commented 8 years ago

Lower number of accounts until the message stops appearing in console

mitchganjjah commented 8 years ago

Thanks. Thats what Im trying now. Is it caused by too many accounts or too big of a step radius?

loiacj commented 8 years ago

I'm not sure which one exactly. I use a 10 radius and can get about 13-14 accounts for it to become stable

Burbankian commented 8 years ago

if you don't care about pokestops ( or gyms)
you can disable them in config (if you haven't yet)

secondhandnudes commented 8 years ago

@HollyKohai Any tips on how you set this up to not break after running through a single scan? I've got fewer accounts running at a smaller radius and cannot get it to run continuously. Completely uninstalled and deleted all files and did a fresh install and still running into the issue right away

loiacj commented 8 years ago

@secondhandnudes basically i left the scan radius at 10, put the accounts down to 8, and just increased the number of accounts after leaving up for 20 minutes without issue (checking developer tools in case the >50 happened again. If it does, you've gone too far)

secondhandnudes commented 8 years ago

@HollyKohai Thanks, going to start working through process of elimination here to see why I'm not getting same results. I keep gyms, lured pokestops, pokemon, and spawn points up on scanner. Do you think any of this has an effect / what are you tracking? Right now I have radius 8 and 12 accounts; going to cut accounts in half and work up from there if that works.

EternisRequiem commented 8 years ago

@Burbankian I don't know how to do this in the desktop app version? I saw you can add this to config in the main pogo map thread, but I don't know how to implement it...

webhook-updates-only: true

only sendeupdates to webhooks, (excludes gyms & non-lured pokéstops)

Burbankian commented 8 years ago

I didn't touch the webhookupdatesonly I just removed the "#" from 'no-gyms' and 'no-pokestops' and set them to true I'm running 30accounts on 25 radius

EternisRequiem commented 8 years ago

Where is this located in the desktop map config? I can't even find the config in all the damn folders lol

Burbankian commented 8 years ago

go to the PoGodesktopmap file location > app "version" > resources > app > map > config if you havent touched anything there yet, there will be an EXAMPLE file there, just turn it into config.ini
NotePad++

ghost commented 8 years ago

When I use the config file with even a single line uncommented, the program refuses to work again, it's just stuck on "Loading, wait..." forever, unless I delete the config file.

almaloul commented 8 years ago

Honestly I had the same issue with the non html based version and it turned out to be the actual Sqlite db built into the build not being able to be used my multiple writers properly, I setup mariadb and input the mysql info in to config and now am running 70+ workers (accounts) with no error db thread >50, not sure if that helps with the desktop version

almaloul commented 8 years ago

Burbankian's suggestion is correct, try downloading mariadb and set up a new db, then alter config.ini to run on mysql not the default Sqlite and input all of the information, see if that works

almaloul commented 8 years ago

Use notepad++ to modify config.ini

Burbankian commented 8 years ago

@IonJam did you also fill in username, password, location, and gmaps key?
those fields are required, and dont forget to remove the '#'

AerosHawk commented 8 years ago

Could anyone drop an attachment of their working config file? I'm not able to get mine working. Please edit personal info too as I don't want to be held liable for that kind of thing.

Really I just need an example of a working config file to see if I can do this. I have 20 accounts, and a radius of 7 set up. I get one search, usually on the top half first, some delay for it to hit the bottom half, and then nothing it quits out till I restart it.

loiacj commented 8 years ago

@AerosHawk I use around 12 Accounts for 10 Radius. (Sometimes it'll stop working after a few days so I go down to 11 accounts).

So decrease your account numbers to only 5 accounts, see if the increase db thread comes back, if not then increase till it does, then you know the limit for your 7 radius.

AerosHawk commented 8 years ago

@HollyKohai Still wish I could replace the sqlite db...

Burbankian commented 8 years ago

this is my config.ini (with edited user/pass/loc/ApiK)
it comes with disabled gym and pokestop detection
if you want those to be detected, just put "#" before those lines https://www.dropbox.com/s/lmprdmvf9sa77nv/config.ini?dl=0

remember to use NotePad++

secondhandnudes commented 8 years ago

Thank you to everyone giving advice in this thread. I used the config.ini from @Burbankian and filled in my own values, and now appear to be successfully running my full 12 accounts without any database errors. I didn't download mariadb and set up a new db or anything, but if anyone else is having an issue getting the config.ini working, post in here and I'll try to help

EternisRequiem commented 8 years ago

Do you leave config.ini in the config folder or put it in app folder, or...? I just see in the dev tools console that it's reporting pokestops and gyms still (or does this still happen?)

secondhandnudes commented 8 years ago

I left it where it was, and I also disabled pokestops but not gyms; the dev tools console reports "0 pokestops and x gyms"

Burbankian commented 8 years ago

it should be in the config folder
resources > App > map > config (this one)

PokeFinders commented 8 years ago

Finally! This build now actually works the way it was intended after disabling the pokestop detection. Much thanks to @Burbankian for the jumpstart on the config.ini! I've got 40 accounts running on a 30 radius that sweeps the entire area once every 14 minutes.

mitchganjjah commented 8 years ago

I feel like an idiot but I can't find config.ini or any installed file for this map. The only file it puts on my system is the PokemonMap-Win.exe that i downloaded. Where is the install???