Sting-sf-45 release

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

Moderators: hgm, Rebel, chrisw

lech
Posts: 1136
Joined: Sun Feb 14, 2010 10:02 pm

Sting-sf-45 release

Post by lech »

The last version (4) seems to be weaker than the prevoius ones (2, 3).
I try to change it by this version (correction).
http://www.mediafire.com/download/ezuwk ... g-sf-45.7z
As earlier, Sting is based on Stockfish 211 only (many thanks for authors!), is "one brain in one head engine" (to play and analyse in the same way, without tricks and parameters), and I can't do 64-bit version (sorry!).

The main goal of my work is to prove that an artifical inteligence (anything it means) is not nedded for chess and people.
I promised that the next version (> 4) will solve the big problem - draw eval (fortress). It means: how to get the zero value in draw positions in less than 100 moves (the rule 50).
But the version (45) doesn't do it!

Of course, I am working at this.
I have some idea, but it is not easy to do, maybe only to tune it.
I need a help, examples where the idea doesn't work well. I set the idea to work only if eval of any position in search is >= or <= the pawn value. I think, it should help (so long).
If you want to help me, please try this unofficial (32-bit) version with draw (fortress) detection:
http://www.mediafire.com/download/em61v ... g-sf-X.exe
(let me know if you want the source code, but it is not ended!)
Maybe, thanks to you, the next version of Sting (5) will be a great event. :D
Maybe, I can't be friendly, but let me be useful.
User avatar
Graham Banks
Posts: 41412
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Sting-sf-45 release

Post by Graham Banks »

Thanks Marek.
Do we call this Sting SF 4.5?

Graham.
gbanksnz at gmail.com
lech
Posts: 1136
Joined: Sun Feb 14, 2010 10:02 pm

Re: Sting-sf-45 release

Post by lech »

Yes, of course Graham, sorry!
Maybe, I can't be friendly, but let me be useful.
User avatar
Graham Banks
Posts: 41412
Joined: Sun Feb 26, 2006 10:52 am
Location: Auckland, NZ

Re: Sting-sf-45 release

Post by Graham Banks »

lech wrote:........and I can't do 64-bit version (sorry!).
Perhaps Jose can help?
gbanksnz at gmail.com
lech
Posts: 1136
Joined: Sun Feb 14, 2010 10:02 pm

Re: Sting-sf-45 release

Post by lech »

I closed the link to sting-sf-x.exe. It was rather a wrong idea. I apologyze for my passion, maybe a curse. :?
Maybe, I can't be friendly, but let me be useful.
lech
Posts: 1136
Joined: Sun Feb 14, 2010 10:02 pm

Re: Sting-sf-45 release

Post by lech »

Graham Banks wrote:
lech wrote:........and I can't do 64-bit version (sorry!).
Perhaps Jose can help?
Graham, I think it has no sense to ask anyone. I decided, in a few days I will publish version 5 (draw, fortress detection).
I have no time to find the best shape for my idea.
I am happy that the extremaly difficult position the next Sting will solve (dual core less than 1 hour)
[d]1K3kB1/8/6p1/7R/8/4b3/8/6n1 w - - bm Rh8;
1...Rh8 2.Kg7 Bh7!! 3.g5 Bf5 4.Kxh8 Bg4 fortress
It is possible (maybe) my idea (without tunning) can return ZERO in some non-draw positions, but I made many to drop it in next depths.
Maybe, I can't be friendly, but let me be useful.
Vinvin
Posts: 5228
Joined: Thu Mar 09, 2006 9:40 am
Full name: Vincent Lejeune

Re: Sting-sf-45 release

Post by Vinvin »

Some draws and draw treats (some very hard) from my old test suite :
[pgn]
[Event "hard CCC 2008"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "Pos"]
[Black "Fortress"]
[Result "1/2-1/2"]
[Annotator "Vinvin"]
[SetUp "1"]
[FEN "Kn6/8/8/3R2PB/8/2p2NP1/1q6/2k5 w - - 0 1"]

