Update

10/12/14: More Favorite Pokémon Picker stuff

I fixed a pesky bug in the Favorite Pokémon Picker, where undoing the same pick multiple times would fail to properly restore the previous state, resulting in possible duplication or deletion of Pokémon. Along with the fix, I added better detection of any errors - it should now immediately alert you and reset your state if either the internal Pokémon lists don't contain exactly the right number of Pokémon put together or if any Pokémon appears more than once across all the lists, which should cover all possible bugs in this unless some kind of sorcery is going on. If you do bump into one of these alerts during normal use of the picker, please let me know.

I also added a hidden-by-default explanation of how the picker works, which goes more in depth about both how it works and why it works the way it does. It should hopefully clarify things for the many people who have seemed to be confused by things like why "Pass" is equivalent to picking every Pokémon.

Finally, I made a tweak that should make things feel a bit more balanced. Before, if there weren't enough Pokémon left in the current round for a full batch, it would just shuffle the Pokémon and move on to the next round, so that the leftover Pokémon got shuffled randomly in with Pokémon you'd actually picked in the previous round. This confused people, since they'd start seeing Pokémon they'd already seen before without having seen every other Pokémon first. It was even possible for a Pokémon to happen to be "left over" for multiple rounds in a row, resulting in it only popping up after you've seen other Pokémon three or four times. Now, however, I've made it so that the leftover Pokémon from the previous round (if any) always appear at the very start of the next one, which should prevent the perception that some Pokémon just aren't appearing at all.

Comment on this - View comments

Post comment

Rude, offensive or otherwise inappropriate messages, including drama, controversy or other topics that might make others uncomfortable, will be deleted on sight. Repeat troublemakers will be banned altogether. Please keep any websites entered into the website field reasonably family-friendly. You can use BBCode (forum code) to format your messages.

  • [b]Bold[/b]
  • [i]Italic[/i]
  • [u]Underlined[/u]
  • [s]Strikethrough[/s]
  • [url=http://www.dragonflycave.com]Link[/url]
  • [spoiler]Spoiler[/spoiler]
378 Fun fact: The above sprite has a 1/8192 chance of being shiny. Feel free to brag if you get one.

Comments

My own messages will be signed as Butterfree, with the Admin label below my name. If someone signs as Butterfree without that label, it's probably not me.

Butterfree
Admin
Website: The Cave of Dragonflies
Commenting on: 10-12-14

You've got an extra {" in there, just before "id": "62", while a {" is missing just before id": "130". If you fix that, it's valid.

[22/07/2021 17:13:18]

Seamus T McCarthy
Website: Dragonfly Cave
Commenting on: 10-12-14

Why doesn't this import state I made valid?

{"eliminated":[{"id":"126","eliminatedBy":["136"]},{"id":"136","eliminatedBy":["78"]},{"id":"78","eliminatedBy":["146"]},{"id":"146","eliminatedBy":["38"]},{"id":"38","eliminatedBy":["6"]},{"id":"6","eliminatedBy":["59"]},{"id":"119","eliminatedBy":["55"]},{"id":"55","eliminatedBy":["117"]},{"id":"117","eliminatedBy":["99"]},{"id":"99","eliminatedBy":["134"]},{"id":"134","eliminatedBy":["87"]},{"id":"87","eliminatedBy":["80"]},{"id":"80","eliminatedBy":["91"]},{"id":"91","eliminatedBy":["73"]},{"id":"73","eliminatedBy":["62"]},{"{"id":"62","eliminatedBy":["9"]},{"id":"9","eliminatedBy":["121"]},{"id":"121","eliminatedBy":["130"]},id":"130","eliminatedBy":["131"]},{"id":"114","eliminatedBy":["45"]},{"id":"45","eliminatedBy":["71"]},{"id":"71","eliminatedBy":["103"]},{"id":"103","eliminatedBy":["3"]},{"id":"101","eliminatedBy":["82"]},{"id":"82","eliminatedBy":["26"]},{"id":"26","eliminatedBy":["135"]},{"id":"135","eliminatedBy":["125"]},{"id":"125","eliminatedBy":["145"]},{"id":"122","eliminatedBy":["97"]},{"id":"97","eliminatedBy":["151"]},{"id":"151","eliminatedBy":["65"]},{"id":"65","eliminatedBy":["150"]},{"id":"124","eliminatedBy":["144"]},{"id":"108","eliminatedBy":["113"]},{"id":"113","eliminatedBy":["36"]},{"id":"36","eliminatedBy":["40"]},{"id":"40","eliminatedBy":["137"]},{"id":"137","eliminatedBy":["132"]},{"id":"132","eliminatedBy":["20"]},{"id":"20","eliminatedBy":["53"]},{"id":"53","eliminatedBy":["115"]},{"id":"115","eliminatedBy":["143"]},{"id":"143","eliminatedBy":["128"]},{"id":"57","eliminatedBy":["107"]},{"id":"107","eliminatedBy":["106"]},{"id":"106","eliminatedBy":["68"]},{"id":"83","eliminatedBy":["18"]},{"id":"18","eliminatedBy":["22"]},{"id":"22","eliminatedBy":["85"]},{"id":"110","eliminatedBy":["42"]},{"id":"42","eliminatedBy":["24"]},{"id":"24","eliminatedBy":["89"]},{"id":"89","eliminatedBy":["31"]},{"id":"31","eliminatedBy":["34"]},{"id":"28","eliminatedBy":["51"]},{"id":"51","eliminatedBy":["105"]},{"id":"105","eliminatedBy":["112"]},{"id":"76","eliminatedBy":["95"]},{"id":"95","eliminatedBy":["139"]},{"id":"139","eliminatedBy":["141"]},{"id":"141","eliminatedBy":["142"]},{"id":"47","eliminatedBy":["49"]},{"id":"49","eliminatedBy":["12"]},{"id":"12","eliminatedBy":["15"]},{"id":"15","eliminatedBy":["127"]},{"id":"127","eliminatedBy":["123"]}],"survived":[],"current":["59","131","3","145","150","144","128","68","85","34","112","142","123"],"evaluating":["149","94"],"favorites":[],"settings":{"shiny":false,"majorOnly":true,"finalOnly":true,"spoilers":true,"generations":[1],"types":["normal","fire","water","electric","grass","ice","fighting","poison","ground","flying","psychic","bug","rock","ghost","dragon","dark","steel","fairy"],"maxBatchSize":2},"roundSize":80}

[22/07/2021 16:40:40]

Page last modified October 24 2023 at 19:40 UTC