Banbury / starshatter-open

Automatically exported from code.google.com/p/starshatter-open
1 stars 1 forks source link

Crash when 7 or more of ships on your side declare "engaging" at the same time. #17

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Seven or more of ships on your side declare "engaging" at the same time.
2.
3.

What is the expected output? What do you see instead?
Crash

Please use labels and text to provide additional information.

As reported by light_gemini on the Hard-Light Forums, 
http://www.hard-light.net/forums/index.php?topic=81010.msg1615776#msg1615776

Original issue reported on code.google.com by rhyskidd on 13 Jun 2012 at 12:36

GoogleCodeExporter commented 8 years ago
Can be reproduced placing 12 fighters vs 12 fighters on mission editor with 
player on one of the groups.
Note that placing the player in a 3rd group alone, with a diferent IFF from the 
other 2, game doesnt crash.

I think crash comes from overload from the message system. AI seems fine.

Original comment by light_ge...@hotmail.com on 14 Jun 2012 at 8:42

GoogleCodeExporter commented 8 years ago
Sounds like a simple memory overflow of a fixed length array somewhere.

Should be fairly easy to fix once I'm familiar with that section of the code 
base.

Original comment by rhyskidd on 16 Jul 2012 at 5:10