Advanced

Change History

Discuss your script development with others (bugs, optimizations, methods ...)

Message: Number of finds in filter

Changed By: magma1447
Change Date: May 24, 2016 02:34PM

Number of finds in filter
I made an extremely simple script today, and it covers surprisingly many of the challenges on my list to tag.

It takes two input parameters:
minFinds: (int) Number of finds required for an ok.
filter: (array) A filter that is passed straight into GetFinds()

By just passing a config straight into GetFinds() one can very easily create tags for number of finds with specific difficulty, terrain, location, type and so on.

Due to the generic nature, the output isn't too verbose. It pretty much says "You have 123 finds with the given configuration".

http://project-gc.com/Tools/Challenges?edit&addTag&scriptId=1346

Some examples, and spoilers:
3000 finds in Skåne, Sweden
http://project-gc.com/Challenges//20669
30 D5 in Skåne, Sweden
http://project-gc.com/Challenges//20667
100 T5 in Skåne, Sweden
http://project-gc.com/Challenges//20670
50 Large in Skåne, Sweden
http://project-gc.com/Challenges//20672
30 events in Skåne, Sweden
http://project-gc.com/Challenges//20673

(no comments needed, I just wanted to announce that there is a new script that is quite simple to tag)

Original Message

Author: magma1447
Date: May 24, 2016 02:29PM

Number of finds in filter
I made an extremely simple script today, and it covers surprisingly many of the challenges on my list to tag.

It takes two input parameters:
minFinds: (int) Number of finds required for an ok.
filter: (array) A filter that is passed straight into GetFinds()

By just passing a config straight into GetFinds() one can very easily create tags for number of finds with specific difficulty, terrain, location, type and so on.

Due to the generic nature, the output isn't too verbose. It pretty much says "You have 123 finds with the given configuration".

http://project-gc.com/Tools/Challenges?edit&addTag&scriptId=1346

(no comments needed, I just wanted to announce that there is a new script that is quite simple to tag)