Forum Index > Bug Reporting > Advanced search bug?
Page 1
Author
Thread Post
Amethystx
Level 75
Sweet Solver
Joined: 11/16/2018
Threads: 12
Posts: 218
Posted: 4/16/2020 at 11:27 AM
Post #1
ok, maybe im silly and just don't understand how the "either" search works lol but the "either" trait search doesn't always show all of the vis pets. it should show all vis and carried pets, yes? i can't tell why some do and some don't. it may work fine on one trait but not another on the same pet. i havent seen it be an issue with genetically tested pets.
example:
vis search, shows 2 pets
carried search, 1 pet
either search, should be 3?... oh no! where's florindale?
*edited to fix pic size
Edited By Amethystx on 4/16/2020 at 11:36 AM.
Mikazukichan
Level 75
The Artistic
Joined: 1/28/2014
Threads: 313
Posts: 9,544
Posted: 4/16/2020 at 3:59 PM
Post #2
That is weird. Tried doing your same searches here (just to see if it was somehow an issue on your side), and it does the same thing for me. However, if I specify 'Double Stripe' and 'either' then Florindale shows up. Strange.
Krinadon
Level 75
Shadow of the Moon
Site Administrator
Joined: 12/17/2012
Threads: 1,242
Posts: 15,407
Posted: 4/17/2020 at 8:06 AM
Post #3
Seems to 'break' because the pet isn't tested and has hidden carried traits. I am guessing the logic is getting mixed up because it's searching for "AA" or "AB" (example), but since it's not tested, it's told to ignore "AB" - thus that pet gets ignored.
Amethystx
Level 75
Sweet Solver
Joined: 11/16/2018
Threads: 12
Posts: 218
Posted: 4/17/2020 at 10:13 AM
Post #4
yea, it's very strange, i thought i was crazy at first lol
Amethystx
Level 75
Sweet Solver
Joined: 11/16/2018
Threads: 12
Posts: 218
Posted: 4/17/2020 at 11:07 AM
Post #5
Ok, yea that makes sense, so i tested it out and my lups suggested otherwise. i have some night guardian offspring who's parents are tested and therefore g2 should (if i understand it right) be FG, FG, and GG but none of them show up.
so i did more digging, and it looks like for genes only vis trait pets that have their genetics tested show up in the "either" search but for mutations all vis pets tested and untested show up.
Krinadon
Level 75
Shadow of the Moon
Site Administrator
Joined: 12/17/2012
Threads: 1,242
Posts: 15,407
Posted: 4/20/2020 at 12:53 PM
Post #6
So I took a look at the code to figure out exactly what the issue is.
It basically excludes any Exclusive, Bred, or Tamed pets that are not tested if you are searching for anything at all specific to traits. It seems to just be a fail safe against searching for genetics in a situation where you shouldn't know them.
While logically, a Visible should show up, I am assuming it's a performance concern.
Basically, as it is now, it can just simply look and say "Is this a 0 or a 1? Yes/No? No - then is this a 1/2/3/4? No? Okay, exclude". Searching for super small integers is very lightweight on the system.
However, it'd have to be altered to search the traits against variables - this is very taxing. Until traits are switched over to integer based, I have to dance around stuff like this for performance reasons.
Amethystx
Level 75
Sweet Solver
Joined: 11/16/2018
Threads: 12
Posts: 218
Posted: 5/1/2020 at 12:56 AM
Post #7
hmmm, and that makes a difference for traits vs mutations somehow? either way, it helps a lot just knowing what's happening. XD i can tailor my searches correctly now. thank you!
hmmm, and that makes a difference for traits vs mutations somehow? either way, it helps a lot just knowing what's happening. XD i can tailor my searches correctly now. thank you!
Am not entirely sure without seeing an example and scouring through the code again, but it might be a maturity issue. There were clauses where it did certain things depending on the age of the pet if it wasn't tested.
Confirm Action
Are you sure you wish to delete this post?
Confirm Action
Are you sure you wish to restore this post?
Confirm Action
Are you sure you wish to report this post?
Go to Top
This Page loaded in 0.011 seconds.
Terms of Service | Privacy Policy | Contact Us | Credits | Job Opportunities