Hi Steven,
A stream-of-consciousness update...
On 27 Oct 11, at 2:42pm, Steven wrote:
> I can't make Shredder Classic 4 crash.
Hmmm. Did you test with vanilla Scid, Scid vs PC or Scid vs Mac? In vanilla
Scid, with the depth hack, Shredder Classic 4 crashes after a few moves. It
never crashes without the modification, but Scid does sometimes stop moving to
the next game position after a dozen or so moves -- as it has always done.
My working hypothesis is that, with the hack, Scid invokes multiple instances
of the engine and maybe Shredder is not re-entrant. Stockfish doesn't crash
but it can still just stop, as described above.
One clue: with the depth hack, with the "Score all moves" option on, Scid
writes the score twice for each move.
I'm going to enjoy solving this one :)
> And your continue is in the wrong place - though i'm not sure it should make
> any diff.
OK. I understand what tcl 'continue' is now. It more or less means break from
loop.
> Using
> "after 1500 autoplay"
> means autoplay can get interupted altogether. It should be just
> "autoplay"
I tried it with a number of delay times from none to 3000ms. 1500 makes
Shredder crash less. But I've removed it now, realizing its a bad hack - the
wrong garden path.
I guess I need to fix the annotate (autoplay) loop. I estimate a month or two
to fathom this Scid trial by fire :)
I'm now thinking of trying the depth hack in Scid vs Mac to see if it gives the
same results. I realized with delight that I can hard-code the "Score All
Moves" option to be on in Scid vs Mac! Now, Scid vs Mac is looking tantalizing
indeed :)
> I have:
>
> if { $t == "depth" } {
> incr i
> set uciInfo(depth$n) [ lindex $data $i ]
> if {$uciInfo(depth$n) == 11} {
> after cancel autoplay
> autoplay
> }
> continue
> }
Thanks. That's exactly what I'm using now.
By the way, does tcl puts "Hello World" work for you on the Mac, Steven? puts
doesn't write anything in the console (/var/log/system.log nor anywhere else, I
think) for me.
Thanks again for your help with this. Its exciting and is keeping me from
paying work :)
Cheers,
Steve
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Cisco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Scid-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scid-users