Flits Dxp Server

Discussion about development of draughts in the time of computer and Internet.
Krzysztof Grzelak
Posts: 1368
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Flits Dxp Server

Post by Krzysztof Grzelak » Fri May 12, 2017 13:40

Such a program must look window program Flits.
Attachments
FLITS.jpg
FLITS.jpg (167.1 KiB) Viewed 12304 times

Sidiki
Posts: 321
Joined: Thu Jan 15, 2015 16:28
Real name: Coulibaly Sidiki

Re: Flits Dxp Server

Post by Sidiki » Fri May 19, 2017 20:31

Ed Gilbert wrote:
It's was a long dream to be able to run a dxp match against Flits, but unfortunally, it don't work for me. Only the beginning FEN position stay on the board of Flits and the game don't beginning.
Can you help me please.
There are some very specific requirements for setting up the flits windows to allow the dxp server to work. Read the instructions in flits_dxp_server.txt carefully, and pay attention to the requirements for the sizing of the "Uw zet:" and "Zetverloop" windows.

If you post or email me a screen shot of your desktop showing both the command line console and flits windows, I can probably see the problem with your setup.

-- Ed
Hi Ed

This is the pictures concerning Flits dxp.
I precise that i tried to launch it as follower without success, i tried also as initiator against Kingsrow , same thing.
I hope that these pictures will help you to help me :D
Flits config text.JPG
Flits config text.JPG (155.26 KiB) Viewed 12226 times
Flits command.JPG
Flits command.JPG (51.59 KiB) Viewed 12226 times
Flits board.JPG
Flits board.JPG (119.56 KiB) Viewed 12226 times
Kingsrow board.JPG
Kingsrow board.JPG (102.6 KiB) Viewed 12226 times
Thank

--Sidiki

Ed Gilbert
Posts: 859
Joined: Sat Apr 28, 2007 14:53
Real name: Ed Gilbert
Location: Morristown, NJ USA
Contact:

Re: Flits Dxp Server

Post by Ed Gilbert » Fri May 19, 2017 22:07

Sidiki, there are several problems with your setup. The main problem is that you have not sized the "Uw zet:" window correctly. From the flits dxp server docs:
Size the Uw zet window so that its height is only high enough to display one row of text. You can test this by typing any characters in the window and then press Enter. The characters should scroll out of view when the Enter key is pressed. The width of the Uw zet window should be sufficient to view at least 25 numbers.
You have the height of the "Uw zet:" window set to show multiple lines of text commands, which will confuse the server. Adjust it so that you can only see one line of text. You can test this by typing any nonsense text into the window and pressing Enter. After you press Enter, the text should scroll up and out of sight. See the screen pic that Krzysztof posted earlier in this thread.

Also, you have launched the server using the options that are given as an example for running a match against truus, but for a match against kingsrow it is better to let kingsrow be the Initiator. The only command-line option you need is -p to disable pondering in Flits. Then give the kingsrow commands, Game, Make DXP connection, followed by Game, Start match. Don't forget the you have to set the time controls in Flits manually before you start the match, because the flits server has no way to control these settings.

I recommend that you also open the DXP window in kingrow so that you can see all the DXP commands that kingsrow sends and receives. It's not required, but it will help to understand what is happening if there are problems.

-- Ed

Sidiki
Posts: 321
Joined: Thu Jan 15, 2015 16:28
Real name: Coulibaly Sidiki

Re: Flits Dxp Server

Post by Sidiki » Fri May 19, 2017 22:45

Ed Gilbert wrote:Sidiki, there are several problems with your setup. The main problem is that you have not sized the "Uw zet:" window correctly. From the flits dxp server docs:
Size the Uw zet window so that its height is only high enough to display one row of text. You can test this by typing any characters in the window and then press Enter. The characters should scroll out of view when the Enter key is pressed. The width of the Uw zet window should be sufficient to view at least 25 numbers.
You have the height of the "Uw zet:" window set to show multiple lines of text commands, which will confuse the server. Adjust it so that you can only see one line of text. You can test this by typing any nonsense text into the window and pressing Enter. After you press Enter, the text should scroll up and out of sight. See the screen pic that Krzysztof posted earlier in this thread.

Also, you have launched the server using the options that are given as an example for running a match against truus, but for a match against kingsrow it is better to let kingsrow be the Initiator. The only command-line option you need is -p to disable pondering in Flits. Then give the kingsrow commands, Game, Make DXP connection, followed by Game, Start match. Don't forget the you have to set the time controls in Flits manually before you start the match, because the flits server has no way to control these settings.

