Results 1 to 11 of 11

Thread: BAD rules txt file! BAD!

  1. #1
    Exile
    King Exile's Avatar
    Join Date
    21 Sep 2000
    Location
    of the Benighted Realms
    Posts
    1,791
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    23:45

    BAD rules txt file! BAD!

    Merc, Curt tells me that you've got a secret weapon that handles bad rules.txt files.

    Is this true?

    If so, you wanna have a go at this one;
    Attached Files Attached Files
    Lost in America.
    "a freaking mastermind." --Stefu
    "or a very good liar." --Stefu
    "Jesus" avatars created by Mercator and Laszlo.

  2. #2
    Jerec
    Prince Jerec's Avatar
    Join Date
    26 Nov 2007
    Location
    U.S.
    Posts
    374
    Country
    This is Jerec's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    21:45
    You mean the Civ2Tech utility?

    http://apolyton.net/upload/view.php?...9_civ2tech.zip

    Instructions-

    Just drag the rules.txt onto the unzipped program. It'll show one error at a time. After the first error is found, correct the error, re-drag the rules.txt, correct the next error, and repeat until no more errors are found.

  3. #3
    Exile
    King Exile's Avatar
    Join Date
    21 Sep 2000
    Location
    of the Benighted Realms
    Posts
    1,791
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    23:45
    Tried it. Said everything was ok . . . which it clearly is not. But thanks, worth a try.

    Merc?

    Does anyone know how many squares MUST be sea for a map to be valid? Is it proportional to size? If, for example, a map was valid, with enough sea squares to start with, and, in the process of design, one or two squares were changed to land . . . would that throw the thing into a tizzy? Anyone ever run into this? How would you determine that was the problem?
    Lost in America.
    "a freaking mastermind." --Stefu
    "or a very good liar." --Stefu
    "Jesus" avatars created by Mercator and Laszlo.

  4. #4
    Catfish
    Prince
    Join Date
    12 Aug 2000
    Location
    Wollongong, Australia
    Posts
    409
    Country
    This is Catfish's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    13:45
    I gave the file a quick scan using the eyeball method. I notice that Bats and Ravens have 0 hit points. That'll cause a crash. Minimum is 1.

    Battle of the Five Armies, eh? BTW, shouldn't it be Dain Ironfoot?

    Originally posted by Exile
    Does anyone know how many squares MUST be sea for a map to be valid?
    What do you mean by valid? Is this an MGE scenario editor issue? I know bugger all about that. I've used all-land maps before without a problem. As far as I know the Civ2 Map Editor only checks for available grassland/plains terrain (fertile in the eyes of the AI).

  5. #5
    Exile
    King Exile's Avatar
    Join Date
    21 Sep 2000
    Location
    of the Benighted Realms
    Posts
    1,791
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    23:45
    Bats and Ravens will be changed. Had no idea a HP of 0 would muck it up. Thanks.

    Dain Ironfoot. Got it.

    Ocean squares; "The lack of ocean squares is known to cause two serious problems, and there might be others that have, as yet, gone undiscovered. First and most important, if there are not at least 20 or so Ocean squares on the map, the game locks up--simply stops working with no notification that there's a problem. Sometimes this happens right at the start of a game, but more often you're thirty to a hundred turns into the game before things freeze up, which is more than a little annoying."

    --John Possidente's "The Complete Guide to Scenario Building"
    Lost in America.
    "a freaking mastermind." --Stefu
    "or a very good liar." --Stefu
    "Jesus" avatars created by Mercator and Laszlo.

  6. #6
    Ecthy
    Emperor
    Join Date
    23 Mar 2000
    Posts
    8,856
    Country
    This is Ecthy's Country Flag
    Thanks
    9
    Thanked 2 Times in 2 Posts
    Local Date
    June 20, 2013
    Local Time
    06:45
    I've played games on all-land before, but that was pre-TOT. You guys talking TOT?

  7. #7
    Mercator
    Emperor Mercator's Avatar
    Join Date
    31 Dec 1969
    Posts
    3,089
    Country
    This is Mercator's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    06:45
    Originally posted by Exile
    Tried it. Said everything was ok . . . which it clearly is not. But thanks, worth a try.

    Merc?
    Civ2tech only checks the technology tree, not the other parts of the rules.

    Originally posted by Catfish
    Battle of the Five Armies, eh?
    Seriously? Nice! I've thought about doing that myself once upon a time. I have "The Atlas of Tolkien's Middle-earth", which also includes a map of the mountain and the battle, if you need it.

    John Possidente's "The Complete Guide to Scenario Building"
    The lack of ocean squares is known to cause two serious problems, and there might be others that have, as yet, gone undiscovered. (...)
    Originally posted by Exile
    Does anyone know how many squares MUST be sea for a map to be valid? Is it proportional to size? (...)
    Do you mean valid as in what the "Analyze Map" option of the map editor says, or as in what John Possidente said?

    They don't have anything to do with eachother in any case.

    John Possidente is just describing some quirky map-related Civ2 bug. I hadn't seen that before, I don't think. And I certainly don't know anything about games crashing because of that, let alone specific conditions under which it would happen.

    The map analysis details irrelevant, but for those who are interested...

    Analyzing a map simply tries to make sure a map has enough land, and enough fertile land for Civ2 to be able to find enough room for 7 civs and their starting points when playing a standard game.

    I do know what the map analysis checks for (besides the max. of 64 landmasses/bodies of water):
    - At least 195 land squares,
    - At least 100 arable squares (= grassland or plains),
    - At most (3 * arable + 3) non-arable land squares.

  8. #8
    Exile
    King Exile's Avatar
    Join Date
    21 Sep 2000
    Location
    of the Benighted Realms
    Posts
    1,791
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    23:45
    Well, Jorrit, I'm the last person to take issue with that, after all you're the map maestro, no doubt . . .

    but Possidente states . . .

    "While the artists were busy bringing my somewhat bizarre . . . units to life [to be used in the FW 'Mars' scenario], I sat and played the scenario. It crashed every time. . . . The Mars scenario crashed, consistently and repeatedly, on turn 32. As it turned out, we had run into a flaw in the Analyze Map feature of the Map Editor. That particular tool . . . doesn't check to see if your world has enough Ocean squares. There are a few AI functions that depend on being able to find an ocean, and I had bewildered them by including no Ocean squares at all. That's why there are a few Watershed (Ocean) squares near the poles when the scenario opens; I had to add them so that the AI would agree to play along."

    I was informed by this. You disagree?
    Lost in America.
    "a freaking mastermind." --Stefu
    "or a very good liar." --Stefu
    "Jesus" avatars created by Mercator and Laszlo.

  9. #9
    Catfish
    Prince
    Join Date
    12 Aug 2000
    Location
    Wollongong, Australia
    Posts
    409
    Country
    This is Catfish's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    13:45
    Originally posted by Mercator
    John Possidente is just describing some quirky map-related Civ2 bug. I hadn't seen that before, I don't think.
    It's the first I've heard of it - then again, I've never seen Possidente's book.

    Originally posted by Mercator
    I do know what the map analysis checks for (besides the max. of 64 landmasses/bodies of water)
    Ah yes, forgot that one.

  10. #10
    Mercator
    Emperor Mercator's Avatar
    Join Date
    31 Dec 1969
    Posts
    3,089
    Country
    This is Mercator's Country Flag
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 20, 2013
    Local Time
    06:45
    Hmmm... Well, how can I possibly disagree with John Possidente.

    It's not a bug then, though the Ocean is needed for "AI functions" it may still be a complicated matter, and the map analysis will still be useless (though it shouldn't have been).

    I'll, um, add it to my to do list, finding out what a minimum amount of Ocean might be.

    Edit: And I may have to add getting that book on my to do list too...

    And actually, the best I can suggest is to add at least one ocean of more than 10 squares to your map. Only water bodies of more than 10 squares get a proper body counter. All water bodies smaller than that get a value of 63. I imagine those numbers have something to do with how the AI deals with things.
    Last edited by Mercator; March 7, 2008 at 20:04.

  11. #11
    Exile
    King Exile's Avatar
    Join Date
    21 Sep 2000
    Location
    of the Benighted Realms
    Posts
    1,791
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Local Date
    June 19, 2013
    Local Time
    23:45
    Read that bit about the ocean squares long time ago. It's why I placed actual ocean squares along the Chir River in the ChirBattle scenario. I just assumed all you programming savants were aware of this stuff.

    Complete Guide to Scenario Building, ISBN # 1-56893-904-3. Library of Congress Catalog Card #: 98-84117
    Lost in America.
    "a freaking mastermind." --Stefu
    "or a very good liar." --Stefu
    "Jesus" avatars created by Mercator and Laszlo.

Similar Threads

  1. Can A Tot Meister Make Me A Rules File?
    By curtsibling in forum Civilization I and Civilization II
    Replies: 7
    Last Post: October 14, 2004, 20:05
  2. rules file?
    By Epistax in forum Civilization III
    Replies: 6
    Last Post: August 19, 2003, 17:46
  3. Can we merge the Civ III map rules we created with PTW map rules?
    By blacksheep in forum Civ3-Play the World
    Replies: 3
    Last Post: December 3, 2002, 14:18
  4. firaxis question re rules.txt file
    By Rasputin in forum Civ3-General-Archive
    Replies: 4
    Last Post: June 14, 2001, 08:17

Visitors found this page by searching for:

Nobody landed on this page from a search engine, yet!

Bookmarks

Posting Permissions