Questions tagged [steambot]

SteamBot is an open-source C# library for creating bots for Steam (Valve's gaming platform).

SteamBot was original developed for use on scrap.tf and released on Github for others to extend and use.

It is used to interact with Valve's gaming platform, Steam. It's biggest usage has been to develop automated trading bots for TF2, DOTA2 and the items those games contain. I can also be modified to handle Steam Trading cards and games.

In addition to the source code and bug reporting tool being available on GitHub, the Steambot developers and users utilize /r/Steambot to discuss bugs, enhancements and support new users.

90 questions
0
votes
0 answers

Unexpected end-group in source data; this usually means the source data is corrupt

I get this error whenever I try to deserialize a protobuf byte array... My code follows: public void GetFloatValue(ulong sid64, string ilink) { string param_s = null; string param_a = null; string param_d = null; …
Willem Van
  • 40
  • 1
  • 6
0
votes
1 answer

Laravel confirm controller method and continue the tasks

I have a website with laravel and nodejs steam trade bot. On trade offer came nodejs bot fires site.com/api/checkOffer. i want to show to user a confirm box in website. If user click confirm accept trade offer. Its my checkoffer function public…
0
votes
1 answer

NodeJS Logic Error? Program Stops as Soon as part of it is Executed?

I am pretty new to NodeJS , so sorry :( But you gotta start somewhere. Anyway, I was editing a code that I was trying to finish, and I came across a challenge when trying to make have one of my commands (this is a bot) work. Here's the bit of the…
Richard Cao
  • 25
  • 1
  • 5
0
votes
1 answer

Can't process url with request module

I'm downloading price of Steam item from official API using request module in node.js (http://steamcommunity.com/market/priceoverview/?currency=1&appid=730&market_hash_name=) and it works very well except case when item, whose name starts with star…
irqize
  • 97
  • 1
  • 10
0
votes
2 answers

Asynchronous JavaScript and functions

I'm writing steam bot that calculates price of sent items. I can't use functions properly. I want to get price from URL then to add it up and console.log. I can't do it, because console.log executes before the loop. I'm really new to Javascript and…
irqize
  • 97
  • 1
  • 10
0
votes
0 answers

Unexpected character encountered while parsing value from steambot

I have an big issue trying to get the steambot (https://github.com/Jessecar96/SteamBot) working and I can't get around it. I get this error when the bot "noticed" an trade offer : The bot gets the info from check-items.php and crashes after…
TheCr4nk
  • 1
  • 1
0
votes
1 answer

SteamBot.exe don't appear in SteamBot/Bin/Release

I am trying to install steam bot on Centos 6.7. I have installed NuGet2, mono, steam, I have done all, what was said in Jessecar96 Installation Guide. I have compiled Nuget, mono latest release, but nothing happens. When I am trying to run…
0
votes
1 answer

Node.js steam trade bot, finding the items instanceid

Here is the basic code from one of the examples, offers.on('receivedOfferChanged', function (offer, oldState) { logger.info(offer.partner.getSteam3RenderedID() +" Offer #" + offer.id + " changed: " + TradeOfferManager.getStateName(oldState) + "…
mtcamesao
  • 43
  • 9
0
votes
2 answers

Node.JS SteamBot on openshift

i´m trying to host my node.js steambot on openshift, i haven´t used it before, so basicly what i´m trying is to Commit a basic "in my eyes, not a server" to their nodejs "hosting". so, when i commit the files and such, everytime the app starts, it…
Z8pn
  • 40
  • 4
0
votes
1 answer

Node Js Steam Trade Offers Bot Items

This bot accept all trades but it need to accept only trade offers which contains [type: 'Consumer Grade SMG',] item in itemsToReceive. I was trying to do something like: If itemsToReceive contains Consumer Grade SMG then accpet offer else cancel…
Asura
  • 19
  • 1
  • 2
0
votes
1 answer

C# SteamBot - Get trade offer state

I get error using this code: var offer = Bot.NewTradeOffer(dbSteamId); offer.Items.AddMyItem(730, 2, 2611100148); if (offer.Items.NewVersion) { string newOfferId; if (offer.SendWithToken(out newOfferId, dbToken,…
Robis
  • 5
  • 1
  • 7
0
votes
1 answer

Sending post request with steambot

so i´m working on a program that sends a post request to a steamgroup, so that a announcement is created, but sadly it isn´t working well, i captured the "parameters" that are required with TamperData, and more or less tried to replicate it in…
Z8pn
  • 40
  • 4
0
votes
0 answers

CS:GO Trading bot error message: Value cannot be null at System.Linq.Enumerable.ToList[TSource]

I'm working on a steambot for cs:go items. It is a modded version of JesseCar96's steambot for TF2. The Items are stored in a class called schema. Within that there is an item array. Right now I am using this code to get the items in the trade: …
ETurns
  • 73
  • 1
  • 12
0
votes
1 answer

How to count multiple items in SteamBot

In Jassecar's SteamBot, is there a way to count items of different defindexes and add them up? I tried this: switch(message.ToLower()) { case "ticket": foreach (ulong id in Trade.OtherOfferedItems) { int totalScrap =…
rakagunarto
  • 325
  • 3
  • 23
0
votes
1 answer

Adding saving and loading prices(values) from .JSON file using Newtonsoft.Json

I'm currently editing and setting up SteamBot to my own use. Here is source code for it: https://github.com/Jessecar96/SteamBot I already made my own UserHandle for it but I want it to load (and save) items prices from settings_prices.json file…
TheRadziu
  • 3
  • 3