Author: Jeff GAZET
Date: 13:35:59 05/13/04
Go up one level in this thread
>hi, > >All versions of my engine have got a bug since a few hours : you can't set a >fixed depth :-( > >for those who are using something like this : > >int stop_time; >stop_time=get_ms()+1000; > >this is buggy now, as get_ms()>2146589376 >and long is 2147483647 More details about this code : int start_time, int stop_time; init_time=3600; // for example start_time=get_ms(); // get_ms() returns int stop_time=start_time+(init_time*1000); A fiew minutes ago, get_ms() was >0 so start_time was something like 2146589376. stop time was <0: something like -2146589376 so, every engines had a bug on my PC. They could be set to a fixed depth. Because for a fixed depth, i set stop in an hour. Now, get_ms<0: -2146766904 stop_time too, and all is all right now ! There was a bug for a fiew minutes, can you believe that ?
This page took 0 seconds to execute
Last modified: Thu, 15 Apr 21 08:11:13 -0700
Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.