Quality of Life changes [UserScript]
Forum Index > PokéFarm > Guides >
hi! I'm posting here bc I'm not sure if it's the userscript messing up, or if it's on Pokefarms end.
when trying to clickback parties/Open 10, I click with both my keyboard and mouse (so it's faster) but it gives me an error message (seen here)
it seems to only happen when trying to click with keyboard+mouse together, and only started on the day I created the thread
any help or insight would be appreciated, thanks!
I am also now having the issue of some other users where the shelter is not highlitghing pokemon, when it previously was, and clearing cache and resetting the page does not work.
I come to you with a bug report! Your script uncovered a bug on the server, which I have patched, but it shouldn't be happening in the first place!
https://pokefarm.com/forum/thread/320255/Error-while-party-clicking/post/6152449
The offending code seems to be this:
/*
* Sometimes clicks happen to fast for Pokefarm to add the 'working' class
* so, instead of waiting for that class to exist, add the qolpartyclickhide
* class here if Hide All mode is enabled
*/
obj.jQuery(document).on('click','#partybox>div.party>div', (e) => {
if (obj.settings.hideAll === true) {
// sometimes the target is the div, sometimes it's the div.action
const target$ = obj.jQuery(e.target);
let divPkmn$;
let divAction$;
if(target$.hasClass('action')) {
divPkmn$ = target$.parent().children('div.pkmn');
divAction$ = target$;
} else if(target$.attr('data-berry') !== undefined) {
divPkmn$ = target$.parent().parent().parent().children('div.pkmn');
divAction$ = target$.parent().parent().parent().children('div.action');
} else {
divPkmn$ = target$.children('div.pkmn');
divAction$ = target$.children('div.action');
}
divPkmn$.children().remove();
divAction$.addClass('qolpartyclickhide').removeClass('working');
}
});
I think .removeClass('working') is incorrect, because this allows (attempted) duplicate interactions to be sent.
I would hope this isn't off topic, but can someone translate that from hacker talk to English for those of us with the brain capacity of a Slowpoke?
What all to copy and paste, where to paste it at, etc.
the "normal list" works fine but these two things are broken.
i noticed that the Farms "pokemon that can evolve" section is really broken with its selections. it does kind of sort the pokemon by types but if you go to evolve them on that page it doesnt work at all.
it also sometimes puts the wrong pokemon in the wrong type tabs. the page also completly freezes and now its kind of broken completly.
i was told to brig my bug report of it to this thread by Gumshoe, but yeah its completely broken minus the "quick evo" and "normal list" buttons.
the wrong types listed img
QUOTE originally posted by Gumshoe
Edit: I seem to be mistaken, it looks to be a feature of the current QOL script. I would bring this issue up in the QOL thread instead of the Bugs forum, as it is not an official site bug. [Link]
PM's welcomed as long as its an actual conversation.
person who made my PFP.
QUOTE originally posted by D.MC
the "normal list" works fine but these two things are broken.
i noticed that the Farms "pokemon that can evolve" section is really broken with its selections. it does kind of sort the pokemon by types but if you go to evolve them on that page it doesnt work at all.
it also sometimes puts the wrong pokemon in the wrong type tabs. the page also completly freezes and now its kind of broken completly.
i was told to brig my bug report of it to this thread by Gumshoe, but yeah its completely broken minus the "quick evo" and "normal list" buttons.
the wrong types listed img
QUOTE originally posted by Gumshoe
Edit: I seem to be mistaken, it looks to be a feature of the current QOL script. I would bring this issue up in the QOL thread instead of the Bugs forum, as it is not an official site bug. [Link]
Badge by Mochafox
Made by Champion Spectra with sprite from Smogon sprite project
Chickies Hatched: 0Made by Champion Spectra with sprite from Smogon sprite project
Bird Keepers
Avatar, journal format sprites, and about me sprites made by me using official sprites.
QUOTE originally posted by Ladydisparity
QUOTE originally posted by D.MC
the "normal list" works fine but these two things are broken.
i noticed that the Farms "pokemon that can evolve" section is really broken with its selections. it does kind of sort the pokemon by types but if you go to evolve them on that page it doesnt work at all.
it also sometimes puts the wrong pokemon in the wrong type tabs. the page also completly freezes and now its kind of broken completly.
i was told to brig my bug report of it to this thread by Gumshoe, but yeah its completely broken minus the "quick evo" and "normal list" buttons.
the wrong types listed img
QUOTE originally posted by Gumshoe
Edit: I seem to be mistaken, it looks to be a feature of the current QOL script. I would bring this issue up in the QOL thread instead of the Bugs forum, as it is not an official site bug. [Link]
I'm using the Brave Browser and we've been having an issue for the past two days where the UserScript just automatically toggles itself off and I have to turn it on again? I have no idea why it's doing that but it's making things very annoying trying to use the website.
My boyfriend is also having this issue, he uses mobile and Brave browser on desktop too.
Edit: Seems to be happening a lot when I go to other people's public fields to click their mons
QUOTE originally posted by Myceline
I'm using the Brave Browser and we've been having an issue for the past two days where the UserScript just automatically toggles itself off and I have to turn it on again? I have no idea why it's doing that but it's making things very annoying trying to use the website.
My boyfriend is also having this issue, he uses mobile and Brave browser on desktop too.
Edit: Seems to be happening a lot when I go to other people's public fields to click their mons
shop & dexing ♦️ journal (see for credits)
my lucky sparkly charm
(sprite permission) - avatar credit in journal
when searching fairy types in the lab and in the supplier, pokemon that arent fairy sometimes show up as a fairy type. ive seen misdreavous, pawniard, chansey, and turtonator all display as fairy type eggs when searching for fairy eggs on QOL.
Cannot post: Please log in to post