Jump to content

[FIXED] Assertion failed: "Overflow in CFixedVector2D::Dot() part 2"


fabio
 Share

Recommended Posts

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 by fabio
Link to comment
Share on other sites

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)?

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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 :victory:)

Link to comment
Share on other sites

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 :victory:)

I missed the = indeed, and also confirm the original assertion.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...