Light Style© by Fisana

Jump to content


Photo

New Error!


  • Please log in to reply
17 replies to this topic

#1 gameboy

gameboy

    Duplicarius

  • Community Members
  • PipPipPip
  • 305 posts

Posted 28 February 2012 - 12:55 PM

When I run the game, and then select the archive, the game crashes and this error message:
Assertion failed: "0 && (L"CCmpDecay must not be used on non-local (network-synchronised) entities")"
Location: CCmpDecay.cpp:95 (CCmpDecay::Init) :angry:

My operating system windows7, I use the variation tool is vc2008.net :victory:

Start a new game, save the game, the game can not be saved.:angry: :angry: :angry:

error message::

Much to our regret we must report the program has encountered an error.

Please let us know at http://trac.wildfiregames.com/ and attach the crashlog.txt and crashlog.dmp files.

Details: unhandled exception (PSERROR_Serialize_InvalidScriptValue ("Serialize_InvalidScriptValue"))

Location: unknown: 0 (JS_CompareValues)

The Call the stack:

(error while dumping the stack: No. the stack frames found)
errno = 0 (No error reported here)
The OS error = 487 (attempt to access invalid address.)

Edited by gameboy, 28 February 2012 - 01:25 PM.

  • 0

#2 feneur

feneur

    Cartographer of imaginary worlds

  • 0 A.D. Project Leader
  • 7,755 posts

Posted 28 February 2012 - 02:52 PM

Hmm, you write in the topic title that the SVN revision is 1094, I doubt that is correct as the latest revision is 11194. I'm guessing that's what you meant though?

That said I can report at least a similar issue:

Much to our regret we must report the program has encountered an error.

Please let us know at http://trac.wildfiregames.com/ and attach the crashlog.txt and crashlog.dmp files.

Details: unhandled exception (PSERROR_Serialize_InvalidScriptValue("Serialize_InvalidScriptValue"))

Location: unknown:0 (RtlInitializeExceptionChain)

Call stack:

(error while dumping stack: No stack frames found)
errno = 0 (No error reported here)
OS error = 0 (no error code was set)

Revision 11194, custom built .exe (VC2010), after trying to save the game. First you get back to the main menu, and get the above error message, then pressing continue makes the application crash.
  • 0

Erik Johansson [ aka feneur ]

Wildfire Games
Contact me: feneur@wildfiregames.com



Support Wildfire Games!


#3 quantumstate

quantumstate

    Primus Pilus

  • WFG Retired
  • 1,150 posts

Posted 28 February 2012 - 09:00 PM

Hopefully this is fixed by 11198. Can you test again please?
  • 0

Jonathan Waller [ aka quantumstate ]

Wildfire Games Programmer
Contact me: jonathanmarkwaller at gmail dot com


Support Wildfire Games!


#4 vts

vts

    Sesquiplicarius

  • WFG Retired
  • 110 posts

Posted 28 February 2012 - 09:46 PM

Looks fixed for me.
* EDIT: the error reported by feneur I mean, I haven't seen OP's error occur yet
  • 0
Jeroen DR [ aka vts ]
Wildfire Games Programmer
Contact me: jeroen@wildfiregames.com


‹Mythos_Ruler› Give that batch some uniforms. Batches love uniforms.

#5 historic_bruno

historic_bruno

    Primus Pilus

  • WFG Programming Team
  • 2,385 posts

Posted 28 February 2012 - 10:17 PM

When I run the game, and then select the archive, the game crashes and this error message:
Assertion failed: "0 && (L"CCmpDecay must not be used on non-local (network-synchronised) entities")"
Location: CCmpDecay.cpp:95 (CCmpDecay::Init) :angry:

Any more info on this error? I'm not able to reproduce it. It doesn't appear related to the AI serialization bug.
  • 0
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben [at] wildfiregames [dot] com

#6 gameboy

gameboy

    Duplicarius

  • Community Members
  • PipPipPip
  • 305 posts

Posted 29 February 2012 - 11:40 AM

Hopefully this is fixed by 11198. Can you test again please?


