OK, I just rewrote that function because the old one was from some old BSD code, and I wasn't sure if I could GPL it. Simple fix, just put *string instead of string on the first line where it checks if its NULL.Jim Ablett wrote: Hi Zach,
There is a problem in 'cmd.c' . I see you made some changes here, but it causes the windows build to crash when run >
1. is strange, maybe another input bug. Is ponder on? Do you have a log of any examples?1. Occasionally engine choses to play opponents move instead of it's own.
2. Some time control problems. Over 40 moves engine started playing moves instantly.
2. I think I don't have all of the time control parsing implemented in "go", so I imagine it thinks it has 0 time. I'll investigate.
This is very strange if it is necessary to make it work. You are setting the protocol to UCI, but you don't call initialize_cmds(), so it will continue parsing input against the default protocol. Maybe try sending me a logfile with and without it?2. Forced ZCT to play in uci mode.
