I was still able to play but got a lot of invalid moves that were not true. This is because a bug handling duplicates moves received from LiveChess that was introduced during migration. I will fix shortly. You can still play, just ignore this messages since they don't affect game play.
For example I get this, when move e4 is received a second time from LiveChess
onmessage - SANMove = e4
onmessage - Move is NOT legal
compareMoves - TypeError: Cannot use 'in' operator to search for 'role' in undefined
onmessage - invalidMove - Position Mismatch between DGT Board and internal in memory Board . SAN: e4
I was still able to play but got a lot of invalid moves that were not true. This is because a bug handling duplicates moves received from LiveChess that was introduced during migration. I will fix shortly. You can still play, just ignore this messages since they don't affect game play.
For example I get this, when move e4 is received a second time from LiveChess
onmessage - SANMove = e4
onmessage - Move is NOT legal
compareMoves - TypeError: Cannot use 'in' operator to search for 'role' in undefined
onmessage - invalidMove - Position Mismatch between DGT Board and internal in memory Board . SAN: e4
This seems quite a lot slower to pick up and transmit the moves than your previous website integration. Not sure why that would be? Seems a bit slow to read out the moves made by the opponent and to pick up the fact Ive moved my piece. TYhe previous site was very fast
This seems quite a lot slower to pick up and transmit the moves than your previous website integration. Not sure why that would be? Seems a bit slow to read out the moves made by the opponent and to pick up the fact Ive moved my piece. TYhe previous site was very fast
Also, it seems to keep picking up a correspondence game that is waiting for my move and not the Rapid game I am currently playing.
It says that it detects two games, and defaulting to the lates,m but gets the wrong one
getLastUCIMove - 18 moves detected. Last one: f8c5
getLastUCIMove - 52 moves detected. Last one: d7e6
[{"gameId":"YTnc8xcl","versus":"@ Alequatryx","vs rating":1475,"game rating":"Std rated","Timer":"rapid 15'+10''","Last Move":"black f8c5 by alequatryx"},{"gameId":"JIXFTgKP","versus":"@ lucbolo","vs rating":1749,"game rating":"Std rated","Timer":"correspondence ∞","Last Move":"black d7e6 by lucbolo"}]
Currently only one game is supported. Ability to select game coming soon. Defaulting to latest.
setUp -: {"id":3,"call":"call","param":{"id":1,"method":"setup","param":{"fen":"r4rk1/1p4pp/1q2b2n/p2QPp2/Pp3P2/6P1/7P/1RR2B1K w - - 1 27"}}}
setUp -: Sent.
Active game updated. currentGameId: JIXFTgKP
Also, it seems to keep picking up a correspondence game that is waiting for my move and not the Rapid game I am currently playing.
It says that it detects two games, and defaulting to the lates,m but gets the wrong one
getLastUCIMove - 18 moves detected. Last one: f8c5
getLastUCIMove - 52 moves detected. Last one: d7e6
[{"gameId":"YTnc8xcl","versus":"@ Alequatryx","vs rating":1475,"game rating":"Std rated","Timer":"rapid 15'+10''","Last Move":"black f8c5 by alequatryx"},{"gameId":"JIXFTgKP","versus":"@ lucbolo","vs rating":1749,"game rating":"Std rated","Timer":"correspondence ∞","Last Move":"black d7e6 by lucbolo"}]
Currently only one game is supported. Ability to select game coming soon. Defaulting to latest.
setUp -: {"id":3,"call":"call","param":{"id":1,"method":"setup","param":{"fen":"r4rk1/1p4pp/1q2b2n/p2QPp2/Pp3P2/6P1/7P/1RR2B1K w - - 1 27"}}}
setUp -: Sent.
Active game updated. currentGameId: JIXFTgKP
It also said I left the game while still playing it :-
https://lichess.org/YTnc8xclxD5G
It also said I left the game while still playing it :- https://lichess.org/YTnc8xclxD5G
I am happy that I will be able to use my DGT board on Lichess soon, but I have now lost three games for the same reason - it said I left the game while still playing. I hope this can be corrected soon.
I am happy that I will be able to use my DGT board on Lichess soon, but I have now lost three games for the same reason - it said I left the game while still playing. I hope this can be corrected soon.
@AV-57 It finally happened to me as well, so I will create an issue so this can be solved. I was just playing and suddenly It said that I abandoned the game, but I did not. I had plenty of time.
This is not precisely related to DGT Integration, I guess this is a general issue with Board API but since this is one of the first public use of that API it is very possible that there are some bugs that have not been detected.
Not to worry, they will be fixed and I will let you know to try again.
@BaronVonChickenpants
So regarding multiple games, there is a pending fix I need to do.
Regarding slower response, I don't see a reason why, actually I was hoping for faster response on new version of the code, but I will keep that in mind since I do feel its slow and surely we can improve on that.
@AV-57 It finally happened to me as well, so I will create an issue so this can be solved. I was just playing and suddenly It said that I abandoned the game, but I did not. I had plenty of time.
This is not precisely related to DGT Integration, I guess this is a general issue with Board API but since this is one of the first public use of that API it is very possible that there are some bugs that have not been detected.
Not to worry, they will be fixed and I will let you know to try again.
@BaronVonChickenpants
So regarding multiple games, there is a pending fix I need to do.
Regarding slower response, I don't see a reason why, actually I was hoping for faster response on new version of the code, but I will keep that in mind since I do feel its slow and surely we can improve on that.
I greatly appreciate the work you are doing here! Still happy to by you a virtual beer or coffee if you can pass me details on how I might do that?
As for the speed its possible my laptop was struggling at the time so will retest that when I get more time. That said I did swap back to playing a game on Chess.com after the game said I abandoned it and that was working very quickly
I greatly appreciate the work you are doing here! Still happy to by you a virtual beer or coffee if you can pass me details on how I might do that?
As for the speed its possible my laptop was struggling at the time so will retest that when I get more time. That said I did swap back to playing a game on Chess.com after the game said I abandoned it and that was working very quickly
No problems detected in my last game, no error messages.
Latency is the same as before (very quick).
Normal ending of the game.
@andrescavallin
Thanks again for all your work.
No problems detected in my last game, no error messages.
Latency is the same as before (very quick).
Normal ending of the game.
@andrescavallin
Thanks again for all your work.
For me this doesn't seem to work.
I get these messages on the play-page:
No connection to event stream. Attempting re-connection. Attempt: 0
No connection to event stream. Attempting re-connection. Attempt: 1
No connection to event stream. Attempting re-connection. Attempt: 2
No connection to event stream. Attempting re-connection. Attempt: 3
The connection to dgt live is okay (tested it with the provided link). The move is done in dgt live. But it's not executed on the lichess board page.
Any idea what can be the problem ?
For me this doesn't seem to work.
I get these messages on the play-page:
No connection to event stream. Attempting re-connection. Attempt: 0
No connection to event stream. Attempting re-connection. Attempt: 1
No connection to event stream. Attempting re-connection. Attempt: 2
No connection to event stream. Attempting re-connection. Attempt: 3
The connection to dgt live is okay (tested it with the provided link). The move is done in dgt live. But it's not executed on the lichess board page.
Any idea what can be the problem ?
I had that issue using Firefox, but not with Chrome or Edge (see post #10 from @andrescavallin).
I had that issue using Firefox, but not with Chrome or Edge (see post #10 from @andrescavallin).