Advanced

Re: GC7115P All Distances to Finds achieved

[Resolved] GC7115P All Distances to Finds achieved
February 25, 2017 11:18AM
Hi, I was looking for a challenge checker to verify whether geocachers have found at least 1 cache in every distance range as shown on the profile statistics page below Distance to Finds. Can you clone or create one for me?
I have fulfilled the challenge myself. Many thanks in advance.
at least 1 find < 1 km and
at least 1 find 1 km to 10 km and
at least 1 find 10 km to 25 km and
at least 1 find 25 km to 50 km and
at least 1 find 50 km to 100 km and
at least 1 find 100 km to 250 km and
at least 1 find 250 km to 500 km and
at least 1 find 500 km to 1000 km and
at least 1 find 1000 km to 2500 km and
at least 1 find 2500 km to 5000 km and
at least 1 find 5000 km to 7500 km and
at least 1 find > 7500 km.
Re: GC7115P All Distances to Finds achieved
February 25, 2017 02:12PM
I don't believe this is possible as the checker engine does not have access to home coordinates.

This has come up more than once. Is it time to add a method for providing the histogram show on geocaching.com public statistics page? Although some folks suppress that data.
Re: GC7115P All Distances to Finds achieved
February 25, 2017 03:41PM
Please read http://project-gc.com/forum/read?8,13 first before requesting a checker

What a checker can not do
* The checkers does not have access to the user's home coordinates. Challenges are not allowed to be based upon them either, and haven't been allowed to for several years. This is a matter of integrity.
Re: GC7115P All Distances to Finds achieved
February 25, 2017 05:21PM
Apologies, I had read the ReadMe first but did not realize this would require the home coordinates. Too bad, but can I submit another checker request instead in this thread? I expect this does one not require the home coordinates.
On the GC profile statistics page the coördinates of the most Northern, Southern, Eastern and Western finds are mentioned. I would like to have a checker for a challenge to have the total distance (N-E) + (E-S) + (S-W) + (W-N) to be at least 10000 kilometers. In my case these coordinates are:
Find Farthest North = N 62° 35.359 E 009° 40.549
Find Farthest South = N 32° 38.812 W 016° 54.631
Find Farthest East = N 43° 48.256 E 015° 57.907 (from Prime Meridian)
Find Farthest West = N 49° 10.212 W 123° 56.229 (from Prime Meridian)
Distances (rounded) are: North-East = 2130 km, East-South = 3107 km, South-West = 8437 km, West-North = 6955 km. Total = 2130+3107+8437+6955 = 20629 which is > 10000 so I would qualify.
Again, many thanks for looking into this.
Re: GC7115P All Distances to Finds achieved
February 25, 2017 05:42PM
There is no script yet, I'll mark this one as new script required for a script writer to read this thread
Re: GC7115P All Distances to Finds achieved
February 26, 2017 05:09PM
Re: GC7115P All Distances to Finds achieved
February 26, 2017 08:04PM
Thank you, sloth96, this script is suitable to check the challenge criteria. Two minor remarks:
1-The challenge is fulfilled if at least the minimum distance is reached, so please use 'greater than or equal to' (if totaldist >= conf.mindist*1000 then)
2-Please show the output also if the geocacher does not reach the minimum distance, so he can see how far off he is.
Re: GC7115P All Distances to Finds achieved
February 26, 2017 08:26PM
Cganges made.
Re: GC7115P All Distances to Finds achieved
February 26, 2017 09:06PM
I do get an error message while checking a non-qualifying account ('CapraIbex96' or 'ivel inc'):
Array
(
[lineNo] => 111
[error] => bad argument #1 to 'TableInsert' (table expected, got boolean)
)
Re: GC7115P All Distances to Finds achieved
February 26, 2017 09:13PM
Thanks for the great debug report.

Should be fixed.
Re: GC7115P All Distances to Finds achieved
February 26, 2017 09:19PM
Thanks, the challenge checker fulfills the requirements. I will use it for my challenge cache. Great job!
Sorry, only registered users may post in this forum.

Click here to login