Author Topic: Corrupt Save.  (Read 4272 times)

You really aren't doing what was asked of you.
My stupidity got a hold on me, Ive' been doing this on my dedicated server.

Heres the console.log, Also there was no end to the loading because it will continuosly say this,

And it only loaded partial amount of the save and stopped from there; Not loading anymore but that partial amount.

Code: [Select]
ERROR: ServerLoadSaveFile_Tick() - Bad line "" -646.5 532.25 12.6 0 0 50  0 0 1 1 1" - expected brick line but found no uiname
BackTrace: ->ServerLoadSaveFile_Tick
I believe this is what causes save file corruption, if I remember correctly from the last time I saw a thread about something like this. I don't remember how to fix it right offhand, however.

Code: [Select]
ERROR: ServerLoadSaveFile_Tick() - Bad line "" -646.5 532.25 12.6 0 0 50  0 0 1 1 1" - expected brick line but found no uiname
BackTrace: ->ServerLoadSaveFile_Tick
I believe this is what causes save file corruption, if I remember correctly from the last time I saw a thread about something like this. I don't remember how to fix it right offhand, however.
So theres a way to fix this right?

Go into the .bls file, find that line, and delete it.

Go into the .bls file, find that line, and delete it.
What line

Go into the .bls file, find that line, and delete it.
Forget the first post, Do i delete the whole line?

Open the .bls with a text editor.

Find and delete this line:

" -646.5 532.25 12.6 0 0 50  0 0 1 1 1

If there are lines that start with +- directly after it, delete those too.

Open the .bls with a text editor.

Find and delete this line:

" -646.5 532.25 12.6 0 0 50  0 0 1 1 1

If there are lines that start with +- directly after it, delete those too.
In the line, Its has "brick top" Do i delete also?

In the line, Its has "brick top" Do i delete also?
Yes.
All of that line needs deleting.

If there are lines that start with +- directly after it, delete those too.
I found one, +-EVENT   0   1   onActivate   0   Self      door   0 So i delete the "EVENT   0   1   onActivate   0   Self      door   0" ?

No, you delete the whole line.

you need to delete anything that has to do with the brick that is missing
anything between the line deleted for the missing brick, and the start of the next brick

Using some regex I removed all of the bricks that were causing the problem.

If anyone is interested, here is the regex:
Code: [Select]
\r\n".+((\r\n\+-).+)*It will catch the brick and all of its sub-properties. (like events)

Now we just need to figure out why this is happening.


Cool, So do i copy and paste or?

That wont help you unless you know how to code. Which I'm assuming you don't. You can upload your .bls and one of us can fix it for you if you are still having trouble.