hmm.. I am having some problems with this version.. it is saving every map no matter what options I set it to..
Am I doing something wrong?
Am I doing something wrong?
Gyathaar said:hmm.. I am having some problems with this version.. it is saving every map no matter what options I set it to..
Am I doing something wrong?
Gyathaar said:ah.. I get it.. it was the minimum cow count.. when I left that at -1 it would save all maps with -1 or more cows![]()
Smirk said:Personally I wouldn't mind seeing a generic collection of criteria that I can set to decide to save a game. Currently its a "all of this stuff" which is hit or miss IMO, you either get lucky, or you set your criteria down and end up not benefitting much from the process.
With a generic collection, I could set the first to 2 cows minimum, the second to 3 bonus food, the third to 3 gold generating luxuries. This borders on whats been suggested with adding some minor conditional code.
Not sure how your code binded with Diantius's(sp?) dll, but I think I could write up another small dll that would parse a file with these conditionals or weightings, and sit there ready to be called and calculated. All you would need do is say what you need returned and what data you would send.
Moonsinger said:If you happen to find any source code for a simple calculator, please post the link...because I could easily adapt it into this program to interpret logic instead of numerical operators. For example, instead of handling + or -, it will be handling AND, OR logic instead. A piece of cake! That would be much easier than having to write a recursive routine from scratch to parse user conditional inputs.
It's been real stable for me too, running every day while I'm at work and over the weekend while I'm away. Nice one Moonsinger!Gyathaar said:Just want to let you know version 5.7 seems pretty stable.. just came back home after a week away, and its still running, and has done 37k map generations![]()
Smirk said:I've written code of this nature many times, what sort of interface are you looking for?
The simpliest I think, and would solve the most problems, would be to have a number of drop down boxes with your operations, one would be a terrain, the other would be the resources, others would include your operand (<,>,=,etc) and your control (a number typically). This with an Add button would add the current selected traits to a list, which could be manipulated by selecting a rule and deleting it (the only other action would be to edit, but that would require you updating the boxes which isn't essential, delete and readd is easy enough to start).
For instance ([] is to denote the drop down box selected item):
[grassland][cow][>][0] Add
[plains][cow][>][1] Add
[grassland][wheat][>][1] Add
[plains][wheat][>][3] Add
Then in the list you would have 4 items:
Save when there are:
more than 0 cows on grasslands OR
more than 1 cows on plains OR
more than 1 wheats on grasslands OR
more than 3 wheats on plains
So that leaves AND as the only logical operations left out of this description. So the last box would contain AND/OR, OR would be default and contained here only for consistency. Adding AND would make the list order based, so to accomplish and AND case you first enter your condition with AND selected, then add the next condition (adding AND again here would make it a 3 conditon AND). Deciding whether this is before or after the case makes no difference but can be important since once an AND is preset the list then depends on the order, and thus editing a condition then becomes more essential.
The point of this interface description is that 1.) you do need to parse text nor error check since you cannot create an erronous conditon using the interface, and 2.) its a simple interface that I've seen many times and its pretty simple to code. It would be easier to write it than search for it I would think. Of the top of my head GameSpy uses an interface very similar to this for dealing with its filter rules (filtering servers).
Also I have some code that deals with this sort of issue, although on a completely different problem set, so I can search my backups and find it. Let me know if you want this, or if you prefer pseducode. Its possible that I could rewrite my code to something in english easier than you could read the code, specially if you are a pascal/delphi coder predominately.
Dianthus said:It's been real stable for me too, running every day while I'm at work and over the weekend while I'm away. Nice one Moonsinger!![]()
I do have a suggestion though. I think this should be easier to implement than many of the others. I've been using the "Minimum # Food Bonus" recently rather than "Minimum # Cattle" as I'm also interested in Grassland Wheat or Floodplains Wheat for +4 food in Despotism. I'm getting lots of other types of food bonus though, such as Fish/Game/Oasis. I'm wondering if you could allow us to specify an amount of food that qualifies as a Food Bonus. That way I could set it to +5 (=+4 in Despotism) to find maps with 3 or more tiles with 5 or more food in them. What do you think?
No problems at all, it's been solid as a rock!Moonsinger said:I'm really happy about that too!Btw, have you encountered any more problem with the screen shot issue?
No hurry. Whenever you get a round tuit, or feel like it, or whatever. It's pretty easy to find the ones I want by sorting, I'm just being lazyMoonsinger said:If you are not in any hurry, I will take care of this in a couple of weeks when I redo the user interface to alllow users to specific their own logics (as mentioned on the previous post). If you need this done right away, I'm sure that won't be a problem - you know that I will do almost anything for you, you know.![]()
Moonsinger said:...they would some how cancel each other out with the AND rule, then screem at me that the program doesn't work.![]()
dan14444 said:For some weird reason the program cannot restart my Civ, so I have to use it in about 100 map increments... Maybe my Civ should be installed in default folder? I have correct path in setup for autosave, but restarts remain the problem...
And a question Moonsinger missed, but I think's worth askingdan14444 said:For some weird reason the program cannot restart my Civ, so I have to use it in about 100 map increments... Maybe my Civ should be installed in default folder? I have correct path in setup for autosave, but restarts remain the problem...
Dianthus said:And a question Moonsinger missed, but I think's worth asking. Which version of MapFinder are you using?
EMan said:Is it possible with the latest version of MapFinder to accept maps with only rivers? (viz. Exclude Lake-only maps.)
(I've been setting "Fresh Water Minimum" to TWO as a way of eliminating "1-tile-Lake-No-River" maps.....is there a better way?)