-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New cache types (requested by OCNA) #860
Comments
I also suggest using this opportunity to redefine current porentially overlapping IDs in the code and database and have the code define the complete set of cache types, even if only a subset is available by default. |
I think it is not a very good idea. It is source of GIGANTIC problems with incompatibility with 3'rd party software (c:geo and MANY others). I think better way is migrate these cache types to right cache type and use attributes. For example - USB Dead Drop cache can be traditional cache, multi-cache (http://opencaching.pl/viewcache.php?cacheid=53498), moving cache (http://opencaching.pl/viewcache.php?cacheid=17058), mystery cache (http://opencaching.pl/viewcache.php?cacheid=18287), other type cache (http://opencaching.pl/viewcache.php?cacheid=23419). Dead Drop is type of logbook (attribute!) not type of cache. If I go for caches - I usualy don't search multicaches because them requre much more time. I can't determine easily that Dead Drop or Letterbox is multicache or traditional cache. In PL we have attribute "letterbox" or "dead drop" - so cache type is adequate to phisical type. Thats a big difference for me. |
@deg-pl Most of these cache types were added by our founder in 2010 (he is no longer involved with the site). I think our userbase would be very upset if any of them went away! Generally not too much of a problem with c:geo, they all show up on the maps or in a list, they generally just have a mystery cache icon, rather than their own unique icon. |
If userbase is c:geo, contributions to c:geo can help mitigate. |
There are also some cache types unique to OCNA, that have no corresponding type or attribute in neither OCPL nor OCDE. See Bitcache, Benchmark. And by their nature, I don't think they can be equally equivalated to traditional / puzzle / multi and an attribute. |
I think the same. I also think the same about some of the other cache types we use in Poland (e.g. webcam). In my mind, cache types should to be very broad and general. It's a big mistake to introduce new, specific ones, because - once the users realize what happened - they will simply require of us to introduce even more. This won't end happily. |
If OCUS's <1k users managed to think of 6 special types of caches, then imagine what our 36k users will do. |
@wrygiel I cannot argue with that. Although I would not necessarily say our users came up with the cache types, rather our founder, RvRoadTrip, who ultimately ran the site for less than 2 years. We were founded in 2010, and the last type was added in 2011, although we did come up with a new one we want to add now (Benchmarks). I really think our userbase would be highly pissed off if they were all reverted to Mystery type caches identified only by attributes after all these years. @andrixnet had told me in another conversation they could be "forbidden caches" on any other site using OCPL code? |
True. Every change brings some haters along with it. You (OCUS and OCPL developers) could make this work in such a way, that no users see any changes (OCPL would have cache types of its own, and you would have yours). But this, on the other hand, would be much more work for OCPL developers (and possibly external app developers, such as c:geo), so - if you choose this path - the users will not object, but the developers probably will. In the end run, users might still suffer, because of broken app implementations (because many developers have hard-coded cache types in their apps). There is no good choice here. Either way, someone will be mad with the decision. |
@wrygiel I agree no real good choice here. I will say that all our unique cache types have always shown up on the map or list of caches as "?" (mystery or unknown) on c:geo, and we're all used to that, and fine with it. I don't even remember when c:geo came online with OCNA, but I'll bet it was around 2013. |
I agree that it seems to be much more easy to add a attributes instead of new cache types. |
Graphical resources created by US team, to be integrated soon. |
Stage 1: graphics resources Reference: opencaching#860 - removed stale and unused files (22x22*, 24x24*, usb*, mystery*) - added graphics for new cache types (benchmark, bitcache, challenge, guestbook) - created icon resources /public/images/cache/res - created icon build script - moved KML build resources and script to /public/images/cache/res (/public/images/cache/kml now contains only production images) - updated KML icons build script From now on it is easy to generate the entire iconset from res/ directory. Just enable each cache type icon in res/__cache_types.txt. Also, KML icons will be generated from the same set.
Graphical resources here: andrixnet@9c5f0c5 |
Stage 2: code additions and changes Reference: opencaching#860 Reference: opencaching#2024 - modified lib/cache.php definitions (old, but still used) - modified GeoCacheCommons.php model - modified translations (en first) - new types are forbidden by default lib/settingsDefault.inc.php - partial modification src/Views/mainMap/mainMapFilters.tpl.php
First part of code implementation, database preparation and some translation work: andrixnet@95475f6 Will be amended according to #2076 if necessary. |
I worked on introducing the cache types and making all the necessary side preparations.
See andrixnet@7007934 (and previous commits on same branch. |
Submitted OKAPI update in sync with these changes. |
Work in my fork, cache_type branch can be seen live on a copy of OCRO: http://ocro.dev.andrix.eu/ |
BIT cache- No container, no log, cache is a 2"x 3" label, sticker, card etc. Geopath Yes As for points... I don't know. Your post suggested 1 for each except guestbook (2) which I assume is because there is an actual log involved. My thought would be 1 for Bit & Guestbook with 2 for benchmark. Reasoning is that the benchmark would likely more often present more of a challenge to find like a traditional whereas the Guest and Bit are usually easy to locate. |
Thank you @TermiteHunter for your answer. |
At this time I am asking for help from @kojoty @deg-pl .
|
Once deployment is ready, must coordinate with corresponding change in OKAPI and the Geokrety team |
The is a list of new cache types requested by OCNA in advance of their migration to OCPL-current:
[updated IDs according to wiki, 2019-07-04]
Caches should be added with ID's according to column F as described here:
https://wiki.opencaching.eu/index.php/Cache_types
New cache types should go into
forbidenCacheTypes
by default for existing nodes.Code changes needed (at least):
The text was updated successfully, but these errors were encountered: