Thread Tools
Old November 29, 2000, 18:18   #1
MrFun
Emperor
 
MrFun's Avatar
 
Local Time: 04:42
Local Date: October 31, 2010
Join Date: Nov 2000
Location: Illinois
Posts: 8,595
Error
I have modified some of the units in their attack and defense stats, in others I modified their obsolete or enable advance and in other units I modified or added bombardment ability.

When I start my game, it fails to start, and I get an error message that says -
units.txt: 3239: Expected struct

What does this mean? I went to the units text file and looked over my modifications and corrected one error but I'm still not allowed to start CTP II.

Thanks for any help.
MrFun is offline  
Old November 29, 2000, 20:49   #2
Pyaray
Call to Power II Multiplayer
Warlord
 
Pyaray's Avatar
 
Local Time: 01:42
Local Date: October 31, 2010
Join Date: Oct 2000
Location: Santa Ana, CA, USA
Posts: 164
quote:

Originally posted by MrFun on 11-29-2000 05:18 PM
When I start my game, it fails to start, and I get an error message that says -
units.txt: 3239: Expected struct


Well, whatever the problem is, it's within a few lines of line # 3239. Why don't you copy and paste the 5 or so lines leading up to the line number. You're probably missing a "{" though.

Pyaray
Pyaray is offline  
Old November 29, 2000, 21:50   #3
MrFun
Emperor
 
MrFun's Avatar
 
Local Time: 04:42
Local Date: October 31, 2010
Join Date: Nov 2000
Location: Illinois
Posts: 8,595
You want me to count down to 3,329 lines!?

I wish there was a way to know WHERE line #3239 is!
MrFun is offline  
Old November 29, 2000, 22:11   #4
Pyaray
Call to Power II Multiplayer
Warlord
 
Pyaray's Avatar
 
Local Time: 01:42
Local Date: October 31, 2010
Join Date: Oct 2000
Location: Santa Ana, CA, USA
Posts: 164
quote:

Originally posted by MrFun on 11-29-2000 08:50 PM
You want me to count down to 3,329 lines!?

I wish there was a way to know WHERE line #3239 is!

What are you using as a text editor? Every text editor I use has a line counter in the bottom right hand corner, and even has a "goto line" function. If yours doesn't have this, I'd recommend downloading a shareware one that does. Because yes, counting would be painful.

Pyaray
Pyaray is offline  
Old November 30, 2000, 00:08   #5
MrFun
Emperor
 
MrFun's Avatar
 
Local Time: 04:42
Local Date: October 31, 2010
Join Date: Nov 2000
Location: Illinois
Posts: 8,595
Hooray! I found my error (without counting thousands of lines)!

I was missing one little bracket in the Abolition unit for my modifications. Now I can PLAY!
MrFun is offline  
 

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT -4. The time now is 05:42.


Design by Vjacheslav Trushkin, color scheme by ColorizeIt!.
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Apolyton Civilization Site | Copyright © The Apolyton Team