×

To be able to write in the forum you need to authenticate. Meanwhile it's read-only.

Re: Checker for GC6GAMW gives error

[Resolved] Checker for GC6GAMW gives error
April 08, 2019 12:13AM
this checker:
https://project-gc.com/Challenges/GC6GAMW/20369

returns this error for me:
[string ""]:83: attempt to compare boolean with string

It runs fine for user Czechsun with these results:
**I make it with 432 finds from 1 hiders and I only needed 100 finds from any hiders that joined Geocaching.com between 2000-05-03 and 2009-12-31**
**Bigguy In Texas** joined on **2006-03-05** and I have found **432** of their caches
Re: Checker for GC6GAMW gives error
April 08, 2019 01:09AM
Having a quick look at the code, it looks like one of the hiders you have found a cache from might have a buggy account. I've sent an email to the script writer to have a look.
Re: Checker for GC6GAMW gives error
April 15, 2019 07:03PM
sorry for the delay in responding to this one.

There was a similar problem on another checker that was caused by how Project GC implemented General Data Protection Regulation (GDPR). If you have found a cache published by someone who has chosen to hide their personal data then the pgc api will return their cacher ID renumbered above 2 billion integers to obscure who the original cacher is.

That is going to break any script that uses the cacher id.

I'll fix it up soon.

-Greg
Re: Checker for GC6GAMW gives error
October 09, 2019 09:29AM
Will this bug being attended to.
Re: Checker for GC6GAMW gives error
October 19, 2019 09:41PM
The bug has been fixed and the root cause identified.

gc.com users can now opt out of providing their personal data.

Normally, calls to PGC.ProfileId2Name(f.owner_id) will return the owner's geo nick name.
Now however, it will return a string similar to the below if the user has "opted out" of sharing their info.

§OPTOUT:1f4620331§

Any script that uses ProfileId2Name should test for this with the following:

if string.sub(PGC.ProfileId2Name(f.owner_id),1,8) == "§OPTOUT" then
  -- Skip this owner!
else
  -- do whatever you were going to do
end
Sorry, only registered users may post in this forum.

Click here to login