Return to Project-GC

Welcome to Project-GC Q&A. Ask questions and get answers from other Project-GC users.

If you get a good answer, click the checkbox on the left to select it as the best answer.

Upvote answers or questions that have helped you.

If you don't get clear answers, edit your question to make it clearer.

0 votes
418 views
Find 36 challenge caches with Challenge in the title and starting with 0-9 A-Z.

http://coord.info/GC3YY7F
in Miscellaneous by Clubmud! (3.2k points)

2 Answers

+1 vote
 

 

by Doma-v-Lutine (2.0k points)
edited by Doma-v-Lutine
It works now. At least it did for me.
but not for mystery :-( - Now updated.
Checker link
Example #1

Project-GC Challenge checker
<a href="http://project-gc.com/Challenges/GC3YY7F/12963">Project-GC Challenge checker</a>
Example #2

PGC Checker
<a href="http://project-gc.com/Challenges/GC3YY7F/12963"><img src="http://maxcdn.project-gc.com/Images/Checker" title="Project-GC Challenge checker" alt="PGC Checker"></a>
Example #3

PGC Checker
<a href="http://project-gc.com/Challenges/GC3YY7F/12963"><img src="http://maxcdn.project-gc.com/Images/Checker/12963" title="Project-GC Challenge checker" alt="PGC Checker"></a>
0 votes
by Doma-v-Lutine (2.0k points)
No it is not correct.
You should filter for unknown caches only.
If you test on me you will get http://coord.info/GC2XRHN "PiteƤlva the challenge" that is a ordinary trad

There are also another problem that makes this in practice impossible to do
I got http://coord.info/GC31HY2 "Make.it.High-Challenge" in my list and it it not a challenge but a bonus mystery. New  challenges(2011+) must have the word Challenge in the name but there is no rule against that word in non challenge mysteries

I made a quick look in the code and i cant see removal of  "A","An", and "The in the beginning of the name. The removal is optional "A Hard Challenge" can match A or H

And I see no check if the challened is logged after last archive date either to make a partial check for "You may only use your found caches that were "active" when found. Archived caches that are logged as found after the archive date are not allowed."
After another look in the code after the long runtime
it took 4.1s on mw with 4700 find and 26s on bucknuts that have found it with 40000 find. That is to long for this test and will use to much cpu time for the bacground checks
You are doing all test 36 time one for each letter
loop over caches instead and add the result to a table indext by the letter.
us a letter loop after all check to print the result instead.
This will give a speedup by 36 time
...