Page 1 of 1

Bugs on 0.6.0. Beta 5

Posted: Fri Jan 22, 2010 9:29 pm
by Balthazar
After a few minutes of playing I`ve got a crash.

I guess it`s nature is the same as with spwan command.

Here`s the log.

Re: Bugs on 0.6.0. Beta 5

Posted: Sat Jan 23, 2010 12:00 pm
by zuzuf
It's possible but I managed to crash the game twice after I fixed it so it may be something else.

Re: Bugs on 0.6.0. Beta 5

Posted: Mon Jan 25, 2010 12:32 am
by zuzuf
The random number table wasn't thread safe, it's fixed now (but the corresponding code may change, anyway the bug is well known and understood :) ).

I've added a stress test game script (I automated the stress test I usually run to track and fix bugs, profile and optimize the engine):
2000 (or less depending on unit limit) units per player, dead units are automatically replaced, there is no victory/defeat condition so you can destroy all your units if you want game won't end (useful to change all your units :D).

I could run it more than 3 hours without crashing with 2 players and unit limit set to 2000 per player.

Re: Bugs on 0.6.0. Beta 5

Posted: Mon Jan 25, 2010 6:37 am
by Balthazar
That`s a pretty damn stable :P Multiplayer code is broken yet, as far as i know?

Re: Bugs on 0.6.0. Beta 5

Posted: Mon Jan 25, 2010 12:28 pm
by zuzuf
I don't know, multiplayer needs to be tested.

Re: Bugs on 0.6.0. Beta 5

Posted: Mon Jan 25, 2010 5:02 pm
by zuzuf
Multiplayer was broken, I fixed it and I also optimized a few things so now it should be working (even though you'll probably find several bugs).

Re: Bugs on 0.6.0. Beta 5

Posted: Mon Jan 25, 2010 8:43 pm
by Balthazar
I`ll try to test it eventually :P Thanks a lot!

Re: Bugs on 0.6.0. Beta 5

Posted: Mon Jan 25, 2010 8:48 pm
by Balthazar
And one more critical bug - often some units can`t hit other - they shoot but can`t hit them. I guess that`s because of current stage of ballistic code, but still can it be tweaked a little?

Re: Bugs on 0.6.0. Beta 5

Posted: Mon Jan 25, 2010 9:29 pm
by zuzuf
Yes, it seems there is a bug in the simplified collision detector, I am going to check the corresponding code.

Re: Bugs on 0.6.0. Beta 5

Posted: Tue Jan 26, 2010 3:13 pm
by xpoy
Wo~ I also fixed a bad crash in my self work, that test another one's program, withou source /:^|...