Announcement

Collapse
No announcement yet.

Help w/ scenario

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Help w/ scenario

    I tried modding an existing events file and get the message:

    Error "-3" in module "12" data: 15 8

    File open failed: MODULES.DB
    Most recent DOS error: 2

    I ran debug and it shows after "endevents". It's also a multi events/rules scenario.

    Ideas?
    I'm consitently stupid- Japher
    I think that opinion in the United States is decidedly different from the rest of the world because we have a free press -- by free, I mean a virgorously presented right wing point of view on the air and available to all.- Ned

  • #2
    Create a new events-file and copy/paste in all events in that one, ONE BY ONE, and run the scenario and check the events. That way you will see which one is wrong It's the hard way, but I guess, the only way.
    "Peace cannot be kept by force.
    It can only be achieved by understanding"

    Comment


    • #3
      You can cpoy-paste them in larger batches (10 or 5) and then start making the batches smaller when you have found a faulty one.
      Indifference is Bliss

      Comment


      • #4
        In my experience, this is almost always a misplaced comma or semi colon. Before you start recopying everything, just have a real close look at you @UNITS field.
        Tecumseh's Village, Home of Fine Civilization Scenarios

        www.tecumseh.150m.com

        Comment


        • #5
          Originally posted by Arthedain
          Create a new events-file and copy/paste in all events in that one, ONE BY ONE, and run the scenario and check the events. That way you will see which one is wrong It's the hard way, but I guess, the only way.
          You guys have no idea how many times I had to do this for my ToT stuff...
          Re-elect Bush!

          Comment


          • #6
            Yeah, I've skipped more commas than I'll ever admit. If you have Excel, just load Rules.txt using commas and semi-colons as delimiters. Omissions in the various @ sections stick out like a sore thumb.

            It's an easy check to do before the painstaking events testing.

            Another possible culprit could be GIF files of the wrong format. Don't they give a similar error?
            El Aurens v2 Beta!

            Comment


            • #7
              also, i used to get errors when i annotated the rules by adding semicolons and then notes to fileds which did not originally have semicolons (such as the cosmic principles...)
              Indifference is Bliss

              Comment


              • #8
                Thx, guys, but it's not the rules.txt. When I put back in the old events file it works fine. So apparently I need to follow Arthedain's procedure.
                I'm consitently stupid- Japher
                I think that opinion in the United States is decidedly different from the rest of the world because we have a free press -- by free, I mean a virgorously presented right wing point of view on the air and available to all.- Ned

                Comment


                • #9
                  Also means your GIF files are okay.

                  I ran debug and it shows after "endevents".
                  This stumps me. That means you saw:
                  Code:
                  @ENDEVENTS found
                  
                  remaining heap space: 771 bytes
                  Rules out syntax errors, incorrect coordinates, unit and placenames.

                  What is your remaining heap space? If it's high, ignore the following.

                  Usually when the heap space is depleted, I think the crash error message indicates something like a stack overflow, but IIRC once in a blue moon too many events can trigger a crash without a useful error message. It's a very long shot but you might have luck deleting the last 1-2 events and retrying.
                  El Aurens v2 Beta!

                  Comment

                  Working...
                  X