MapFinder

HoF Map Finder/Generator Utility 2016-10-05

I've found 2cp and I bought a new brain. I found myself what I was looking for.

This tool is great :)
 
This may have been answered before, but this thread is just TOOOOO long for me to go through the entire thing :( , but can someone tell me EXACTLY how to set the rule so that I store games with at least 1 wheat/cow next to a river with a dom limit >4000?

Thanks :D
 
AND Dom Limit > 4000
AND River > 0
OR Cow > 0
OR Wheat > 0

ALL "AND" conditions and at least ONE "OR" condition must be true for the Map to be accepted.

(See Post #551 on Page 28.)

I don't believe you can guarantee the Cow/Wheat is next to a River but there will be at least one river-adjacent square in the visible starting position. :)
 
Hmmm.... I set mine up like this, but I'm seeing all maps with wheat/cow and next to river skipped :confused: . Do you see anything wrong here?
 
The only thing I can see of significance is that you are limiting your Acceptable Maps to those containing EXACTLY One River square.

AND River > 0............ might yield more Maps. :)

(viz. Currently you will reject Maps with 2 or more River squares!)
 
Denniz said:
Hey Moonsinger, would you mind publishing the file layout of the "Set" file created by Mapfinder. I would like to try something with all those map statistics.

No problem! Here is the delphi data structure of the *.set file:

Code:
  TRunData = record
    CurShieldGrass: Integer;  //total number of bonus grasslands for current map
    CurGoodyHut   : Integer;  //total number of visible goodyhut found for current map

    CurCattle  : Integer;
    CurFish    : Integer;
    CurGame    : Integer;
    CurGold    : Integer;
    CurOasis   : Integer;
    CurSugar   : Integer;
    CurTobacco : Integer;
    CurFruit   : Integer;
    CurWheat   : Integer;

    CurDyes    : Integer;
    CurFurs    : Integer;
    CurGems    : Integer;
    CurIncense : Integer;
    CurIvory   : Integer;
    CurSilks   : Integer;
    CurSpices  : Integer;
    CurWines   : Integer;

    CurGrassland  : Integer;
    CurFloodplain : Integer;
    CurPlain      : Integer;
    CurForest     : Integer;
    CurHill       : Integer;
    CurJungle     : Integer;
    CurDesert     : Integer;
    CurTundra     : Integer;
    CurMountain   : Integer;
    CurCoastal    : Integer;
    CurMarsh      : Integer;

    CurFreshWater : Integer;
    CurRiver      : Integer;
    CurDomLimit   : Integer;
    VisbleTile    : Integer; //number of visible tile

    CurFoodBonus  : Integer;
    CurLuxury     : Integer;

    CurGetFood    : Integer;
    CurGetGold    : Integer;
    CurGetShield  : Integer;
    CurGetFoodBase   : Integer;
    CurGetGoldBase   : Integer;
    CurGetShieldBase : Integer;

    CurCattleOnGrass: Integer;
    CurCattleOnPlain: Integer;
    CurWheatOnFloodPlain : Integer;
    CurDeerOnForest      : Integer;
    Cur5FoodCount        : Integer;

    CurWineOnHill        : Integer;
    CurDeerOnMarsh       : Integer;
    CurFishOnMarsh       : Integer;
    CurForestOnGrassland : Integer;
    CurForestOnPlain     : Integer;

    IterationId    : Integer;   //current iteration id
    dDateGenerated : TDateTime; //actual date time when this map is generated

    ListOfRule  : array[0..1023] of char; //list of rules apply for current map
  end;

For example, CurCattle is really the total number of visible cattles for the current map. At the moment, each *.set file contents exactly one TRunData record.

Of course, if you wanted to add a "copy to clipboard" option to MapReport, I wouldn't object. :mischief:
Well, that really depends on how often are you planning to use the clipboard?:mischief:
 
berserks01 said:
Hmmm.... I set mine up like this, but I'm seeing all maps with wheat/cow and next to river skipped :confused: . Do you see anything wrong here?

Exactly like what Eman has explained! Thanks Eman!:) Also according to your rule, you were looking also for maps with a domination limit of at least 4000; therefore, MapFinder would skip any map with a domination limit of 4000 or less no matter how many wheats/cows/river were visible on the map.
 
A further comment on what Eman and Moonsinger said...

If you use river=1, remember that a river usually has 2 sides on most maps. The "1" means number of tiles bordering a river...not the number of separate rivers.

I set mine at river >2, because I want a longer river, and a river that runs a distance of 3 tiles most likely means river=6, 4 tiles =8, etc. :)
 
Good Point gma! :goodjob:

Multiple River Squares are very useful in the Early Game. (viz. Extra Commerce & River-Adjacent Cities can grow to size 12 without needing an Aqueduct.)
 
I've set my rules this way:
AND River > 2
AND Coast > 0
AND Bonus on grassland > 2
AND cattle > 0
AND Ivory > 0


I know it can be a difficult question but how many days or weeks do you think I'll need to wait for at least get one elligible map?
 
Jolinar Vaughn said:
I've set my rules this way:
AND River > 2
AND Coast > 0
AND Bonus on grassland > 2
AND cattle > 0
AND Ivory > 0


I now it can be a difficult question but how many days or week do you think I'll need to wait for at least get one elligible map?

I would recommend River > 0. Keep in mind that a river run may run through many non-visible tiles. Just because it ends at the starting position, that doesn't mean that it's a short river. The chance for getting ivory and a cow with visible coast line at the starting position is very rare; I have never run into such a map, but may be you will get luckly, who know.
 
I was trying to use Mapfinder for C3C but it wouldn't work. I started a game and then started Mapfinder at 4000 BC, and it created a new map but then abruptly displayed the following error message:

Access violation at address OOCF345E in module 'SAVUtils.DLL'. Write of address 03DDA26C.

Could anyone please help me or tell me what I'm doing wrong? Thanks.
 
@Ciceronian: Are you using the latest patch of C3C (1.22)? SAVUtils.dll *should* cope with older versions OK, but it's been used mostly with the latest version as that's what's required for the HOF. EMail me a .sav file or post one here and I'll take a look.
 
Back
Top Bottom