Skip to content

v0.1.3

Pre-release
Pre-release
Compare
Choose a tag to compare
@doshidak doshidak released this 01 Sep 06:49
c7bbdfa

Extension is now in a place to be release-ready, which isn't to say it's perfect, but it's good enough that we can start getting some dank user feedback.

Mostly under-the-hood changes with some QoL (Quality of Life) improvements, minor visual tweaks & a couple bug fixes.

What's New

General

  • Added Hellodex tab, which will open once when you load into Showdown, letting you know the extension is locked and loaded.
  • Factored in most abilities, items, and field conditions into the Pokémon's displayed final stats.
  • Added support for Pokémon with Transform, like Ditto.

UI

  • Darkened and bolded some label colors cause they appeared too washed on some monitors.
  • Changed "%KO" column to "KO %" in the Pokémon's moveset table.
  • Updated "EVs" header to turn red when total EVs are illegal.
  • Updated Multiscale to be toggleable anytime, regardless of the Pokémon's current HP.
  • Increased width of the Smogon University popup window due to layout glitches on previous width.
  • Disabled Pokémon nicknames (for now; will be a configurable setting in the future).
  • Disabled "Max" toggle if the battle has the Dynamax Clause enabled.
  • Grouped sets by format instead of abbreviating formats in the set's name.

Bug Fixes

  • Fixed sets occasionally not downloading.
  • Fixed empty Pokémon for player 1 only when spectating a randoms game.
  • Fixed inconsistent Pokémon ID hashing preventing auto-sync.
  • Fixed screens applying to the wrong side during matchup calculations.
  • Fixed weather and terrain not automatically clearing once expired.
  • Fixed Pokémon icons not reflecting forme changes.
  • Fixed missing field conditions such as Magic Room and Wonder Room.
  • Fixed calculations for Dynamaxed Pokémon.
  • Fixed EV/IV input allowing for non-numerical characters and negative values.
  • Fixed spread guessing for dead server Pokémon with 100 max HP when refreshed mid-battle.
  • Fixed battle timer, room, and chat events triggering a battle sync.

Under-the-Hood

  • Switched to using ESModules from CommonJS.
    • package.json now defines type as "module".
    • This breaks cz-customizable (preventing you from commiting), so you'll need to run yarn patch-ghooks before running yarn commit.
  • Updated to react & react-dom v18 (previously v17).
  • Updated any outdated dependencies and devDependencies.
    • Including webpack, whose config has been updated into an ESModule.
  • Replaced Calcdex's state manager from React's useReducer() to Redux & RTK Query.
  • Refactored Calcdex codebase.

Installation Instructions

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

  1. Download & extract showdex-v0.1.3-b1661932302322.zip to somewhere accessible.
  • Since this ZIP was uploaded to the Chrome store, the files are not contained in a directory.
  • Make sure you extract the ZIP contents into a directory!
  1. Open Chrome & navigate to chrome://extensions.
  2. Enable Developer mode (if not enabled already).
  3. Select Load unpacked & navigate to the directory you extracted the files to.
  4. 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!
  5. ???
  6. Profit!

Known Issues

  • "Auto" button next to "Set" currently does nothing, still.
    • As mentioned in the Future Features section, this feature is intended to select the most likely set based on the Pokemon's revealed moveset.
  • Once the Calcdex tab is closed, it will never reopen again for that battle.
  • Switching between light/dark mode in Showdown's settings doesn't automatically update until the end of the turn.
    • Hence, if the battle is already over, Calcdex's theme will never switch, requiring the page to be reloaded.
    • Alternatively, replaying the battle (with the Calcdex open) will retrigger a turn, causing the theme to correctly apply.
  • Regenerator Pokemon's HP doesn't update until the next time they're switched in, resulting in inaccurate KO values.
  • Pokémon may still have a consumed item set as their item when refreshing mid-battle.