Powered by Invision Power Board


  Closed TopicStart new topicStart Poll

> Generating a route of caches to plunder, CacheRaid.gsk
clydeGC Profile
Posted: March 06, 2006 05:08 pm
Quote Post


Administrator
*****

Group: Admin
Posts: 26199
Member No.: 1
Joined: July 16, 2004



Administrator's Note: This macro has been replaced by an updated version - please scroll down to the last post in this topic to get the latest version of the macro. If you're using an older version of GSAK (i.e. in GSAK, if Help>About shows GSAK version 6.5 or earlier), please update to the latest version of GSAK before using macros (click here to download the free update).

This macro will generate a route of caches that are the closest distance from each other for a "cache raid". Basically, the macro allows you to build a "cache chain". You select a cache then the macro will build a database of a direct route of the caches that are the shortest distance from last one (of course ignoring caches that are already in your "cache chain"). You can then use this "route" to plan your next cache raid. Note: this is not quite as sophisticated as selecting a centre point then doing the calculations to provide the shortest route to collect all caches within x miles of this point.

This version just keeps on selecting the cache that is the next closest then adds it to the "cache raid" database. So depending what your starting cache is, and how many you want for this "cache raid" you could end up anywhere (of course you could always start by setting a filter that is x miles from your starting point to make sure you don't end up too far from your starting point)

Note: This macro requires a saved filter called "Cache Raid" (without the quotes). Just set up a filter that meets the criteria for your cache raid (not found for example) then save this filter with the name of "Cache Raid"

This post has been edited by clyde on July 10, 2007 04:32 pm
PMEmail PosterUsers Website
Top
clydeGC Profile
Posted: March 08, 2006 05:17 pm
Quote Post


Administrator
*****

Group: Admin
Posts: 26199
Member No.: 1
Joined: July 16, 2004



Updated to leave the source database untouched. That is, the previous version would reset your user flags and center point in the source database.

By doing it this way it also eliminates a bug that occurs if your "Cache Raid" filter was using "user flags" in any way as part of the filter.

This version also updates the User Sort field in the "Cache Raid" database and sorts on it, to show the caches in the correct order for your cache raid.

Keywords: Available, Density, Distance, Proximity, Route

Attached File ( Number of downloads: 1262 )

This post has been edited by clyde on July 10, 2007 04:31 pm
PMEmail PosterUsers Website
Top
clydeGC Profile
Posted: July 10, 2007 04:30 pm
Quote Post


Administrator
*****

Group: Admin
Posts: 26199
Member No.: 1
Joined: July 16, 2004



Version 1.2

Converted to gsk


(Number of downloads: 114)
This macro has been updated - please scroll to the last post in this topic for the latest version.
PMEmail PosterUsers Website
Top
clydeGC Profile
Posted: August 05, 2007 07:49 pm
Quote Post


Administrator
*****

Group: Admin
Posts: 26199
Member No.: 1
Joined: July 16, 2004



Version 1.3

Changed the creation of the "Cache Raid" database to disable smart names.

This stops the recalculation of smart names and ensures that each cache in your "cache raid" database will have the same smart name as your source database.

Attached File ( Number of downloads: 2764 )
Attached File  CacheRaid.gsk
PMEmail PosterUsers Website
Top
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

Topic Options Closed TopicStart new topicStart Poll

 



[ Script Execution time: 0.0146 ]   [ 11 queries used ]   [ GZIP Enabled ]