Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site and its forums as they stood in September 2005. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 1998–2001 UBB forums
Today on Apolyton WARDELL INTERVIEW PROMO A.C.S. HISTORY CHAPTER 4 GET CIV4 /w FREE PLUS! A.C.S. PHOTO GALLERY GET A.O.M. V1.1
Apolyton Civilization Forums
main| civ2| civ3| civ4| smac| ctp2| ron| moo3| galciv| galciv2| alt| about|
ApolytonPLUS | register | search | faq | new posts | pm (-/-) | upload | members
hall of fame new! | civgroups | civgroups news | interviews | the column | radio | chat | directory | news | store | PLUS
Apolyton Civilization Forums : Powered by vBulletin version 2.0.3 Apolyton Civilization Forums > Civilization II > Scenario League / Civ2-Creation > Trouble with an Event file.
Show a Printable Version | Email This Page to Someone! | Receive updates to this thread | Report this to Apolyton news!
29.Jul: MOVING UP ON REVISED `TOP 100` INDEX
29.May: GAME MECHANICS REFERENCE BOOKLET
06.Mar: DROPPING FROM SECOND TO THIRD
CivGroups
Scenario League / Civ2-Creation (66): Not a Member - Join

bottom of page
  - CIVILIZATION 2 from $6.95 - CIVILIZATION 2 from $4.25 - CIV2: TEST OF TIME from $2.50 - CIV2: MULTIPLAYER GOLD EDITION from $4.99
Author
Thread    < Last Thread     Next Thread > Post New Thread     Post A Reply
Exile is offline Exile
King
of the Benighted Realms
Sep 2000
time: 23:17
  Old Post 12-07-2004 06:21
Edit/Delete Message Reply w/Quote
#1 Report this post to a moderator
Trouble with an Event file. Support Apolyton, buy Alpha Centauri

Almost complete. Won't work. No idea why. Would appreciate assistance.

Here's the file;

Attachment: origevents.txt
This has been downloaded 11 time(s).

Harry Tuttle is offline Harry Tuttle

Prince
of the Hoople Heads
Mar 2003
time: 00:17
  Old Post 12-07-2004 07:06
Edit/Delete Message Reply w/Quote
#2 Report this post to a moderator
Support Apolyton buy from Amazon

Haven't analyzed it all, but just off the top I see:

Third command down: @then should be capped to read @THEN

Try that.

Exile is offline Exile
King
of the Benighted Realms
Sep 2000
time: 23:17
  Old Post 12-07-2004 07:40
Edit/Delete Message Reply w/Quote
#3 Report this post to a moderator
Increase the size of your Attachments

Spotted it too, but didn't think it mattered. On a previous try, it all worked anyway.

Tried it. I'll leave it in caps, but the problem still exists.

Keep trying. The resulting scenario will be worth it.

thnx

Harry Tuttle is offline Harry Tuttle

Prince
of the Hoople Heads
Mar 2003
time: 00:17
  Old Post 12-07-2004 08:40
Edit/Delete Message Reply w/Quote
#4 Report this post to a moderator
Full PM-box? Change here!

I think this:

@IF
SCENARIOLOADED
@THEN
PLAYCDTRACK
3
DONTPLAYWONDERS
@ENDIF

Should read like this:

@IF
SCENARIOLOADED
@THEN
PLAYCDTRACK
3
@ENDIF

@IF
SCENARIOLOADED
@THEN
DONTPLAYWONDERS
@ENDIF

Exile is offline Exile
King
of the Benighted Realms
Sep 2000
time: 23:17
  Old Post 12-07-2004 09:37
Edit/Delete Message Reply w/Quote
#5 Report this post to a moderator
Remove this text

No that's what I started with, in terms of events, and it worked ok. It was the last 10 or 12 events that all went on at once that caused the problem.

I may have to start over and take them event-by-event to locate it.

argh

Case is offline Case

King
The backlash starts here
Feb 2000
time: 15:17
  Old Post 12-07-2004 13:23 Visit Case<br><a href=/members><img src=/forums/images/supporter-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#6 Report this post to a moderator
Support Apolyton, buy Alpha Centauri

Have you tried loading the scenario with @DEBUG as the first event? This is often rather useful at telling you what's gone wrong.

Exile is offline Exile
King
of the Benighted Realms
Sep 2000
time: 23:17
Post  Old Post 12-07-2004 19:04
Edit/Delete Message Reply w/Quote
#7 Report this post to a moderator
I'll try it Case. Support Apolyton, buy GURPS/ Alpha Centauri

This is why I hate to fight with Events files--it always does this.

ack.

Exile is offline Exile
King
of the Benighted Realms
Sep 2000
time: 23:17
Question  Old Post 12-07-2004 20:08
Edit/Delete Message Reply w/Quote
#8 Report this post to a moderator
Ok . . . Increase the size of your Attachments

I used the incredibly tedious, yet unerring method of re-doing the Events file, one event at a time, and checking after each new event to see if the new file worked. I did find one stupid mistake. Fixed. But then the next-to-last event in the old file, when cut-n-pasted into the new file, turned up the Eventsbug message.

Here is the event. For the life of me I can't figure out what is wrong with it. I will cut-n-paste it.

@IF
CITYTAKEN
CITY=Tyre
ATTACKER=Italian
DEFENDER=Anybody
@THEN
CREATEUNIT
unit=Warship
owner=Italian
veteran=no
homecity=none
locations
39,27
34,32
38,36
41,43
endlocations
JUSTONCE
@ENDIF

If anyone can spot the error, please let me know.

thnx.

(edit few minutes later; )

Ok this event screws it up too. These are the last 2 events, and both of them turn up the error message. So both of these events have some error in common. I'm trying the city names and unit names now. Have already tested the locations. Here is the other event;

@IF
CITYTAKEN
CITY=Tyre
ATTACKER=Italian
DEFENDER=Anybody
@THEN
CREATEUNIT
unit=Trade Goods
owner=Italian
veteran=yes
homecity=none
locations
39,27
34,32
28,36
41,43
endlocations
JUSTONCE
@ENDIF

Last edited by Exile on 12-07-2004 at 20:24

Cyrion is offline Cyrion
King
Caught somewhere in time
Jan 2002
time: 06:17
  Old Post 12-07-2004 21:07
Edit/Delete Message Reply w/Quote
#9 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

Couldn't it be related to the size of the events file??

I know you're much more "senior" than I am in scenario creation, but it might be worth doing a quick try:

1) remove half your events
2) add your 3 "buggy" events

If it's still doesn't work, I just made you loose 1 minute...

And if it works, then it's size related!

