modrzew / pokeminer

Pokemon location scraper
MIT License
220 stars 62 forks source link

Fort Prestiege Issues #262

Open nhumber opened 8 years ago

nhumber commented 8 years ago

Currently Gym Prestige is capped in the game at 50,000 and level 10 , Pokeminer reports an incorrect value when this scenario is met.

Gym is fully prestiged with open spots available and then a new trainer adds their Pokemon to the gym, 2000 extra prestige points are added even with the gym being capped at 50000, Pokeminer then reports 52000 from there out.

Problem scales up

50,000XP in gym with 5 extra open spots that get filled after its already full lvl reports 60,000 in pokeminer.

Can we get a hard cap on Gyms @ 50000, or look for the root cause.

untitled

Aiyubi commented 8 years ago

I also See 52000/50000 Prestige ingame. Everything is working fine

nhumber commented 8 years ago

no you only see that in game for less than a few minutes, if you click out of the gym it resets to 50,000 next time you view it.

everything isnt fine. lol

its skewing gyms.py output huge amounts for my city.

Ok so looking at my DB, this is obviously a game glitch where the "right" data never gets sent until someone battles or trains at one of the "over prestiged" gyms.. so gym says 62000/50000 , any player battles it and it "corrects" itself and reports 50,000, but i "think" pokeminer never corrects itself.

Any way to get a temp fix until Niantic fixes the underlying problem

if gym prestige =< 50000, only report 50000

?

Aiyubi commented 8 years ago

There is #243 which could explain why it possibly is not getting inserted in the db once it goes down.

modrzew commented 8 years ago

Can someone also confirm that >50k gyms get "corrected" to 50k in game? Unfortunately I have only a handful of such entries in my database and they are a few days old.

Aiyubi commented 8 years ago

@modrzew can confirm - we tested this today - will automatically go down to 50k

modrzew commented 8 years ago

Thanks @Aiyubi.

I wonder what's the best course of action here - just cap gym's prestige to 50k and don't care about overflow?

Aiyubi commented 8 years ago

My suggestion: