Do SF still have troubles with 2nd repetitions ?
Moderators: hgm, Dann Corbit, Harvey Williamson
Forum rules
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
This textbox is used to restore diagrams posted with the [d] tag before the upgrade.
Re: Do SF still have troubles with 2nd repetitions ?
No you don't, you just merge the upstream changes into your branch.
Re: Do SF still have troubles with 2nd repetitions ?
Thousands of chess players have to do that ??Joerg Oster wrote:Here https://github.com/joergoster/Stockfish ... ae4cce5b7d you can find the necessary patch.Vinvin wrote:I already see the answer "SF is designed to play chess". But SF masters don't know there are 1000 more people who use SF to analyze games than people who use SF to play games ...nabildanial wrote:Tell Joona that lol.Vinvin wrote:What a pity !nabildanial wrote:A pull request of the fix got rejected in the past despite being favored by Gary and Marco. https://github.com/official-stockfish/Stockfish/pull/80
99% of chess players would think SF is really dumb to not play Nc7 in this position ...
Insert it into the actual sources, compile, and you're done!
That sounds a bit crazy ...
Re: Do SF still have troubles with 2nd repetitions ?
So you need a branch.
Kind regards
Bernhard
Kind regards
Bernhard
-
- Posts: 73
- Joined: Wed Feb 11, 2015 8:19 am
Re: Do SF still have troubles with 2nd repetitions ?
No, just one motivated one just has to do it and make the binaries and source available for others. Stockfish is open source in part so that this can happen.Vinvin wrote:Thousands of chess players have to do that ??Joerg Oster wrote:
Here https://github.com/joergoster/Stockfish ... ae4cce5b7d you can find the necessary patch.
Insert it into the actual sources, compile, and you're done!
That sounds a bit crazy ...
Re: Do SF still have troubles with 2nd repetitions ?
That's right, Vincent. Anything that seriously detracts from the analysis capabilities can't be good and is worth fixing (and possibly worth a couple of lost Elo points, right?).Vinvin wrote:I already see the answer "SF is designed to play chess". But SF masters don't know there are 1000 more people who use SF to analyze games than people who use SF to play games ...nabildanial wrote:Tell Joona that lol.Vinvin wrote:What a pity !nabildanial wrote:A pull request of the fix got rejected in the past despite being favored by Gary and Marco. https://github.com/official-stockfish/Stockfish/pull/80
99% of chess players would think SF is really dumb to not play Nc7 in this position ...

Last edited by carldaman on Mon Mar 23, 2015 9:18 pm, edited 1 time in total.
Re: Do SF still have troubles with 2nd repetitions ?
Or you could just use Stockfish MateFinder. It is about 10 Elo weaker, but that is only due to a sometimes slower (more robust) search. I keep it updated fairly regularly.
- Eelco de Groot
- Posts: 4279
- Joined: Sun Mar 12, 2006 1:40 am
- Location: Groningen
Re: Do SF still have troubles with 2nd repetitions ?
The problem is, I think, an aversity in the Windows community to making an effort to learn some compiling basics, and installing MinGW perhaps. But if that is no problem, I took the liberty of putting Jörg's changes into the very latest sources, so you only have to download a .zip file and then let loose a decent up to date C++11 capable version of MinGW. Daylen Yang has instructions on his site, the official Stockfish site.Vinvin wrote:Thousands of chess players have to do that ??Joerg Oster wrote:Here https://github.com/joergoster/Stockfish ... ae4cce5b7d you can find the necessary patch.Vinvin wrote:I already see the answer "SF is designed to play chess". But SF masters don't know there are 1000 more people who use SF to analyze games than people who use SF to play games ...nabildanial wrote:Tell Joona that lol.Vinvin wrote:What a pity !nabildanial wrote:A pull request of the fix got rejected in the past despite being favored by Gary and Marco. https://github.com/official-stockfish/Stockfish/pull/80
99% of chess players would think SF is really dumb to not play Nc7 in this position ...
Insert it into the actual sources, compile, and you're done!
That sounds a bit crazy ...
The sources are here:
https://github.com/Kingdefender/Stockfi ... repetition
but maybe Jörg wants to do a similar thing. The overall changes are I think negligible from what he posted, I did not check

Eelco
Debugging is twice as hard as writing the code in the first
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
Re: Do SF still have troubles with 2nd repetitions ?
Eelco de Groot wrote:, just took the today Dev Stockfish and inserted the changes again, by hand.
Eelco
Code: Select all
- TimeMgr.init(Limits, RootPos.side_to_move(), RootPos.game_ply());
+ RootPly = RootPos.game_ply();
+ TimeMgr.init(Limits, RootPly, RootPos.side_to_move());
- Eelco de Groot
- Posts: 4279
- Joined: Sun Mar 12, 2006 1:40 am
- Location: Groningen
Re: Do SF still have troubles with 2nd repetitions ?
Thanks Louis! I hope I got it right now...zullil wrote:Eelco de Groot wrote:, just took the today Dev Stockfish and inserted the changes again, by hand.
EelcoNeed to transpose the last two parameters for TimeMgr.initCode: Select all
- TimeMgr.init(Limits, RootPos.side_to_move(), RootPos.game_ply()); + RootPly = RootPos.game_ply(); + TimeMgr.init(Limits, RootPly, RootPos.side_to_move());
Debugging is twice as hard as writing the code in the first
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
place. Therefore, if you write the code as cleverly as possible, you
are, by definition, not smart enough to debug it.
-- Brian W. Kernighan
Re: Do SF still have troubles with 2nd repetitions ?
Nice !jhellis3 wrote:Or you could just use Stockfish MateFinder. It is about 10 Elo weaker, but that is only due to a sometimes slower (more robust) search. I keep it updated fairly regularly.
I'll go with your mod !

Can I get a compile "Windows x64 for modern computers" somewhere ?
Thanks !