Jump to content

Photo
- - - - -

Hunting the big savegame bug progress


  • Please log in to reply
50 replies to this topic

#1 bn880

bn880

    O=FP^2

  • Members
  • 6758 posts

Posted 01 February 2004 - 02:17

Okay, I think everyone now knows how missions with a large Gamestate Variable space can cause a savegame to fail with a message like "error no entry at 'continue.bin/GameState/Variables/Item11/data.value'"

Along with Dinger I think I have isolated one of the issues with the save/load game Variable state:

Attempting to load this GameState from a continue.fps will cause the error <table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">savepath Error no entry at 'continue.bin/GameState/Variables/Item11/data.value'.[/QUOTE]
or
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">savepath Error no entry at 'continue.bin/GameState/Variables/Item12/data.value'.[/QUOTE]
depending on the names of the Variables

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class GameState
{
class Variables
{
items=30;
class Item0
{

name="a";
class data
{
type=2;
class value
{
items=1;
class Item0
{
class data
{
type=1;
value=1.0;
};

};

};

};
readOnly=0;
};

class Item1
{
name="b";
class data
{
type=1;
value=1.0;
};

readOnly=0;
};

class Item2
{
name="c";
class data
{
type=1;
value=1.0;
};

readOnly=0;
};

class Item3
{
name="d";
class data
{
type=1;
value=30.0;
};

readOnly=0;
};

class Item4
{
name="e";
class data
{
type=1;
value=1.0;
};

readOnly=0;
};

class Item5
{
name="f";
class data
{
type=1;
value=42.0;
};

readOnly=0;
};

class Item6
{
name="g";
class data
{
type=1;
value=-1.0;
};

readOnly=0;
};

class Item7
{
name="h";
class data
{
type=1;
value=1.0;
};

readOnly=0;
};

class Item8
{
name="i";
class data
{
type=1;
value=0.0;
};

readOnly=0;
};

class Item9
{
name="j";
class data
{
type=1;
value=945.247131;
};

readOnly=0;
};

class Item10
{
name="k";
class data
{
type=1;
value=-1.0;
};

readOnly=0;
};

class Item11
{

name="l";
class data
{
type=1;
value=36.0;
};

readOnly=0;
};

class Item12
{
name="m";
class data
{
type=1;
value=3.0;
};

readOnly=0;
};

class Item13
{
name="n";
class data
{
type=1;
value=0.0;
};

readOnly=0;
};

class Item14
{
name="o";
class data
{
type=1;
value=1.0;
};

readOnly=0;
};

class Item15
{
name="p";
class data
{
type=1;
value=0.3;
};

readOnly=0;
};

class Item16
{
name="q";
class data
{
type=1;
value=0.0;
};

readOnly=0;
};

class Item17
{
name="r";
class data
{
type=1;
value=1.0;
};

readOnly=0;
};

class Item18
{
name="s";
class data
{
type=1;
value=1.0;
};

readOnly=0;
};

class Item19
{
name="t";
class data
{
type=1;
value=1.0;
};

readOnly=0;
};

class Item20
{
name="u";
class data
{
type=1;
value=0.0;
};

readOnly=0;
};

class Item21
{
name="v";
class data
{
type=1;
value=-1.0;
};

readOnly=0;
};

class Item22
{
name="w";
class data
{
type=1;
value=1.0;
};

readOnly=0;
};

class Item23
{
name="x";
class data
{
type=1;
value=-1.0;
};

readOnly=0;
};

class Item24
{
name="this";
class data
{
type=256;
class value
{
id=0;
};

};

readOnly=1;
};

class Item25
{
name="y";
class data
{
type=4;
value=1;
};

readOnly=0;
};

class Item26
{
name="z";
class data
{
type=1;
value=1.0;
};

readOnly=0;
};

class Item27
{
name="aa";
class data
{
type=1;
value=-1.0;
};

readOnly=0;
};

class Item28
{
name="bb";
class data
{
type=1;
value=0.0;
};

readOnly=0;
};

class Item29
{
name="cc";
class data
{
type=1;
value=30.0;
};

readOnly=0;
};

};

};[/QUOTE]

