-
Notifications
You must be signed in to change notification settings - Fork 635
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
Incorrect Encouter data in: gold, silver, crystal, heartgold, soulsilver, (Rarity totals don't add up to 100 for certain sets of certain condition values) #315
Comments
Nice catch! Given that there are other problems (#313) with the GSC encounters, i wonder if they should be reverted until a proper rip can be done. I'm not sure what's going on with the S.S. Anne Dock encounters in HG/SS. |
For fun I've checked the last 2 of the 25 records. The encounters of last one would sum to 100 if not for the inclusion of encounter 26620 which is a no-condition 60% wingull (perhaps this was meant to have the 'during a swarm' condition attached as Bulbapedia mentions that that is the one encounter for swarm). The second to last seems confusing. Among its encounters there are several Magikarp encounters that sum to 100 all on their own. The other encounters are of the right mons, but their rarities don't match with Bulbapedia. In fact location_area_id = 349 (S.S. Anne dock) seems to have no encounters with any attached conditions (no swarm at all). |
Interesting. Maybe the conditions got accidentally dropped somehow? I was also wondering if maybe encounter data from two different areas accidentally got combined. |
Could be. I'm also thinking about being skeptical towards Bulbapedia rarities for this location. I don't see how rarities of 3% or 7% can exist when encounter_slots for the HG/SS version group encounter method Super Rod can only be [5,10,15,30,40] which can never sum to 3 or 7. Maybe in the second to last example, your rarities are good (sum to 100) with the exception of the magikarps (additional 100) somehow ? I also just checked the third to last and there aren't any clues besides re-use of the same |
I made a different kind of lookup where instead of looking for bad rarity sums, it looks for duplicated sets of : ( From this query and a quick visual comparison, they all seem to correspond to some within the previous 25 bad combos, or rather a subset actually, but nothing new. Some have counts of 2 or even 3. I cannot guarantee that removing them or adding conditions to them or rearranging them to different ( |
Looks like the HG/SS S.S. Anne Port encounters were added in a separate commit from the rest of the HG/SS encounters: 373ec78. That commit didn't add any encounter conditions, so i guess they've been missing since the beginning. |
Looking at the ROM, i don't actually see any separate encounter data for the S.S. Anne Dock. I could be missing something, but is it possible that the Dock encounters were simply copied over from the main Vermilion City encounters? |
On top of that, it's not called the S.S. Anne in HG/SS, it's called the S.S. Aqua, and from watching a walkthrough video it doesn't look like there's any way to surf or fish on the dock (the sides are roped off). I think these encounters are bogus. |
I've seen some other issues relating to bad encounter data, but they were limited in scope or closed. I've queried the DB for combinations of
location_area_id
,version_id
,encounter_method_id
, combination ofencounter_condition_values
and summed the rarities. Only 25 / 141,822 combos (excluding gift-likeencouter_method
s) did not add up to 100.The 25 combos are presented below (id based and human-readable)
ID Based Version
(
h_ecv_N
means what is the encounter_condition value corresponding toencounter_condition
= N in our hypothetical scenario. A value of null implies no suchencounter_condition
= N exists inencounter_condition_value_map
for thelocation_area_id
,version_id
,encounter_method_id
combo):Human-readable version (I believe ordered the same):
Lets check whats going on for the first record:
Get all associated encounters and their rarity values in the first
location_area_id
,version_id
,encounter_method_id
comboQuery
Result
Notice that the rarity sum of these encounters is > 100 ? But this is irrelevant unless ALL of these encounters can be fulfilled at once by a given set of values for
encounter_condition
s.Now lets simply join with
encounter_condition_value_map
to see if there are any conditions on these encounters.Query
Result
Nothing!
This means that previous set of encounters are satisfied by any combo of
encounter_condition_values
, and yettheir rarity sum is > 100. Problem detected.
Furthermore if we check Bulbapedia - Cherrygrove_City we can that there are encounter conditions for Cherrygrove City in Gen II (silver) using the Super Rod. I suppose some updates to
encounter_condition_value_map
are needed.If interested in the wall of queries and temp tables I used to automatically detect these inconsistencies, let me know.
The text was updated successfully, but these errors were encountered: