project reality header
Go Back   Project Reality Forums > PR:BF2 Mod Forums > PR:BF2 Community Modding
PR Time:
Register Forum RulesDeveloper Blogs Project Reality Members List Search Today's Posts Mark Forums Read
PR:BF2 Community Modding Making or wanting help making your own asset? Check in here

Contact Support Team Frequently Asked Questions Register today!

Reply
 
LinkBack Thread Tools Display Modes
Old 10-10-2008, 07:52 PM   #1
Terror_Terror_Terror

Terror_Terror_Terror's Avatar
Default [Help!] Corrupt StaticObjects.Con

Somehow my static objects con seems to think there's a million instances of each object when there isn't. In the editor it looks fine, in the actual con file it looks fine, but it crashes on loading when it hit's 15% and in the debugger I get what appear to be a billion errors for objects that don't exist. Any ideas?

Maybe there is an evil object corrupting my young and innocent objects con or something worse!

Here's the first 8 error messages I get out of literally a billion (all similar to the ones shown but relating to different objects). There are only 2 actual instances of the object in the examples both in the editor and the con file.



Terror_Terror_Terror is offline Reply With Quote
Old 10-10-2008, 08:52 PM   #2
[R-DEV]J.F.Leusch69
Community Faction Manager

[R-DEV]J.F.Leusch69's Avatar
Default Re: [Help!] Corrupt StaticObjects.Con

it looks like they are all about "house_small_ruin", so i guess that you should delete them (bevor that of cours back up!) and then test it again. but you said that there are more "errors" so take a look which objects do not work and delete them step by step.

and did you tried to test your level without the statics?!


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
[R-DEV]J.F.Leusch69 is offline Reply With Quote
Old 10-10-2008, 09:06 PM   #3
Terror_Terror_Terror

Terror_Terror_Terror's Avatar
Default Re: [Help!] Corrupt StaticObjects.Con

Unfortunately it's every object not just that one. But one of the things is in the examples there are 3 instances but in the con there are only 2. There are about 50 or more errors for that object alone pertaining to many different instances but there are only 2 instances in actuality.

I do have an older working version of the .con but not only has a significant amount of work taken place but I had this problem on an old StaticObjects.con for the same map but I discarded it because 0.8 came out and made new one (this one).
Terror_Terror_Terror is offline Reply With Quote
Old 10-10-2008, 09:21 PM   #4
CodeRedFox
Retired PR Developer

CodeRedFox's Avatar
Default Re: [Help!] Corrupt StaticObjects.Con

This is the editor correct? A freash install of the editor is sometimes required. What about your daily backups?



To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.

"apcs, like dogs can't look up" - Dr2B Rudd
CodeRedFox is offline Reply With Quote
Old 10-10-2008, 09:24 PM   #5
[R-DEV]Rhino
PR Mapper Team
Supporting Member

[R-DEV]Rhino's Avatar
Send a message via MSN to [R-DEV]Rhino
Default Re: [Help!] Corrupt StaticObjects.Con

search for thous values in your staticobjects.con file and you will find some messed up lines of code they belong to, delete them by hand.


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
[R-DEV]Rhino is offline Reply With Quote
Old 10-11-2008, 09:19 PM   #6
Terror_Terror_Terror

Terror_Terror_Terror's Avatar
Default Re: [Help!] Corrupt StaticObjects.Con

Quote:
Originally Posted by [R-DEV]coderedfox View Post
This is the editor correct? A freash install of the editor is sometimes required. What about your daily backups?
Everything is fine in the Editor and my Editor seems ok, i think it's something to do with the map.

Quote:
Originally Posted by [R-DEV]Rhino View Post
search for thous values in your staticobjects.con file and you will find some messed up lines of code they belong to, delete them by hand.
The values don't exist in the StaticObjects.con!

1/2 Hawk recons it's something to do with using custom statics! We have added 2 of Ghosts statics in there.
Terror_Terror_Terror is offline Reply With Quote
Old 10-11-2008, 09:26 PM   #7
[R-DEV]Rhino
PR Mapper Team
Supporting Member

[R-DEV]Rhino's Avatar
Send a message via MSN to [R-DEV]Rhino
Default Re: [Help!] Corrupt StaticObjects.Con

look its not hard, you do a search in the staticobjects.con file for the value from the error, ie, one error has the position of one of the statics, so go ctrl+f and type in the pos in the box you want it to find ie: 351.917/25.000/-347.809

then you will find out what area of code or the object its on about the error is coming from...


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
[R-DEV]Rhino is offline Reply With Quote
Old 10-11-2008, 09:29 PM   #8
Terror_Terror_Terror

Terror_Terror_Terror's Avatar
Default Re: [Help!] Corrupt StaticObjects.Con

Yeah I did that several times to make sure but those values don't exist in the file.
Terror_Terror_Terror is offline Reply With Quote
Old 10-11-2008, 09:32 PM   #9
[R-DEV]Rhino
PR Mapper Team
Supporting Member

[R-DEV]Rhino's Avatar
Send a message via MSN to [R-DEV]Rhino
Default Re: [Help!] Corrupt StaticObjects.Con

Quote:
Originally Posted by Terror_Terror_Terror View Post
Yeah I did that several times to make sure but those values don't exist in the file.
then your doing something wrong cos the errors dont make up the values.


To view links or images in signatures your post count must be 1 or greater. You currently have 0 posts.
[R-DEV]Rhino is offline Reply With Quote
Old 10-11-2008, 09:38 PM   #10
Terror_Terror_Terror

Terror_Terror_Terror's Avatar
Default Re: [Help!] Corrupt StaticObjects.Con

Ok I just did it again now exactly as you said, exactly as I did it before, with two different sets of values and the result was the same. Check out what 1/2 Hawk said it may make more sense to you than me but it seems like he's come across similar:

Corrupt Staticobjects.con Help! - Official BF Editor Forums
Terror_Terror_Terror is offline Reply With Quote
Reply


Tags
corrupt, staticobjectscon
Thread Tools
Display Modes

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 09:28 PM.


Powered by: vBulletin. ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO.
All Content Copyright ©2004 - 2012, Project Reality.