Arena 3.5.1 - Autoplayer

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

Moderator: Ras

User avatar
Nordlandia
Posts: 2850
Joined: Fri Sep 25, 2015 9:38 pm
Location: Sortland, Norway

Re: Arena 3.5.1 - Autoplayer

Post by Nordlandia »

My idea was simply if you take screenshots of the relevant lines with numbers such as highlighted with number 1 (step one) 2 (step two) and so on.

If you can take screenshot of the relevant commands in order i can simply copy them over with my own directories.

I assume you use windows if not linux.
User avatar
hgm
Posts: 28543
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Arena 3.5.1 - Autoplayer

Post by hgm »

I have already specified several times what you should type and where. What does it matter whether it is a screen shot or text in the forum. Screen shots you cannot copy-paste anyway.

The problem seems to be that you do not manage to put the correct values for the things that would be different in your case and my case.

Steps:

1) Open a command-prompt window on machine A
2) Type

ipconfig

there, and remember the IPv4 address of the WiFi
3) Type

I:\connect64\connect64.exe -ec "stockfish 7 x64 bmi2.exe" -ed "F:\Chess Engines\New Stockfish\Stockfish 7\Stockfish 7

there. It should reply

# waiting to connect
# set up server
# listening on port 27015

4) Go to computer B and open a command-prompt window there.
5) Type

I:/connect64/connect64.exe IPADDRESS

where IPADDRESS is the IPv4 address you obtained in step 2 (assuming you also have connect64 in the mentioned place on computer B)
6) Check on computer A if you get some popup there asking you if it should allow an incoming connection. If so, click whatever you have to click to allow it. (Might depend on Windows version, nd whatever other firewals you might have.)
7) On computer B you should now NOT get the error message "Unable to connect to server". If you do get it, going on is pointless.
8) On computer B in the window where connect64 is running, now type

uci

9) You should now see the engine's response appear in reply.
User avatar
Nordlandia
Posts: 2850
Joined: Fri Sep 25, 2015 9:38 pm
Location: Sortland, Norway

Re: Arena 3.5.1 - Autoplayer

Post by Nordlandia »

Thanks once again i'm stuck on stage 5.

C:\Users\Expert-2\Documents\Chess Engine>connect64.exe 192.100.10.100
# waiting to connect
host = 192.110.10.100, port = 27015
telluser (192.110.10.100) Unable to connect to server!

On computer B connect64.exe is stored in C:\Users\Expert-2\Documents\Chess Engine path.

I don't get why it can't connect.
User avatar
hgm
Posts: 28543
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Arena 3.5.1 - Autoplayer

Post by hgm »

OK, then try the following:

On computer A open a second command-prompt window, and type there:

I:/connect64/connect64.exe 127.0.0.1

and report what you see. (This is by convention the IP address of the computer itself.)
User avatar
Nordlandia
Posts: 2850
Joined: Fri Sep 25, 2015 9:38 pm
Location: Sortland, Norway

Re: Arena 3.5.1 - Autoplayer

Post by Nordlandia »

C:\Users\Kajapix>I:/connect64/connect64.exe 127.0.0.1
# waiting to connect
host = 127.0.0.1, port = 27015
Password required
hallo Welcome to p2p 0.3
Stockfish 7 64 BMI2 by T. Romstad, M. Costalba, J. Kiiski, G. Linscott
# connected
User avatar
hgm
Posts: 28543
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Arena 3.5.1 - Autoplayer

Post by hgm »

Well, it seems that at least gets you connected to Stockfish. If you would type

uci

now in that window Stockfish should send you its options. Terminate the test by typing

quit

in that window. Can you then type

ipconfig

and paste here what you see?
User avatar
Nordlandia
Posts: 2850
Joined: Fri Sep 25, 2015 9:38 pm
Location: Sortland, Norway

Re: Arena 3.5.1 - Autoplayer

Post by Nordlandia »

hgm wrote:Well, it seems that at least gets you connected to Stockfish. If you would type

uci

now in that window Stockfish should send you its options. Terminate the test by typing

quit

in that window. Can you then type

ipconfig

and paste here what you see?
I sent you message, make sure to check it out.

Also i noticed something positive

C:\WINDOWS\system32>I:\connect64\connect64.exe -ec "stockfish 7 x64 bmi2.exe" -ed "F:\Chess Engines\New Stockfish\Stockfish 7\Stockfish 7
# waiting to connect
# set up server
# listening on port 27015
# accepted incoming call
# started stockfish 7 x64 bmi2.exe
# connected
telluser recv failed with error: 10054
# quit stockfish 7 x64 bmi2.exe
telluser send failed (error 10054)
# Process died
# waiting to connect
# set up server
# listening on port 27015

This is something new and positive sign.
User avatar
hgm
Posts: 28543
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Arena 3.5.1 - Autoplayer

Post by hgm »

Indeed, this is how it should look. When a connection request comes in it starts the engine, and when the engine is quit or the connection breaks it shuts down the engine, and starts waiting for a new connection request.
User avatar
Nordlandia
Posts: 2850
Joined: Fri Sep 25, 2015 9:38 pm
Location: Sortland, Norway

Re: Arena 3.5.1 - Autoplayer

Post by Nordlandia »

Was this triggered by computer B?
User avatar
hgm
Posts: 28543
Joined: Fri Mar 10, 2006 10:06 am
Location: Amsterdam
Full name: H G Muller

Re: Arena 3.5.1 - Autoplayer

Post by hgm »

I think it was triggered when you used the other command-prompt window on computer A to connect via 127.0.0.1.