-
Posts
47 -
Joined
-
Last visited
Posts posted by SENPAY98K
-
-
Okay thanks for replying
-
11 hours ago, Dr. McKay said:
I'd need to see the stack trace to be able to tell you anything.
There is no stack trace, it just shows like this.
-
Iam running some scripts using steamcommunity module, as it is working find till these recent days..
Iam getting the same error on different scripts, which i never saw before. Any idea about it ?
Screenshot:
-
1 minute ago, Dr. McKay said:
I'm not really sure what you're asking, but CSteamUser stuff does work.
Its okay all good
-
8 hours ago, Dr. McKay said:
Use community.steamID.getSteamID64(); no need to call getSteamUser to get your SteamID.
Logging into a different account with the same SteamCommunity instance that was previously logged in isn't really supported. You should create a new SteamCommunity each time.
Great, works exactly as expected
I guess other CSteamUser function works with community as well since its contained inside steamcommunity module,
am i wrong?
-
Hi, is there a possiblity to get steamId64 [76561198097242611] for the current loggedIn account with (steamcommunity) ?
Searched on the github for that and found that its used on CSteamUser, and other parts of the library together with `steamid` module.Im using async in the script to loop many accounts for some actions, and cant there is no way to put id for each account.
Is there anything to replace '????' with current loggedIn account such as with sessionID or cookies...
Edit:
CSteamUser works with steamcommunity module √
-
On 10/14/2021 at 4:23 AM, Dr. McKay said:
You probably need to set the Referer header.
Great. that's what i was missing.
-
What am i doing wrong in here ?
form: {
sessionid: sessionID,
currency: 1,
appid: 440,
market_hash_name: 'Mann Co. Supply Crate Key',
price_total: config.KeysTotalPrice,
quantity: config.KeysQuantity,
billing_state: '',
save_my_address: 0
},
headers: {
'Origin': 'https://steamcommunity.com',
'Referer': 'https://steamcommunity.com/market/listings/440/Mann%20Co.%20Supply%20Crate%20Key'
},
json: true
}; -
There is actually a possibility to comment on thread inside groups with `steamcommunity` module but must be a member of the group.
-
1 hour ago, Dr. McKay said:
Yes, once you're logged on you can check the publicIP property of the SteamUser object.
Thanks, i must haven't check clearly.
-
3 hours ago, Dr. McKay said:
Your proxy refused your connection.
Thanks for the fast reply
Now i should use steam-user library for connecting, but i am still confused if it is really using the proxy.
Is there a way to check if the steam-user library is using a proxy or not ? something that log the currect ip maybe! -
8 hours ago, Dr. McKay said:
Check what the actual error message is in the err.
Here's the error
BOOSTSENPAY00 Logged into Steam ------------------------------- BOOSTSENPAY01 Unable To Auth Error: tunneling socket could not be established, cause=connect ECONNREFUSED 144.202.113.90:8080 at ClientRequest.onError (C:\Users\SENPAY98K\Desktop\test\node_modules\tunnel-agent\index.js:177:17) at Object.onceWrapper (events.js:482:26) at ClientRequest.emit (events.js:375:28) at TLSSocket.socketErrorListener (_http_client.js:475:9) at TLSSocket.emit (events.js:375:28) at emitErrorNT (internal/streams/destroy.js:106:8) at emitErrorCloseNT (internal/streams/destroy.js:74:3) at processTicksAndRejections (internal/process/task_queues.js:82:21) { code: 'ECONNRESET' }
-
I am trying to connect my bots with proxies but all i get is Auth Error with community module,
while it logs successfully with client module but i don't know if the proxy works or ignored.
@Dr. McKay Could you check if iam missing something?
// Modules const request = require('request'); const Steam = require('steam-client'); const SteamUser = require('steam-user'); const SteamTotp = require('steam-totp'); const SteamCommunity = require('steamcommunity'); const TradeOfferManager = require('steam-tradeoffer-manager'); const config = require('./config.json'); let proxyUrl = 'https://144.202.113.90:8080'; let proxifiedRequest = request.defaults({ 'proxy': proxyUrl }); let community = new SteamCommunity({ request: proxifiedRequest }); let ProxyClient = new Steam.CMClient(); ProxyClient.setHttpProxy(proxyUrl); let client = new SteamUser(ProxyClient); const manager = new TradeOfferManager({ steam: client, community: community, language: 'en' }); const logOnOptions1 = { accountName: config.accountName0, password: config.password0, twoFactorCode: SteamTotp.generateAuthCode(config.twoFactorCode0) }; client.logOn(logOnOptions1); client.on('loggedOn', () => { console.log('BOOSTSENPAY00 Logged into Steam'); console.log('-------------------------------'); client.setPersona(SteamUser.EPersonaState.Online); client.gamesPlayed(440); }); community.login({ accountName: config.accountName1, password: config.password1, twoFactorCode: SteamTotp.generateAuthCode(config.twoFactorCode1) }, function (err, sessionID) { if (err) { console.log(config.accountName1 + ' Unable To Auth'); }; if (!err) { console.log(config.accountName1 + 'Successfully Logged On sessionID: ' + sessionID); }; });
OUTPUT:
-
3 hours ago, Jack Nolddor said:
Inventory is an array of items, you can use .filter() over the collection to keep just the item(s) you need.
An excerpt from my bot code:
static isGems(item) { return '753-Gems' === item.market_hash_name; } static isSackOfGems(item) { return '753-Sack of Gems' === item.market_hash_name; }
Then, just use the .amount property to decide how many items you want to add to the trade for those which are stackeable like gems or sack of gems.
I already found how to do it with context-id-amount. Thanks tho :)
-
How do we add 1 gem to trade offer?
If we request steam inventory we get the whole inventory, so is there a way to add only 1 gem ?
-
Finally i made it through community url post
-
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.
-
seems to be working with +4 sec delay to avoid steam rate limit
-
found it already followed
-
20 hours ago, Dr. McKay said:
Your Steam Community inventory is AppID 753, ContextID 6. So replace 730 with 753 and 2 with 6.
I know that, i just asked if there is a way to add both CSGO + Steam inventory at same trade
-
Hello,
Iam using your code to send csgo items, and i want to include steam items such as Cards/Bossters, Gems...
How do i modify the get inventory line ?
// Get our inventory manager.getInventoryContents(730, 2, true, function(err, inventory)
Send a message using steamcommunity ?
in node-steamcommunity
Posted
Is it possible to use steamcommunity to send a message ?
Like using Steam Chat inside steamcommunity to send a message.
In the output say you can't send message, not logged in !