ASF-ui icon indicating copy to clipboard operation
ASF-ui copied to clipboard

Add custom quick action buttons

Open wollframium opened this issue 3 years ago • 3 comments

in another release you said that I can safely put forward ideas, I had 2 ideas a long time ago, I saw 1 idea in the plugin https://github.com/genesix-eu/ASF_MCE, but it's complicated, I didn't understand how to set it up, but figure it out no time. there is a very useful function: "Button 1: will open a new window in chrome as an app with given bot's steam profile. All cached data, session, cookies and passwords will be stored in "./_data_bots/". If you press Ctrl when click, the nwjs window will be opened instead of Chrome." as I understand it, cookies are imported into the minibrowser or something like that, and you can manage your account through the browser without entering login: pass: 2fa. I wish I could add this to your interface) but I think it will be difficult.

An idea that I have not borrowed anywhere, these are costomized buttons. you already have a pause renewal, as I understand, when you press the pause button in the asf, the command "pause namebot" is entered. why not add a cost-effective button. in which I would fill in my commands. in the settings of the buttons add an input field where the user will enter his command, for example loot ^ asf 570 2. the command of which the things of Dota2 are sent. a button will be added to the bot menu, "custom commands" when you click on which a command will occur. "asf" will be replaced with the name of the bot on which the button will be. Screenshot (1)

wollframium avatar Aug 03 '21 05:08 wollframium

Hey there! 🙂

First of all thank you for your suggestions. I will just respond to things, that I know about here and leave the rest to others 😉

I saw 1 idea in the plugin https://github.com/genesix-eu/ASF_MCE

There is already a mass config editor in ASF-ui. In case you haven't noticed it yet, I recommend you update to the latest version.

Button 1: will open a new window in chrome as an app with given bot's steam profile

You can already open a given bots steam profile in a new browser tab by clicking on the profile picture of said bot on the bots page.

All cached data, session, cookies and passwords will be stored [...] and you can manage your account through the browser without entering login

Being automatically logged into that account is not possible tho and will not be possible with vanilla ASF. That would require ASF to give out session cookies and/or passwords via ASFs IPC interface. This in turn would bring way too many security concerns with it to be added to ASF core with a clear conscience. ASF already refuses to serialize sensitive fields (like passwords) and it will not render this feature void by giving out full session cookies instead.

Abrynos avatar Aug 03 '21 09:08 Abrynos

so what about custom commands? Typically, you set your commands and an additional button is created next to each bot, it would be just as convenient as pause the button

Hey there! 🙂 why not add a cost-effective button. in which I would fill in my commands. in the settings of the buttons add an input field where the user will enter his command, for example loot ^ asf 570 2. the command of which the things of Dota2 are sent. a button will be added to the bot menu, "custom commands" when you click on which a command will occur. "asf" will be replaced with the name of the bot on which the button will be.

wollframium avatar Aug 04 '21 06:08 wollframium

As I said:

I will just respond to things, that I know about here and leave the rest to others

Since I am neither one of the maintainers of ASF-ui, nor do I have the willings to send a merge request for this, I cannot speak for this feature suggestion. You'll have to wait for a response from them.

Abrynos avatar Aug 04 '21 08:08 Abrynos