Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: Location Finder Detecting closest region? (Possible bug?)  (Read 438 times)

Pexxithan

  • Bay Watcher
    • View Profile
Location Finder Detecting closest region? (Possible bug?)
« on: August 05, 2008, 03:58:56 pm »

So I've been playing with the Location Finder and I've noticed something interesting.

When looking for the locations specified, it seems to pan out from where you have the initial region selector. Meaning if I have a large world map and I pan around and then use the region finder for something simple, it seeks the closest possible match to where you started the search. Then when I pan somewhere else it finds the closest match in that new area.

Now that seems to work like intended. However...

I've had instances where I've found a location that has everything that I'm looking for, yet when I move somewhere else to search a different location... it only gives me partial matches for the same locations that I did find before. Ergo that I don't think the location finder is looking for the matches in every location.

Not necessarily a bug, but it might be?
Logged

Toady One

  • The Great
    • View Profile
    • http://www.bay12games.com
Re: Location Finder Detecting closest region? (Possible bug?)
« Reply #1 on: August 06, 2008, 07:53:55 am »

It shouldn't depend on the cursor.  Have you got a seed and some spots I could look at for this one?  I haven't noticed it myself.
Logged
The Toad, a Natural Resource:  Preserve yours today!

Pexxithan

  • Bay Watcher
    • View Profile
Re: Location Finder Detecting closest region? (Possible bug?)
« Reply #2 on: August 06, 2008, 04:08:40 pm »

Yeah, I can supply a seed for you as soon as I get off work later tonight.
Logged

Pexxithan

  • Bay Watcher
    • View Profile
Re: Location Finder Detecting closest region? (Possible bug?)
« Reply #3 on: August 06, 2008, 10:50:39 pm »

Alright. Here's the world gen info of an example I can provide:

Code: [Select]
[WORLD_GEN]
[TITLE:LARGE]
[SEED:2213148693]
[HISTORY_SEED:2845296520]
[NAME_SEED:1778980049]
[DIM:257:257]
[END_YEAR:1050]
[BEAST_END_YEAR:300:80]
[REVEAL_ALL_HISTORY:1]
[CULL_HISTORICAL_FIGURES:1]
[ELEVATION:1:400:800:800]
[RAINFALL:0:100:400:400]
[TEMPERATURE:25:75:400:400]
[DRAINAGE:0:100:400:400]
[VOLCANISM:0:100:400:400]
[SAVAGERY:0:100:400:400]
[ELEVATION_FREQUENCY:1:1:1:1:1:1]
[RAIN_FREQUENCY:1:1:1:1:1:1]
[DRAINAGE_FREQUENCY:1:1:1:1:1:1]
[TEMPERATURE_FREQUENCY:1:1:1:1:1:1]
[SAVAGERY_FREQUENCY:1:1:1:1:1:1]
[VOLCANISM_FREQUENCY:1:1:1:1:1:1]
[GOOD_SQ_COUNTS:100:1000:2000]
[EVIL_SQ_COUNTS:100:1000:2000]
[PEAK_NUMBER_MIN:50]
[OCEAN_EDGE_MIN:2]
[VOLCANO_MIN:15]
[REGION_COUNTS:SWAMP:1032:7:6]
[REGION_COUNTS:DESERT:1032:7:6]
[REGION_COUNTS:FOREST:4128:13:12]
[REGION_COUNTS:MOUNTAINS:8256:9:9]
[REGION_COUNTS:OCEAN:8256:7:6]
[REGION_COUNTS:GLACIER:0:0:0]
[REGION_COUNTS:TUNDRA:0:0:0]
[REGION_COUNTS:GRASSLAND:8256:13:12]
[REGION_COUNTS:HILLS:8256:13:12]
[EROSION_CYCLE_COUNT:250]
[RIVER_MINS:400:400]
[PERIODICALLY_ERODE_EXTREMES:1]
[OROGRAPHIC_PRECIPITATION:1]
[SUBREGION_MAX:2750]
[CAVE_MIN_SIZE:5]
[CAVE_MAX_SIZE:25]
[MOUNTAIN_CAVE_MIN:100]
[NON_MOUNTAIN_CAVE_MIN:200]
[ALL_CAVES_VISIBLE:0]
[SHOW_EMBARK_RIVER:2]
[SHOW_EMBARK_POOL:2]
[SHOW_EMBARK_M_POOL:2]
[SHOW_EMBARK_M_PIPE:2]
[SHOW_EMBARK_CHASM:2]
[SHOW_EMBARK_PIT:2]
[SHOW_EMBARK_OTHER:2]
[SHOW_EMBARK_TUNNEL:2]
[TOTAL_CIV_NUMBER:50]
[TOTAL_CIV_POPULATION:20000]
[PLAYABLE_CIVILIZATION_REQUIRED:1]
[ELEVATION_RANGES:8256:16512:8256]
[RAIN_RANGES:8256:16512:8256]
[DRAINAGE_RANGES:8256:16512:8256]
[SAVAGERY_RANGES:8256:16512:8256]
[VOLCANISM_RANGES:8256:16512:8256]

This is from a vanilla install of the game using a custom creation world with the highest map settings (and default settings for that world size).

The search method was a 4x4 selection size with everything set to N/A except the following:
Aquifer: NO
River: YES
Underground Pool: YES
Bottomless Pit: YES

I then started the first search in the upper right-hand corner and searched 3 times. It all came up with the same area near the upper right-hand corner of the map. Each time it came with the same area.

I then did the bottom left-hand corner 3 times with the same search params. It came up with an area close to the bottom-left hand corner. This occurred the same each time I did it.

I figured this would be enough to warrant a lookie-see. However if you want I can go through and find more examples.
Logged

Pexxithan

  • Bay Watcher
    • View Profile
Re: Location Finder Detecting closest region? (Possible bug?)
« Reply #4 on: August 07, 2008, 01:40:55 am »

I will try to replicate another of the issues in the morning. It'll be the one about the location finder only finding partial matches to params that it found exact matches for when searching from different starting cursor regions.
Logged