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
67 views

Hi!

I wonder if someone could help me with creating a checker for this challengecache.

The challenge itself is on the same calendar day (00:00 - 23:59), log at least 5 different cache types, at least 50 unique caches, and with a total sum of at least 250 stars (D/T combined).

Any help would be appreciated.

Svenna70
(function () { if (map) { $(".leaflet-control-layers").remove(); var statensKartverk = new L.TileLayer('http://opencache.statkart.no/gatekeeper/gk/gk.open_gmaps?layers=topo2&zoom={z}&x={x}&y={y}'); map.addLayer(statensKartverk); map.addControl(new L.Control.Layers({ 'Statens Kartverk':statensKartverk, 'Google Maps':gglroad, 'Google Satellite':gglsat, 'OSM':osm }, overlayLayers)); } })(); (function () { if (map) { $(".leaflet-control-layers").remove(); var statensKartverk = new L.TileLayer('http://opencache.statkart.no/gatekeeper/gk/gk.open_gmaps?layers=topo2&zoom={z}&x={x}&y={y}'); map.addLayer(statensKartverk); map.addControl(new L.Control.Layers({ 'Statens Kartverk':statensKartverk, 'Google Maps':gglroad, 'Google Satellite':gglsat, 'OSM':osm }, overlayLayers)); } })();

in Miscellaneous by Svenna70 (220 points)

1 Answer

0 votes
 
Best answer
by Jakuje (Moderator) (112k points)
selected by Svenna70
Thanks a lot for this! But when checking some of the finders of this cache that I know has qualified, the example log shows a different date where all the requirements are not met. One example is user "mereteba". I know she met the requirements 2014-04-26, but the example log in the script shows "That is a total of 152.5 points together, 11 types of 5 required, 45 caches of 50 required during 2014-05-03"
I hoped nobody will notice :P
Should be fixed now in script with better evaluation of all cases.
It's getting there. After checking user "jarve", there's still not completely right.
It seems that the scripts favour total stars and number of finds. The output for "jarve" is "That is a total of 271 points together, 3 types of 5 required, 86 caches of 50 required during 2013-07-29
", where the amount of cache types is not fulfilled. I've checked the user manually, and can confirm that he qualified 2014-05-31.
Yes. Sorry. You are right. The result was alright, but the output was wrong. I started this script based on some other with quite bad design. I hope now it is correct for all cases:
That is a total of 264.5 points together, 5 types of 5 required, 77 caches of 50 required during 2014-05-31
What can I say but a big THANK YOU!!!
Excellent work which I really appreciate.
...