OOTP Developments Forums

OOTP Developments Forums (https://forums.ootpdevelopments.com//index.php)
-   Auction House Forum (https://forums.ootpdevelopments.com//forumdisplay.php?f=3962)
-   -   Auction House Search Guide (https://forums.ootpdevelopments.com//showthread.php?t=301449)

Chris Marquardt 04-01-2019 07:44 PM

Auction House Search Guide
 
Just a little guide on how you can use the player search field to find exactly the cards you want.

First of all some technical notes.
The server is using so called regular expressions (or regex) to match cards. For a "full" regex guide just google it or use the wikipedia article.
This expression is matched against the full card title (like "Hardware Heroes, 3B Wade Boggs, BOS, 1987") and the team name (like "Boston Red Sox").
The server is ignoring cases, so you find the same results for "BOGGS", "boggs" and "Boggs".

So the obvious things you can search for without understanding regex are
  • from the card title:
    • card type (okay, we have a filter for this)
    • position (again we have a filter)
    • player name (the obvious one)
    • team abbreviation (a unique team identifier)
  • from the card title:
    • team city
    • team nickname

For example we want to search for "Hardware Heroes" from 1984.
Simple thing set type filter to "Hardware Heroes" and search for "1984".
The result is a short list of 3 players.

https://i.imgur.com/6alp8PB.png

Another simple example is to search for a specific card.
Just enter the complete card title like "all-star, lf jose cruz, hou, 1980".

https://i.imgur.com/kkCv8Ct.png

Now something a little more complex, all "Jose Cruz" cards from 1984.
Unfortunately when you try to combine those two information into something like "jose cruz 1984" you get no results.

So the first thing to learn is how to combine them and to know the limits.
First you can either search for parts of the card title OR the team name, not both.
Something like "hardware heroes boston" will not work.

"jose cruz 1984" does not work because the server tries to match the complete text with the card title.
Unfortunately for us between type and year stands the player name and some other data.
So to say to the server to ignore that part in the middle we add ".*" (the dot stands for any character, the * means 0 or n times the thing before it) between the type and the year.
"jose cruz.*1984" will now correctly return those cards.

https://i.imgur.com/Zs7ows0.png

With this information we can create some searches like this "2b.*jose.*2019", resulting in all second base cards from 2019 whose players name contain "jose".

https://i.imgur.com/6fdHUjY.png

To remind you something like "2b.*houston" will not work as the server can not search in the card title and the team name at the same time.

Now something different, we want to search for cards from specific years.
First thing all cards from the 1980's.
No problem we just enter "198".

https://i.imgur.com/7mcQvbW.png

Okay, what about all cards from the 1981 and 1982.
Hmm, we can not search for this or that, so we need a way to tell the server to search for either one.
The answer is "|" (next to enter on the keyboard).
It tells the server to search for either the text before or after the separator.
Additionally we can add multiple "|" to search for all possible variants like "1b|2b|3b".
So for this example we enter "1981|1982" and get all cards from those two years.

https://i.imgur.com/EIbk9mX.png

You can use this to search for either "Boston Brave" players or all players from 1962 "bsn|1962".

https://i.imgur.com/XRk3CyS.png

But that seems rather useless, so how do I search for all "Boston Brave" players from 1947 and 1948?
"bsn.*1947|1948" returns all "Braves" players from '47 and all players from '48.

https://i.imgur.com/HrVgk20.png

That's not what we want.
Instead we could enter this "bsn.*1947|bsn.*1948".

https://i.imgur.com/qXkHnQr.png

But we are lazy and don't want to type so much so we use another part of regex.
We need to add brackets "()".
"1947|1948" is the same as "(1947|1948)", but in combination with a prefix like "bsn.*" we need the brackets to let the server know that we want that prefix on both variants.
So instead of "bsn.*1947|bsn.*1948", we can use "bsn.*(1947|1948)" or even "bsn.*194(7|8)".

https://i.imgur.com/75RBxkt.png

With the help of ".*", "|" and "()" we can search for almost everything.
We want a Historical All-Star or Hardware Hero on 2nd or 3rd base from the 90s? "(all-star|hardware heroes), (2|3)b.*199"

https://i.imgur.com/lZg5Oir.png

We want an Outfielder from the Chicago Cubs or White Sox? "(lf|cf|rf).*(chc|cws)," (adding a comma behind the team abbreviations, so the server does not think it's part of the player name)

https://i.imgur.com/ahpaFBh.png

I hope this guide was useful and my English was not that bad. :)
Have fun in the auction house!
Chris

All images: https://imgur.com/a/RYIIWil

pappyzan 04-01-2019 07:52 PM

please sticky this

stl jason 04-01-2019 08:06 PM

Quote:

Originally Posted by Chris Marquardt (Post 4466236)

No problem we just enter "198".

https://imgur.com/a/RYIIWil


Ah! Brilliant!

didn't think about just the first three for a decade search.... so to expand on that, if you're building a theme team around multiple decades (like my pre-ww2 team), you can search via:

190|191|192|193|194

and get a return of everything from 1900-1949 (works like a charm, just tried it).... huzzah... should cut down my AH search time by a significant amount :laugh:

Orcin 04-01-2019 08:23 PM

Thanks for bringing these tips to the forum. I also hope this will be made a sticky post, but it might be better in the auction house section.

dbqs 04-02-2019 01:43 PM

Great, that's a big help! Thanks.

pappyzan 04-03-2019 12:52 PM

Chris, could you post an example of a regex string that for example would exclude all Live cards in the search? Would be super nice to search for all cards that don't match an expression.

Chris Marquardt 04-04-2019 10:58 AM

Negation is not that easy in regex.
There are ways like negative lookup, but they are not supported.

It's easier to match against all other card types then to exclude the live cards.

stl jason 04-04-2019 01:05 PM

Quote:

Originally Posted by pappyzan (Post 4467249)
Chris, could you post an example of a regex string that for example would exclude all Live cards in the search? Would be super nice to search for all cards that don't match an expression.

Quote:

Originally Posted by Chris Marquardt (Post 4467784)
Negation is not that easy in regex.
There are ways like negative lookup, but they are not supported.

It's easier to match against all other card types then to exclude the live cards.

posted in another thread by rtkretz:

just copy/paste this into the search to exclude the live cards (nice and easy):

wond|rook|leg|all-s|recor|hero

allenciox 04-04-2019 05:48 PM

Just a note that the search you mention does work for the most part to exclude the live players --- except when that text is part of a player's name. I have noticed when using it that there are still a few live players that come through because of that.

Chris Marquardt 04-05-2019 05:00 PM

Yeah, with "wond|rook|leg|all-s|recor|hero" you still get Giovanny Gallegos, Aaron Brooks and Aaron Slegers.
(Easy to check, just enter the string and set type filter to "Live cards".)

So to filter those out we need to fix "leg" and "rook". Adding one additional character for each works fine "wond|rooki|legen|all-s|recor|hero".

Cobbiusto 06-21-2019 06:05 PM

Anyone have any ideas for sorting by buy-now-price without having to click through the dozens and dozens of pages of auctions that have no buy-now-price? It would be nice if this option would exclude auctions that do not have a buy-now-price listed.

Charlatan 06-23-2019 11:51 AM

I find sorting by buyout price descending works well, although you do have to page through five or six pages of outrageous buyout prices. After that I am in the neighborhood I’m looking for.

peterbernard209 07-01-2019 03:41 PM

Thanks!

The Fuss 12-27-2019 06:43 PM

Although they are already highlighted, it would be nice to have a filter to exclude cards that you already own - to cut down on the flipping through pages.

jeremy7227 01-05-2020 07:55 PM

This is a feature that future versions have to support. Getting to a point now where there are routiney 500+ pages of cards on auction. It would make generally searching for cards to complete collection missions much more enjoyable without a thousand clicks and page navigations.


All times are GMT -4. The time now is 03:04 AM.

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Copyright © 2020 Out of the Park Developments