However, renaming the array at entry Item0 to 'za' makes the problem go away. Similarly swaping the array at Item0 with Item11 or Item12 fixes the problem. It depends on the naming of the variables.

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class GameState
{
class Variables
{
items=30;
class Item0
{

name="za";
class data
{
type=2;
class value
{
items=1;
class Item0
{
class data
{
type=1;
value=1.0;
};

};

};

};
readOnly=0;
};

class Item1
{
name="b";
class data
{
type=1;
value=1.0;
};

readOnly=0;
};

class Item2
{
name="c";
class data
{
type=1;
value=1.0;
};

readOnly=0;
};

class Item3
{
name="d";
class data
{
type=1;
value=30.0;
};

readOnly=0;
};

class Item4
{
name="e";
class data
{
type=1;
value=1.0;
};

readOnly=0;
};

class Item5
{
name="f";
class data
{
type=1;
value=42.0;
};

readOnly=0;
};

class Item6
{
name="g";
class data
{
type=1;
value=-1.0;
};

readOnly=0;
};

class Item7
{
name="h";
class data
{
type=1;
value=1.0;
};

readOnly=0;
};

class Item8
{
name="i";
class data
{
type=1;
value=0.0;
};

readOnly=0;
};

class Item9
{
name="j";
class data
{
type=1;
value=945.247131;
};

readOnly=0;
};

class Item10
{
name="k";
class data
{
type=1;
value=-1.0;
};

readOnly=0;
};

class Item11
{

name="l";
class data
{
type=1;
value=36.0;
};

readOnly=0;
};

class Item12
{
name="m";
class data
{
type=1;
value=3.0;
};

readOnly=0;
};

class Item13
{
name="n";
class data
{
type=1;
value=0.0;
};

readOnly=0;
};

class Item14
{
name="o";
class data
{
type=1;
value=1.0;
};

readOnly=0;
};

class Item15
{
name="p";
class data
{
type=1;
value=0.3;
};

readOnly=0;
};

class Item16
{
name="q";
class data
{
type=1;
value=0.0;
};

readOnly=0;
};

class Item17
{
name="r";
class data
{
type=1;
value=1.0;
};

readOnly=0;
};

class Item18
{
name="s";
class data
{
type=1;
value=1.0;
};

readOnly=0;
};

class Item19
{
name="t";
class data
{
type=1;
value=1.0;
};

readOnly=0;
};

class Item20
{
name="u";
class data
{
type=1;
value=0.0;
};

readOnly=0;
};

class Item21
{
name="v";
class data
{
type=1;
value=-1.0;
};

readOnly=0;
};

class Item22
{
name="w";
class data
{
type=1;
value=1.0;
};

readOnly=0;
};

class Item23
{
name="x";
class data
{
type=1;
value=-1.0;
};

readOnly=0;
};

class Item24
{
name="this";
class data
{
type=256;
class value
{
id=0;
};

};

readOnly=1;
};

class Item25
{
name="y";
class data
{
type=4;
value=1;
};

readOnly=0;
};

class Item26
{
name="z";
class data
{
type=1;
value=1.0;
};

readOnly=0;
};

class Item27
{
name="aa";
class data
{
type=1;
value=-1.0;
};

readOnly=0;
};

class Item28
{
name="bb";
class data
{
type=1;
value=0.0;
};

readOnly=0;
};

class Item29
{
name="cc";
class data
{
type=1;
value=30.0;
};

readOnly=0;
};

};

};[/QUOTE]


Obviously in a small mission such as this you will not get this improper GameState ordering, but I extracted the first 30 entries from a huge savegame what was failing. And this is one of the causes, it appears that saving and loading must have a specific order of arrays or variable names which is not adhered to during save of huge missions GameState.




"Peace can not be kept by force. It can only be achieved by understanding." Albert Einstein
Posted Image
Please report Arma 3 bugs in the Bug Tracker

#2 Dinger

Dinger

    Gunnery Sergeant

  • Members
  • 523 posts

