PonyExpress Posted July 27, 2019 Report Share Posted July 27, 2019 You can reset the count to 0 by loading your inventory page (https://steamcommunity.com/my/inventory) while logged in. I do not understand how to reset the value. I want it to be reset after how the value was shown in the console. client.on("newItems", function(count) { if (parseInt(count) > 0) { console.log("New items: " + count); // RESET } }); Quote Link to comment Share on other sites More sharing options...
PonyExpress Posted August 10, 2019 Author Report Share Posted August 10, 2019 Up.I still have not found a solution and am waiting for help. Quote Link to comment Share on other sites More sharing options...
PonyExpress Posted August 18, 2019 Author Report Share Posted August 18, 2019 (edited) Solved. community.httpRequestGet("https://steamcommunity.com/my/inventory/", (ERR) => { if (ERR) { console.log("ERR"); } else { console.log("OK"); } }); To just reset the count to 0, if I have a large steam inventory, is there any difference to use "https://steamcommunity.com/my/inventory/"or "https://steamcommunity.com/my/inventory/#440"? Edited August 18, 2019 by PonyExpress Quote Link to comment Share on other sites More sharing options...
Dr. McKay Posted August 19, 2019 Report Share Posted August 19, 2019 No, those are the same exact URL. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.