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

Quick command appears not working (gui/quickcmd) #4998

Open
pavsad opened this issue Oct 9, 2024 · 2 comments
Open

Quick command appears not working (gui/quickcmd) #4998

pavsad opened this issue Oct 9, 2024 · 2 comments

Comments

@pavsad
Copy link

pavsad commented Oct 9, 2024

Steam DF v50.14 & DFHack v50.14-r1.1

When i create any quick command and then try to run it - nothing happens except screen blinking.

Steps to reproduce:

  1. Open gui/quickcommand - Ctrl+Shift+A
  2. Add a command, for example exterminate
  3. Try to run it either by pressing its hotkey or LMB - nothing. Quick commands list window just collapses

Tried on two different forts in two different worlds including freshly created one.

Screenshot 2024-10-09 213636

@ChrisJohnsen
Copy link
Contributor

ChrisJohnsen commented Oct 10, 2024

I don't think any of those commands have any in-game UI that would be displayed after running them, and gui/quickcmd doesn't show command output in-game like gui/launcher does. Any output from gui/quickcmd commands will go to the DFHack console.

On Windows you can run the DFHack show command to reveal the console window. The "Hide console on startup" setting in the Preferences tab of gui/control-panel controls the default console visibility.

On Linux, the tty from which DF was launched should be the DFHack console.

If you want gui/launcher's in-game output display for quick commands, you could try using commands like gui/launcher -m exterminate (the -m is optional and starts the launcher minimized to a single line instead of its normal window). Running gui/launcher with arguments like that pre-populates its command line, but it doesn't run the command. You will have to press Enter after the quick command's key to cause the launcher to run the command (e.g. Control-Shift-a a Enter).

@pavsad
Copy link
Author

pavsad commented Oct 10, 2024

The result of running extermiante via gui/launcher --minimal (Ctrl+Shif+P):
Screenshot 2024-10-10 145507

The similar windows appear also after all the commands from the initial message screenshot.
Isn't in-game UI?

If yes - then isn't natural to except those windows would be shown after running those commands from gui/quickcmd window?

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

No branches or pull requests

2 participants