Comments (5)
It is not that easy unless we create a new variable configuration, as there is no easy way to know if the poke or instance has the encounter activated.
To avoid this all pokes without encounter info are shown right now.
The best solution I can think of is using the same configuration as encounter in RM and use that info in ARU to correctly filter pokes.
from worldopole.
Hmm what about:
Slider at minIV = 80%:
Mysql:
SELECT * FROM pokemon WHERE ... HAVING IV > minIV
Slider at 0%
Mysql:
SELECT * FROM pokemon WHERE ... HAVING IV > minIV OR NULL
PHP:
if (!data->iv){
iv = 0
}
This should display failed/non encounters at minIV = 0
from worldopole.
And with changing this we can only ask live pokemon in the rectangle we have zoomed the map. Should work.
from worldopole.
The problem with that solution is that changing the IV bar for any poke specie that it is not encountered will hide everything, and we will need to update the default minIV to 0.
Another option is doing a query to check if there is any poke with IV and use that as a switch to hide the IV select bar and change the request to aru to use one query of the other.
from worldopole.
After checking the source for another thing I did found that there is already such test (only filter by IV where there are IVs stored) so there is no problem in doing that a proper query where null = 0.
Also I think it will be great that the same check could be used to hide the filter bar in the frontend when there are not IV stored.
from worldopole.
Related Issues (20)
- Replace all .js.php files with pure js + ajax json load HOT 4
- Add nests to heatmap
- Suggestion HOT 1
- empty nest_exclude_pokemon --> SQL error
- Dynamic update of recent mythic spawns on homepage seems to be broken (on mobile?) HOT 4
- Add CP to recents and pokemon page HOT 1
- Add frontend toggles to nests map
- Use proper OOP instead of include_once
- internal error 500 php Restricted access aru.php and etc HOT 5
- Document variables.json HOT 5
- Monocle HOT 1
- Gym bug with new API
- map url in raids is hardcoded HOT 4
- Missing gyms will pevent Worldopole page from starting
- [Suggestion] Update 'Up-to-date demos' HOT 2
- Install issue HOT 3
- Live map of the pokedex, failing HOT 2
- Link to gym history does not work when gym name contains accented chars HOT 7
- Rework Worldopole to use OSM
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from worldopole.