All Activity
- Yesterday
-
I don't really have the time or capacity to do one-on-one coaching for reimplementing the Steam protocols yourself. I'd suggest checking the existing code and trying to copy it as exactly as possible.
- Last week
-
Thanks for the reference. I want to do it with the simple http request and came to this: fetch( 'https://api.steampowered.com/IAuthenticationService/GenerateAccessTokenForApp/v1/', { method: 'POST', headers: { "Content-Type": "application/x-www-form-urlencoded", }, body: new URLSearchParams({ refresh_token: refreshToken, steamid: id, }).toString() } ) refreshToken variable holds normal refresh token, like the one received in steam-user 'refreshToken' event. id variable holds 64-bit Steam ID. But I'm getting empty result: {"response":{}} And in the header I'm getting 'x-eresult': '63' when I call fetch for the first time, but 'x-eresult': '15' when I call it for the second time (with the same refresh token). Thanks.
-
How to maintain Steam websocket connection alive?
George Hazan replied to George Hazan's topic in node-steam-user
Yes, I can send messages from web client to any of my friends, no problems. And I've sent CMsgSetPersonaState at the moment of sending a message. -
How to maintain Steam websocket connection alive?
Dr. McKay replied to George Hazan's topic in node-steam-user
Make sure you could send a message to that user ordinarily. Also make sure you've set yourself to online. -
You can do this with steam-session.
-
mjavad_mllw started following get inventory contents via api
-
Hi guys, whats the steam endpoint to get user items? i mean i know this https://steamcommunity.com/inventory/765xxxxxxxxx/440/2 but this wont send all details in one array description and items are seperate im looking for an endpoint to get all details of an item in one single array ex: something like getInventoryContents method in steamcommunitycomminuty module
-
Hello, is there any way I can login with refresh token with Steam Web API-s? I found how to log in with account name, password and guard code here https://steamwebapi.azurewebsites.net/, but I can't see how can I log in with refresh token alone. I now that steam-user does this with Steam network, but I'm interested in Steam Web solution. Thanks.
-
How to maintain Steam websocket connection alive?
George Hazan replied to George Hazan's topic in node-steam-user
[18:58:39 4A68] [STEAM_1] Message sent: CFriendMessagesSendMessageRequest { steamid: 33117837 chat_entry_type: 1 message: "sadfasdfasdf" contains_bbcode: true client_message_id: "2" } [18:58:39 3ED0] [STEAM_1] processing normal multi message of size 71 [18:58:39 3ED0] [STEAM_1] Processing service message: FriendMessages.SendMessage#1 CFriendMessagesSendMessageResponse { } In the message header of CFriendMessagesSendMessageResponse eresult = 15. Any attempt to send full steamID results to the same error. -
How to maintain Steam websocket connection alive?
Dr. McKay replied to George Hazan's topic in node-steam-user
What do you receive error 15 in response to? How are you receiving it? -
How to maintain Steam websocket connection alive?
George Hazan replied to George Hazan's topic in node-steam-user
Yes, passed this point too. Now I have a normal session, but still can't send any message: I receive error 15 🙂 - Earlier
-
George Hazan changed their profile photo
-
How to maintain Steam websocket connection alive?
Dr. McKay replied to George Hazan's topic in node-steam-user
https://steamerrors.com/5 Sounds like you aren't logging in correctly. -
George Hazan started following How to maintain Steam websocket connection alive?
-
Hi, I'm a developer of Miranda NG open source multiprotocol client (https://miranda-ng.org, https://github.com/miranda-ng/miranda-ng), and right now I'm trying to revive my old plugin for Steam. I succeeded to pass through the whole auth process, but each time I send CMsgClientLogon, it returns back with the error 5, and a websocket gets forcibly closed by the server, so I have no chance of sending CClientHeartBeat etc. Maybe you have some ideas where to look at your code to understand what's going on or how to fix this problem? What's the key thing to have a websocket running for a long time? WMBR, George Hazan.
-
George Hazan joined the community
-
TheMaster started following Steam Password recreation
-
Is there a method available to update/change the steam password?
-
charly joined the community
-
Hi, I am trying to auto craft Vaccinators on start and when a new trade offer is accepted. // craftVaccinators.ts import Bot from '../../Bot'; export default function craftVaccinators(bot: Bot): Promise<void> { return new Promise(resolve => { if (!bot.options.crafting.weapons.enable) { return resolve(); } const inventory = bot.inventoryManager.getInventory; const quickFix = inventory.currenciesFindBySKU('411;6'); const reclaimed = inventory.currenciesFindBySKU('5001;6'); const amountToCraft = Math.min(Math.trunc(quickFix.length / 3), reclaimed.length); for (let i = 0; i < amountToCraft; i++) { bot.tf2gc.craftVaccinators(); } return resolve(); }); } I am calling craftVaccinators at onReady and onTradeOfferChanged // MyHandler.ts if (this.isCraftingManual === false) { // Smelt / combine metal keepMetalSupply(this.bot, this.minimumScrap, this.minimumReclaimed, this.combineThreshold); // Craft duplicate weapons craftDuplicateWeapons(this.bot) .then(() => { return craftClassWeapons(this.bot).then(() => { return craftVaccinators(this.bot); }); }) .catch(err => { log.warn('Failed to craft duplicated craft/class weapons', err); }); } Which create jobs handled by handleCraftVaccinators // TF2GC.ts private handleCraftVaccinators(job: Job): void { const inventory = this.bot.inventoryManager.getInventory; const assetids1 = inventory.findBySKU('411;6', true).filter(assetid => !this.bot.trades.isInTrade(assetid)); const assetids2 = inventory.findBySKU('5001;6', true).filter(assetid => !this.bot.trades.isInTrade(assetid)); if (assetids1.length < 3 || assetids2.length < 1) { return this.finishedProcessingJob(new Error("Can't process job")); } const ids = [...assetids1.splice(0, 3), ...assetids2.splice(0, 1)]; log.debug('Sending vaccinator craft request'); this.bot.tf2.craft(ids); const gainSKU = '998;6'; this.listenForEvent( 'craftingComplete', (recipe: number, itemsGained: string[]) => { log.debug('itemsGained', itemsGained); if (itemsGained.length > 0) { // Remove items used for recipe ids.forEach(assetid => inventory.removeItem(assetid)); // Add items gained itemsGained.forEach(assetid => inventory.addItem(gainSKU, assetid)); } this.finishedProcessingJob(); }, err => { this.finishedProcessingJob(err); } ); } My issue is that most of the time, craftingComplete is emitted but the Vaccinator has not been crafted and itemsGained is empty. Any idea what I am doing wrong ? Thanks.
-
I want to obtain information on my items for sale in a specific game on Steam Market. I am selling items for both CS2 and TF2 on the Steam Market. I have obtained some information through https://steamcommunity.com/market/mylistings, but this information is very mixed, including both my CS2 and TF2 items for sale, as well as my buy orders. I want to further filter the information by adding params to https://steamcommunity.com/market/mylistings, so that I can specifically obtain the data for my TF2 items for sale. I would greatly appreciate it if you could explain how to fill in params!
-
I have now realised what I've done wrong, it's an AuthSessionTicket, not an EncryptedAppTicket. My bad.
-
As far as I can tell, the app in question calls "GetAuthSessionTicket" from the Steam API. https://partner.steamgames.com/doc/api/isteamuser#GetAuthSessionTicket Here's the exact line where it calls this: user.GetAuthSessionTicket(array, 1024, out ticket);
-
sfwefsdHashiiiieee reacted to a post in a topic: How do I login with steam-user while steam/cs2 is open on windows?
-
Hello everyone, This forum has many extremely interesting topics, and I’ve learned a lot from them. However, I couldn’t find anything addressing the issue of how listings are sorted - for example, in the link below. Listings appear to be sorted by price, but there are clearly other variables at play because the order is often incorrect. For instance, 182.43€ appears before 181.08€, and 187.25€ comes before 178.87€, and so on. I’m using euros, but this sorting issue occurs with any currency. I’ve read before that it might be related to the different currencies used by Steam and the varying conversion rates and fees applied, but I’ve never been able to confirm this. My question is: Does anyone know more about why this happens? Is there any way to mitigate this issue? For my application, properly sorted listings would be beneficial. Link for reference: https://steamcommunity.com/market/listings/730/AK-47 | Redline (Minimal Wear)?count=100
-
joka joined the community
-
sfwefsdHashiiiieee joined the community
-
Does the app in question actually use encrypted app tickets?
-
I get the following when making an app ticket (user.createEncryptedAppTicket(appid, clientcallback)): Error: Fail at exports.eresultError (/home/nova/Desktop/imgoinginsane/node_modules/steam-user/components/helpers.js:105:12) at SteamUser.<anonymous> (/home/nova/Desktop/imgoinginsane/node_modules/steam-user/components/appauth.js:34:23) at SteamUser._handleMessage (/home/nova/Desktop/imgoinginsane/node_modules/steam-user/components/03-messages.js:643:16) at SteamUser._handleNetMessage (/home/nova/Desktop/imgoinginsane/node_modules/steam-user/components/03-messages.js:565:8) at SteamUser._processMulti (/home/nova/Desktop/imgoinginsane/node_modules/steam-user/components/03-messages.js:697:9) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) { eresult: 2 }
-
LunarN0v4 joined the community
-
Dr. McKay reacted to a post in a topic: Obtaining SteamLogin Secure Token
-
Topic is irrelevant, I found the post where steam session is explained. Thank you
-
I am an active Steam user and often need to access my purchase history at https://store.steampowered.com/account/history/. I was wondering if it was possible to get this information in a more automated way using the Steam API. I understand that Steam provides an API to access various information, but I can't find specific instructions or examples of how to get your purchase history. Is there a way to receive a response in json format, or in a format other than html?