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

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

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...