Sudden error while saving

Ask questions, discuss ideas, get answers
Post Reply
PredatorBM
Posts: 8
Joined: Wed May 19, 2010 10:32 am

Sudden error while saving

Post by PredatorBM »

Hi all,

I have a little problem.
I save my level/map all the time (editor42). But suddenly when I try to save, I get an unknown error (the one which says that you can "report to windows"). I only save using the "object save". When I try to do a complete save it's the same error all over again. (also when I try to repack the level)

Furthermore, the tanks I placed are boxes again. So now I cannot see the tanks any-more (just the box with arrow).

The strange thing is that when I save after I deleted some vegetation I get the error too, but upon restart of the editor those vegetation object are gone. This doesn't work with tank/vehicle models.

What can I do?

(ps, my map has 17000 objects...)
User avatar
fo0k
Posts: 1433
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: Sudden error while saving

Post by fo0k »

17000!
Epic :)

errors on save are usually something messed up in the conquest folder. Make a copy and strip out object spawns and cp's/ss's until it works again. In fact remove the conquest folder completely first to check if that's the root of the issue.
PredatorBM
Posts: 8
Joined: Wed May 19, 2010 10:32 am

Re: Sudden error while saving

Post by PredatorBM »

well, most of them are trees.

Will do what you say.
PredatorBM
Posts: 8
Joined: Wed May 19, 2010 10:32 am

Re: Sudden error while saving

Post by PredatorBM »

I deleted the complete folder (the conquest one) and when I saved it with "save as" (didn't want to spoil the original map) I got no error!

So does this mean I can put the conquest map back and start to try to eliminate the files inside?
User avatar
fo0k
Posts: 1433
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: Sudden error while saving

Post by fo0k »

Yes. Sometimes when deleting spawn point etc ed42 will corrupt the con file. Look at the files in notepad and you may be able to see an obvious error.. Or just start the control points and spawns again from fresh. Keep your objectspawntemplates as this almost certainly is not corrupt. That way it will actually just take 10mins to replace everythingame.

A good habit is to name every controlpoint, soldier spawn and object spawn very clearly and then it will be very easy to fix any issues just by viewing the con files in notepad :)
PredatorBM
Posts: 8
Joined: Wed May 19, 2010 10:32 am

Re: Sudden error while saving

Post by PredatorBM »

Hi,

I found out that the file "objectspawns" is the faulty file.
Just to see if it's solvable with notepad, here's the file:
  • rem
    rem *** ***
    rem
    Object.create bf109
    Object.absolutePosition 37.396/76.8094/102.862
    Object.rotation 15/0/0
    Object.setOSId 1
    rem
    rem *** ***
    rem
    Object.create tractor
    Object.absolutePosition 793.898/72.2016/1154.72
    Object.rotation -95/0/0
    Object.setOSId 3
    rem
    rem *** ***
    rem
    Object.create kv1
    Object.absolutePosition 1928.41/72.2173/1887.43
    Object.setOSId 2
    rem
    rem *** ***
    rem
    Object.create flettner
    Object.absolutePosition 60.0442/75.1848/133.837
    Object.setOSId 1
    rem
    rem *** ***
    rem
    Object.create 38(t)/t26
    Object.absolutePosition 538.69/72.4717/1288.2
    Object.rotation 97/-4/0
    Object.setOSId 3
    rem
    rem *** ***
    rem
    Object.create t34
    Object.absolutePosition 1944.62/72.8689/1888.25
    Object.setOSId 2
    rem
    rem *** ***
    rem
    Object.create panzer3m
    Object.absolutePosition 76.7993/75.692/134.296
    Object.rotation -8/0/0
    Object.setOSId 1
    rem
    rem *** ***
    rem
    Object.create panzer3n
    Object.absolutePosition 81.9227/75.6268/135.95
    Object.rotation -21/0/0
    Object.setOSId 1
    rem
    rem *** ***
    rem
    Object.create panzerivf2
    Object.absolutePosition 87.2268/75.4529/137.796
    Object.rotation -13/0/0
    Object.setOSId 1
    rem
    rem *** ***
    rem
    Object.create panzerivf2
    Object.absolutePosition 91.9775/75.2002/138.858
    Object.rotation -11.1/0/0
    Object.setOSId 1
    rem
    rem *** ***
    rem
    Object.create tigera
    Object.absolutePosition 69.1843/75.494/147.447
    Object.rotation 87/0/0
    Object.setOSId 1
    rem
    rem *** ***
    rem
    Object.create tigerb
    Object.absolutePosition 160.225/78.4449/1442.3
    Object.rotation 82/0/0
    Object.setOSId 1
    rem
    rem *** ***
    rem
    Object.create kv1
    Object.absolutePosition 1933.09/72.4032/1887.43
    Object.setOSId 2
    rem
    rem *** ***
    rem
    Object.create kv1
    Object.absolutePosition 1937.88/72.5895/1887.4
    Object.setOSId 2
    rem
    rem *** ***
    rem
    Object.create t34
    Object.absolutePosition 1948.49/73.0142/1888.16
    Object.setOSId 2
    rem
    rem *** ***
    rem
    Object.create t34
    Object.absolutePosition 1952.11/73.1521/1887.98
    Object.setOSId 2
I cannot find the problem, if this isn't solvable, I'll replace the objects.
User avatar
fo0k
Posts: 1433
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: Sudden error while saving

Post by fo0k »

PredatorBM wrote:Hi,
  • rem
    rem *** ***
    rem
    Object.create 38(t)/t26
    Object.absolutePosition 538.69/72.4717/1288.2
    Object.rotation 97/-4/0
    Object.setOSId 3
you only have one spawner in osid3? the name may also be causing problems with the brackets and slash... possibly..
PredatorBM
Posts: 8
Joined: Wed May 19, 2010 10:32 am

Re: Sudden error while saving

Post by PredatorBM »

osid stands for a certain spawn/capture point?

Object.create tractor
Object.absolutePosition 793.898/72.2016/1154.72
Object.rotation -95/0/0
Object.setOSId 3


this one is in osid3 as well...


I will change the name of the 38 one
User avatar
fo0k
Posts: 1433
Joined: Fri Oct 16, 2009 4:21 pm
Location: UK

Re: Sudden error while saving

Post by fo0k »

Yeah try rename but if that doesn't work then just start over.. Like I said, it takes less time than you think to place everything again if you already have your objectspawntemplates setup.
User avatar
Apache Thunder
Posts: 1210
Joined: Mon Oct 19, 2009 2:48 am
Location: Levelland Texas, USA
Contact:

Re: Sudden error while saving

Post by Apache Thunder »

lol that's small fry compared to Seaside Skirmish for my BFheroes mod. It has over 30,000+ objects on it. All the undergrowth style grass on the map are each individual objects. Mwuahahaha. :D (no lag from it either and the con file for it is over 4mb in size!)
ImageImageImage
I have cameras in your head!
Post Reply