×

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

Re: Error in GC2M3D4 - Challenge #52: Stockholm yellow pages challenge.

[New] Error in GC2M3D4 - Challenge #52: Stockholm yellow pages challenge.
August 20, 2017 06:04AM
Hello,
the checker GC2M3D4 - Challenge #52: Stockholm yellow pages challenge. does not open the "yellow page" to show caches on the page. Instead it links to http://project-gc.com/ which I think is not correct.
YXZA
Re: Error in GC2M3D4 - Challenge #52: Stockholm yellow pages challenge.
August 20, 2017 11:43PM
Hmm... looks like there's a bug in the map generation used by that script. Possibly caused by the recent updates to the site.

This is not really a checker request, so I'll raise it in the bug reports under the Q&A system.
Re: Error in GC2M3D4 - Challenge #52: Stockholm yellow pages challenge.
August 21, 2017 07:30AM
I passed the message on PGC-HQ
Re: Error in GC2M3D4 - Challenge #52: Stockholm yellow pages challenge.
August 21, 2017 09:25AM
I dont think it have open up a map of the area in the past. I have rewritten that script and there is no code for opening maps of a ara. The map and popupcode are reused of the standard maps and I thing the links are automaticly generated like on popups with GC codes...
Re: Error in GC2M3D4 - Challenge #52: Stockholm yellow pages challenge.
August 21, 2017 12:00PM
It has never linked a page with available caches, and the technical limitations prohibits it from doing it. The tooltip text probably shouldn't be a link at all, but that's how it works right now.
Re: Error in GC2M3D4 - Challenge #52: Stockholm yellow pages challenge.
August 21, 2017 07:19PM
Hello,
previously the page behaved as http://coord.info/GC4HMQQ where you could click on the missing angle and then you were shown all the available caches in that area.
Now I'm just redirected to a general page at http://project-gc.com/ which is of no use.
Re: Error in GC2M3D4 - Challenge #52: Stockholm yellow pages challenge.
August 24, 2017 11:54AM
Are you sure about that? If it generated a map then it had to be a old php checker that did the same thing since it is not possible for the new lua checkers to get access to non found caches.

The code for the checker has not been change since 2016-06-13 19:59:21 UTC an the only line the add the url is:

mappoly.url = "http://project-gc.com/";

and the is just the same url for all maps

The challenge tag was created
Updated at: 2014-11-23 00:36:22 UTC (Created at: 2014-10-28 23:37:26)
The creation is the day after the checker script was created

The whole code for generation the polygon generation the map


Quote

-- populate map
for _, name in Pairs(polynames) do
poly = polygons[name]
for _, coordlist in IPairs(poly.polypoints) do
local mappoly = {}
mappoly.polygon = coordlist
mappoly.region = poly.fullname
mappoly.url = "http://project-gc.com/";

if poly.optional then
mappoly.color = "yellow"
mappoly.urlText = poly.fullname .. " ("..poly.counter.. " caches found)"
elseif poly.cache == nil or poly.cache.gccode == "optional" then
mappoly.color = "red"
mappoly.urlText = poly.fullname
else
mappoly.color = "green"
mappoly.urlText = poly.fullname .. " ("..poly.counter.. " caches found)"
end
TableInsert(map.polygons, mappoly)
end
if poly.cache == nil then
if (not conf.limit) then
TableInsert(logtable, poly.fullname .. ": [missing]")
end
else
TableInsert(logtable, poly.fullname .. ": "..poly.cache.gccode.." - " .. poly.cache.cache_name.. " ("..poly.cache.visitdate..")")
if poly.cache.gccode ~= "optional" then
TableInsert(map.caches, poly.cache.gccode)
end
end
end



Edited 1 time(s). Last edit at 08/24/2017 11:55AM by Target.. (view changes)
Sorry, only registered users may post in this forum.

Click here to login