[1]

03-01 23:21

Vivi

330

Slovakia - USR

Into the Woods PonyIsland Pure Breeders Starterholics Very Boring Grownups

Edited: This tutorial was originally written to help people search for colors which were unavailable in Search form (there was only Body, Hair and Eye before). Now it is possible to search for all colors, including the extras. Also it is possible to look for more colors in one search (thanks Z:)

The last search option B|H|E|H|1|2 does the trick for multi-searching. It means <body>|<hair>|<eye>|<hair extra>|<extra1>|<extra2>, you put hex values there and aliases work the same way as usually. See this link for more explanation:
http://www.ponyisland.net/index.php?tp=3&src=forum&sub=replies&forum=10&rp=1&topic=1505327

This tutorial shows parts of the search url in detail, and I updated some changed parts.
Examples still available:)

*********

1. First things first:
- I assume you understand basics of HEX codes. If you don't, take a look to other pinned threads, it is not so hard to understand.

*********

2. Get the search string. Two ways: create it or Copy it from existing search. Creating the search string manually was originally the way described in this tutorial but copying is a more easy way so let's start with that one:
-go to Search, select as much desired options as possible (put there gender, breed, price, special genes, Buy/Bid/Breed checkboxes etc) and press Search. Some results will appear. If not, remove some of the search limitations so that you get some results.
-you will see page 1 of search results, and possibly more pages numbered 2, 3, and so on. Right-click on page number in search results and select Copy Shortcut or Copy Link Location (or however it is called to copy the link on the page number).
-paste it somewhere, e.g. to the url line or to the text editor

OR (creating it manually)
Open some kind of text editor, like Notepad. Paste following text there, exactly how it goes:
javascript: secLoad('search','','results','lp=1&src=search&sub= &Search=&SearchBy=&Age=&Gender=&Breed=&MinLevel=&Status= &Hair=&Pattern=&Socks=&SPrice=&BFee=&OrderBy=&Dir=&search=Search');

It is an empty search query with no search parameters. It should be one line of code, with no line breaks. You see the line breaks only because it doesn't fit it here completely.

In both cases, you now have search query ready for editing. In first case, you have some of the parameters pre-filled, in second case you don't. Now let's edit it a bit.

*********

3. This part explains the search parameters. I will now take the whole text, split it to parts and go one by one:

javascript: secLoad('search','','results', - this is just a call to Javascript function which runs the search, with specification how the data will be processed and where on the page the results will be displayed - nothing to care about as long as it works:) Just don't change it.

'lp=1 changeable parameter - page number - it means which page of search results will be open. Leave it 1 as in example, it usually makes no sense to try open page 14 or so... Unless you really want to get to page 570 and don't want to go there by clicking repeatedly at the last available number...

&src=search&sub= - this should be left as it is

&Search= - changeable parameter - this is what you normally put in the search field. It can be plain text, when you look for name, nickname, owner, stable,... and it is "a bit" more complex when you look for colors.

When searching for one color, the parameter is 6-digit hex symbol.
When searching for all colors, the parameter has this structure:
%|%|%|%|%|%
where each % represents one 6-digit hex symbol.
It goes like this: body|hair|eye|hair extra|extra1|extra2

Aliases: in search string, you can use underscore _ to look for any single letter/character, and percent sign % to represent any number of letters/characters (it means anything). So if you look up ponies by Presentation and you would like to find all ponies which have "starter" and "tip" in their presentation, you put first starter%tip then tip%starter to the search to find both possible orders.

&SearchBy= changeable parameter - possible values: name, nick, owner, presentation, stable, dna_Body, dna_Hair, dna_Eye, dna_HairEx, dna_Ex1, dna_Ex2, dna_All (dna is for searching by colors)

&Age= changeable parameter - possible values: 0 (default), adult, baby

&Gender= changeable parameter - possible values: 0 (default), female, male

