Zeta_Dva vers 0.1.0

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

Moderators: hgm, Rebel, chrisw

smatovic
Posts: 2639
Joined: Wed Mar 10, 2010 10:18 pm
Location: Hamburg, Germany
Full name: Srdja Matovic

Re: Zeta_Dva vers 0.1.0

Post by smatovic »

i just download arena 3.0 and mingw,

then i can run tests with the interface....

i ve tested the previous versions only with xboard.

--
srdja
Damir
Posts: 2801
Joined: Mon Feb 11, 2008 3:53 pm
Location: Denmark
Full name: Damir Desevac

Re: Zeta_Dva vers 0.1.0

Post by Damir »

Jim Ablett wrote:
Damir wrote:I can not load this engine under Fritz GUI... It won't create it..
Hi Damir,

Are you loading it via a winboard to uci adaptor? It is a winboard engine.

Jim.
Sorry, I did not realize it was a winboard engine, which must explain why I could not load it.
smatovic
Posts: 2639
Joined: Wed Mar 10, 2010 10:18 pm
Location: Hamburg, Germany
Full name: Srdja Matovic

Zeta_Dva vers 0.1.2

Post by smatovic »

Hi Jim,

i think i fixed it, i tested black and white with arena 3.0:

https://github.com/smatovic/zeta_dva/tree/zeta_dva_012

...the arena 3.0 winboard "usermove" string is a bit broken, i receive in my engine only "sermove".

--
Srdja
UncombedCoconut
Posts: 319
Joined: Fri Dec 18, 2009 11:40 am
Location: Naperville, IL

Re: Zeta_Dva vers 0.1.2

Post by UncombedCoconut »

Can you confirm this with an Arena log file or some tool like inbetween.exe?
The problem sounds suspicious; maybe whatever Arena sends right before the "usermove" triggers an engine bug that makes it read an extra character.

I haven't noticed much else at a glance.

Commenting out the init_tt() in response to memory seems wrong. Instead, why not free(TT) at the start of init_tt() if TT != NULL? Then you will still resize the TT if the user asks.

If !fgets(...) it's probably best to exit.
gerold
Posts: 10121
Joined: Thu Mar 09, 2006 12:57 am
Location: van buren,missouri

Re: Zeta_Dva vers 0.1.0

Post by gerold »

Jim Ablett wrote:
gerold wrote:
Jim Ablett wrote:
gerold wrote:
Jim Ablett wrote:Image

I've compiled some JA builds - 32/64 bit Windows & Linux.
I messed around with the code a bit, added some time control
and fixed some bugs such as not playing as black and a few other things.
Oh, and a logo as well. Modified code included.

http://dl.dropbox.com/u/5047625/zeta-dva-010-ja.zip

Jim.
Hi Jim.
I still can't get the windows 32 version to work right under Arena.
The black still doesn't want to move.

Best,
Gerold.
Hi Gerold,

That's a bit baffling. I can confirm my compile is working ok for me with black with latest Arena.
Can someone else report if it works/doesn't work for them?

Jim.
Hi Jim.
I download it again and tried it with Arena 3 and Arena 1.1. Does not work.
Hi Gerold,

Are you using an opening book with Arena?
I noticed Zeta_Dva does not support winboard force mode yet so it cannot use an external opening book.

Jim.
Hi Jim.
That was the problem. Works now without a book. Thanks.

Best,
Gerold.
smatovic
Posts: 2639
Joined: Wed Mar 10, 2010 10:18 pm
Location: Hamburg, Germany
Full name: Srdja Matovic

Zeta_Dva vers 0.1.3

Post by smatovic »

Can you confirm this with an Arena log file or some tool like inbetween.exe?
The problem sounds suspicious; maybe whatever Arena sends right before the "usermove" triggers an engine bug that makes it read an extra character.
you are right, some previous scanf "stole" the "u" :-)
Commenting out the init_tt() in response to memory seems wrong. Instead, why not free(TT) at the start of init_tt() if TT != NULL? Then you will still resize the TT if the user asks.
did it that way...and fixed some time management issue under linux and xboard, tested with xboard and arena 3.0

https://github.com/smatovic/zeta_dva/tree/zeta_dva_013

--
Srdja