cookie
-
Posts
62 -
Joined
-
Last visited
Posts posted by cookie
-
-
Isn't it sufficient to refresh session every 30 mins and check the err value when doing some calls and see if it's Error: Http 4xx/5xx or Error: Not LoggedIn and webLogOn(); ?
It's same as refreshing sessions when sessionExpired is emitted but that's the old way when sessionExpired wasn't a thing.
Also does sessionExpired covers all http errors and malformed responses ? (not all malformed responses are fatal, I know)
-
The code is so skiddy, It's better you learn node.js or hire a professional to create a steam bot
-
No, it's better that you separate them and make them communicate using socket.io
-
You... recheck it again later.
You, I like your humour.
-
Yes, it will set cookies on the SteamCommunity instance.
So if we pass a steamcommunity instance to the steam-tradeoffer-manager constructor we don't need to setCookies for the steamcommunity instance correct?
-
client.getPersonas([steamID], function(persona){
//here I get the object persona and use it.
console.log(JSON.stringify(persona));
}); -
var buffer = new Buffer([8,255,31,18,54,9,225,61,118,6,1,0,16,1,122,6,216,185,217,132,217,138,250,1,20,15,27,33,229,31,235,44,95,199,153,216,246,115,5,181,237,31,150,155,169,232,2,136,181,219,187,5,240,2,212,188,219,187,5]); var hash = buffer.toString('hex'); avatar_url_icon = "https://steamcdn-a.akamaihd.net/steamcommunity/public/images/avatars/" + hash.substring(0, 2) + "/" + hash; avatar_url_medium = avatar_url_icon + "_medium.jpg"; avatar_url_full = avatar_url_icon + "_full.jpg"; avatar_url_icon += ".jpg"; console.log(avatar_url_icon); console.log(avatar_url_medium);
Somehow the url returned is 404, the buffer is the same I posted in the output of getPersonas.
-
I'm running version 3.9.0 and getting this
{"persona_state":null,"game_played_app_id":null,"game_server_ip":null,"game_server_port":null,"persona_state_flags":null,"online_session_instances":null,"published_instance_id":null,"persona_set_by_user":null,"player_name":"***","query_port":null,"steamid_source":null,"avatar_hash":{"buffer":{"type":"Buffer","data":[8,255,31,18,54,9,225,61,118,6,1,0,16,1,122,6,216,185,217,132,217,138,250,1,20,15,27,33,229,31,235,44,95,199,153,216,246,115,5,181,237,31,150,155,169,232,2,186,251,221,187,5,240,2,255,251,221,187,5]},"offset":25,"markedOffset":-1,"limit":45,"littleEndian":true,"noAssert":false},"last_logoff":"2016-07-02T08:39:22.000Z","last_logon":"2016-07-02T08:40:31.000Z","clan_rank":null,"game_name":null,"gameid":null,"game_data_blob":null,"clan_tag":null,"facebook_name":null,"facebook_id":null}
I don't see the avatar_url_icon unfortunately.
-
Hello,
What is the encoding of the avatar_hash buffer?
Thanks.
-
sentOfferChanged listener don't trigger on mobile confirmation state.
Scenario:
- Send trade offer from bot (offer is with status Active)
- Log in to steam as User and Accept offer -> receive message "You have to confirm in mobile app" -> offer state should be OfferNeedMobileConfirmation but sentOfferChanged don't do anything.
With receivedOfferChanged everything works just fine the problem is only with sentOfferChanged.
When you create an offer and don't confirm it is not sent and the event is called sentOfferChanged. There's logic behind naming events and functions.
-
Would be perfect if it's possible to use a socks5
-
Yes, there is.
Is there a way that we can proxify the whole process? steam-user, steam-community and steam-tradeoffermanager only the last 2 are able to get proxified unlike steam-user we can't pass a request instance.
-
Check each SteamID in the myFriends property. If the value is
EFriendRelationship.RequestRecipient
, then they're a pending friend request.What about the people that I ignored? it doesn't seem to be in that list sadly, Any workaround to retrieve a list of ignored friends requests?
-
Hello,
Is it possible to retrieve list of pending friend requests instead of listening to friendRelationship which will be emit once per invite?
-
What version of steam-user do you have?
Edit: Okay, I found the problem. It's because you don't have a HOME environment variable. I'll push out a fix shortly.
I even posted that bug long time ago and you told me to report to appdirectory github repo. smh
-
Don't do this. Timezones don't matter.
When changing Timezones the hours will be deducted/added to the clock but not the seconds, so he'll have to synchronize it himself
-
if you're running linux do run these commands
rm /etc/localtime ln -sf /usr/share/zoneinfo/GMT /etc/localtime
-
Hello, are we safe to update to node 6? Seems exciting, the official site says they are going to support node 5 for only three months.
-
Well I think it would be a lot easier if the bot receives offers, I am going to use it as trade bot to buy quicksells (csgo items via csgolounge), and to make it easy people can send their offers and instantly get accepted.
then loop through itemsToReceive and validate each market_hash_name
-
This is a bad idea just make the bot send the offer instead of receiving it you'll be selecting one of those whitelisted items instead of checking each item in the offer and stops spamming the forum it's for documentation not on how to build a steam bot 1o1
-
I mean like we get this when we are trying to accept/send an offer but from my experience it never appears in the offer.state property am I right?
-
Right. The recipient starts accepting the offer, something breaks, and Steam rolls back the items that it already transferred. The offer stays as Active at this time, but since the rolled back items have new IDs, the next time you open the offer page, it's InvalidItems.
Alright thank you for your information and support. What about the Invalid State what does it mean?
-
It happens when an offer is being accepted.
That's unfortunate, That's why sometimes state is InvalidItems yeah? because those items' assetids changed so they no longer exist.
-
Sometimes a trade fails halfway through committing, so it rolls back the items that were already exchanged. That changes the asset ID for those items. There isn't any way to figure out what the IDs changed to without just comparing names and other identifying features.
Does that happens when you're sending/accepting an offer or just sending?
Start making bot
in node-steamcommunity
Posted
easy on those hours buddy... you either have the capacity to understand programming or not.