1. Rd1+ {Draw by a very deep combination based on the Karstedts fortress :
http://www.chessage.com/community/forum ... /site/last} Kxd1 2. Ne5+
Kc2 3. Bg6+ Kb3 4. Bf7+ Ka4 5. Be8+ Nc6 6. Bxc6+ Kb3 7. Bd5+ Kc2 8. Be4+ Kd1 9.
Bf3+ Ke1 10. Nd3+ Kd2 11. Nxb2 c2 12. Nc4+ Kc3 13. Nb6 c1=Q 14. Bb7 {draw}
1/2-1/2

[Event "Test position"]
[Site "-**-"]
[Date "2012.07.15"]
[Round "?"]
[White "White"]
[Black "Black"]
[Result "1/2-1/2"]
[SetUp "1"]
[FEN "2b1r3/r2ppN2/4Bk2/1p1p1b2/pP1P4/2P3R1/PP3PP1/2K5 w - - 0 1"]

1. Bxf5 Kxf5 2. Nd6+ exd6 3. Rf3+ Kg6 4. Rg3+ Kf6 5. Rf3+ Ke7 6. Re3+ Kd8
7. Rxe8+ Kxe8 8. a3 Bb7 9. Kd2 Kf7 10. Ke2 Ra8 11. Kf1 Rh8 12. Kg1 Rh4 13.
f3 Rh8 14. g3 Re8 15. Kf2
1/2-1/2

[Event "hard CCC 2008"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "Pos"]
[Black "Fortress"]
[Result "1/2-1/2"]
[SetUp "1"]
[FEN "2b1r3/r2ppN2/8/1p1p1k2/pP1P4/2P3R1/PP3PP1/2K5 w - - 0 1"]

{Building a fortress} 1. Nd6+ $1 exd6 2. Rf3+ Kg5 3. Rg3+ Kf6 4. Rf3+ Ke7 5.
Re3+ Kd8 6. Rxe8+ Kxe8 7. a3 Ra8 8. Kd2 Bb7 9. Ke2 Kf7 10. Kf1 Rh8 11. Kg1 Kf6
12. f3 Kf5 13. g3 Re8 14. Kf2 Re7 15. Kf1 Rh7 16. Kg2 1/2-1/2

[Event "hard CCC 2008"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "Pos"]
[Black "Fortress"]
[Result "1/2-1/2"]
[Annotator "Vinvin"]
[SetUp "1"]
[FEN "r7/6k1/5R2/p3p3/Pp1pPp2/1PpP1Pp1/2P3P1/1K6 w - - 0 1"]

1. Rh6 $1 Kxh6 2. Kc1 Kg6 3. Kd1 Rh8 4. Ke2 Rh2 5. Kf1 Rh1+ 6. Ke2 {Draw}
1/2-1/2

[Event "Test position"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "White"]
[Black "Black"]
[Result "1/2-1/2"]
[SetUp "1"]
[FEN "2br4/r2pp3/8/1p1p1kN1/pP1P4/2P3R1/PP3PP1/2K5 w - - 0 1"]


{F. Simkovitch, 3.hm L'Italia Scacchistica 1923}
1.Nf7 Re8 (1...Rf8 2.Rf3+ Kg6 3.Ne5+ Kg7) 2.Nd6+!! exd6 3.Rf3+ Kg6 4.Rg3+ Kf6 5.Rf3+ Ke7 6.Re3+ Kd8
7.Rxe8+ Kxe8 8.a3!! Ra8 9.Kd2 Ke7 10.Ke2 Bb7 11.Kf1 Rh8 12.Kg1 Kf6 13.f3 Kf5 14.g3 Re8 15.Kf2 Rh8
(15...Kg5 16.Kf1 Re3 17.Kf2 Rd3 18.Ke2 Rxf3 19.Kxf3)16.Kg2 Rh6 17.Kg1 Re6 18.Kf2 Rh6 19.Kg2 Kg5
20.Kg1 Rh3 21.Kg2 Rxg3+ 22.Kxg3 Ba6 23.f4+ Kf5 24.Kf3 Bb7 25.Kg3
1/2-1/2

[Event "-"]
[Site "-"]
[Date "2012.07.11"]
[Round "?"]
[White "-"]
[Black "-"]
[Result "0-1"]
[SetUp "1"]
[FEN "8/8/8/5Bp1/7k/7P/4pPK1/8 b - - 0 1"]

1... g4 {the only move that win. The treat is 2. Bg4 : the king is trapped and no mate is possible}
0-1

[Event "Test position"]
[Site "-**-"]
[Date "2012.07.11"]
[Round "?"]
[White "White"]
[Black "Black"]
[Result "1/2-1/2"]
[SetUp "1"]
[FEN "4knQ1/7r/3p2p1/2bP1pP1/5P1N/6K1/8/8 b - - 1 1"]

59...Rxh4!! 60. Kxh4 Bd4 {getting the draw} 61. Kg3 Ke7 62. Kf3 Ba1
1/2-1/2

[Event "hard CCC 2008"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "Pos"]
[Black "Fortress NN vs Q"]
[Result "1/2-1/2"]
[Annotator "Rafal Furdzik"]
[SetUp "1"]
[FEN "8/8/7p/3KNN1k/2p4p/8/3P2p1/8 w - - 0 1"]

{Behting, 1906} 1. Kc6 $3 (1. Ng7+ Kg5 2. Nf3+ (2. Ke4 h3) 2... Kg4 3. Nf5 h3)
(1. Nf3 h3 2. Ke4 (2. N5h4) 2... h2 (2... g1=Q 3. Nxg1 h2 4. Nf3 h1=Q 5. Ng3+))
1... g1=Q (1... h3 2. Ng3+ Kg5 (2... Kh4 3. Ne2 $10) 3. Ne2 $10) (1... g1=Q 2.
Nxh4) 2. Nxh4 Qd4 (2... Qb1 3. Nhf3 $10) (2... Qa1 3. Nhf3) 3. Nhf3 $11 1/2-1/2

[Event "TCh-AUT 2010-11, c4"]
[Site "?"]
[Date "2011.??.??"]
[Round "?"]
[White "Volokitin, Andrei"]
[Black "Antoniewski, Rafal"]
[Result "1/2-1/2"]
[FEN "3r2k1/3N1ppp/p2Pp3/8/5q2/8/1PP3R1/1K1R1B2 w - - 0 1"]

1.c4 Rxd7 2.c5 Qf3 3.Rc1 Qd5 4.c6 Qf5+ 5.Ka1 Qa5+ 6.Kb1 Qf5+ 7.Ka1

{24/59 2:15 -0.03++ 1.c4 (1.902.837.546) 14032
24/72 3:34 0.00 1.c4 Rxd7 2.c5 Qf3 3.Rc1 Qd5 4.c6 Qf5+ 5.Ka1 Qa5+ 6.Kb1 Qf5+ 7.Ka1 (3.006.591.025) 14004
24/72 3:56 0.00 1.c4 Rxd7 2.c5 Qf3 3.Rc1 Qd5 4.c6 Qf5+ 5.Ka1 Qa5+ 6.Kb1 Qf5+ 7.Ka1 (3.307.826.751) 13976
Houdini_15_w32: 32/87 4:15:27 53.462.732.546 3.488.000 0,00 c2-c4 Td8xd7 c4-c5 g7-g5 Tg2-c2Df4-f3 Tc2-c1 Df3-c6 Ff1-g2 Dc6xg2 c5-c6 Dg2-e4+ Tc1-c2 Td7xd6 Td1xd6 De4-e1+ Tc2-c1 De1-e4+ Tc1-c2 De4-e1+}
1/2-1/2

[Event "Smirin-Computers 60'+10s"]
[Site "Kasparovchess.com"]
[Date "2002.04.14"]
[EventDate "?"]
[Round "6"]
[Result "1/2-1/2"]
[White "Ilya Smirin"]
[Black "HIARCS (Computer)"]
[ECO "A30"]
[WhiteElo "?"]
[BlackElo "?"]
[PlyCount "119"]

1.c4 c5 2.Nf3 Nf6 3.g3 d5 4.cxd5 Nxd5 5.Bg2 Nc6 6.d4 cxd4
7.Nxd4 Ndb4 8.Nxc6 Qxd1+ 9.Kxd1 Nxc6 10.Nc3 Bd7 11.Be3 e5
12.Rc1 Rd8 13.Ke1 Be7 14.f4 exf4 15.gxf4 O-O 16.Nd5 Bd6 17.Kf2
Be6 18.Rhd1 Rd7 19.Nc3 Rfd8 20.a3 Ne7 21.Be4 Nf5 22.Bxf5 Bxf5
23.Rd4 a6 24.Na4 Be7 25.Rxd7 Bxd7 26.Nc3 Bh4+ 27.Kg1 f5 28.Rd1
Bc6 29.Rxd8+ Bxd8 30.Bd4 Kf7 31.e3 h6 32.Ne2 g5 33.Kf2 Bc7
34.Bc3 Be4 35.Kg3 g4 36.Bd4 Kg6 37.Kf2 h5 38.Bc3 Bd8 39.Bd4 a5
40.Bc3 a4 41.Nd4 Bh4+ 42.Kg1 Be7 43.Kf2 Bd5 44.Kg3 h4+ 45.Kf2
Be4 46.Kg1 g3 47.h3 Bc5 48.Bb4 Bxb4 49.axb4 Kf7 50.Nb5 Ke6
51.Nc3 Bc2 52.Kg2 Kd6 53.Kg1 Kc6 54.Kg2 b5 55.Kg1 Bd3 56.Kg2
Be4+ 57.Kg1 Bc2 58.Kg2 Bd3 59.Kg1 Be4 60.Kf1 1/2-1/2

[Event "hard CCC 2008"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "Pos"]
[Black "Endgame/pertpetual check"]
[Result "1/2-1/2"]
[Annotator "Vinvin"]
[SetUp "1"]
[FEN "6R1/P2k4/r7/5N1P/r7/p7/7K/8 w - - 0 1"]

1. Nh6 $1 {Draw by perpetual check} a2 2. Rg7+ Kd6 3. Rg6+ Kc5 4. Rg5+ Kb6 5. Rg6+
Kc7 6. Rg7+ Kc6 7. Rg6+ Kb5 8. Rg5+ Kc4 9. Rg4+ Kd3 10. Rg3+ Kc2 11. Rg2+ Kb3
1/2-1/2

[Event "Test position"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "White"]
[Black "Black"]
[Result "1/2-1/2"]
[SetUp "1"]
[FEN "7r/p3k3/2p5/1pPp4/3P4/PP4P1/3P1PB1/2K5 w - - 0 1"]
[PlyCount "13"]

1. Kd1 Rh2 2. Ke1 Rxg2 3. Kf1 Rh2 4. Kg1 Rh8 5. Kg2 Kf6 6. f3 Re8 {13} 7. Kf2 {
0}
1/2-1/2

[Event "Schilde"]
[Site "Schilde"]
[Date "1970.??.??"]
[Round "?"]
[White "Arshak B Petrosian"]
[Black "Laszlo Hazai"]
[Result "1/2-1/2"]
[ECO "E80"]
[SetUp "1"]
[FEN "2k5/q1p5/3p4/pPpPp1pp/N1P1Pp2/P4PbP/KQ4P1/8 b - - 0 45"]
[PlyCount "6"]
[EventDate "1970.??.??"]

45... Qb6 46. Nxb6+ cxb6 47. h4 gxh4 48. Qc1 1/2-1/2


[Event "Test position"]
[Site "?"]
[Date "1930.??.??"]
[Round "?"]
[White "Troitzky, A."]
[Black "Black"]
[Result "1/2-1/2"]
[SetUp "1"]
[FEN "8/3kP3/3br1P1/6P1/7K/8/8/7B w - - 0 1"]
[PlyCount "17"]
[EventDate "1930.??.??"]

1. Bc6+ $1 Kxe7 2. Bd5 (2. g7 Rg6 3. Bd5 Rxg7 4. Kh5 Kf8 $19) 2... Rxg6 3. Kh5
Rg7 4. g6 Kf6 5. Bf7 Kf5 6. Kh4 Kf4 7. Kh3 $1 Be7 8. Kg2 Bh4 9. Kf1 $1 $11
1/2-1/2

[Event "Test position"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "White"]
[Black "Black"]
[Result "1/2-1/2"]
[SetUp "1"]
[FEN "8/5k2/8/5P2/1pnB1K2/8/1P6/8 b - - 0 1"]

{draw because} 1... Nd2 2. Ke3 Nb3 3. Ke4 Na1 4. Kd3 b3 5. Bc3 Ke7 6. Be5 Kf7 7. f6 Kg6
1/2-1/2

[Event "Test position"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "White"]
[Black "Black"]
[Result "1/2-1/2"]
[SetUp "1"]
[FEN "7r/p1p1p1pk/3pPp1p/2pP1PP1/P1P4P/1K6/P6B/8 w - - 0 1"]
[PlyCount "0"]

{A.P. Kuznetsov (1965)}
1.g6+ Kg8 2. Bxd6 cxd6 3. h5 Kf8 4. a5 Ke8 5. Ka4 Kd8 6. a6 Kc7 7. Ka5 Rb8 8. a4 1/2-1/2
1/2-1/2

[Event "Test position"]
[Site "-**-"]
[Date "2012.07.20"]
[Round "?"]
[White "White"]
[Black "Black"]
[Result "1/2-1/2"]
[SetUp "1"]
[FEN "7b/8/kq6/8/8/1N2R3/K2P4/8 w - - 0 1"]
[Comment "bm Nd4; id \"arasan14.67\"; c0 \"study by Kubbel\";"]

1. Nd4 Qxd4 2. Ra3+ Kb7 3. Rb3+
1/2-1/2

[Event "hard CCC 2008"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "Pos"]
[Black "Pertpetual check"]
[Result "1/2-1/2"]
[Annotator "Vinvin"]
[SetUp "1"]
[FEN "4RQ2/5p2/2q2kp1/3p4/3P2PP/8/1K6/8 b - - 0 1"]

{This position is draw by perpetual check, it should be evaluate as 0.00}
1/2-1/2

[Event "Computer chess game 0 300 +3 0 0"]
[Site "ICC"]
[Date "2001.10.28"]
[Round "5"]
[White "Yace 0.99.57"]
[Black "Tinker"]
[Result "1/2-1/2"]
[ECO "B78"]
[WhiteElo "2972"]
[BlackElo "2519"]
[SetUp "1"]
[FEN "7k/2R3b1/6R1/1r5P/6K1/8/8/8 w - - 0 55"]
[PlyCount "21"]
[EventDate "2001.??.??"]

55. Rcxg7 $4 Rg5+ 56. Kf3 Rf5+ 57. Ke2 Re5+ 58. Kd1 Rd5+ 59. Ke1 Re5+ 60. Kd1
Rd5+ 61. Kc2 Rc5+ 62. Kd2 Rd5+ 63. Ke3 Re5+ 64. Kd4 Rd5+ 65. Kxd5 1/2-1/2

[Event "Test position"]
[Site "-**-"]
[Date "2012.07.17"]
[White "White"]
[Black "Black"]
[Result "1/2-1/2"]
[SetUp "1"]
[FEN "3k4/4pp2/n2n4/5BN1/3N4/b7/4K3/8 w - - 0 1"]

{unsure} 1. Nxf7+ {only move to draw}
1/2-1/2

[Event "Test position"]
[Site "?"]
[Date "????.??.??"]
[Round "?"]
[White "White"]
[Black "Black"]
[Result "1/2-1/2"]
[SetUp "1"]
[FEN "8/1p6/1p6/kPp2P1K/2P5/N1Pp4/q2P4/1N6 w - - 0 1"]
[PlyCount "103"]

{Noam Elkies, 1991}
1. f6 Qb3 2. f7 $3 (2. Kh6 $2 Qd1 3. f7 Qf3 4. Kg7 Qg4+ 5. Kh8 Qf5 6. Kg7 Qg5+
7. Kh7 Qf6 8. Kg8 Qg6+ 9. Kf8 Ka4 10. Ke7 Qg7 11. Ke8 Qe5+ 12. Kd7 Qf6 13. Ke8
Qe6+ 14. Kf8 Kb3 15. Kg7 Qe7 16. Kg8 Qg5+ 17. Kh8 Qf6+ 18. Kg8 Qg6+ 19. Kf8 Kb2
20. Ke7 Qg7 21. Ke8 Qe5+ 22. Kd8 Qf6+ 23. Ke8 Qe6+ 24. Kf8 Kc1 25. Kg7 Qe7 26.
Kg8 Qg5+ 27. Kh8 Qf6+ 28. Kg8 Qg6+ 29. Kf8 Kd1 30. Ke7 Qg7 31. Ke8 Qe5+ 32. Kd7
Qf6 33. Ke8 Qe6+ 34. Kf8 Ke2 35. Kg7 Qe7 36. Kg8 Qg5+ 37. Kh8 Qf6+ 38. Kg8 Qg6+
39. Kf8 Kf3 40. Ke7 Qg7 41. Ke8 Qe5+ 42. Kd7 Qf6 43. Ke8 Qe6+ 44. Kf8 Kf4 45.
Kg7 Qe7 46. Kg8 Qg5+ 47. Kh7 Qf6 48. Kg8 Qg6+ 49. Kf8 Ke5 50. Ke7 Qg7 51. Ke8
Ke6 52. Kd8 Qxf7) 2... Qd1+ 3. Kh6 Qf3 4. Kg7 Qg4+ 5. Kh8 Qf5 6. Kg7 Qg5+ 7.
Kh7 Qf6 8. Kg8 Qg6+ 9. Kf8 (9. Kh8 $2 Qxf7 10. Nc2 dxc2) 9... Ka4 10. Ke7 $1
Qg7 11. Ke8 Qe5+ 12. Kd7 Qf6 13. Ke8 Qe6+ 14. Kf8 Kb3 15. Kg7 Qe7 16. Kg8 Qg5+
17. Kh8 Qf6+ 18. Kg8 Qg6+ 19. Kf8 Kb2 20. Ke7 Qg7 21. Ke8 Qe5+ 22. Kd8 Qf6+ 23.
Ke8 Qe6+ 24. Kf8 Kc1 25. Kg7 Qe7 26. Kg8 Qg5+ 27. Kh8 Qh6+ 28. Kg8 Qg6+ 29. Kf8
Kd1 30. Ke7 Qg7 31. Ke8 Qe5+ 32. Kd7 Qf6 33. Ke8 Qe6+ 34. Kf8 Ke2 35. Kg7 Qe7
36. Kg8 Qg5+ 37. Kh8 Qf6+ 38. Kg8 Qg6+ 39. Kf8 Kf3 40. Ke7 Qg7 41. Ke8 Qe5+ 42.
Kd7 Qf6 43. Ke8 Qe6+ 44. Kf8 Kf4 45. Kg7 Qe7 (45... Qd7 46. Kf6) 46. Kg8 Qg5+
47. Kh7 Qf6 48. Kg8 Qg6+ 49. Kf8 Ke5 50. Ke7 Qg7 (50... Qe6+ 51. Kf8 Kf6 52.
Kg8) 51. Ke8 Ke6 52. Kd8 $1 {draw by 50-moves rule}
1/2-1/2
[/pgn]
lech
Posts: 1136
Joined: Sun Feb 14, 2010 10:02 pm

Re: Sting-sf-45 release

Post by lech »

Many thanks Vincent for your examples. One of them is very useful and show that my idea (sting-sf-x) needs much more work.
The problem how to get the value draw leads to the reversal question how to avoid a zero value. The second question seems to be much more difficult. It is not easy to get the proper code even if an idea seems to be be good.
In my warm head there are new ideas and I believe in the future I will do it much better, though.

Thus the version 4.5 of Sting remains now my new official release and if Jose is able to help me too, 64-bit compilation is welcome.

Many thanks for any help again and sorry for the confusion, :oops:
Maybe, I can't be friendly, but let me be useful.
User avatar
velmarin
Posts: 1600
Joined: Mon Feb 21, 2011 9:48 am

Re: Sting-sf-45 release

Post by velmarin »

No problem, Marek.

The current code by mediafire is valid?.
lech
Posts: 1136
Joined: Sun Feb 14, 2010 10:02 pm

Re: Sting-sf-45 release

Post by lech »

velmarin wrote:No problem, Marek.

The current code by mediafire is valid?.
Thanks Jose.

I hope all is ok.
http://www.mediafire.com/download/ezuwk ... g-sf-45.7z

In the lock.h file I remained active #if !defined(OLD_LOCKS)
I don't know what it means?
Maybe, I can't be friendly, but let me be useful.