I recommend that you also open the DXP window in kingrow so that you can see all the DXP commands that kingsrow sends and receives. It's not required, but it will help to understand what is happening if there are problems.

-- Ed
Hi Ed

Thank very much, it working fine now. i reduced the size of "uw zet"

--Sidiki

Sidiki
Posts: 321
Joined: Thu Jan 15, 2015 16:28
Real name: Coulibaly Sidiki

Re: Flits Dxp Server

Post by Sidiki » Sat May 20, 2017 22:38

Ed Gilbert wrote:Sidiki, there are several problems with your setup. The main problem is that you have not sized the "Uw zet:" window correctly. From the flits dxp server docs:
Size the Uw zet window so that its height is only high enough to display one row of text. You can test this by typing any characters in the window and then press Enter. The characters should scroll out of view when the Enter key is pressed. The width of the Uw zet window should be sufficient to view at least 25 numbers.
You have the height of the "Uw zet:" window set to show multiple lines of text commands, which will confuse the server. Adjust it so that you can only see one line of text. You can test this by typing any nonsense text into the window and pressing Enter. After you press Enter, the text should scroll up and out of sight. See the screen pic that Krzysztof posted earlier in this thread.

Also, you have launched the server using the options that are given as an example for running a match against truus, but for a match against kingsrow it is better to let kingsrow be the Initiator. The only command-line option you need is -p to disable pondering in Flits. Then give the kingsrow commands, Game, Make DXP connection, followed by Game, Start match. Don't forget the you have to set the time controls in Flits manually before you start the match, because the flits server has no way to control these settings.

I recommend that you also open the DXP window in kingrow so that you can see all the DXP commands that kingsrow sends and receives. It's not required, but it will help to understand what is happening if there are problems.

-- Ed
Hi Ed,

Once again, thank for the help, i successfully runed Flits in dxp mode.
Another and perhaps one question:
Please can you show me how to run Truus as initiator.
Thank

---Sidiki

Ed Gilbert
Posts: 859
Joined: Sat Apr 28, 2007 14:53
Real name: Ed Gilbert
Location: Morristown, NJ USA
Contact:

Re: Flits Dxp Server

Post by Ed Gilbert » Sat May 20, 2017 23:58

Another and perhaps one question:
Please can you show me how to run Truus as initiator.
Truus cannot be an initiator, only a follower.

-- Ed

Krzysztof Grzelak
Posts: 1368
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Flits Dxp Server

Post by Krzysztof Grzelak » Tue Mar 30, 2021 13:25

I have a few questions about Flits Dxp Server.

1. Is there a possibility of playing 3-move ballots with Truus Dxp server (program Truus)
2. Is it possible to play normal games with Truus Dxp server (program Truus)

Krzysztof

Ed Gilbert
Posts: 859
Joined: Sat Apr 28, 2007 14:53
Real name: Ed Gilbert
Location: Morristown, NJ USA
Contact:

Re: Flits Dxp Server

Post by Ed Gilbert » Tue Mar 30, 2021 17:53

1. Is there a possibility of playing 3-move ballots with Truus Dxp server (program Truus)
Not the 3-move ballots that we normally play, because they are black-to-move positions. Truus DXP server can only handle white start positions. You could of course use the colors-reversed mirror positions.
2. Is it possible to play normal games with Truus Dxp server (program Truus)
Yes.

Krzysztof Grzelak
Posts: 1368
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Flits Dxp Server

Post by Krzysztof Grzelak » Tue Mar 30, 2021 18:26

Ed Gilbert wrote:
Tue Mar 30, 2021 17:53
Not the 3-move ballots that we normally play, because they are black-to-move positions. Truus DXP server can only handle white start positions. You could of course use the colors-reversed mirror positions.
Well, the whole application is badly written. Is it possible for Ed to ask you to write the apps neatly again. Without any mistakes.To work in programs truus_dxp_server and flits_dxp_server - 2-move ballots, 3-move ballots and to play normal games.
Ed Gilbert wrote:
Tue Mar 30, 2021 17:53
Is it possible to play normal games with Truus Dxp server (program Truus)
Yes.
Is it possible to ask you to write how to play such a match between the program Truus and Flits consisting of 158 games.

Ed Gilbert
Posts: 859
Joined: Sat Apr 28, 2007 14:53
Real name: Ed Gilbert
Location: Morristown, NJ USA
Contact:

Re: Flits Dxp Server

Post by Ed Gilbert » Tue Mar 30, 2021 19:19