Posted 01 February 2004 - 05:06

What does this mean/why is it important?

First, Bn880 did the work. I just sat there chasing my own problems (speaking of which, don't _EVER_ name a magazine with a class that begins wtih a CfgModels entry class name).

Second, yes, this continues the "Chasing the big CTD" problem, by a different approach. Bn880 spent a lot of time with huge (3 meg) savegame files, monkeying with parameters until he isolated the problem to variables and 6 k.

Third, yeah, bn880 think's he's isolated this bug. The isolation isn't good enough yet to prepare a "Savegame corrector", but hopefully BIS will take notice, it will now be a minor matter and they'll be able to slip this one in. That's the most optimistic reading possible; frankly I'm amazed they continue to support this product so far after release. So we hope bn880's work here gives them at least goods to prevent this in future products.

Okay, fourth, for those of you wondering: this is from a "CoC internal" program written by Confucius. No we're not trying to hide anything; We at CoC don't believe in secrecy. Confucius went "off the reservation", and as soon as we can get ahold of him, we'll release the product.

#3 toadlife

toadlife

    Master Gunnery Sergeant

  • Members
  • 1134 posts

Posted 01 February 2004 - 05:57

Good job guys! Posted Image I really hope BIS can slip this one in. The savegame bug is a real modkiller.
"Whenever you want information on the 'net, don't ask a question; just post a wrong answer." -- Cancer Omega.

#4 bn880

bn880

    O=FP^2

  • Members
  • 6758 posts

Posted 03 February 2004 - 14:28

Small bump in case BIS has not spotted this... Posted Image

EDIT: stupid spelling mistake




"Peace can not be kept by force. It can only be achieved by understanding." Albert Einstein
Posted Image
Please report Arma 3 bugs in the Bug Tracker

#5 bn880

bn880

    O=FP^2

  • Members
  • 6758 posts

Posted 03 February 2004 - 15:24

Good job guys! Posted Image I really hope BIS can slip this one in. The savegame bug is a real modkiller.

Yes and it is a real CE+UA killer as well, it also pretty much killed my personal enhusiasm in The Working Mission. Posted Image

I consider a bug like this kind of a core problem, when a savegame can not be loaded...
"Peace can not be kept by force. It can only be achieved by understanding." Albert Einstein
Posted Image
Please report Arma 3 bugs in the Bug Tracker

#6 m21man

m21man

    Warrant Officer

  • Members
  • 2102 posts

Posted 03 February 2004 - 15:32

Hopefully they can fix this soon (I'm ready for another beta patch Posted Image ).

#7 void_false

void_false

    Master Gunnery Sergeant

  • Members
  • 1244 posts

Posted 03 February 2004 - 18:15

no offensive, but i would like to say some1 "go to hell!!" Posted Image

I have never expirenced this problem. But after i read this topic - it follows me everywhere. Now i cant save nor load! Posted Image now i must play missions without loading at all. even loading autosaves cause CTD. I don't know what to do. and even worst thing that i dont know the reason what caused this?

#8 DayGlow

DayGlow

    Master Gunnery Sergeant

  • Members
  • 1328 posts

Posted 10 February 2004 - 01:22

this bug has stopped me from playing OFP. Hope it gets fixed.
"It takes a big man to admit when he is wrong...I'm not a big man." Chevy Chase, Fletch Lives

#9 Dwarden

Dwarden

    BI Developer

  • BI Developer
  • 9617 posts
  • LocationBrno, Czech Republic

Posted 17 February 2004 - 04:54

bn880 You reported this to BIS directly too?

RealTimeChat ~ARMA2 in Your browser (w/o Java), RealTimeChat ~ARMA3 in Your browser (w/o Java),
irc.GameSurge.net/ARMA2 (external IRC clients) irc.GameSurge.net/ARMA3 (external IRC clients)
ARMA 3 Feedback Tracker: http://feedback.arma...y_view_page.php
~100k fans @STEAM ARMA 2 + ARMA 2: OA + ARMA 3: + ~2k @XFIRE A2:OA
Follow my Twitter: http://twitter.com/FoltynD or my Facebook http://facebook.com/FoltynD


#10 Javito1986

Javito1986

    Corporal

  • Members
  • 68 posts

Posted 17 February 2004 - 21:59

So, is there a way for us to fix it and play our missions normally?





#11 redface

redface

    First Sergeant

  • Members
  • 822 posts

Posted 20 February 2004 - 12:14

I got the savegame CTD since playing the final missions of the resistance campaign and it hasn't gone ever since Posted Image

I even bought GOTY to replace my original accumulated CWC+Resistance setup to see if the bug would go away

I have extended the size of my windows swap file (as suggested by BIS in another posting) to 1Gig min and 1.512 Mb max, cleaned up my savegames directory (under users\xx\Saved, it was about 600 Mb Posted Image --> don't forget the editor makes savegames as well)

I play without ECP (it helps in some cases, especially with smaller missions)

what makes a mission too complex for reloading? eventhandlers? or is it just RAM or harddisk-freespace related?

Cannot load 'Users\coldfrites\Saved\missions\OFPEC\valley_breeze.noe\save.fps'. Error 'No entry' at
'gamestate/variables/Item422/data.value'

interestingly enough, I have no problem with reloading a savegame that is obtained by a savegame command in a radio trigger (which gives you the "updating retry status ..." notice) and that can be activated by using the retry function. I would therefore advise mission makers to add such a radio trigger until the prob is solved. Or you can add it yourself ...





#12 DayGlow

DayGlow

    Master Gunnery Sergeant

  • Members
  • 1328 posts

Posted 04 March 2004 - 04:27

any progress with this? Still can't play OFP
"It takes a big man to admit when he is wrong...I'm not a big man." Chevy Chase, Fletch Lives

#13 void_false

void_false

    Master Gunnery Sergeant

  • Members
  • 1244 posts

Posted 04 March 2004 - 12:17

Damn! why does BIS didn't tell a single word about this problem!?!?!? Posted Image Posted Image Posted Image

#14 bn880

bn880

    O=FP^2

  • Members
  • 6758 posts

Posted 04 March 2004 - 14:53

Because, it gives them a hard time. Posted Image Posted Image
"Peace can not be kept by force. It can only be achieved by understanding." Albert Einstein
Posted Image
Please report Arma 3 bugs in the Bug Tracker

#15 void_false

void_false

    Master Gunnery Sergeant

  • Members
  • 1244 posts

Posted 04 March 2004 - 15:05

you mean they will never fix this bugg?

#16 bn880

bn880

    O=FP^2

  • Members
  • 6758 posts

Posted 04 March 2004 - 15:18

My guess would be OFP2 it will be fixed, not likely OFP1.X
"Peace can not be kept by force. It can only be achieved by understanding." Albert Einstein
Posted Image
Please report Arma 3 bugs in the Bug Tracker

#17 DayGlow

DayGlow

    Master Gunnery Sergeant

  • Members
  • 1328 posts

Posted 11 March 2004 - 17:59

bump. The game is useless if I can't save
"It takes a big man to admit when he is wrong...I'm not a big man." Chevy Chase, Fletch Lives

#18 Placebo

Placebo

    Über Verwalter

  • BI Forum Team
  • 21317 posts

Posted 11 March 2004 - 18:15

You cannot play any missions or campaigns?
Welcome to Associate Producer Matt Lightfoot as new Forum/Community/Moderating lead, he should be contacted for all related matters now, not me!

#19 void_false

void_false

    Master Gunnery Sergeant

  • Members
  • 1244 posts

Posted 11 March 2004 - 18:35

yes! we cant play 'cause we cant save! then comes autoseve and crashes the game! Posted Image

#20 Placebo

Placebo

    Über Verwalter

  • BI Forum Team
  • 21317 posts

Posted 11 March 2004 - 18:38

Forgive me if I'm asking dumb questions.....

You can't even play an original mission such as Steal the car?
Welcome to Associate Producer Matt Lightfoot as new Forum/Community/Moderating lead, he should be contacted for all related matters now, not me!