bug-gnubg
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-gnubg] FindBestMove does not working with higher plies


From: Jaro
Subject: Re: [Bug-gnubg] FindBestMove does not working with higher plies
Date: Fri, 16 May 2003 11:22:12 -0700

----- Original Message ----- 
From: "Øystein Johansen" <address@hidden>
To: "Jaro" <address@hidden>
Cc: <address@hidden>
Sent: Friday, May 16, 2003 12:26 AM
Subject: RE: [Bug-gnubg] FindBestMove does not working with higher plies


>===== Original Message From Jaro <address@hidden> =====
> Hi, all.
>
> We are using GNU bg engine for our bot. Everything seems working
> properly until we changed plies from 0 to something else. Function
> FindBestMove ends with exception.

[snip]

> Any advice, help?

I think I had the same problem at some time as well.
Try call EvalCacheResize(0); right after EvalInitialise.

I managed to compile a gnubg.dll and a test program. Can you check
what you get out of the files in this archive:
http://home.online.no/~oeysteij/gnubg-dll.zip

There's also a gnubg.dll file in the archive and it's compiled with xml
support in case you want to use a different match equity table. There's also
a
dlltest.c file to test the dll file.

I can not guarantee that the dll file can be used from other programs than
mingw compiled stuff, but you may try to call it from Excel or anything
else.
(And try MSVC). I just exported four functions in this file: EvalInitialise,
FindBestMove, GeneralCubeDecisionE and EvaluatePosition. If you need any
other
function, just add it to the exports table in gnubg.def

-Øystein
-----------------------------------------------

Hi, Øystein

I tried to call EvalCacheResize(0) right after EvalInitialise.
EvalCacheResize returns zero, I think this is correct return value according
to int CacheResize( cache *pc, int cNew ) fnc, but FinfBestMove fnc still
crashing. (it is trying to read invalid memory).
Unfortunatly I dont have right tool to debug it. ( well, I can read
assembly, but this way seems to be quite hard.)

Do you have any other idea how to break this problem?

Jaro.



_______________________________________________
Bug-gnubg mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-gnubg





reply via email to

[Prev in Thread] Current Thread [Next in Thread]