Log In  

Hi,

Change between 0.1.11b and 0.1.11g makes our game Micro Murder freeze (on the newer version obviously).

Not sure how to debug it (would be nice to be able to see which line was being executed when escape is pressed) but it is very easy to reproduce: get the game from Splore, set both players as CPU and start game. It will freeze as soon as the AI starts thinking.

I am not sure which version introduces the change, those are the only two versions I have lying around.

P#55129 2018-08-14 10:32 ( Edited 2018-08-15 08:05)

yep it freezes in 0.1.11c!

P#55132 2018-08-14 11:27 ( Edited 2018-08-14 15:27)

Seems to be this loop in simcycle():

    while start<=time() and time()-start < 1/45 do

Looks like time() doesn't advance during a single call to _draw() anymore, so time()-start is always 0.

P#55133 2018-08-14 11:28 ( Edited 2018-08-14 15:28)

Thanks!

I was just about to start debugging it but you saved me. Thanks a lot.

P#55134 2018-08-14 11:55 ( Edited 2018-08-14 15:55)
:: Felice

Might be better to use stat(1) anyway, since it has a much higher resolution.

P#55177 2018-08-15 04:05 ( Edited 2018-08-15 08:05)

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2020-04-10 00:19 | 0.024s | 2097k | Q:21