SVN-11198 to solve the game lag?:eek: :cool: :huh:
  • 0

#7 feneur

feneur

    Cartographer of imaginary worlds

  • 0 A.D. Project Leader
  • 7,755 posts

Posted 29 February 2012 - 11:46 AM

SVN-11198 to solve the game lag?:eek: :cool: :huh:

Nowhere in this topic was game lag mentioned, however, the issue you mentioned above that caused the crash when trying to save should be fixed in the latest SVN version.
  • 0

Erik Johansson [ aka feneur ]

Wildfire Games
Contact me: feneur@wildfiregames.com



Support Wildfire Games!


#8 gameboy

gameboy

    Duplicarius

  • Community Members
  • PipPipPip
  • 305 posts

Posted 29 February 2012 - 11:56 AM

ok, this reminds me of the game lag, I'm just the way, thank you!
The bad news: I have just tested the SVN-11198, the error from happening again.:banger: :angry: :angry:
Load a previous save games, the game crashes!
Error message:

Assertion failed: "0 && (L"CCmpDecay must not be used on non-local (network-synchronised) entities")"
Location: CCmpDecay.cpp:95 (CCmpDecay::Init)

Call stack:

(error while dumping stack: No stack frames found)
errno = 0 (No error reported here)
OS error = 0 (no error code was set)

Edited by gameboy, 29 February 2012 - 12:12 PM.

  • 0

#9 feneur

feneur

    Cartographer of imaginary worlds

  • 0 A.D. Project Leader
  • 7,755 posts

Posted 29 February 2012 - 12:44 PM

ok, this reminds me of the game lag, I'm just the way, thank you!
The bad news: I have just tested the SVN-11198, the error from happening again.:banger: :angry: :angry:
Load a previous save games, the game crashes!
Error message:

Assertion failed: "0 && (L"CCmpDecay must not be used on non-local (network-synchronised) entities")"
Location: CCmpDecay.cpp:95 (CCmpDecay::Init)

Call stack:

(error while dumping stack: No stack frames found)
errno = 0 (No error reported here)
OS error = 0 (no error code was set)

Ok, that's the error that wasn't fixed, it was the crash when trying to save games that was fixed. This error we need more information to be able to debug. Could you please post more details? What map did you play on? What AI did you use? Did you try to load a save game from before SVN revision 11198?

Just as a general information to help with debugging, I just updated SVN and built the game and saved and loaded a savegame without problem, so it's at least not a general issue. (Acropolis III, played against qBot, just played a couple of seconds to test if it was a general load issue.)
  • 0

Erik Johansson [ aka feneur ]

Wildfire Games
Contact me: feneur@wildfiregames.com



Support Wildfire Games!


#10 gameboy

gameboy

    Duplicarius

  • Community Members
  • PipPipPip
  • 305 posts

Posted 29 February 2012 - 12:54 PM

Map:The Massacre of Delphi
AI:qBot

"Did you try to load a save game from before SVN revision 11198? " My answer is: yes, the load a save game from before the SVN revision 11198.
  • 0

#11 quantumstate

quantumstate

    Primus Pilus

  • WFG Retired
  • 1,150 posts

Posted 29 February 2012 - 01:26 PM

Map:The Massacre of Delphi
AI:qBot

"Did you try to load a save game from before SVN revision 11198? " My answer is: yes, the load a save game from before the SVN revision 11198.


Loading saved games across different game versions is not supported yet. Can you reproduce the error while loading a saved game created by the same svn revision?
  • 0

Jonathan Waller [ aka quantumstate ]

Wildfire Games Programmer
Contact me: jonathanmarkwaller at gmail dot com


Support Wildfire Games!


#12 gameboy

gameboy

    Duplicarius

  • Community Members
  • PipPipPip
  • 305 posts

Posted 29 February 2012 - 01:35 PM

Loading saved games across different game versions is not supported yet. Can you reproduce the error while loading a saved game created by the same svn revision?



Yes, I tested svn-11198, I created a new game archive file, and then I load the game archive, no error is found, it does not support the archive of previous versions to create game, thank you!


