Coder Social home page Coder Social logo

roguedex's Introduction

Rogue Dex Browser Extension

Description

Rogue Dex is a browser extension that connects to Pokerogue and uses PokeAPI to show information about Pokemon weaknesses, immunities, and resistances for each round.

Features

  • Displays Pokemon weaknesses, immunities, and resistances in real-time during gameplay.
  • Enhances the Pokerogue experience by providing valuable Pokemon information.

Installation

  • Clone this repository to your local machine.
  • Load the extension in developer mode in your browser.
  • Launch Pokerogue and start playing to see Pokemon data in action.

Usage

  • Start a new game or load a saved game in Pokerogue.
  • The extension will display Pokemon information for each round.
  • Use the data to strategize your gameplay effectively.

Contribution

Feel free to contribute to this project by forking the repository, making changes, and submitting pull requests.

Credits

PokeAPI for various pokemon-related assets

Policy

RogueDex License

This software is licensed under the MIT License.

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Privacy Notice

This software does not collect or transmit any user data to external servers. All data analysis is performed locally on the user's browser. There is no server component that interacts with or processes this data. Your privacy is paramount and we are committed to protecting it.

roguedex's People

Contributors

archowlen avatar eruyome avatar gsajith avatar roguedex-dev avatar thechillcheetah avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

roguedex's Issues

Feature Request: Show all trainer pokemons at once

Would it be possible to extend the Box to show all trainer pokemon at once or to just spawn multiple boxes? If yes, you could add a config or button to toggle this.

I quick edited the release version to my liking: https://i.imgur.com/GJ4boEs.png

Best if you could add a settings button that shows/hides a top portion of the card where the opacity slider would be and other settings like checkboxes to hide the iv's and all those other informations. There you can add a checkbox for a complete view like like in my screenshot. You can achieve this by running a for loop over each pokemon card and just stick them together if that option is checked. I would also hide the up/down buttons if the option is checked.

I wanted to make a pull request because the release code from the firefox extension was pretty simple to edit but looking here at the latest code you made some big changes at creating those cards and yeah I don't want to add to that code xd But here you got some idea on how to implement it.

Bug: Enemy UI disappears after trainer battle

I use Opera GX and currently have the Extension without going through the official Opera GX Extensions (due to it still awaiting moderation as described in the Reddit post).

After fighting a trainer, the UI seems to disappear for enemies, but not for my own team.
This happened on round 5, 8 and 20 so far, all right after beating the trainer. I was playing on Classic. Not sure if that made the difference, but just in case it might be worth mentioning.

Refreshing the page brings the UI back again, but I have not found any other way to prevent the UI from disappearing.

Idea: visual indicator if a weakness is 4x effective

Not something I would use since I know typings, but could be useful for new pokemon players' ease-of-use

Also not sure what would make it "pop" the best without making a new box, as say: a "blue border" around the icon (like a discord status circle around the icon) wouldn't work well for blue-colored typings like ice (color blindness in mind especially)

Perhaps a 4x sub-circle to that weakness?
Though it may also be hard to see when small

Extension not working on 'Continue' or reloading.

The extension only works for me when starting a new run and only until I reload/refresh. When continuing a run the extension doesn't work, meaning the UI elements don't show up at all and I couldn't see any console log lines that seem to belong to the extension. Whether that means that it's not being loaded in the first place or not, I'm not sure about.

I tested this on Chrome, Firefox, Vivaldi and Opera GX. Same behaviour.

EDIT: I just read on discord that pokerogue broke the extension again yesterday. If that's related to my issue just close it.

EDIT 2: I tested your beta version that you linked on discord, it seems to work for me although it has some bugs. Those are different issues though, at least the extension loads and shows up. I'll leave this issue open for now for others to see until the issue is officially fixed. Just close it whenever you want.

Request: Add conditions such as stealth rock and weather as widgets

Pokerouge will probably implement this themselves at some point, but:

I've found a few cases where I'd like to check how many turns weather has been active, or how many layers of toxic spikes I've put out already,
This may be relatively easy to track, so thought I'd suggest it here too

Opacity and position are not saved on reload

(may also apply to resize, but I cannot test that right now as it may not be functional, or I'm just dumb)

Just a nice qol feature so you don't have to readjust every time ;3

Tera pokemon have wrong types

When a pokemon has a different type because it has a tera crystal the resistances are wrong and still displays as the old type

Fusion HAs not reporting correctly

Caught a fused pokemon (Arboark - Arbok + Zoroark) that on RogueDex was reporting having Arbok's HA, Unnerve. However, after capturing it, the pokemon's actual ability was Illusion (N), which makes sense - Zoroark being the secondary in the fusion, the combined form would have that. Unnerve properly unlocked on the starter screen for Ekans as well, but possibly confusing that RogueDex detects the base form's ability (HA or otherwise) instead of the combined fusion's.

Possibly worth looking into how RogueDex can better detect hidden abilities on fusion-specific encounters, especially now that PokeRogue is deviating away from official pokemon information.
image
image

Request: Resizing for smaller screens

I primarily play on Steam Deck, and the native resolution makes the plugin block a large majority of the screen

It would be nice to be able to resize the windows it creates in addition to moving them!

Some Abilities appear as "None"

Overgrow (grass starter ability) is not shown in the UI

Looking at the code, it seems every ability is manually inserted into background.js

Wouldn't there be a way to detect the ability from PokeRogue directly so it would be more future-proof?

(Unless this is chrome-specific that it needs to be listed)

image

Request: Adjustable form factor

The original UI was wider, and shorter
The new UI is less wide, and taller

If the UI was exactly the height of the weakness/strength box, it would fit perfectly above the enemy stat bar PokeRogue provides
(On steam deck anyway)

Maybe alongside the config menu idea I had, information could shift when the window is resized?

(ie, if I make it shorter, the ability and iv stats get pushed to the side, like HTML/CSS does when resizing a browser window)
Or just an alternative layout

(ps, I know a bit of html and css, but never have coded plugins, I may give a few of my ideas a try here if I have time to sit down and program it lol)

Request: ability to hide information (config menu from taskbar button?)

I probably won't use/need to know the ability, nature, and ivs of the pokemon I have on my team all the time, so the option to disable showing this information would be nice to free up more screen realistate

Maybe some options could be moved into a taskbar button drop-down or settings menu?
This would also allow adjusting opacity of multiple pieces of the UI separately
(Like how I mentioned the background, and weakness boxes as separate)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.