Search the Community
Showing results for tags 'Question'.
-
Hello, I started developing app using globaloffensive game coordinator and would like to add some new events, I'm seeking for some tool that shows messages which coming through game coordinator and its content. I tried using Wireshark but it's very difficult for me, and even with uploaded .proto files it can't decode correctly CSGO messages. So maybe there is some command in csgo console which will show Proto messages, or other way to do this, I'll be happy to hear any options which you use for csgo game coordinator traffic analisis.
- 1 reply
-
- gamecoordinator
- question
-
(and 1 more)
Tagged with:
-
I can get the owned Games that the user has user.getUserOwnedApps([steamid], function (err, response) { if (err) { console.log(err.message); } else { console.log(response); } }); but I don't get the steam family games, how can I get the shared titles, what is the function?
-
Reviewing the files, I noticed that the CDN.js file can be used to download chunks and manifest records for apps. However it appears to only be able to download by first getting the steamcache servers via the steam api. A while back Steam supported Lancache, a project aimed to store a local copy of CDN files for quicker download, used for places with slow bandwidth or even LAN parties or eSports events. Could this also use Lancache, if detected on a local network? A Lancache server wouldn't have a limitation of only having certain files, like some steamcache CDN servers, because it would pull and grab from any CDN server that has the files and save them locally.
-
Hi, I'm getting response on "requestGame" method and "game_map", "server_id" and others fields are null: "watchablematchinfo": { "server_ip": 183, "tv_port": 1288376300, "tv_spectators": 0, "tv_time": null, "tv_watch_password": null, "cl_decryptdata_key": null, "cl_decryptdata_key_pub": "4475969846556343181", "game_type": null, "game_mapgroup": null, "game_map": null, "server_id": null, "match_id": null, "reservation_id": null } My code: var SteamUser = require("steam-user"); GlobalOffensive = require('globaloffensive'), util = require("util"), fs = require("fs"), readlineSync = require("readline-sync"), crypto = require("crypto"), SteamID = require('steamid'); var steamUser = new SteamUser(), csgo = new GlobalOffensive(steamUser); var onSteamLogOn = function onSteamLogOn(response) { util.log("Logged on."); util.log("Current SteamID64: " + steamUser.steamID); steamUser.gamesPlayed([730], true); csgo.on('connectedToGC', () => { console.log('connectedToGC!'); csgo.on('matchList', (matches, data) => { console.log(matches, data); }); csgo.requestGame('CSGO-fx2K6-RULk2-jGJZd-GVcZe-5DVjM'); }); csgo.on('error', (err) => console.log(err)); } var logOnDetails = { "accountName": username, "password": password, }; steamUser.on('loggedOn', function(details) { console.log(details); onSteamLogOn(details); }).on('error', function(err) { console.log(err); }); steamUser.logOn({ accountName: username, password: password }); Full response in attachments Maybe you know why it happens. Thanks response.txt
-
I use machinesAuth to avoid requesting the access code from the application again after the first login when, for example, the bot is restarted. But here's what I noticed, if the account is confirmed via mail - then after login a file with machine is created, but if the account is confirmed via application - then after login only cellid-***.txt is created and when logging in again it asks for the code from the application. I have looked everywhere, but did not find the answer to my question. I also noticed that the machineAuthToken event is triggered only when a code is requested from mail I use node-steam-user 5.0.4 const Account = new SteamUser({ dataDirectory: "./data", machineIdType: SteamUser.EMachineIDType.AccountNameGenerated, autoRelogin: true }); Account.logOn({ accountName: 'login', password: 'password' })
-
Hi there. Can I get live or history of premier matches in CS2 with node-globaloffensive library?
-
Hey, im working on a project called katocraft, a site that tracks kato 14 holo crafts that are listed/sold. Recently due to problems on buff163 (one of the markets im scraping) screenshots have not been generating properly. Does anybody know how to generate a skin screenshot without an inspect link ?
-
The code below uses the information provided by the chatRoomGroupMemberStateChange event to send a message through a chat group channel welcoming a user to the group. async function groupListener() { await client.chat.setSessionActiveGroups(["XXXXXXXX"]); console.log("Group set as active."); client.chat.on("chatRoomGroupMemberStateChange", async (details) => { if (details.change === 1) { const personas = await client.getPersonas([details.member.steamid]); const accountid = details.member.steamid.accountid; const steamID64 = details.member.steamid.getSteamID64(); const playerName = personas.personas[steamID64].player_name; await new Promise((resolve) => setTimeout(resolve, 2000)); await groupComment(0, accountid, playerName, "Welcome to the group!"); } }); } ✔️ If the bot is online and a user joins, the message is sent. If the user then leaves the chat and rejoins it, the message is sent too. ❌ However, if a joined user exits the chat while the bot is offline and then rejoins while the bot is online, there is an error: Error: Request timed out at Promises.timeoutPromise (USERPATH\steambot\node_modules\@doctormckay\stdlib\components\promises.js:12:12) at Promises.timeoutCallbackPromise (USERPATH\steambot\node_modules\@doctormckay\stdlib\components\promises.js:87:25) at SteamUser.getPersonas (USERPATH\steambot\node_modules\steam-user\components\friends.js:323:26) at SteamChatRoomClient.<anonymous> (USERPATH\steambot\Trashbot\trashBot.js:555:41) at SteamChatRoomClient.emit (node:events:512:28) at SteamUser.<anonymous> (USERPATH\steambot\node_modules\steam-user\components\chatroom.js:1186:12) at USERPATH\steambot\node_modules\steam-user\components\classes\HandlerManager.js:35:12 at Array.forEach (<anonymous>) at HandlerManager.emit (USERPATH\steambot\node_modules\steam-user\components\classes\HandlerManager.js:34:12) at SteamUser._handleMessage (USERPATH\steambot\node_modules\steam-user\components\03-messages.js:641:25) at SteamUser._handleNetMessage (USERPATH\steambot\node_modules\steam-user\components\03-messages.js:562:8) at SteamUser._processMulti (USERPATH\steambot\node_modules\steam-user\components\03-messages.js:693:9) Further leaving and rejoining throw no errors. Why is this the case and how can I fix this anomalous behaviour?
-
Hi. Is there any way to connect to GC with an anonymous account? I tried to set the client.gamesPlayed to 730, but it doesn't seems to work. It doesn't enter the 'csgo.on' method. My current code: app.get('/api/retrieveFloat', (req, res) => { const client = new SteamUser() const csgo = new GlobalOffensive(client) client.logOn() client.on('loggedOn', (details) => { console.log('Logged on: ' + client.steamID) client.setPersona(SteamUser.EPersonaState.Online) client.gamesPlayed(730, true) csgo.on('connectedToGC', () => { if (csgo.haveGCSession) { console.log('Connected') } else { console.log('Not connected') } }) }) })
-
Apparently a second incident has taken place in relation to gladiator.tf bots in which a hacker has managed to access their pricing database and steal US$ 80k. This is shocking news and I would like to know if this may have been a vulnerability in a module by Dr. McKay, how it may have happened and how to prevent this from taking place in my bot.
-
Upon accepting a trade offer, my bot's inventory is sorted by class (presumably: tf2.sortBackpack(0)). However, as you can see in the picture, it is only partially sorted, possibly because I am not "acknowledging" the new items and they do not behave normally. I can find no other explanation - I have tried everything. Please, help me.
-
Hello. Thank you for reading my post. I have been scratching my head for a while, trying to figure out a method to find the Steam ID of someone who invites a user to a group. client.on("groupRelationship", (sid, relationship) => { if (relationship === 2) { client.respondToGroupInvite(sid, false); console.log("Group invite declined."); } }); } Currently, the only way I have managed to do it is by manually searching through the friends list to identify the friend who is in the group, as only friends can send group invites. However, this approach is certainly far from ideal. I would greatly appreciate any suggestions or ideas. Thank you kindly and have a nice day.
-
When I want to put an item for sale from my Steam inventory, I need to confirm it. The listing to be validated while putting it on sale does not give an id-style value. I can get all the approvals, but the asset_id is not visible in the approval detail. Many items of the same type may be pending sales approval, but I only want to approve the correct one. How can I do that? Is there a method to pull market listings?
-
Hi, not 100% sure if this is the right place to post about this but I don't really know where else to look for help, so sorry in advance. I want to generate HD screenshots of CS:GO items as they would appear in game, but I have no clue where to start and can not figure out how others have managed to pull it off. An example of what I'm taking about can be seen in the attached jpg. My best guess it they are running a program that screenshots the item in game, however I'm still unsure as the item will not appear at the correct angle when inspecting in the menu. Any help would be greatly appricated, and once again sorry in advance if this is not the correct place to ask these types of questions.
-
Looking into the documentation I notice getExchangeDetails won't return data unless the ETradeStatus is Complete, InEscrow, or EscrowRollback, which is a different state from ETradeOfferState, which is fine. Is it possible to get ETradeStatus without querying getExchangeDetails as I didn't see the method nor variable on the TradeOffer object. I'm sure I was just misunderstanding how to use this or fetch the state, but was hoping I could check before querying steam as I want to prevent as much requests as possible. Thanks, Christian
-
Hello, I use for this api to fetch steam inventories: The result has: Is there any parameter to load next pages ?
-
Is there any function to get recentlyPlayedGames with achievements of an user? I'm working on a achievements-completions-feed for my community but the Steam API isn't enough due to rate limits, is there any alternative with steam-user? any function that returns lastTimePlayed of an app or even the achievements of several apps at once? that would be amazing! I attached the current completions feed I have set up. Any help would be greatly appreciated!
-
Hello, Is it possible to upvote a game review using node-steam-user ? If so, where could i find a library about it to make an auto interact for that action.
-
Not sure if it is possible, but I would like to get game's follower count using node-steam-user. What I have tried, is creating a similar method to getPlayerCount, but replacing the message. So, what I came up with looks like this: SteamUser.prototype.getFollowerCount = function(appid, callback) { return StdLib.Promises.timeoutCallbackPromise(10000, [], callback, (resolve, reject) => { this._send(SteamUser.EMsg.ClientFSGetFollowerCount, [730], (body) => { console.log(body); resolve('done'); }); }); }; But with this approach, calling the new method gets me a Type Error: TypeError [ERR_INVALID_ARG_TYPE]: The "list[1]" argument must be one of type Array, Buffer, or Uint8Array. Received type object at Function.concat (buffer.js:479:13) at SteamUser._send (/home/harry/steam-tools/node_modules/steam-user/components/messages.js:456:31) at StdLib.Promises.timeoutCallbackPromise (/home/harry/steam-tools/src/steam-client.js:8:8) at Promise (/home/harry/steam-tools/node_modules/@doctormckay/stdlib/components/promises.js:22:25) at new Promise (<anonymous>) at Object.Promises.timeoutPromise (/home/harry/steam-tools/node_modules/@doctormckay/stdlib/components/promises.js:10:9) at Object.Promises.timeoutCallbackPromise (/home/harry/steam-tools/node_modules/@doctormckay/stdlib/components/promises.js:83:25) at SteamUser.getHarryTest (/home/harry/steam-tools/src/steam-client.js:7:25) at SteamUser.<anonymous> (/home/harry/steam-tools/src/steam-client.js:44:12) at SteamUser.emit (events.js:198:13) So, this raises me a few questions: 1. Am I even able to create new methods in this way (sending a different message with appropriate body) or are there some limitations that I am not aware of? 2. If the approach is fine, then how can I figure out the correct message body that I need to send? Is it documented somewhere or is there some method of figuring it out? (I am assuming that my issue is coming from invalid message body). 3. Of course, I would be very thankful for the help of resolving the actual issue here or some directions to solving it
-
Today authorization via steam-user stopped working for me. I do not know why. I changed my authorization to the community module. All my bots have different proxies. But, if I start authorizing several bots at once, then steam throws out a message about a large number of login attempts. What could be the reason for this? What can linked different instances? I am passing to tradeofferManager instance steam-user and steamcommunity. But I log in with steamcommunity.
-
is it possible to comment on users profiles?
-
Hi! I am using steam-user v4.18.0 and using getProductInfo method. For some games there exists release_date, steam_release_date and for some games I can't find any indication about when this game was released. Do you have some advice for me how to reliably get game's release date? Maybe I should use some other method? For example these IDs don't have release date 203160, 221380, 236850, 365590, 220240. But for example CS: GO (id 730) has steam_release_date. Let me know if there is some additional info that I can provide. Thanks!
-
Hello, im trying to handle an InvalidPassword error. const login = (username, password) => { const logOnOptions = { accountName: username, password: password } try{ client.logOn(logOnOptions); } catch(err) { console.log("Can't find the account. Please double check it."); } } login(argum, password); But instead of showing "Can't find the account..." etc, it shows that events.js:174 throw er; // Unhandled 'error' event ^ Error: InvalidPassword at SteamUser.<anonymous> (/home/tanjil/projects/nodejs-projects/steam-farm/node_modules/steam-user/components/logon.js:494:16) at handlers.forEach (/home/tanjil/projects/nodejs-projects/steam-farm/node_modules/steam-user/components/classes/HandlerManager.js:37:12) at Array.forEach (<anonymous>) etc...
-
Hi everybody, I i'm trying to post artwork using bot. Was searching for how to do it but found nothing. Is there any way of doing it? Thanks
-
I set some sessionExpired function, that reconnect the bot to steam when its expired. But when it expires, it reconnect the bot multiple times. The command below send about 20 messages that theres an error, and the error is fixed. Also in console it looks like (picture). Does anyone know wheres the problem ? community.on("sessionExpired", function(err) { client.channels.cache.get("753653286283903126").send('<:false:750799883572609245> **There was an error, fixing the error... <:repairing:755511536423927909>**') .then(sentMessage => sentMessage.delete({ timeout: 4000 })) .catch(console.error) client.channels.cache.get("753653286283903126").send('<:true:750799921497505913> **Error is fixed, you can try again !**') .then(sentMessage => sentMessage.delete({ timeout: 4500 })) .catch(console.error) client.channels.cache.get("753653286283903126").updateOverwrite(message.guild.roles.everyone, { SEND_MESSAGES: true }) .then(channel => console.log('Channel unmute')) .catch(console.error); if (client2.steamID == undefined) { client2.logOn(logInOptions); client2.on('loggedOn', () => { console.log('Steam Bot is running !'); client2.setPersona(SteamUser.EPersonaState.Online); client2.gamesPlayed(440); }); } else { client2.webLogOn(); //relogin to Steam or refresh tradeoffer-manager cookies } //add your handling code here, for example: if (sendofferError == true){ //do stuff } })