Another: What if you have been to solve the caused because qBot, game lag, thank you!

Edited by gameboy, 29 February 2012 - 01:44 PM.

  • 0

#13 Ykkrosh

Ykkrosh

    Primus Pilus

  • WFG Programming Team
  • 4,921 posts

Posted 01 March 2012 - 12:39 PM

Loading saved games across different game versions is not supported yet.

Yeah, that will cause a wide variety of random errors depending on how it misinterprets the binary stream. (We should update the version numbers in source/ps/SavedGame.cpp when changing components incompatibly (or at least increment it for each official release), though first we should make the GUI file-loading code detect old versions and complain instead of blindly attempting to load them. I suppose that would be valuable for the next alpha release, since it's the first release where normal players are likely to have incompatible saves.)
  • 0
Philip Taylor [aka Ykkrosh]

Wildfire Games Programmer
Contact me: philip@wildfiregames.com

#14 historic_bruno

historic_bruno

    Primus Pilus

  • WFG Programming Team
  • 2,385 posts

Posted 01 March 2012 - 09:59 PM

Yeah, that will cause a wide variety of random errors depending on how it misinterprets the binary stream. (We should update the version numbers in source/ps/SavedGame.cpp when changing components incompatibly (or at least increment it for each official release), though first we should make the GUI file-loading code detect old versions and complain instead of blindly attempting to load them. I suppose that would be valuable for the next alpha release, since it's the first release where normal players are likely to have incompatible saves.)

By "next" do you mean Alpha 9 or 10? :)

I would say if a saved game is an old version not supported by the engine, then it shouldn't even be displayed in the GUI or else it should be clearly shown as an invalid choice. That seems better than explicitly complaining because it's not as if the player has done anything wrong.
  • 0
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben [at] wildfiregames [dot] com

#15 Sonarpulse

Sonarpulse

    Sesquiplicarius

  • Community Members
  • PipPip
  • 166 posts

Posted 02 March 2012 - 07:16 AM

Eh, I would let the game load it, but give a big warning and ask for confirmation first. People might want to try to load it, even knowing the risk. I can't think of a good example why outside of finishing an old campaign (which is a long ways off), but I feel warning+plus allowing solves all the problems without limiting user freedom.
  • 0
Posted ImagePosted ImagePosted Image

#16 Ykkrosh

Ykkrosh

    Primus Pilus

  • WFG Programming Team
  • 4,921 posts

Posted 02 March 2012 - 12:47 PM

By "next" do you mean Alpha 9 or 10? :)

I forget which number we're on - I just mean whichever is the first version we haven't released yet :)

I would say if a saved game is an old version not supported by the engine, then it shouldn't even be displayed in the GUI or else it should be clearly shown as an invalid choice. That seems better than explicitly complaining because it's not as if the player has done anything wrong.

I think hiding it from the list entirely would potentially confuse players, and they'd worry that upgrading the game had deleted all their old saves. Also it would prevent them from choosing to delete the old saves (assuming the game had some UI to delete saves, which it doesn't yet). But adding some marker to indicate old saves in the list would be fine.
  • 0
Philip Taylor [aka Ykkrosh]

Wildfire Games Programmer
Contact me: philip@wildfiregames.com

#17 gameboy

gameboy

    Duplicarius

  • Community Members
  • PipPipPip
  • 305 posts

Posted 02 March 2012 - 12:52 PM

How do I menu option to delete the old archive? :banger: :blush: :sorry: :shrug: :shrug:

Edited by gameboy, 02 March 2012 - 12:55 PM.

  • 0

#18 feneur

feneur

    Cartographer of imaginary worlds

  • 0 A.D. Project Leader
  • 7,755 posts

Posted 02 March 2012 - 08:24 PM

How do I menu option to delete the old archive? :banger: :blush: :sorry: :shrug: :shrug:

Assuming you mean saved games Philip wrote this in the post above yours: "(assuming the game had some UI to delete saves, which it doesn't yet)".
  • 0

Erik Johansson [ aka feneur ]

Wildfire Games
Contact me: feneur@wildfiregames.com



Support Wildfire Games!