Skip to content

Comments

Removing item attributes functions#20

Closed
DontAskM8 wants to merge 6 commits intoDoctorMcKay:masterfrom
DontAskM8:master
Closed

Removing item attributes functions#20
DontAskM8 wants to merge 6 commits intoDoctorMcKay:masterfrom
DontAskM8:master

Conversation

@DontAskM8
Copy link

i dont have custom named/description items. So I cant test if those 2 works. Anything related to removecustomization simple should work. RequestInventoryRefresh is tested for working. User not require to get off the game and back in to reload steam inventory

@DontAskM8 DontAskM8 closed this Apr 28, 2020
@DoctorMcKay
Copy link
Owner

I like the thought of bringing the "restore" function to the module, though I think rather than having a bunch of methods, it would be more useful to have one function that takes an enum or string parameter to specify which element to remove.

@DontAskM8
Copy link
Author

Seems nice, ill try im pretty bad at making modules and such. Removing strange parts seems pretty complex, so i didnt include that for now. Closed the pull request for now because the requestInventoryRefresh is actually for TF2's local inventory. Still need to restart the game to update the inventories on steam side.

@DontAskM8
Copy link
Author

DontAskM8 commented May 1, 2020

@DoctorMcKay went abit of searching but only found this for steam k_EMsgEconFlushInventoryCache idk what this does but from the name itself seems like to flush out old inventory ? and maybe get the updated one ? Please advise me on this. Couldnt get on hold the required parameters or the outcome. Do u perhaps reverse engineer steam ?

@DoctorMcKay
Copy link
Owner

Just go ahead and give up on the thought of flushing the inventory cache with some tricky code. The only way it can be done is by launching/quitting the game in question, completing a trade offer containing an item from the game in question, or starting a real-time trading session.

If you really want to flush your bot's inventory cache without starting/quitting a game, you can have your bot open a trading session with another bot.

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.

2 participants