MapFinder

HoF Map Finder/Generator Utility 2016-10-05

Denniz said:
When I right-click and select "allow blocked content" it doesn't change anything. I have tried selecting "Generate Report" to run again but nothing new happens.

That is very normal! IE6 does that for your own protection. The latest version of Netscape does the same thing too. Because the column sorting script is a java script; in theory, java script can be very harmful because there may be some bad java script out there that could mess up your system - exactly why IE/Netscape can be set to not AUTOMATICALLY execute any java scripts. Therefore, you just have to do a "right hand click" on the block content and alllow it to run.
 
Moonsinger said:
did you remember to unzip it with mantaining its directory structure?
Yep. Default setting.

Moonsinger said:
There should be an "images" sub directory in where you installed MapFinder. If that images" directory doesn't exist, I tell MapFinder to skip the report...
That's interesting. When I try to generate a report it creates an "Images" folder in the directory with the .sav & .jpg files. That's why I said I had to copy the images. There is only the script file there to start. The original "Images" folder is where it is supposed to be, but it is definately referencing the "new" one. I have deleted it an had it come back several times.

Is there an issue if the folder where it writes the maps is a sub-folder of the "MapFinder" folder? Also, when I first unzip and ran it I had it in a folder in "My documents". When I objected to my perfectly reasonable 50-bagillion byte path name for the output, I put the output folder on C: and later moved the MapFinder folder there, too. (Putting the output folder inside.)

I attached the requested dir list and included the INI file as a bonus, in case you wanted to look at it as well. :)


Moonsinger said:
IE6 does that for your own protection.
[rant] Protection and annoyance. You can make an exception for a webpage coming over the net but not if you are opening a local html file. :( [/rant]
 

Attachments

This new version has been taking a lot more times than I thought. Anyway, it's almost done. Here is the screen shot of the new interface. Just two setup tabs with a list of stuffs (variables) you can pick from. Of course, you can import/export (save/load) any rule set that you like.
 

Attachments

  • MapFinderSetupTab1.jpg
    MapFinderSetupTab1.jpg
    59.4 KB · Views: 99
  • MapFinderSetupTab2.jpg
    MapFinderSetupTab2.jpg
    33.1 KB · Views: 139
Denniz said:
I attached the requested dir list and included the INI file as a bonus, in case you wanted to look at it as well.:)

Everything looks good there! I don't see anything wrong with those files or directory structures. Btw, I'm using WinXP Pro with SP2 too. The fact that it couldn't copy those image files to the report directory trouble me. So far, you are the only one with this problem. I may have to compile a special debug version just for you because I don't see why it wouldn't work on your machine.
 
Moonsinger said:
Everything looks good there! I don't see anything wrong with those files or directory structures. Btw, I'm using WinXP Pro with SP2 too. The fact that it couldn't copy those image files to the report directory trouble me. So far, you are the only one with this problem. I may have to compile a special debug version just for you because I don't see why it wouldn't work on your machine.
Definately something bizarre. I turned off my firewall, virus & adware protection and tried it again. No difference.

My PC is a laptop, so I have user accounts turned on (i.e. password protected.) I checked the event viewer and there are no messages there, but still, maybe something security related?
 
Ok, here is version 6 (about 1400KB in size):

http://www.civfanatics.net/uploads9/MapFinder_v6.zip

The following is a list of items you can have MapFinder to search for:

Code:
bonus grassland
cattle
cattle on grassland
cattle on plain
coast
deer
desert
domination limit
floodplain
food bonus
forest
fresh water
gold
grassland
hill
hut
ivory
jungle
lake
luxury
marsh
mountain
plain
river
tundra
wheat

If there is an item you want that isn't on the list, please remind me. Thanks!
 
Denniz said:
Definately something bizarre. I turned off my firewall, virus & adware protection and tried it again. No difference.

My PC is a laptop, so I have user accounts turned on (i.e. password protected.) I checked the event viewer and there are no messages there, but still, maybe something security related?

No, it's not that! I'm sure it's probably something much simpler than that. Btw, what language and keyboard style are you using? Please note that MapFinder may not work with non-US keyboard style. In the US version, the "\" is the directory separator. In other languages, it may be the same as the "\" key; therefore, it may not work.
 
Daghdha said:
Is there maybe some sort of manual for this cool tool! I know you're working your butts off just to create it so this is a very gentle request.

Are you volunteering for that job?;)
 
Moonsinger said:
The following is a list of items you can have MapFinder to search for:

...

If there is an item you want that isn't on the list, please remind me. Thanks!
I would like to be able to search for tiles that have 5 food when irrigated (which would be 4 in despotism, enough for an aggricultural settler factory). Would that be possible? I think I've supplied the required information about the tiles :).
 
