Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Return command name as UCI response after successful parameter setting. #1755

Closed
wants to merge 1 commit into from
Closed

Return command name as UCI response after successful parameter setting. #1755

wants to merge 1 commit into from

Conversation

ErdoganSeref
Copy link

Fixed #1598. But still unsure what to return as a confirmation.

@@ -139,6 +139,9 @@ void UciLoop::RunLoop() {
// Ignore empty line.
if (command.first.empty()) continue;
if (!DispatchCommand(command.first, command.second)) break;
else {
SendResponse(std::string("executed ") + command.first);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It doesn't do what was required, what was needed is info string command.

Also the main thing to fix is error part, not successful execution.

For the success part, we (potentially) only need it for setting variables, not for all UCI commands.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, after some thinking and reading discord history, I'm sure we should only report error case, not setting variables part.

This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Confirm parameter setting with info string uci response
2 participants