BTW: did you notice that the size of your file as you can check it in the explorer isn't really critical? from what I noticed, all the comments aren't taken into account (if I'm not mistaken...)

Mercator is offline Mercator
King
Sorekara no Nanimo
Jan 1970
time: 06:17
  Old Post 12-07-2004 21:17 Visit Mercator's homepage!
Edit/Delete Message Reply w/Quote
#10 Report this post to a moderator
Support Apolyton buy from Amazon

Didn't you simply run out of event space?

Edit: ever so slow...

Oh, but Cyrion, it's not the size of the events text file that matters, it's the size the events take up in the civ2 memory.

And to be more precise, that is 298 bytes for each event, plus the length+1 of every single text value (e.g. civ names, city names, unit names etc., but not the numerical values, nor the veteran flag) entered in the events file. Each line in a TEXT event counts separately, so it takes up (#characters + #lines).

Well, that's the case for FW (and CiC and MGE too, I think), but ToT is slightly different.

Last edited by Mercator on 12-07-2004 at 21:32

Exile is offline Exile
King
of the Benighted Realms
Sep 2000
time: 23:17
  Old Post 13-07-2004 00:53
Edit/Delete Message Reply w/Quote
#11 Report this post to a moderator
Support Apolyton, buy Civilization: The Boardgame

No, it was that I forgot to write "Italians" instead of "Italian."

Now I've got another problem.

Mercator?

I need some real help here. What does it mean when I try to load a scenario and an illegal operation error? It happened just after I altered some things in the Tribe Editor, mostly just the "perfectionist, rational,etc." stuff. When I tried to run CivCity with it, I got back the error message, "error 62 ocurred. Routine Name=GetRules"

Any ideas?

thx

Exile is offline Exile
King
of the Benighted Realms
Sep 2000
time: 23:17
  Old Post 13-07-2004 01:07
Edit/Delete Message Reply w/Quote
#12 Report this post to a moderator
Lose 30 kilos (of popups)

Ye gods!

I discovered the origin of this new problem. The editor had mysteriously chopped off the bottom eigth of the rules file for no apparent reason. BAAAAAAAD editor! Nooooottttty editor!

I will now spank.

Patched the bottom half from a normal rules file in place and everything's back to normal.

Panda is offline Panda
Prince
Europe
Jan 1970
time: 05:17
  Old Post 13-07-2004 02:21
Edit/Delete Message Reply w/Quote
#13 Report this post to a moderator
Tired of ads?

That's an old lesson: avoid the in-game editors

Exile is offline Exile
King
of the Benighted Realms
Sep 2000
time: 23:17
Post  Old Post 13-07-2004 07:57
Edit/Delete Message Reply w/Quote
#14 Report this post to a moderator
Support Apolyton buy from Amazon

It's that tribe editor. Kids, stay clear away from that thing! It'll eat a big bite out of your scen and you won't be able to fix it.

I patched my corrupted rules file together just long enough to write the necessary info and transfer it to a new rules file. Now it all works ok again, but that's too much effort because of a bug-laden tribe editor.

the advancement, unit, terrain, and improvement editors work just fine.

I've got the thing to the first testing stage now. I'll run it using all the sides for awhile to see that everything is how I want it. The final result will be a new scenario called AGE of the CRUSADES. It's unlike most scenarios. It should more accurately mimic the medieval world. There won't be very many military units running around. Most of them don't move. What will be taking place is trade and improvement, and very possibly some building new cities. Tech & trade will be very important. The playable civs are: Germans, Spanish, Franks, and Italians. The Byzantines, Fatamids, and Turks are also player civs, but each very different. All I'm doing now is testing the numbers during play to see that the units interact the right way.

Case is offline Case

King
The backlash starts here
Feb 2000
time: 15:17
  Old Post 13-07-2004 13:22 Visit Case<br><a href=/members><img src=/forums/images/supporter-icon.gif border=0></a><BR>'s homepage!
Edit/Delete Message Reply w/Quote
#15 Report this post to a moderator
Remove this text

Sounds very cool. I had a go at a similar scenario a few years back, when I persuaded Harlan Thompson to let me have a go at finishing his Vikings v2.0/Dark Ages scenario.

...that project ground to a halt largely as a result of my [then] near total ignorance of the time period Doing a scenario coving the European Dark ages during an Australian summer was also not a good idea.

Exile is offline Exile
King
of the Benighted Realms
Sep 2000
time: 23:17
  Old Post 13-07-2004 20:08
Edit/Delete Message Reply w/Quote
#16 Report this post to a moderator
Yeah, Case . . . Support Apolyton, buy Alpha Centauri

You're right in the middle of an Australian winter now, though, right?

I'll start a separate thread to announce it, but it has all the graphics and is running. Just tweaking it now. In a couple of weeks it'll be done. Not much fanfare around here for a non-WWII scenario though.

Cyrion is offline Cyrion
King
Caught somewhere in time
Jan 2002
time: 06:17
  Old Post 14-07-2004 11:07
Edit/Delete Message Reply w/Quote
#17 Report this post to a moderator
Re: Yeah, Case . . . Tired of ads?

quote:
Originally posted by Exile
Not much fanfare around here for a non-WWII scenario though.



That's where you're wrong Exile: there ARE players here who prefer other scenarii to WWII ones!

And the scen topic seems VERY interesting!

And if it's even half as good as your Age of War (I'm afraid I've been delaying my playing of Imperialism since it was released, cause I knew it would take MUCH time once I got involved ), it'll mean lack of sleep for me when it's released...

And if there aren't too many units to move around, that sounds ideal for a lazy guy like me!

So please go on!

  < Last Thread     Next Thread > Post New Thread     Post A Reply
All times are GMT. The time now is 05:17.
Apolyton Time is 00:17.
    top of page
Rate This Thread:
Forum Jump:
Forum 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
vB code is ON
Smilies are ON
[IMG] code is ON
 




Contact Us - Apolyton Civilization Site - Support Us!

Building a better Apolyton through better information. Click here and take our poll!
Non-US visitors, click here!

Powered by: vBulletin Version 2.0.3
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Page generated in 0.0433 seconds (89.83% PHP - 10.17% MySQL) with 36 queries
Page Loading Time:

Support Apolyton: Amazon USA | Amazon UK | Amazon DE | Amazon FR |
Support Apolyton and get FREE PLUS, Buy from Chips&Bits: Galactic Civilizations | Galactic Civilizations: Deluxe Edition | Call to Power 2 | Civilization: The Boardgame | GURPS/ Alpha Centauri | Alpha Centauri | Civilization IV | Civilization III: Complete |


Front Page | Civilization IV | Civilization III | Civilization II | Call to Power II | Alpha Centauri | Master of Orion III
Rise of Nations | Galactic Civilizations | Galactic Civilizations II | Misc
Alt.Civs | Civ I | C:CtP I | About | News | Directory | Apolyton Store | Forums | Chat | Columns | Interviews | Newsletter
Scenario League | CSC | Clash of Civs | Spanish Site | CtP Maps | Cradle of Civ | WesW's Ctp1/2 Site | Civ3 Haven

apolyton.net | apolyton.com | civilization2.net | civilization3.net | civilization4.net | civilizationiv.info | calltopower.net | galciv.net | galciv2.net | moo3.net