fabio Posted October 6, 2010 Report Share Posted October 6, 2010 (edited) While playing the Macedonia map I got:FixedVector2D.h(204): Assertion failed: "Overflow in CFixedVector2D::Dot() part 2"Assertion failed: "Overflow in CFixedVector2D::Dot() part 2"Location: FixedVector2D.h:204 (Dot) Edited October 11, 2010 by fabio Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted October 6, 2010 Report Share Posted October 6, 2010 The game should create a file ~/.config/0ad/logs/sim_log/${PID}/commands.txt each time you run it, which can hopefully be used to reproduce errors like this. If you can find one that corresponds to a run which produced that error, could you upload that (and say exactly which SVN revision you're running)? Quote Link to comment Share on other sites More sharing options...
fabio Posted October 6, 2010 Author Report Share Posted October 6, 2010 It ma be the attached log but I am not sure. Is there a way to load it in game? I am on r8294commands.txt Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted October 6, 2010 Report Share Posted October 6, 2010 Thanks, I get the error with that. Will try to debug it later today.You can run the replay with: ./pyrogenesis_dbg -replay=path/to/commands.txt(but don't use "~" in the path). Quote Link to comment Share on other sites More sharing options...
fabio Posted October 6, 2010 Author Report Share Posted October 6, 2010 You can run the replay with: ./pyrogenesis_dbg -replay=path/to/commands.txt(but don't use "~" in the path).Replay doesn't work here. Whatever log I use I get:Replay.cpp(106): Assertion failed: "m_Stream->good()"Assertion failed: "m_Stream->good()"Location: Replay.cpp:106 (Load) Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted October 6, 2010 Report Share Posted October 6, 2010 That usually means you're passing it an incorrect filename (e.g. one with "~", or writing "-replay foo" instead of "-replay=foo", etc). (This isn't meant to be a widely-used feature, which is why it's not at all documented or user-friendly ) Quote Link to comment Share on other sites More sharing options...
fabio Posted October 6, 2010 Author Report Share Posted October 6, 2010 That usually means you're passing it an incorrect filename (e.g. one with "~", or writing "-replay foo" instead of "-replay=foo", etc). (This isn't meant to be a widely-used feature, which is why it's not at all documented or user-friendly )I missed the = indeed, and also confirm the original assertion. Quote Link to comment Share on other sites More sharing options...
Ykkrosh Posted October 6, 2010 Report Share Posted October 6, 2010 Should be fixed. (This will slightly change the pathfinder behaviour, so the replay will be invalid now and can't be used to verify that the bug is fixed, unfortunately.) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.