Skip to content

v0.1.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@doshidak doshidak released this 05 Apr 03:04
· 2248 commits to master since this release

Big update!

Fixed a few bugs, improved initialization performance (but still needs a bit more work), added lots of QoL (Quality of Life) features, and cleaned-up the UI to look a little less Terminal-y.

(...Actually, still looks pretty Terminal-y, but looks more like zsh with powerlevel10k now, as opposed to vanilla bash before.)

What's New

General

  • Added auto-selection to the currently active Pokémon, enabled for each player by default.
  • Added visual indicators for stat changes as a result of statuses (Burn [BRN] & Paralysis [PAR]) and abilities.
    • Abilities Guts and Quick Feet will show indicators for a boost instead of a reduction.
    • Ability Slow Start will show a reduction indicator for ATK and SPE.
    • There are more abilities to account for, but these 3 should be fine for now.
  • Added light mode support. (This was originally developed using Showdown's dark mode.)
  • Added clickable Pokémon icons to the left of the name/HP/types/status to access its page on Smogon.
  • Added partial support for Z/Max/G-Max moves.
    • Max/G-Max detection (for gen 8) is a little awry. Fails to detect if the Pokémon is the G-Max forme.
    • Z moves (for gen 7) should work fine though.
    • There's no auto Z/Max/G-Max detection yet, so you'll need to manually toggle this option on.
  • Improved visual clarity in the UI, notably indicators for active/selected Pokémon.
  • Added minor performance optimizations.

Bug Fixes

  • Fixed missing PSN status (poisoned, not badly poisoned [i.e., TOX]).
  • Fixed Pokémon's HP not being factored into the move matchup calculation.
  • Fixed knocked-off/consumed items not clearing the Pokémon's item.
    • Note that if you manually change the item (you'll see a blue "RESET" button), the item won't be cleared!
      • e.g., Thundurus actually has Heavy-Duty Boots, but you switch it to Leftovers, then gets its item knocked-off. The item will still be Leftovers since you changed it, until you hit the blue "RESET" button (only then will it say None, as expected).
    • This is not a bug, but a feature: anything you manually change will stay that way, until you reset the value.
    • If the item was knocked-off, but the "RESET" button doesn't appear, that's a bug though (happened once during my testing).
      • (I don't believe my "fix" to be foolproof lmao.)
      • Fortunately, you can still manually clear the item by clicking the "X" icon next to the item dropdown.
  • Fixed incorrect sorting of Pokémon sets.
    • Sets that match the current battle's format should be at the top of the list.
      • e.g., a set called OU Choice Scarf should come first before UU Defensive Pivot and even OU-BDSP Choice Scarf in a gen8ou format.
  • Fixed occassional displays of "0.0% nHKO" or "100.0% nHKO" due to rounding errors.
  • Fixed Pokémon sets downloading multiple times simultaneously, causing some major slowdowns during initialization.
  • Fixed Aegislash crashing the extension, particularly when its current forme (Shield/Blade) cannot be determined from the battle state.
    • Defaults to the Blade forme when this happens.
  • Partially fixed mid-battle Pokémon forme changes that cause unexpected behavior.
    • Not all Pokémon are accounted for, so some forme changes may still crash the extension or cause unexpected behaviors.
    • Calcdex would think it's a new Pokemon, but ignores it since the player's team is already full (i.e., nothing will update).
  • Fixed a rare instance where if two players have the same Pokémon, updating the moveset for one of the Pokémon would cause the same update for the other Pokémon.

Installation Instructions

Warning
This version is considered a pre-release. Install at your own risk!

  1. Download & extract showdex-v0.1.2-b1649127297312.zip to somewhere accessible.
  2. Open Chrome & navigate to chrome://extensions.
  3. Enable Developer mode (if not enabled already).
  4. Select Load unpacked & navigate to the extracted showdex-v0.1.2-b1649127297312 directory.
  5. Once the extension appears in the list, navigate to https://play.pokemonshowdown.com.
    • Double-check that underneath the ID, it says service worker and NOT service worker (Inactive).
    • If the latter is the case, hit the refresh icon. Otherwise, you'll be wondering why none of the sets load!
  6. ???
  7. Profit!

Known Issues

  • None of these issues are trackable issues on GitHub lololol.
  • "Auto" button next to sets doesn't do anything at the moment, so it's been disabled for the time being.
    • What it's supposed to do is switch to the most likely set based on the Pokémon's revealed ability/item/moves.
  • When refreshing the page mid-battle, known information about your Pokémon won't be loaded in (i.e., the "Yours" set).
    • Rather, it'll appear as someone else's Pokémon, in which public Smogon sets would be loaded instead.
    • This will be addressed in the future by loading in your locally saved sets.
  • Minor delay exists when initializing the Calcdex since it has to download all the sets for the current gen from a remote server.
    • A potential fix is to locally cache the downloaded sets, then re-fetch when the cache is marked as stale (after an arbitrary amount of time).
  • Switching the graphics theme (light/dark/system) from the Showdown client's options menu won't update until the next time the Calcdex opens.
  • Occassional flashing of both player's Pokémon team icons within the battle frame may occur.
  • Closing the battle tab while the Calcdex side tab is still open may cause the players to swap sides when changing any value from any Pokémon.

Future Features

Planned

  • Actual app icon since I'm using the one from the old Typedéx extension.
  • Incorporate items (such as Choice Scarf) into the stat calculations.
  • Provide an empty set to clear all the fields.
    • Some Pokémon, like Regigigas, only have sets for BH (Balanced Hackmons), which may contain illegal abilities/moves.
    • Not particularly useful when you're playing, say, OU.
  • Import/export sets to/from the Calcdex/Team Builder.
    • Probably wouldn't be a bad idea to copy the set from the clipboard, as well.
    • Will need some kind of cache management UI to manage cached sets used by the extension.
  • Allow swapping of the main player's location (top or bottom).
    • This would be set in the extension's settings panel... oh wait...
  • Add extension settings panel.
    • Will probably include the 2 planned features above.
  • Write some documentation as to how all of this works (there are a LOT of moving parts!).

Considered

  • Allow the Pokémon's HP value to be edited.
    • Actually holding off on this one, for now; waiting for some user feedback.