The changes are released, however I know that the new code is slower. I wanted to compare and test with old code before, but since the script didn't work fully I didn't manage to complete my tests. The script is disabled now. Is it okay if I enable it? Not even I can run disabled scripts.by magma1447 - Checker news
I have been playing around with it. If I understand it correctly, I seem to have missed correcting a variable regarding distance. At least that's how I see it in the Git history. What I did to start with was this: * Implemented a new better distance-function in SQL stored procedure. Better math. * The old one used these arguments: lon1, lat1, lon2, lat2, and km * The new one used argumby magma1447 - Checker news
Yesterday morning (Friday 18th januari) I released some broken code calculating distances. It might have affected checkers. So if you have received such feedback in form of bug reports, it was my fault. From what I know, everything is fixed now.by magma1447 - Checker news
It's fixed now, and I made a new release. I have tested method GetLabCacheFinds(). It seems to return relevant data. I tested GetFinds() so that it actually runs. I did not verify that I got the data I expected. So if you do not find any labcaches here, it probably doesn't work. Regarding GetFinds() I added these two comments: * The field cache_id is NOT guaranteed to be uniquby magma1447 - Checker news
pieterix Wrote: ------------------------------------------------------- > I assume it's not deployed yet? > > Caught exception: attempt to call field > 'GetLabCacheFinds' (a nil value) It is, but I forgot to add the method into the Sandbox, I just wrote the code... I should have tested it myself. I will attack it tomorrow, and at least test that it gives decentby magma1447 - Checker news
Two implementations ready for testing: https://project-gc.com/forum/read?6,35985by magma1447 - Method requests
I will release two updates to the Sandbox API in a few minutes. Both implementations are 100% untested. Feel free to test them, if they don't work, please inform me here. None of them are documented yet. I will generate a new Doxygen documentation when I know that they work. New method PGC.GetLabCacheFinds(profileId) Doxygen basis /// @brief Returns an associative array with thby magma1447 - Checker news
Hügh Wrote: ------------------------------------------------------- > That sounds great! If you could also make sure to > update the TopStreak page > (https://project-gc.com/Statistics/TopStreak)... I > would be happy :) Top streaks isn't related and that works completely different. If we update that, we will have to update every other top list on the site. Otherwise it dby magma1447 - Method requests
Hügh Wrote: ------------------------------------------------------- > Also, it's not like HQ has outright "banned" Lab > caches for challenges — see > https://www.geocaching.com/blog/2016/05/return-of-challenge-caches/ You are probably right, I just didn't recall the Guidelines correctly. Lab caches has been a topic before, and it has been under discussion hby magma1447 - Method requests
vogelbird Wrote: ------------------------------------------------------- > You are missing a continent > ["Antarctica"] = { > "Antarctica", > "Bouvet Island", > "French Southern and Antarctic Territories", > "Heard Island and McDonald Islands", > "South Georgia and the South Sandwich Islands" > } I havby magma1447 - Checker news
vogelbird Wrote: ------------------------------------------------------- > I noticed that Scandinavian countries see > Greenland as Europe but others see it as North > America Greenland is defined as Europe in our data-set. I haven't heard any complaints about it, and as long as Trump don't manage to buy it, I have a hard time seeing it as North America. Though I donby magma1447 - Checker news
vogelbird Wrote: ------------------------------------------------------- > What about Melilla and Ceuta the belong to Spain > but are on the African continent in fact even the > Spanish call it in Africa > > Second question : which assignment are you using > because of the Eurazian countries because there is > no clear definition apart from > http://www.newworldeby magma1447 - Checker news
@vogelbird I will have to get back to you. Your competence regarding countries is way too high, I don't know what half of them are. Let me finish what I am doing, and I will take a serious look. Meanwhile, here is a screenshot of the definitions Project-GC uses (mainly for Profile stats). https://1447.se/shutter/screenshot_20200114_11%3A34%3A19_3535.png EDIT: Continents are also coby magma1447 - Checker news
pieterix Wrote: ------------------------------------------------------- > Yes, I get that they're not countries. There's > been lots of confusion regarding the islands > before when it comes to allocation to continents. > Some CO's wants Canary Islands to count under > Africa, other think it's crazy and it should count > under Europe, or some simply doby magma1447 - Checker news
That's all the information Project-GC has, and if I recall correctly we store everything that's exposed to us via the API methods (for labs) we have paid for. I think there actually are two dates in the API. One that's UTC and one that's "local". We only keep one of them, the one that seems to match correctly with the dates as shown on Geocaching.com. The firstby magma1447 - Method requests
By the way, the list will also be available in the FAQ as soon as the next update is released.by magma1447 - Checker news
I can't answer for the fact if we will do it years from now. But right now, no, we don't have owner data. I remember asking for it, don't remember HQs reason to not handing it out. CREATE TABLE `labcaches` ( `guid` char(36) CHARACTER SET ascii NOT NULL, `name` varchar(128) COLLATE utf8mb4_unicode_ci DEFAULT NULL, `first_found_date` date DEFAULT NULL, CREATE TABLEby magma1447 - Method requests
Since Canary Islands isn't a country (per definitions from HQ), it's not part of the continent definitions. Spain itself is well known to belong to Europe. We have ignored the fact that some countries have islands far far away that might be on (close to) other continents. I don't think we have gotten much feedback on it actually. The only alternative solution that would be beby magma1447 - Checker news
I have implemented a GetContinentDefinitions() in our development environment. It's neither tested or released yet, but likely to be tomorrow. Here is the Doxygen documentation, which hopefully says what it does: /// @brief Get continent definitions /// /// Returns an associative array with continents and their belonging countries. /// If the optional parameter continent is used,by magma1447 - Checker news
Project-GC actually has lab cache data. But since the Guidelines for Challenges disallow them, we are not exposing the data. It's quite a mess of incompatibility anyway.by magma1447 - Method requests
Just a heads up. Norway has new administrative borders starting 2020. OpenStreetMap hasn't been updated yet, so neither has Project-GC. When the update comes the amount of counties will (hopefully) decrease from 422 to 356. 356 is the new official number. For this reason, it can be wise to hold off on any new county related checkers in Norway.by magma1447 - Checker news
That's actually a much better output, very useful for those not fulfilling, and still as simple example log. I like it of course. I have updated the web page with the new one (sorry vogelbird).by magma1447 - ARCHIVE Checker requests (completed)
The challenge is actually already published. But that doesn't stop me from switching to another checker if you want to create one.by magma1447 - ARCHIVE Checker requests (completed)
It's not that bad. It gives you some hint of where to start looking. The output when succeeding is clear though. I take it, thanks!by magma1447 - ARCHIVE Checker requests (completed)
I would appreciate a challenge checker for a challenge that requires full D/T in 3 different countries. For example all 81 combinations in Germany, all 81 in Sweden, and all 81 in Denmark. GC-Code: GC8HHVEby magma1447 - ARCHIVE Checker requests (completed)
1-2 weeks ago HQ renamed Macedonia to North Macedonia. This might affect some checkers. Not the least, those using a list that defines Europe. I just noticed that I had missed changing PGCs internal definition of Europe and will fix that.by magma1447 - Checker news
FYI, reviewers suggested to Appeal it. Obviously they weren't in a 100% agreement. I appealed to HQ, and it got denied. But, I appealed it together with another one, and the other was approved. Always something. :)by magma1447 - ARCHIVE Checker requests (completed)
I believe the function returned false, so it would be possible to handle in the scripts. But in this particular case, it seems better to solve it server side, once for all. There could be other cases where the function returns false though. But not normally, only if it can't find that geocacher for some weird reason. Could be temporary issues with the data or the api for example.by magma1447 - ARCHIVE Checker requests (completed)
Thank you for nailing down the reason PattuX. Vogelbird told me there were a few issues raised in the forum, I took a look, and found your post, which saved me a lot of time. I now have a patch in the development environment where the id2name callback has a hard coded name for id=1. It will return "", just as it says on the web. I'll try to publish the change tomorrow.by magma1447 - ARCHIVE Checker requests (completed)
ID 16 seems to be the only ID missing in my table attributes. All in that table are used.by magma1447 - Script development