Addition of bot alias or tag
After the introduction of the blessed <Bots> collective argument, most of us renamed our bots to consecutive -but vague- names. Personally I'm missing a quick way to identify which one is "bot1" "bot2" etc for single referencing it, so i keep correlation notes ...on a post-it. 😩
I'm suggesting adding a bot alias or tag in each bot's configuration json that would serve as a simple text note only for those bots the user needs to have a quick reminder. Accordingly, asf would use this tag to enhance the console output as the following example:
<bot1>Bot is idling game: 12345<bot2/brother>Bot is idling game: 5678<bot3>Bot is idling game: 8900
Bot1 and Bot3 do not have tags enabled (default state), where Bot2 has the a brother tag set. I think many users who farm a small amount of family accounts (2-5 bots) would find that useful.
PS1: Ofc, tags would be ignored while direct accessing/referencing the bots.
PS2: Or, you might enhance it further by enabling tags to work as groups of bots, so bots with the same tag would define a group, thus they could be accessed like group1
I like the suggestion but I find it funny that you think that this is good for people who have 2-5 bots. It's difficult to remember which of the 2-5 bots is which?
I renamed my bots as numbers some time ago and perhaps because I only added one or two at a time I know the exact number for each bot.
Anyway, since I changed each bot name to a two-digit number in addition to or instead of your suggestion I'd like to be able to have the option of outputting the account name and/or current profile name as an alias.
I personally don't like that suggestion that much due to introducing yet another bot config variable that has little to no point. In addition to that, currently referencing a bot by his name is O(1) operation due to hash-map, with your approach it'll immediately become O(n) where n is number of bots that need to be checked (so all declared instances). In addition to that you can have issue of multiple tags for multiple bots, and non-intentionally executing command on multiple of them.
What is the problem in naming bots accordingly? <Bots> syntax doesn't require from you to have bots named with digits.
archi
mygroup_john
mygroup_matt
mygroup2_ann
mygroup2_miku
!status mygroup_john..mygroup2_miku works as supposed to. If you don't like mygroup there, you can get rid of it, and just exclude your most commonly used account with _ or whatever.
I don't know what the OP intended, but in my response I was advocating for the idea of an additional information (account name and/or profile name) that would be returned during output. I have no interest in the ability to try to reference or command a bot with anything other than the bot name as is the case in the current implementation. There would be no underlying change to ASF logic, just the option of the insertion of static information regarding the acted upon bot in the output.
In fact, I'd be satisfied if the implementation was a simple true/false flag for outputting the account or profile name.
I guess it's possible maybe I hijacked the thread with a very similar but different request. My apologies.
I don't see why this is needed actually. If you have a few bots (as I do) - you probably don't need much group management, and have descriptive names. If you have a lot of bots - well, I doubt you'll need descriptive names for them, and you can just number your bots, and use all advantages of group management. And even if you have a lot of bots, and for some of them you want descriptive names - why not? Those bots are surely something special, so you probably need to handle them separately anyway, and so different naming won't be a problem. Maybe I just don't understand why you need this though.
So sorry for the small delay & the following wall of text 📑
Guys, my suggestion was as simple as it sounds, tagging things is a pretty common practice made available to nearly everything nowadays, and I find a single, dummy text tag a pretty fresh, cool and easily implemented value-added option to the bot's configuration. However, Archi's recommendation of grouping bots group_bot1, group_bot2 etc is smart and viable solution, and this is what i will do for my bots from now on.
Now, @frwrks had a similar recommendation which i would vote for, instead of adding a tag option since it seems so useless to you, adding a verbose boolean option for each bot, is quite cheap and would inform asf to include the desired bot's account username in the output formatting.
Now check this:
I just had this idea extending @frwrks' suggestion, if Archi could confirm it. Archi could it be that easy to add a custom layout renderer for nlog, say adding a ${accountname} layout renderer to pass the account name to the logger?
Oh boy, Nlog is so powerful and easy to configure and if that's possible, it would save the day. 😀
This is once again something that is already possible and done much better - you already can log specific messages from specific bots on specific levels, why would you need account name/nickname provided by Steam if you already have bot names available, that are even being used as logger names?
It's not the question of "is something possible" or "how hard it is to add" - those questions are secondary and usually evaluated by me. The primary question is why something should be added, and for now I can't find any scenario where it'd be needed, since name of the bots covers all of that, also like @Ryzhehvost pointed out above. If you expect any form of tagging to be added to ASF, then you need to explain why, because tagging already exists in form of bot name - bot name is in fact your tag that tags specific bot reference used by ASF.
https://github.com/JustArchi/ArchiSteamFarm/blob/master/CONTRIBUTING.md
Lack of good reasoning is the main reason why it's hard to convince us into doing something, as we know our code better than anybody else, including everything that is possible to do with it, so if you can't tell us why your solution works better than the old one, then there is not enough reasoning to change/improve it in the first place.
Ok, i'm not sure what i expected when i suggested that in the first place. 😮
I suppose i've tried more than enough to explain my suggestion for an effing tiny 3-byte-long dumb text tag, and frankly, it's not a mind puzzle i have to solve to win some prize. It was only a simple idea shared among net friends who also share the same interests. If you don't like coding it, it's honestly quite fine by me, but me jumping through hoops to convince you for the necessity of this, it feels like we're discussing details on how to send a rocket to space.
This is once again something that is already possible and done much better - you already can log specific messages from specific bots on specific levels
Not true and not much better, no. You can log messages from specific bots with fake, made-up names. You have to rename bots to either long humanly understandable verbose names which are difficult to handle and send commands. Or you have to use those short, smart, robotic, cryptic names for which you have keep an external correlation table.
So if someone wants, let's say, to check why bot47 stopped dropping cards was it some problem or asf just felt stopping it, or he issued the !owns asf command to find which bot misses a game and bot47 was on the list. Then what would he do to find the real name of the bot account, to open the real steam client or web browser to check the badges page, to buy a game or send the key through chat or stop the bot. Well, that's why we use computers! Which account is bot47, asf? Blop blip blop, pebkac found please replace brain. Yeah, funny, but not true at all. 😆
Anyway, I'm always trying to be productive and positive so to wrap this up: Finding which bot is which account, apart from keeping notes, can be hackily bypassed using either:
- issuing the
!apicommand --> console window --> CTRL+F --> Bot47 and then search lower for "Steamlogin". - starting a command prompt in asf folder, and typing
find /i "Bot47" .\config\*.json"would fetch the matched account name.
Sorry for bringing this issue up. 👍
Still nothing is stopping you from renaming your bot47 to your_login_here, and it also doesn't prohibit you from using <Bots> syntax in commands, neither makes it impossible or in some way hard, since there is no issue in naming your bots 1_myname, 2_myothername if you care about the alphabetical order.
You're trying to workaround issue that doesn't exist with duplicating already existing bot name with yet another bot name, and it doesn't matter if that bot name would be given by you or generated from login. We'd have this feature long time ago if indeed there was no way to give short easy to remember names to bots, but they do exist since first release of ASF, in a form of a bot name that is fully customizable and nothing is stopping you from using your steam login in that place.
Sorry but I don't see any valid reason for such feature to exist, at least for now, so I also don't see a reason to code it.
but me jumping through hoops to convince you for the necessity of this, it feels like we're discussing details how to send a rocket to space.
No, we're discussing whether it makes sense to add X feature to ASF. If you think such discussion doesn't make sense then let me get rid of half of the features that ASF has right now, and instead add 2x more things somebody came up with, such as math calculator, grammar-correction of your texts, showing weather in your city and calculating your disk space - I'm sure all of those are very impotant for ASF as a program. Oh yeah, and I'd appreciate a reminder from ASF when to feed my cat while I'm at it.
I don't understand why you're way too defensive about this, since I've already stated it twice that your naming suggestion suits me well and i'll follow it.
Generally, naming habits are just that, habits. If you're forcing users by any way to follow your naming habits, the problem is right there. It's all about options, you don't like to give options to users while i do.
All I'm saying is that naming something uniquely and case-sensitively and tagging something loosely and selectively, are two completely different things. Naming is static, tagging can be circumstantial, temporary. Naming is identifying the object, tagging is characterizing the object. It's basic stuff but if you want to deny it, it's with me fine too.
But comparing my suggestion to nearly as i was suggesting making asf a weather app... 😆 ❤️
Sorry just saw this and need to address it for the sake of the discussion:
We'd have this feature long time ago if indeed there was no way to give short easy to remember names to bots, but they do exist since first release of ASF, in a form of a bot name (..)
And yet, it sounds so thoughtful but also not true. Naming bots crazily differently from their steam login, will drop any visible link between the newly named bot and the underlying hidden steam login. The only way to get a hint for which is which if you haven't kept a list, is to do what i proposed two posts above, internally via api or externally via command prompt. :wink:
Naming bots crazily differently from their steam login, will drop any visible link between the newly named bot and the underlying hidden steam login
And once again - why do you need it? Why somebody will need to name bot and steam account crazily different? And even more - why someone may want to do this and then try to find correspondence in those names? It's kinda contradiction, to do something that will make your life harder.
<joke> PS. I like the idea of reminder to feed the cat. Should I make a pull request for this? </joke>
Well it's been a mess now. I've replied to Archi's claim that this function is already implemented from the beginning, which is not what i suggested. Although it solved the problem in the example i gave, but this one example of tagging is just one example out of many possible uses.
Answering your question (again) is like doing a merry-go-round of the discussion, but in a nutshell: of course i don't strictly need tagging for my narrow self purposes or my given example. I can do otherwise, I even name my bots like Archi suggested on his 2nd post and that's what i will do and also suggest to others. Though, It's funny i need to write it 3 times that if and still getting asked what i suggested in the first place. Tagging. Not renaming. Tagging. 🏷
From one point forward, the conversation was purely theoretical that my suggestion was infuriatingly irrelevant. It was not. It was just an idea, some might like some might not. Tagging an object can be of many uses, i've thought of one but the possibilities are endless. Whether Archi will code it or not, it's not my decision, i really don't profit from either choices and i never pushed him on doing something, he's not my employee.
And that's one thing. The other thing is, i get easily triggered if the conversation goes marginally into devaluing my suggestion/point of view as almost crazy or trash. Although i understand that this practice would strengthen the existing status of an application/website/anything in discussion as "complete", "perfect" and "not needing anything further", this is not close to fair for all who have an idea or put some effort to think of ways to enhance this app/website/anything they are using. It's not only my notion that 99.9% of the suggestions are being dropped out of the window in less than a millisecond of thought, mainly because Archie is satisfied with the product and everything else if out-of-the-scope. We are satisfied too and even making a suggestion for a new feature doesn't mean we think of asf as less that 100% complete or faulty software needing to be fixed.
Generally speaking, If a dev is once responding to my suggestion like i'm pushing it down his throat, i'll instantly stop making them. If this dev does that in a timely manner to all suggestions and requests and bug reports etc, i might think that the dev is using his app/website as a honeypot for arguments, for merely testing his ability to fence off the intruders. I strongly believe that Archi doesn't do that or i would have stopped caring for ASF long time ago, but hell, it really seems like it. 😢
My 2c. 💰
<joke related> I've just returned from feeding them monsters, I've 9 of them (6+3 kittens) with very loud meow alarms when they're hungry. ASF is not needed here. 😸 </joke related>
Last try to present my point of view:
- Let's say, I have 5 bots,
Donald,Daisy,Huey,Dewey, andLouie. I've renamed them tob1tob5for quick access and short commands like!status b1..b5etc. - Bots
b1,b4andb5are currently active accounts where,b2,b3once used, now are dummy. - Now i'm checking for a game that happens to have keys for, with
!oa aGameNameand it seems that onlyb3misses it so I'm sending the key tob3. No problem here. - Steam store has a very cheap game which i want to give only to active accounts. So i'm checking which account has it already,
!oa cheapgamebrings botsb2andb4as the possible receivers. But, which steam client should i boot? which one isb2?
Now how could i tell which bot is which, which bot is active by my own definition of active and which isnt? You say rename the bots accordingly, so that b1 becomes b_Donald etc. You're right, but this causes the following:
- first bot in order was Donald (b1) and now it's Daisy (b2) due to renaming them. Donald is third bot so i have to reconfigure my key distribution commands accordingly.
- Still can't tell which bot is active by my definition, but i guess i'd remember that Daisy stopped using this account long time ago. So the game should be bought on account Dewey, not Daisy. Note the 'guess' word here, while using a computer software that could hold and display that info.
- I have to change from short to long commands, from
!status b1..b5to!status b_Daisy..b_Whateverwhere i have to additionally remember first bot and last bot names too!
All of that could be avoided by displaying the account name in !status asf or better, by displaying a tag defined by the mood of the user. And yes, i know asf is not notepad replacement or yellow stickies, but having the need to keep notes is a requirement for some users. The word Option is the key.
First of all, I have no intention of devaluing your suggestion, I just trying to understand. Yes, I don't see why tagging is useful, but it can be because I just don't have corresponding use cases. That's why I asking to explain your opinion. Secondly, Archi is dropping most of the suggestions because they are really not needed. Simple tool is better then complex, and archi tends to keep ASF as simple as possible, and I like it. The reasons for new feature is 1) you can't do it in another way with existing features and 2) this feature is related with purpose of the asf. Cat feeding reminder, as an example, does not comply with second condition - it's not related to farming cards.
Now, about your example. I don't really understand - if you need to take apart active by your own definition bot from others - why would you want to name them the same as others? And why do you need to name them b1..b5 ? What will you gain from this renaming? Typing a few less characters? I would leave the names as is, if you really need the exact order (you didn't really explained why, you even didn't put "dummy" bots to the end of the list) you can use naming 1_Donald, 2_Daisy, etc. The order will be the same, the names will be descriptive. I don't see much sense in using !status b1..b5 in this case too, because !statusall will do the same. If I was in such situation - I would either name bot so that "dummy" bots were in the end of the queue, of just disable those bots until I need them. In case I don't care where I want to redeem the game - I will just drop a key to the bot with forwarding on, and ASF will do the rest. In case I want to redeem game someone going to play - I will use !ownsall command and will see exact names at once.
If I understand it right - all those commands with syntax !command <Bots> are only useful for a great amounts of bots. And I have no idea why those bots will have any descriptive names (well, actually I have one - conspiration purposes, but it's too silly and not worth efforts to support it).
I have nothing against Archi or you, i hope you understand that. I got one idea, wrote it here, Archi didn't like it, that's it. Frankly, who cares about the dumb tag anyway. However, devaluing one's opinion is comparing it to cat feeding reminder or the weather report, just because you don't like it, is not evaluating the suggestion. Suggestions have one and only purpose, to stir things up and then, maybe in the end we get something out of it. If you get a suggestion and act as being offended by it, you don't need suggestions in the first place. I hope it's clear now.
Now, Archi first and then you, almost asked me to provide you with a feasibility study for an idea. So, do you want me to ask thousands of people using asf on how tagging would be useful to them? Or better, did you asked them and you know the usefulness of the suggestion? No and No. The facts are rather simple, one writes his bs, Archi either likes it or not, case closed. ASF is complex but let's not making it sound like we're discussing rocket science with thousands of parameters. That said, i could list some of asf's functions that are way out of the scope, though they exist, so what now, Archi was blackmailed to code them? I mean, guys it's just a tool for some job, a great tool but not NASA's software that has a thousands protocols to follow and obey to. Provided that we all root for a neon pink command window and Archi loves the idea, we may have pinkcommandwindow option on the next version. 😆
So for the bot part: Your recommendations are good and rational, we do have a way to tell bots apart. However you're taking apart my phrases, trying to make an argument. eg:
I don't see much sense in using !status b1..b5 in this case too, because !statusall will do the same. What will you gain from this renaming? Typing a few less characters?
Yes !status b1..b5 is useless, we have !sa but !pause b1..b5 isn't. Do you want me to write downall possible commands with all possible combinations, count the keystrokes for each combination, make a table, but then again, wouldn't you just say 'nah, it's a few less characters' ? I mean what's the point arguing that more characters is indeed more typing? Also this,
In case I want to redeem game someone going to play - I will use !ownsall command and will see exact names at once.
Huh, already mentioned that, in fact i wrote " No problem here.". You missed to address the real problem which was on the next line, how should i know which bot corresponds to which account, in order to buy a game to this specific account. Not a key, a steam store purchase. I wouldn't know how to find this info , except the hacks i mentioned earlier.
Finally, naming bots b1..b5 you have to remember only lower and higher boundaries (numbers). Naming bots line 1_Donald 2_Daisy, you have to remember the first and last full names of a sorted list of bots , in order to access them as a group. All in all accessing bots sequentially is asf's feature to be used regardless of the amount of bots, and i find that 5 names are way to much typing if you can still access them using b1..b5
Anyway, i guess we should agree we disagree to pretty much everything here, except cats, right? 😼
So, do you want me to ask thousands of people using asf on how tagging would be useful to them?
Of course no. Who need thousands of people? At least one person who need this, and can explain why he needs it (and why all other ways don't satisfy him) is more then enough. From your explanation I would suggest you are not the one who need this. Maybe one of your friends? Or you just suggesting it "just in case"? If it's the latter - it is a good reason not to do it.
The point of outputting the account or profile name with the bot name is that the bot name may serve one purpose or schema, while the account or profile name may serve another or may predate a schema.
Thus in the absence of information in the output other than the bot name the relationship between the bot name and the account it is linked to may be lost.
Further, a person may farm accounts other their own alternates as bots--they may farm for a friend, or they may have a friend or friends whom have no interest in cards or other items of any kind and allow their account(s) to be farmed and pilfered. Now again the bot name in ASF may have no relationship with the account or profile names or may be required to be more difficult to address to preserve that relationship as much as possible.
The addition I am asking for helps to reinforce the relationship between the bot and the account it administrates.
You say the bots can just be named in any fashion one wishes but that does leave the possibility that a master ends up with an inconsistent or unmemorable relationship or schema.
Again. What are you suggesting exactly? For me to start asking thousands of people before suggesting a thing? And again, have you started asking thousands and you have the results back? Afaik, you are one person, i'm one person. You don't know better than me or me better than you, i make a guess tags would be useful, you make a guess tags would be useless. It's 1-1 and your word against mine, deal with it already.
Of course no. Who need thousands of people? At least one person who need this, and can explain why he needs it (and why all other ways don't satisfy him) is more then enough. From your explanation I would suggest you are not the one who need this. Maybe one of your friends?
I get it, you need to be ironic and extra rude to avoid dealing with your thin arguments. So for the fifth time NO it's not for me, it was a suggestion for generic use, and you're plain rude and offensive because you simply don't like it you think you can start implying i have some profit out of it. Good job twisting my words when I've already posted the following:
- If Archi does not like it, is fine by me.
- Thank you Archi for suggesting that way of bot naming, i think i'll use it myself.
- You can find which bot is which, by issuing a find command on the console.
- You can also find which bot is connected to which account, using !api and a search.
But i think you still can imply i need it for myself or a friend, to fulfill a personal request, right? You can do that, for a sixth time. The answers are there, above.
Or you just suggesting it "just in case"? If it's the latter - it is a good reason not to do it.
All suggestions are being made "just in case" accompanied with a draft example. Requests are being made for oneself. So please explain me: Your argument is that if i made a request, i am wrong. If i made a suggestion i am wrong. So, WHAT exactly were my options here?. Nah, it's not worth it , you're asking way too much i shouldn't be apologizing for writing a suggestion, you should be apologizing for trashing my suggestion like it offended someone, somehow.
I've been posting suggestions and ideas to other projects for 25 years now, nobody ever treated me like that for trying to suggest a simple idea, I didn't even pushed it , though i could go that way because it's a matter of 3 lines of code for the config and a couple of edits in the output. I've also suggested a simple log renderer for nlog to bypass all this drama, which i doubt you ever noticed.
All in all, I should have been more of an ass and less of a friend to the whole honeypot situation. Have fun bullying other contributors. So long. 👋
PS: I hope Archi is not sharing and liking your uncalled rude attitude, it would be such a disappointment.
First of all, I used analogy to explain my reasoning, not to offend anybody, especially people suggesting how to make ASF better.
But at the same time, like written in contributing section:
Creating an issue means that you're asking us to do given thing, so you must have some valid arguments that would defend our main question "why?" - if you can't answer it, we won't answer it for you.
Yes, suggestions are strictly subjective because you're asking me to code specific thing in ASF - if I don't see a reason why I should be doing that, I ask.
if you can't tell us why your solution works better than the old one, then there is not enough reasoning to change/improve it in the first place.
Yes, I see ASF as kind of complete, since it's in development for past 2 years and has 4x more features than I ever planned it to has. However, that doesn't mean the code is frozen and not being updated with any additions or changes, and I'm quite sure that you're capable of reading changelogs and finding out yourself how much is actually being done each version.
You say the bots can just be named in any fashion one wishes but that does leave the possibility that a master ends up with an inconsistent or unmemorable relationship or schema.
That's up to ASF user, not me. I offer him a way to name his bots, and explain various way how to make it efficient - if he can't stick to it or make use of it, then I don't see a reason why I should bother with adding yet another way for doing that either.
i make a guess tags would be useful
I can't see any advantage of using tags instead of naming your bots properly. Saving keystrokes is not any valid reason, since you can already save keystrokes by naming your bots appropriately. And if you don't, then even if you used tag you'd be left with the same issue, as the only problematic thing might be alphabetical order used e.g. by !redeem commands, but in every single one of them it's clearly stated that you don't care which bot redeems a key, and actual logic is provided for convenience only - previously order was 100% implementation detail that was being changed from version to version, now it's standarized only so users will understand it better, but point still says - bots order should not matter when using !redeem command. If it does matter to you, you have !redeem <Bots> instead. But even then, if you care that much about the order, then it's not problematic to have 1_archi, 2_bob, 3_john, daisy, donald, matt and otherBotIDontReallyCareAbout. You can even group them and do whatever you wish.
Nobody was rude to you, @Ryzhehvost is also trying to understand better what is the reasoning for it, and is also suggesting things that already exist and solve your issue. Don't feel "bullied" because your suggestion was rejected due to already being possible in one way or another - you're asking us to code something, so yes you do need to convince us why, or code yourself and go through review process if you feel like you know better how to solve all limitations I mentioned above for no real gain.
Of course no. Who need thousands of people? At least one person who need this, and can explain why he needs it (and why all other ways don't satisfy him) is more then enough.
The only argument you provided right now why bot names are not enough is because of redeem order, which should be implementation detail and not matter for !redeem command at all.
I've also suggested a simple log renderer for nlog to bypass all this drama, which i doubt you ever noticed.
And that also didn't make sense as bot name is already used as logger name and can be easily filtered, and I explained you why.
All in all, I should have been more of an ass and less of a friend to the whole honeypot situation.
And I should simply reply with "No" instead of putting effort into asking and understanding better the suggestion, so we can evaluate possibilities and decide if such feature is wanted. After all, you're acting like it's up to me if I like the feature or not, so I don't need to explain why, right?
NO it's not for me, it was a suggestion for generic use
Or maybe, you should simply stick to what is stated in contributing guidelines yet again:
While everybody is able to create suggestions how to improve ASF, GitHub issues is not the best place to discuss if your enhancement makes sense - by posting it you already believe that it makes sense, and you're ready to convince us how. If you have some idea but you're not sure if it's possible, makes sense, or fits ASF purpose - you have Steam group discussions where we'll be happy to discuss given enhancement in calm atmosphere, evaluating possibilities and pros/cons. This is what we suggest to do in the first place, as in GitHub issue you're switching from having an idea into having a valid enhancement with general concept, given purpose and fixed details - you're ready to defend your idea and convince us how it can be useful for ASF.
Because people keep forgetting that GitHub is for development part of ASF and here we're using technical and logical arguments, for "maybe it makes sense" ideas, it's clearly written to use the Steam group.
@judgegr please, stay calm. It seems you take this too personally. Once again - I have no intention to insult you in any way. I just want to understand possible usage of this feature, and why it can't be acheived by other means. Excuse me if any of my posts seemed rude to you - I have no such intention.
But i think you still can imply i need it for myself or a friend, to fulfill a personal request, right? You can do that, for a sixth time. The answers are there, above.
You get it all wrong. If you need it for yourself or for a friend - it is a good request. Because in this case we know that somebody really needs it, and will use it.
All suggestions are being made "just in case" accompanied with a draft example.
No. That's not true. Every suggestion I made was either for myself or for my friends. I never suggest anything "just in case". I suggest things that at least one person would really use (me, or somebody else - sometimes random people just add me to ask about some features, just because their english is bad and I talk their language, so I can speak in their stead). You say that you're fine without this feature - so clearly you don't need it, right? So, what I asking - is there any friend of you, who need it, and inconvenienced because of it's lack? Someone, who will benefit from it? If no - then it means we have no proof that anyone at all will use it. Why implement something that nobody needs?