Brutus 5.4 released

Discussion of anything and everything relating to chess playing software and machines.

Moderator: Ras

User avatar
Graham Banks
Posts: 45274
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Brutus 5.4 released

Post by Graham Banks »

gbanksnz at gmail.com
Tony Thomas

Re: Brutus 5.4 released

Post by Tony Thomas »

It still doesnt support incremental time controls.
User avatar
Graham Banks
Posts: 45274
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Brutus 5.4 released

Post by Graham Banks »

Tony Thomas wrote:It still doesnt support incremental time controls.
Perhaps you should post your request for the author to do this on the WBEC forum where he posts. :wink:
gbanksnz at gmail.com
Tony Thomas

Re: Brutus 5.4 released

Post by Tony Thomas »

Graham Banks wrote:
Tony Thomas wrote:It still doesnt support incremental time controls.
Perhaps you should post your request for the author to do this on the WBEC forum where he posts. :wink:
I posted it on Leo's thread at WBEC few seconds ago. If I understand correctly, it supported incremental time controls until version 5.2 (according to swami, he called version 5.3 buggy). Unfortunately at the time I didnt have enough RAM to test the darn thing. Now that I have enough, the darn thing doesnt support my time controls.
User avatar
Jim Ablett
Posts: 2394
Joined: Fri Jul 14, 2006 7:56 am
Location: London, England
Full name: Jim Ablett

Re: Brutus 5.4 released

Post by Jim Ablett »

Tony Thomas wrote:
Graham Banks wrote:
Tony Thomas wrote:It still doesnt support incremental time controls.
Perhaps you should post your request for the author to do this on the WBEC forum where he posts. :wink:
I posted it on Leo's thread at WBEC few seconds ago. If I understand correctly, it supported incremental time controls until version 5.2 (according to swami, he called version 5.3 buggy). Unfortunately at the time I didnt have enough RAM to test the darn thing. Now that I have enough, the darn thing doesnt support my time controls.


Comparing 'chessclock.cpp' from both v5.1 and 5.4 there appears to be one line difference which may be causing the problem >

Code: Select all

v.51.
--------------------------------
//returns ms left for next move of white/black
int chessclock::getTimeNextMove(int playingSide){
if (runningSide==WHITE || runningSide==BLACK){
stopTime=timer1.get_ms();
timeLeft[side(runningSide)]-= (stopTime-startTime);

startTime=timer1.get_ms(); // <<<<<<< HERE
}
----------------------------------

Code: Select all

v.5.4
----------------------------------
//returns ms left for next move of white/black
int chessclock::getTimeNextMove(int playingSide){
if (runningSide==WHITE || runningSide==BLACK){
stopTime=timer1.get_ms();
timeLeft[side(runningSide)]-= (stopTime-startTime);

startTime=stopTime; // <<<<<< HERE
}
-----------------------------------
Jim.
Tony Thomas

Re: Brutus 5.4 released

Post by Tony Thomas »

What a huge difference that single line made...
User avatar
beachknight
Posts: 3533
Joined: Tue Jan 09, 2007 8:33 pm
Location: Antalya, Turkey

Re: Brutus 5.4 released

Post by beachknight »

Hi Graham,

Offftopic in this thread, but, I have a question:

Does talkchess forum have an archive for
offline-reading?

Best,
hi, merhaba, hallo HT