&Breed= changeable parameter - possible values: 0 (default), 1 (sea), 2 (pegasus), 3 (flutter), 4 (earth), 5 (unicorn), 6 (shell), 7 (fairy), 8 (mer), 9 (dragon), 10 (WU), 11 (phoenix), 12 (valkyrie)

&MinLevel= changeable parameter - possible values: 0 (default), and any number up to 1020

&Status= changeable parameter - possible values: 0 (default), released, dead

&Hair= changeable parameter - possible values: 0 (default), rainbow, stripe, tips

&Pattern= changeable parameter - possible values: 0 (default), paint, zigzag

&Socks= changeable parameter - possible values: 0 (default), socks, stockings, faded

&SPrice= changeable parameter - possible values: MaxPrice (default), or a number of your choice.

&BFee= changeable parameter - possible values: MaxFee (default), or a number of your choice.

&OrderBy= changeable parameter - possible values: name, nick, owner, breed, level, sprice, bfee, birthday

&Dir= changeable parameter - possible values: ASC (Ascending), DESC (Descending)

&search=Search'); - part of code things, should be left without changes


Add &Buy=true, &Bid=true, &Fee=true, &BBid=true somewhere between other parameters if you want to have some of the Buy/Bid/Fee/BBid boxes checked.

You must specify at least one search parameter to get search to work. You can leave all other parameters empty. There must be & between each parameter. Order of search parameters is not important, just the code parts at the beginning and at the end must be correctly added. If you put some of the serch parameters there twice or more times (e.g. &Socks=socks&Socks=faded), only the last one will be used for searching.


*********

4. Now when you have the query, go to Search. It works only from there. In the line where you put url addresses, copy-paste your query (the text you have just created) if it is not already there. Press enter .... and voila, you have everything you needed ! .... unless you made a mistake, in that case go back to 2. :smile


*********

5. I am sure you would like to get some working examples to make you believe.

So here you are:

This will look for ponies with nearly pure black hair and nearly pure cyan body. Cuties aren't they ?

javascript: secLoad('search','','results','lp=1&src=search&sub= &Search=0_f_f_|0_0_0_|%|%|%|%&SearchBy=dna_All&Age= &Gender=0&Breed=0&MinLevel=0&Status=0&Hair=0&Pattern=0&Socks=0&SPrice= &BFee=MaxFee&OrderBy=name&Dir=ASC&search=Search');


This will look for ponies with visible hair stripe near to pure red, which are available for bid:

javascript: secLoad('search','','results','lp=1&src=search&sub= &Search=%|%|%|f_0_0_|%|%&SearchBy=dna_All&Age= &Gender=0&Breed=0&MinLevel=0&Status=0&Hair=stripe&Pattern=0&Socks=0&SPrice= &BFee=&OrderBy=name&Dir=ASC&Bid=true&search=Search');


This will look for dead adult female unicorns with rainbow and socks and minlevel 27. Oh and sort it descending:

javascript: secLoad('search','','results','lp=1&src=search&sub=&Search=&SearchBy= &Age=adult&Gender=female&Breed=5&MinLevel=27&Status=dead&Hair=rainbow&Pattern= &Socks=socks&SPrice=&BFee=&OrderBy=level&Dir=DESC&search=Search');



*********

6. Don't be surprised... that the values you put in the search query are not visible in the search form where you normally put them. You just didn't put it there, you sent it to the machine directly, and it works though:)


vivi

03-01 23:30

Katryn

430

United States - USR

Home of the Invisi Visi's! =^.^=

Very Boring Grownups The Azuyan Project PonyIsland Pure Breeders

hmm.. is there a way using this to enter in two words for the "search=" field to be able to say... search for two specific words in a presentation?
imgimg

03-01 23:35

Kingsatchu

1191

Netherlands - USR

Nursery sale of PILL SO, DVSO, DVSOO. ~~ On hiatus. ~~

The Azuyan Project Starterholics Scuttle Ponies Very Boring Grownups Argeisli Highlighters Anonymous

