November 25, 2003, 18:39
|
#1
|
Deity
Local Time: 09:14
Local Date: November 2, 2010
Join Date: Dec 1969
Location: Dance Dance for the Revolution!
Posts: 15,132
|
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
|
|
|
|
November 25, 2003, 18:56
|
#2
|
Moderator
Local Time: 15:14
Local Date: November 2, 2010
Join Date: Apr 2002
Location: Helsingborg, Scania
Posts: 1,253
|
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.
|
|
|
|
November 25, 2003, 22:09
|
#3
|
Emperor
Local Time: 10:14
Local Date: November 2, 2010
Join Date: Jan 2000
Location: ( o Y o )
Posts: 5,048
|
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
Progressive Game ID #0023
|
|
|
|
November 26, 2003, 01:48
|
#4
|
Emperor
Local Time: 07:14
Local Date: November 2, 2010
Join Date: Apr 1999
Location: of the frozen North.
Posts: 4,197
|
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.
|
|
|
|
November 26, 2003, 03:16
|
#5
|
Emperor
Local Time: 05:14
Local Date: November 2, 2010
Join Date: Dec 1969
Location: Fascist
Posts: 3,161
|
Quote:
|
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!
|
|
|
|
November 26, 2003, 23:50
|
#6
|
King
Local Time: 08:14
Local Date: November 2, 2010
Join Date: Jan 2001
Location: of underdogs
Posts: 1,774
|
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?
|
|
|
|
November 27, 2003, 07:56
|
#7
|
Emperor
Local Time: 10:14
Local Date: November 2, 2010
Join Date: Jan 2000
Location: ( o Y o )
Posts: 5,048
|
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
Progressive Game ID #0023
|
|
|
|
November 29, 2003, 15:25
|
#8
|
Deity
Local Time: 09:14
Local Date: November 2, 2010
Join Date: Dec 1969
Location: Dance Dance for the Revolution!
Posts: 15,132
|
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
|
|
|
|
November 29, 2003, 15:49
|
#9
|
King
Local Time: 08:14
Local Date: November 2, 2010
Join Date: Jan 2001
Location: of underdogs
Posts: 1,774
|
Also means your GIF files are okay.
Quote:
|
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.
|
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is On
|
|
|
All times are GMT -4. The time now is 09:14.
|
|