You are correct, some copy paste issues, or maybe just not thinking enough when doing the code and sanitation for the filters. I'll fix them today and will try to release them tomorrow.by magma1447 - Method requests
Today I updated the polygon data for USA and Czechia. The scripts comparing old and new doesn't flag anything. For USA it's just some tweaked borders and really shouldn't affect anything, except that a single digit geocaches will be moved from one county to another. For Czechia it's recent changes from their government. A county got larger since a few land areas now belongsby magma1447 - Checker news
I got notified about some Challenge Guideline updates from HQ. I believe it's more of clarification and not really a change. Here is the information I received: QuoteHQ We have added the following to the Not Acceptable column of 10. Source of Criteria: Challenges based on words or letters. Examples: use the first letter of regions of found caches to spell a word, find caches with attribuby magma1447 - Checker news
There are zero scripts that matches 'Lyon Metropolis' and zero configs that matches it. I can't find uploaded json files matching either. What I can imagine matching is: * Challenges to log X amount in France where X might be one too high now. * You continues checkers where this area might need to be adjusted now. One area to remove, and Rhone might touch a few more.by magma1447 - Checker news
Currently the votes are: Keep as it is: 6 votes Merge them: 109 votes Therefore I have now told Project-GC to merge these two, it will take up to 24 hours until it's completed all through the system.by magma1447 - Checker news
It's likely that two counties in France will be merged in a week or so. For some reason OSM has split 'Rhône' into 'D Rhône' and 'Lyon Metropolis'. It has looked like this on Project-GC for as long as we can see (at least since 2019), but we have recently received feedback that this probably isn't correct. French Wikipedia lists them as one, English Wby magma1447 - Checker news
LUA is executed using MediaWiki's LuaSandbox. Max memory usage and Max cpu time is handled by their code entirely. I don't know how well documented it is what it's actually doing, I never looked it up. When switching sandbox implementation I just checked that it worked reasonable. From Project-GC's perspective it didn't really matter if it was 30 or 40 seconds for examby magma1447 - Method requests
I was wrong, it does indeed have regions. I came home yesterday after a quite long trip and obviously I wasn't awake enough when looking this up. But as DrAcorn says, there are no active geocaches in Guatemala/Guatemala. 28 archived, 0 active. Sorry for causing confusion.by magma1447 - Method requests
It's more that I didn't know that the consts showed up in the documentation at all. The danger of automatic documentation I guess.by magma1447 - Method requests
I can't see that the country Guatemala has any region support at all, or has ever had it in Project-GC.by magma1447 - Method requests
Yes, due to a spelling error. There is also a related issue from updating our polygon system. I won't be able to release a fix until next week.by magma1447 - Checker news
Tags has been transferred. I tested one, it seemed to work. I didn't really read the output to be honest, I trust in you, after all it doesn't seem like the most complex checker in the system. :)by magma1447 - Checker news
@DrAcorn Thanks. And while at it, also a big thank you for all your Wiki-edits. I don't think there is a reason to overdo your script and add type support. These challenges aren't allowed to be created. They are actually against multiple rules, yet there has been a handful published the last years. I will transfer all tags listed at https://project-gc.com/Tools/Challenges?edit&by magma1447 - Checker news
You are probably correct that there is no need for the new method. But in my end it was just to add another method, use the same code as before, but include the badgegen-v4-include file instead of the old one. It didn't even take me five minutes to create that method. That's why I did it now when I had the whole badgegen-thing in my mind.by magma1447 - Checker news
I can transfer tags if needed. I can also update the config of the tags if needed. This is what the Doxygen documentation says: /// @brief Get the furthest found from home. /// /// If the user doesn't have home coordinates a value of FALSE will be returned. /// @param int $profileId An integer with the users profile id. /// @param array $params An optional associative array of oby magma1447 - Checker news
Method GetFurthestFound() added. Doxygen is updated. Generally it should be enough to use it with the profileId as the first parameter only.by magma1447 - Checker news
A few changes will be made today, or possibly tomorrow. Method GetBadgeGenData() uses BadgeGen v3 (this is not a change) Method GetBadgeGenDataV4() will be added. A method to get the furthest find will be made available. The distance from home will also be returned, but with a lower precision (like rounded km). This is to protect the privacy of the user. Generally checkers using this method sby magma1447 - Checker news
Confirmed that it's the attribute and nothing else.by magma1447 - Method requests
Good suggestion. I copied your snippet and added it before the "More feedback"-block in the skeleton code. Will come with the next release. PS! I hope your code is valid, because my LUA is as good as my German (I know some, but almost not).by magma1447 - Method requests
It's definitely allowed to make meta-challenges today. From what I know it must use the attribute, but I am double checking that as we speak. Here is an example of such challenge in Sweden, https://project-gc.com/Challenges/GC9230H/56126 . Fairly new (published with current Guidelines).by magma1447 - Method requests
It's a memory issue, the new polygons are much more detailed. There are pretty much three ways to solve this: * Increase amount of memory allowed. Will still be very heavy for the client. * Create simpler polygons again. Will look uglier (like before), and also takes some time to produce, only needs to be run once though, not for every checker result obviously. * Re-implement the map thinby magma1447 - Checker news
Throw me an email to implement GetCountryPolygonInfo() so I don't forget. Shouldn't take me more than 15 minutes when I am at my battle station.by magma1447 - Checker news
Was countries possible before? I missed that. I will have to add an api method for that as well then. For regions and counties I add an example script here somewhere. Search for GetRegionPolygonInfoFromCountry. I am just on my phone for most of the day today, so a bit handicapped.by magma1447 - Checker news
I am not at home anymore today, I needed a break. I have an email thread with sloth, but he got some outdated info from me, I will update him later today, and link this thread. @vogelbird: I can probably write a script that tells which polygons connects with which. I can play around with it later today or tomorrow. Might be great to have in the future as well. Do you think you could supply meby magma1447 - Checker news
Thanks. I have copied your code into his. I also added his old code into the history table just in case. And yes, Target is inactive, sadly. I knew him in real life. Something got too much in his life and he seems to have cut of most everything and everyone. A real loss from many aspects.by magma1447 - Checker news
@pieterix: Yes, I will edit my post. A bad copy/paste from my side. The new calls are slower, mostly due to the area calculations.by magma1447 - Checker news
I bet all those script depends on the now defunct GetSimplifiedRegionPolygons() and GetSimplifiedCountyPolygons(). Since the scripts don't need the polygons themselves (I think and hope) there is no sense to passing the whole polygon via the scripts. Not the least now when there are higher precision in the polygons. Project-GC don't have any "simplified" anymore either. Theby magma1447 - Checker news
I think we have found the issue. Next release will include a fix. It's not a new bug though. MapCounties did not show polygons over areas which had zero geocaches (including archived) when providing the region. If not selecting a region it was shown.by magma1447 - Miscellaneous
I will implement a new version of GetSimplifiedRegionPolygons and GetSimplifiedCountyPolygons. The rest I haven't looked at yet.by magma1447 - Checker news