View unanswered posts | View active topics It is currently Tue Dec 31, 2024 12:02 am



Reply to topic  [ 8 posts ] 
 Why is CC loading some parts of my mod? 
Author Message
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Why is CC loading some parts of my mod?
I'm creating a mod, and it worked fine, until I decided to make a flare gun. The only thing I have changed of the main coding is the devices.ini and the index.ini.
Now, when I load it into the game, it doesn't load the actor, and a tool that is in the same .ini that a bomb that does load. The only thing it loads is a set of guns I have under the same .ini.

What is the problem and how can I solve it?


Mon Jan 31, 2011 10:32 pm
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Why is CC loading some parts of my mod?
There is a tabbing error somewhere. Toss gibberish in to see exactly where it stops loading. At that place is a section or line with too many or too little tabs.


Tue Feb 01, 2011 12:10 am
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Why is CC loading some parts of my mod?
I typed at the beggining of the flare code "lolololololololol".
It doesn't give me an error, and it loads the flare anyway.


Tue Feb 01, 2011 12:21 am
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Why is CC loading some parts of my mod?
Try placing it earlier. Keep doing it until it crashes. We'll deal with one problem at a time.


Tue Feb 01, 2011 1:07 am
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Why is CC loading some parts of my mod?
Ok, I changed a part of the script, and now it crashes. It crashes, it doesn't abort like in file aborted (X_X).


Tue Feb 01, 2011 1:16 am
Profile
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Why is CC loading some parts of my mod?
Alright, I know which part of the coding is producing the crash. It's my flare gun.

Now, I need to fix that thing.


Tue Feb 01, 2011 1:30 am
Profile
User avatar

Joined: Wed Jan 07, 2009 10:26 am
Posts: 4074
Location: That quaint little British colony down south
Reply with quote
Post Re: Why is CC loading some parts of my mod?
It may have an incorrectly formatted property. Post the code if you can't figure it out.


Tue Feb 01, 2011 1:44 am
Profile WWW
Data Realms Elite
Data Realms Elite
User avatar

Joined: Fri Jan 07, 2011 8:01 am
Posts: 6211
Location: In your office, earning your salary.
Reply with quote
Post Re: Why is CC loading some parts of my mod?
I suck at tabbing and in the order of variables, so I'll post the code.

http://pastebin.com/WpZRA4f3


Tue Feb 01, 2011 2:02 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 8 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by STSoftware for PTF.
[ Time : 0.041s | 13 Queries | GZIP : Off ]