Jump to content
McKay Development

Recommended Posts

Posted

Hello, I'm using  TradeOfferManager and SteamUser libraries, following the docs on 
https://github.com/DoctorMcKay/node-steam-user#patterns-
https://github.com/DoctorMcKay/node-steam-tradeoffer-manager/wiki
so far I was able to continue my project and learning more about programming in the process, in a few features of the project I use getUserInventoryContents and works fine,

There is one feature that require more than one call of this method getUserInventoryContents, this feature works, but in cases crashes when the user runs this a few times.
I don't know if this may be related but i get the GET /ab2h,  ab2g after the crash,
my question my node server requires robots.txt to avoid this ? or add more delay on each getUserInventoryContents call ?

Thanks !

Posted

I capture yesterday session, checking the logs I only recover this the two unexpected request

image.png.cc9dd57af196378f0c1d9467aa1c352c.png

image.png.fb1b45a5f10eff43dc27da0444cb71fe.png

and here, checking the screenshot again, I saw that null 

image.png.bc200fb66c7310a862b16eb2f4409193.png

and here is the error, looks like I send a null from the array, fetching the second page of Trade links
image.thumb.png.0024af1d291f55eaad5bf7cad0d86f10.png

With regard of the robot.txt for the server, will improve some validation on my server ?

Posted

Ask to Zelenka he maybe, he will know joke xD,

I don't have the error that came from the response of the getUserInventoryContents, but so far, I'm calling it inside an iteration, with delay to avoid steam overloaded

If there is any recommendation doing this way, I will continue and add some security libraries to the node server.

Thanks anyway

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...