This is very usefull, 2 searches at once.
Maybe with this information I will give another try to breeding quests instead of training only..
Should be stickied :smile
imgimgimgimg

03-01 23:35

SuperDoe

6897

United States - USR

TFPP Very Boring Grownups PonyIsland Pure Breeders

awesome! :happy thanks. this should come in handy.

03-01 23:43

Vivi

331

Slovakia - USR

Very Boring Grownups PonyIsland Pure Breeders Starterholics Into the Woods

Katryn:

In a way yes, it is possible. Directly from normal search. You can use _ as alias character for any ONE letter, and % as alias character for ANY NUMBER of letters.

So let's say we want to find a pony which is faded and pure.

We make two searches. Search by presentation. First time we put there faded%pure, second time pure%faded, so we catch both possible orders:)

03-01 23:48

Katryn

431

United States - USR

Home of the Invisi Visi's! =^.^=

PonyIsland Pure Breeders The Azuyan Project Very Boring Grownups

ooooooooooh! so that's why it wouldn't work before.... thank you ever so much!
imgimg

03-01 23:53

Krecik

6286

United States - USR

Kisses and kitties for all!

Argeisli Very Boring Grownups GMA

That is so cool!
But all the sets of code are too long and get cut off. Maybe you could put URL tags around them so that we can do "copy link location"?
img

03-02 00:09

Vivi

332

Slovakia - USR

Very Boring Grownups PonyIsland Pure Breeders Starterholics Into the Woods

Krecik:

I put some spaces in the code to make it wrap. Now it looks nicer. If the value of the search parameter is space (" "), in most cases it is not recognized as valid value so it is handled as empty. In fact, you can put anything there, if it is not recognized, it is considered empty.
Of course I couldn't add spaces to places where already is a valid parameter (like " socks") - this will make the machine think there is nothing valid there...

03-02 18:57

leejeanz

37

United States - USR

How do I type in the pipe sign?
Pure Peg breeder :love

03-02 19:45

Vivi

335

Slovakia - USR

Very Boring Grownups Starterholics Into the Woods PonyIsland Pure Breeders

I suppose it is on the same keyboard button as backslash. But it can differ for other keyboard layouts.
If you really don't have it on your keyboard, copy-pasting always work:)

03-08 15:57

i luv horses

851

United Kingdom - USR

I have no clue what to put in here other than this explaination of me having no clue! xD

Sweet as Can Be TFPP Highlighters Anonymous PonyIsland Pure Breeders The Writer's Guild The Azuyan Project Shine WUA WPAG Starterholics

very useful thank you ^^
good thing this has been pinned

03-14 18:17

Tuari

296

United States - USR

Holy cow, you are a genius! Amazing tutorial! :happy
img

04-13 03:03

Inchi

2254

United States - USR

Pipes are above the backslash on most computer keyboards in english. To get one it's often shift, backslash.
Iuno about a Mac computer, this is on a Windows equipped.
<|3 :3 This is a pretty nifty way to search. Thank you for posting it, it'll help alot :XD It's always frustrating only being able to search for one thing when you need two.
<,< Hah I still exsist. </ninja>

04-21 02:40

Guardian Mattlock

88

United States - USR

i dunno what you're talkin about  ^^;;;;;

Very Boring Grownups The Azuyan Project Highlighters Anonymous

Hey all ^_^ Looks like the PI search feature has been updated, so to bring this nice tutorial back on track all you need is two changes:
1) change "&SearchBy=dna" to "&SearchBy=dna_All"
2) see how there are 13 %'s? You can only use 6 ^_^ so instead of...
Quote :

When searching for colors, the parameter has this structure:
%|%|%|%|%|%|%|%|%|%|%|%|%


you need to use this:
%|%|%|%|%|%
img

04-21 16:07

Vivi

703

Slovakia - USR

PonyIsland Pure Breeders Very Boring Grownups Into the Woods Starterholics

Thanks for reminding, edited all changed things:)

[1]