-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Do not save capture rate in db #72
Conversation
Some of the most useless data in our databases
Why useless? Not used in ReactMap? Which impact on storing that information? |
These rates differ by account (catch badges). See also: WatWowMap/Chuck#29 |
ReactMap does not use this info, due to it being inaccurate for everyone. |
Will need rebasing |
Should we also drop the columns and webhook data? |
As I can think of only Poracle uses it. somebody could reference it in the DTS https://github.com/KartulUdus/PoracleJS/blob/develop/src/controllers/monster.js#L215 |
#65 already stopped processing the rates btw. 😝 |
It's right the data parser doesn't record them; the question is whether we should include them in webhooks by calculation magic (or someone should provide a PR to poracle) |
As in each user would save their gym badges to the poracle table to do calculations? |
I meant base rates |
*Catch badges, not gym badges. :) |
I think it would be on the frontend to calculate base rates. it's as if we were to store pokemon types, names, movesets, etc. it's not on Golbat to save this. |
So for providing the catch rates in front-end we need at least the cpMultiplier, that's part of the pokemon proto. So we would need a possibility to gather that information for every mon is the base cpMultiplier in gamemaster available @TurtIeSocks ? |
I don't believe so. But the jsons are available in many places |
already done in #74 |
I'm not really sure why you'd need CPMs from the gamemaster. to calculate a catch rate, you need
|
CPM=cpMultiplier ? |
No, the CPM (yes, CP multiplier) is a 1:1 mapping to the level. each pokemon level has one specific CPM assigned to it. this is then used to calculate CP and catch rates |
so yes, then golbat should store it or send in webhook... that's not done yet, we ignore that field now as we don't process capture rates anymore. |
Removes capture rate from the db, since it's entirely useless. Still sends in webhooks though.
Based off of #65 , merge that one first