Jump to content
McKay Development

DevDuck

Member
  • Posts

    28
  • Joined

  • Last visited

Recent Profile Visitors

602 profile views

DevDuck's Achievements

  1. Via https://github.com/DoctorMcKay/node-globaloffensive I can get stickerId which is on the weapon. Through the game files I can get a description of this sticker. But is there any way to get an image url of this sticker? I thought maybe could somehow get a link to an image through "sticker_material"?
  2. The items_game file from Dota2 does not provided icon_url, how do you get the image of each Dota2 item?
  3. Steam is so weird. Well, thank you
  4. Can I get the data from the game files? I found a list of all possible items, but can't figure out how to know the skin name and a link to his picture? Or is it all a bad idea and I need to parse thousands of inventories of different users?
  5. How to distinguish one item from another? For example ★ Gut Knife | Doppler have different phase. Use market_hash_name + icon_url for the uniqueness of an item or something else?
  6. Is it possible to get a list of all CS:GO or PUBG items?
  7. What about IPv6 proxies?
  8. I'm trying to get schema. First I go to: https://api.steampowered.com/IEconItems_730/GetSchemaURL/v2/?key=API_KEY&format=json I come next to the link (items_game_url) and get 404 error. Before this link was returning a schema, now 404 error. Have any ideas? Is it possible than it is to replace? I know what I can take this file from the folder game CS:GO, but it's impossible to automate.
  9. Yes. Moreover in GetPlayerSummaries: ... "personastate": 1, ... "gameid": "730"
  10. No, I use setPersona the event loggedOn: this.client.on('loggedOn', () => { this.client.setPersona(SteamUser.Steam.EPersonaState.Online); this.client.gamesPlayed([730]); }); I told you that immediately after login everything is perfect. But after an hour or two, the bot disappears from the network (in the group), but it network to ellisite in his personal profile. Or setPesona need to use is some loop? Like that: this.manager.on('pollSuccess', () => { this.client.setPersona(SteamUser.Steam.EPersonaState.Online); this.client.gamesPlayed([730]); });How do you maintain state? Update: I did setPersona in loop: setInterval(() => { this.client.setPersona(SteamUser.Steam.EPersonaState.Online); this.client.gamesPlayed([730]); }, 3600000);in the end, it didn't help... I think maybe I break the session? Please help me
  11. Interesting... I ran this code in parallel with working the bot: const SteamCommunity = require('steamcommunity'); const SteamTotp = require('steam-totp'); const community = new SteamCommunity(); community.login(getLogOnOptions(), (err) => { if (!err) community.chatLogon(); });My bot was offline in the group. After running this code to enter in the chat, bot is online! Why is this happening? Maybe I need to periodically log in to the chat to keep the bot as online in the GROUP? Or why?
  12. If I check my bot he is online and in game... but If I enter the group, there shows no one online. If I restart the bot in the console or pass authorization on Steam via the username and password then the bot back online (in the group) in a short time.
  13. Thank you. I found the cause. I create an instance of the class: this.csgo = new GlobalOffensive(this.client); this.manager = new TradeOfferManager({ 'steam' : this.client, 'community' : this.community, 'domain' : 'localhost', 'language' : 'en' });1. In general, in the process, variables this.client and this.community class instance has already been created, there this variable is not changed. What's the right way? To change this property or to re-create the object dynamically? ...So, because of this my bot tries to relogin too often and invoked "Steam Guard App Code"... 2. And I noticed that the event "disconnected" is not always invoked for some reason 3. Hmm... In the opskins group all bots are online and in game... Why my bot is online and in game but in group I have this: My bot: And in the group: if I restart my bot he gets online for a while and then again offline. Interestingly if I go from the account of the bot and will go to the link https://steamcommunity.com/chat the group will have: 1 IN-GAME and 1 ONLINE ... like some session is updated.. I don't know.. Why is this happening?
  14. This is my code: manager.on('pollSuccess', () => { if (!client.steamID) { client.logOn(getLogOnOptions()); } });But today some bots did not restart. In the logs I found the following: Steam Guard App CodeIs it possible to catch this event? Or how to avoid errors when restart?
×
×
  • Create New...