Loading...

Top
PFQ Banner

This is PokéFarm Q, a free online Pokémon collectables game.

Already a user? New to PFQ?

Single post in Quality of Life changes [UserScript]

Forum Index > PokéFarm > Guides > Quality of Life changes [UserScript] >

Hi All, I've been doing some work on this script to add some features. Everything that Bentomon created (should) still work. A lot of the updates I made were code refactoring, but here are a few things I did do: 1. Completed the field searching, for both other players' fields and for your own fields. 2. Added a feature in the daycare to highlight Pokemon that can breed with a mon already in your daycare. 3. Updated the evolution sorting list feature in the lab to sort nicknamed pokemon correctly when you click "Sort on Types". Also, updated this to work for pokemon forms that don't have their own dex page (e.g., the three Lycanroc forms). Note that this can cause a bit of a slowdown the first time you use it. This is because the code actually has to load data from the Pokedex page sometimes. But, it will definitely speed up once you do it once :)

Installation Instructions

1. To install my modified version, click on the following link, and then follow the same steps as Bentomon listed in his instructions, namely 1) Click on Poke-Farm-QoL.user.js and then on raw Link 2. After installing the script, click on the QoL Hub in your timer bar. You should see a "Pokedex Settings" with a button that says "Update Pokedex". Click this button. This step loads some data from the pokedex into your browser. Once you do this once in a browser, you should not have to do it again. The code will update the dex information about every 30 days or so to capture any new pokemon (like the Galar pokemon that are currently being released)

Version-Specific Script Update Instructions

1.3.54 - Highlight Ready to Evolve in Shelter

Version 1.3.54 includes updates to some settings and changes to what happens when you click "Update Pokedex" in the QoL Hub. Please follow the following instructions: 1. Same as step 1 of the Installation Instructions 2. Refresh the page. 3. Clear your browser cache 4. Same as step 2 in the Installation Instructions

Troubleshooting Tampermonkey Script

If you are having issues with the script not working, please do the following:
  1. Re-install the script and re-load the pokedex.
  2. Make sure that TamperMonkey is active.
  3. Make sure that the script is active in TamperMonkey.
  4. Clear your cache and re-load the pokedex in the QoL Hub.
  5. If the issues you are seeing are localized to a single page, use the controls in the "Debugging Corner" of the QoL Hub to reset the settings for that page. Make sure to refresh the page to see the effect take hold.
  6. If the issues you are seeing are related to the "Update Pokedex" button in the Hub or the Ready-to-Evolve feature in the Shelter, use the "Clear Cached Dex" button in the QoL Hub to clear the cached pokedex data. Make sure to use the "Update Pokedex" button to reload this data, as it is necessary for the Ready-to-Evolve feature to work.
  7. Follow the instructions in this post to perform a hard restart of Tampermonkey and your browser.
If none of those work, please provide me with the following information to help facilitate debugging: 1. A screenshot of the Console tab of the Developer Tools. The Developer Tools can be brought up by using the shortcut Ctrl+Shift+I. 2. Which page you were on when the problem occurred. 3. Which operating system and browser you are using.

Getting to Script Data

Sometimes you may be asked to provide screenshots of data stored by the script. Here's how to get this data. 1. Use Ctrl+Shift+I to open the Developer Tools. 2. In Chrome, go to the Application tab. In Firefox, go to the Storage tab. 3. Click Local Storage on the sidebar on the left. 4. Click "https://pokefarm.com" under Local Storage. 5. In Chrome, enter "QoL" in the Filter box near the top of the window. In Firefox, enter "QoL" in the Filter Items box near the top of the window. 6. Expand the "Key" column until the full name of each item is visible. 7. Take a screenshot showing all of the rows in the list. Don't worry about displaying the whole "Value", they're too big to be displayed all at once. 8. Send me that screenshot :) Either here in the thread or in a PM.
Huge huge HUGE thanks to Bentomon for creating the original version of this script! I would never have been able to do this myself. Hopefully the changes are helpful. Please let me know if you have any problems or suggestions. I'll admit I haven't read through all 44 pages of this thread, so if there's anything you'd like to bring to my attention, feel free to mention it again! EDIT: I'm not very proficient in bbcode, but if there's enough interest I will try to make something like Bento's first post to keep track of info Known Issues and Suggestions maintained here
© PokéFarm 2009-2024 (Full details)Contact | Rules | Privacy | Reviews 4.6★Get shortlink for this page