Krzysztof Grzelak wrote:
Tue Mar 30, 2021 18:26
Well, the whole application is badly written. Is it possible for Ed to ask you to write the apps neatly again. Without any mistakes.To work in programs truus_dxp_server and flits_dxp_server - 2-move ballots, 3-move ballots and to play normal games.
Sorry, but you really do not have the faintest idea as to what you are writing about. The fact that the truus dxp server can only work with white start positions is not a mistake or a bug. If it was a bug I would have fixed it a long time ago. The truus draughts program was not designed to be controlled by another program. You will find no information on how to remotely, from another program, set up a position, command it to search, query its search results, or do any of the things that you need to do to control the program. It is only possible to do some of these things because Bert reverse-engineered enough of the truus code to understand where certain information is stored in its runtime process space. The fact that the truus dxp server can actually control truus well enough to run an automated engine match is a minor miracle. Most of these comments also apply to flits and the flits dxp server.

Flits and truus were fine programs 20 years ago, but they are now old and weak by today's standards. I have very little interest in them now. If you would like to write programs to control them with more features than what you have now, be my guest. Good luck with that.

Krzysztof Grzelak
Posts: 1368
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Flits Dxp Server

Post by Krzysztof Grzelak » Tue Mar 30, 2021 19:38

Ed Gilbert wrote:
Tue Mar 30, 2021 19:19
Sorry, but you really do not have the faintest idea as to what you are writing about. The fact that the truus dxp server can only work with white start positions is not a mistake or a bug. The truus draughts program was not designed to be controlled by another program. You will find no information on how to remotely, from another program, set up a position, command it to search, query its search results, or do any of the things that you need to do to control the program. It is only possible to do some of these things because Bert reverse-engineered enough of the truus code to understand where certain information is stored in its runtime process space. The fact that the truus dxp server can actually control truus well enough to run an automated engine match is a minor miracle. Most of these comments also apply to flits and the flits dxp server.

Flits and truus were fine programs 20 years ago, but they are now old and weak by today's standards. I have very little interest in them now. If you would like to write programs to control them with more features than what you have now, be my guest. Good luck with that.
Have you ever thought about such a question - why truus_dxp_server can't play 3-move ballots, that no one on the forum asked it. I will ask you a question whether there is a problem here. It does not matter here whether the program is old or new. If I could program like you, Ed I would. But I can't program, that's why I asked you. Did Bert and You Ed forget writing this app about 3-move ballots.

Ed Gilbert
Posts: 859
Joined: Sat Apr 28, 2007 14:53
Real name: Ed Gilbert
Location: Morristown, NJ USA
Contact:

Re: Flits Dxp Server

Post by Ed Gilbert » Tue Mar 30, 2021 19:50

Krzysztof Grzelak wrote:
Tue Mar 30, 2021 19:38
Have you ever thought about such a question - why truus_dxp_server can't play 3-move ballots, that no one on the forum asked it.
Of course I am well aware of it. Do you think the white-only start positions is because I am lazy, or did not think it was important enough to allow black start positions? Come on, use your head! Bert and I were unable to learn what locations in the process space could be controlled to change the side to move after setting up an arbitrary position.

Ed Gilbert
Posts: 859
Joined: Sat Apr 28, 2007 14:53
Real name: Ed Gilbert
Location: Morristown, NJ USA
Contact:

Re: Flits Dxp Server

Post by Ed Gilbert » Tue Mar 30, 2021 20:02

Bert and I were unable to learn what locations in the process space could be controlled to change the side to move after setting up an arbitrary position.
And, BTW, you will find this fact in the help file also. You should read it some time.

Krzysztof Grzelak
Posts: 1368
Joined: Thu Jun 20, 2013 17:16
Real name: Krzysztof Grzelak

Re: Flits Dxp Server

Post by Krzysztof Grzelak » Tue Mar 30, 2021 20:24

So I understand that truus_dxp_server can only play 2-move ballots. And can he play normal games with flits_dxp_server - 158 games. Who do you think can help with this and who can answer this question specifically.

Ed Gilbert
Posts: 859
Joined: Sat Apr 28, 2007 14:53
Real name: Ed Gilbert
Location: Morristown, NJ USA
Contact:

Re: Flits Dxp Server

Post by Ed Gilbert » Tue Mar 30, 2021 20:29

Krzysztof Grzelak wrote:
Tue Mar 30, 2021 20:24
So I understand that truus_dxp_server can only play 2-move ballots.
No! It can play any white-to-move start position.

Post Reply