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

Selector Error: Cannot add specific skin to classifieds -- other skins work fine #1583

Open
zudsniper opened this issue Jun 27, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@zudsniper
Copy link

Problem Description

While I can add this item via SKU to the pricelist, it is not recognized as this item in the pricelist, as stock = 0 in output from the bot. The item appears to also have 2 valid SKUs, which I do not understand...

Item Name

Strange Killstreak Sweet Dreams Grenade Launcher (Well-Worn)

I use this userscript with tampermonkey to add some buttons to the hover UI on backpack.tf which makes it much easier to get SKU & work with your bot quickly. Shout out to "Backpack.tf - Bot Utilites"
This is consequently where these two different SKUs for the same item were generated. I'm guessing it has something to do with specificity, but I have no idea really.

SKU (from bot backpack.tf page)
-> 15092;11;w4;pk68;kt-1

SKU (from the 'item' page, nav from same item hover menu)
-> 206;11;w4;pk68;kt-1


Bot Command Interaction Showing Issues

Here is the input and output of several commands to my bot instance, wherein I tried using both SKUs and the name. Apparently this is not either of the SKUs, but the SKUs are recognized as the same item... so I guess that's good?

I found the weirdest bit when I ran the !stock command. It is included in the image below, but apparently this is the name of the item in question
-> Strange(e) Killstreak Sweet Dreams Grenade Launcher (Well-Worn)

image


Pricelist

Overall I really have no idea what this is about. I will go through the pricelist.json I'm using later when I'm not so tired but it is a public set of data (as in, it is the pricelist which @Flaming on Discord posted that was really big. Oh it had something like 32k entries in it, and I'm remembering that that is the size limit for signed ints... could this have something to do with it?

Conclusion

This is a strange little error, and I wanted to document it in detail here in case anyone else is facing a similar problem and doesn't know what to do.

Notably, I am using tf2autobot-gui, however this is a separate pm2 instance and I do not think it is involved in this error.

Installation Information

OS: Linux, Debian 11.6 Bullseye

Version: 5.8.1
Branch: IPC

Just comment if there is anything I am missing, or if I forget to update this thread after I check the pricelist when I get less busy. Or solve it for me I would like that better...

Nobody?

fair enough

@zudsniper zudsniper added the bug Something isn't working label Jun 27, 2023
@idinium96
Copy link
Member

Hello. Please use item instead of name when adding an item using the item's full name.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants