View unanswered posts | View active topics It is currently Thu Jan 02, 2025 7:37 pm



Reply to topic  [ 7 posts ] 
 Beginner's Woes [Error not making sense] 
Author Message

Joined: Fri Jan 18, 2008 4:23 am
Posts: 16
Reply with quote
Post Beginner's Woes [Error not making sense]
I'm just actually starting my Modding in the game, and I'm running into some rather odd errors, or semi-errors.

Whenever I load CC to test my mod, it loads up through the first file, but it stops at line '1' on the second file. No error is actually thrown, as in if I delete the 'abortscreen.bmp' another one isn't created when I run the application.

This is the first line of the file:
AddEffect = MOPixel

If it's just that I'm doing something stupid, sorry for bringing it up, I'm just copying a bit out of the Pyro.ini file for this, but...

Well, Cheers, and a pre-emptive thanks!


Thu May 29, 2008 6:19 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Beginner's Woes [Error not making sense]
Did you make an Index.ini?

You have to make an Index.ini file that either contains IncludeFiles to your mod .inis, or just has them within it.

Index.ini is a standard .ini file, just the first line HAS to be "DataModule". Base.rte has a clearer example.


Thu May 29, 2008 6:25 am
Profile

Joined: Fri Jan 18, 2008 4:23 am
Posts: 16
Reply with quote
Post Re: Beginner's Woes [Error not making sense]
Er, should have said that. Yes, I do have the index.ini. Pointing to the files that I want to include, with the correct path names.

It acts as though it wants to load the files, but it stops reading the ones that start with:

AddEffect = MOPixel

On the first line, regardless of whether it's copy-pasted or hand typed in a new file. I know that it's not bad linking, since when I reorder the pieces of code inside the file it'll start loading the file until it reaches the AddEffect = MOPixel portion, or a mention of what I was trying to make with that bit of text. I can't catch a screen-shot of it, since it finishes loading the rest at that point.

And regardless, as I said, it's making an error dump .bmp, or killing the program, it's just not loading it.


Thu May 29, 2008 6:32 am
Profile
REAL AMERICAN HERO
User avatar

Joined: Sat Jan 27, 2007 10:25 pm
Posts: 5655
Reply with quote
Post Re: Beginner's Woes [Error not making sense]
Hmm.

Could you upload the .rte? I can't really be sure without looking at your code.


Thu May 29, 2008 6:53 am
Profile

Joined: Fri Jan 18, 2008 4:23 am
Posts: 16
Reply with quote
Post Re: Beginner's Woes [Error not making sense]
Never mind, found out what was causing it. There was a formatting error in it, and that caused it to stop reading the file. Didn't know the tabs were so important for everything.


Thu May 29, 2008 7:01 am
Profile
User avatar

Joined: Fri Mar 02, 2007 6:59 am
Posts: 1726
Location: NSW, Australia
Reply with quote
Post Re: Beginner's Woes [Error not making sense]
yeah, tabs are a nightmare, be careful with that backspace button...
glad you solved your problem, there's nothing worse than getting an error that doesn't make sense...


Thu May 29, 2008 9:00 am
Profile
Reply with quote
Post Re: Beginner's Woes [Error not making sense]
I was just about to suggest tabs.


Thu May 29, 2008 7:24 pm
Display posts from previous:  Sort by  
Reply to topic   [ 7 posts ] 

Who is online

Users browsing this forum: No registered users


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.033s | 13 Queries | GZIP : Off ]