FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add "New Spawn" group to fix issue #2469. by BrownSlaughter · Pull Request #2487 · RocketMap/RocketMap · GitHub

Add "New Spawn" group to fix issue #2469. - #2487

Open
BrownSlaughter wants to merge 5 commits into
RocketMap:developfrom
BrownSlaughter:patch-2
Open

Add "New Spawn" group to fix issue #2469.#2487
BrownSlaughter wants to merge 5 commits into
RocketMap:developfrom
BrownSlaughter:patch-2

Conversation

BrownSlaughter commented Feb 9, 2018
edited
Loading

Copy link
Copy Markdown
Contributor

There is a current issue of a brand new pokemon spawn and it will not be set a rarity until the dynamic rarity filer is updated.

We could set all new pokemon to ultra rare but for people who dont update rarity often this would mean things as common as pidgey would stay ultra rare until rarity file is next updated.

This way sets all new pokemon as a "New Spawn" and once the rarity file is updated it will be sorted properly. I added "New Spawn" to notify by rarity on the side bar and also included it in scale by rarity.

This will fix Issue #2469

How Has This Been Tested?

Tested on a live map and simulated new spawns to test it

Types of changes

  • [ x] Bug fix (non-breaking change which fixes an issue)
  • [x ] New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

BrownSlaughter changed the title add new spawn group to fix issue #2470 add new spawn group to fix issue #2469 Feb 9, 2018
sebastienvercammen added this to the 4.1.1 milestone Feb 12, 2018
sebastienvercammen changed the title add new spawn group to fix issue #2469 Add "New Spawn" group to fix issue #2469. Feb 27, 2018

sebastienvercammen left a comment
edited
Loading

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality
  • Missing update to get_pokemon_rarity in utils.py to return New Spawn for new spawns.
  • updatePokemonRarities is only called once in the JS, so new spawns will stay new spawns until the visitor refreshes the page after a Pokémon has been scanned.
  • 0 entries in DB = no data in rarities file = "New Spawn". But 1 entry isn't enough to define its rarity. (Arguably a problem that fixes itself with dynamic rarity and calling updatePokemonRarities on a timer.)

Copy link
Copy Markdown
Contributor

Is webhook support possible for 'New spawns' ?

darkelement1987 commented Mar 16, 2018
edited
Loading

Copy link
Copy Markdown
Contributor

Did you consider adding the 'New spawns' to the rarity exclusion filter? Also does this work with 'Hide Unnotified'?

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dynamic rarity does not handle extremely rare species that didn't spawn in the time window

3 participants


Back | FazBrowse Home | New Git URL