Dianthus said:
I would like to be able to search for tiles that have 5 food when irrigated (which would be 4 in despotism, enough for an aggricultural settler factory). Would that be possible? I think I've supplied the required information about the tiles :).

If I add "cattle on grass", wheat on floodplain", "deer on forest", do you think that will do the trick. As far as I can see, those are the only things that can yield 5 food when irrigated. Of course, if you like, I will just simple add one variable "5food in despotism" to look for any tiles that have 5 food when irrigated. Which way would you like?
 
Moonsinger said:
If I add "cattle on grass", wheat on floodplain", "deer on forest", do you think that will do the trick. As far as I can see, those are the only things that can yield 5 food when irrigated. Of course, if you like, I will just simple add one variable "5food in despotism" to look for any tiles that have 5 food when irrigated. Which way would you like?
Wheat on grass would do it, 4 food in despotism that is (or 5 in non-despotism). I would prefer something similar to the latter option, that does "5 food or higher when not in Despotism", though you might want to shorten that a bit ;).
 
While I was waiting for your previous reply, I have already added the following items:

GetFood
GetFood-Base
GetGold
GetGold-Base
GetShield
GetShield-Base

Basically,they are the core of your three functions GetGold, GetFood, and GetShield. For example, if you just say "GetFood", this mean the value of GetFood with irrigation in Despotism. "GetFood-Base" = GetFood in Despotism MINUS the baseline in Despotism. Note: I also have it display in the status bar as : Despot FSG (Food, Shield, and Gold minus the baseline) for every maps.

What do you think? Does this work for you? If not, we will have start looking for something specific (like adding the 5food variable).

Here is the latest version:
http://www.civfanatics.net/uploads9/MapFinder_v61.zip

Btw, I have also correct a small bug: previously, it doesn't save the everything on the setup screen; it does now.
 
Moonsinger said:
While I was waiting for your previous reply, I have already added the following items:

GetFood
GetFood-Base
GetGold
GetGold-Base
GetShield
GetShield-Base
So, those return the totals over all visible tiles? If so, that's not really what I'm after, it would match maps with lots of slightly above average tiles, when what I want is a number of extra-special tiles. "5food" works for me, please please ;).
 
Dianthus said:
So, those return the totals over all visible tiles? If so, that's not really what I'm after, it would match maps with lots of slightly above average tiles, when what I want is a number of extra-special tiles. "5food" works for me, please please ;).

My bad! Since I have never used those three functions and didn't really want your programming talent on them goes to waste; therefore, the reason for those variables. Anyway, I'm going to work on that 5food variable next. It will be something like this:

wheat on floodplain
deer on forest
5food irrigated

Basically, the 5food irrigated will be just a shortcut combination for "wheat on floodplain" and "deer on forest". Does that cover what you are looking for? If yes, I will start making the modification right way.
 
Moonsinger said:
It will be something like this:

wheat on floodplain
deer on forest
5food irrigated
I've got a better suggestion. I'm just about to send you a PM...
 
Ok, 5food special coming up (coded according to your PM):

http://www.civfanatics.net/uploads9/MapFinder_v62.zip

What do you think about the setup format so far? It's so much easy now for us to add more rules/variables as needed.

Btw, "wheat on floodplain" and "deer on forest" are now also on the menu. Silly me! I should have called it "game on forest" instead of deer. Oh, it really means the same thing.

Unless you (or anyone) coming up with something new, my work on this project is done for now.:)
 
Moonsinger said:
No, it's not that! I'm sure it's probably something much simpler than that. Btw, what language and keyboard style are you using? Please note that MapFinder may not work with non-US keyboard style. In the US version, the "\" is the directory separator. In other languages, it may be the same as the "\" key; therefore, it may not work.
I live in (and bought the PC) texas so I doubt I'm using anything non-US. I have whatever the factory defaults were. I will look when I get home.

Could it be an issue with Java version? I keep my pc fairly up-to-date using windows update. Or maybe some other dependency?

Maybe I should try using my old desktop system to find maps. It slower but I don't use it much anymore, so I could leave it running for days. :D

I look forward to trying you newest version. :goodjob:
 
Denniz said:
Could it be an issue with Java version? I keep my pc fairly up-to-date using windows update. Or maybe some other dependency?

I don't thnk so. If you like, I will compile a debug version you can run to get to the bottom of this issue. To refresh my memory, the only problem you have at the moment is that it doesn't generate the report, right?

Btw, I'm really curious on what the problem really is...so I don't mind to make a debug version for you...it won't be pretty to run (becuase you have to click ok to a lot of popup messages), but at least it will tell us why it won't work. Just let me know what you want to do next.
 
Back
Top Bottom