Selling, and taking items from trading post menu

User Tag List

Page 5 of 5 FirstFirst 12345
Results 61 to 68 of 68
  1. #61
    cr0c's Avatar Member
    Reputation
    1
    Join Date
    Mar 2014
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I tried to send you a private message but your box is full.

    For now I can tell you that I can connect to cligate.101.ncplatform.net:6112 then sending the appropriates STS queries to authenticate then.

    The point is, when I try to get the list of buys'n'sells from Mithril Ore, I get this answer:

    <Error code="49" server="59" text="Access denied"/>

    Selling, and taking items from trading post
  2. #62
    Globeul's Avatar Member
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think there is no point getting list of item or so, everything can be done easily with the GW2 API.

    The only problem for me right now is to add an order on a certain data_id.
    ANy idea of it ?

  3. #63
    cr0c's Avatar Member
    Reputation
    1
    Join Date
    Mar 2014
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think there is no point getting list of item or so, everything can be done easily with the GW2 API.
    Actually there is. The GW2 API is refreshed every minutes. In game, it is refreshed on request.

    The only problem for me right now is to add an order on a certain data_id.
    What do you mean by "an order on a certain data_id"?

  4. #64
    Globeul's Avatar Member
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by cr0c View Post
    Actually there is. The GW2 API is refreshed every minutes. In game, it is refreshed on request.
    Didnt know about it, thx for the info



    Originally Posted by cr0c View Post
    What do you mean by "an order on a certain data_id"?
    I mean placer an order on a certain item.
    Before, it was possible to do it like that :

    To place an order on an item, you need :

    - Data Id (mithril ore = 19700)
    - Unit Price (price to put the order)
    - Quantity (the quantity you want to order)
    Your cookie (session ID linked to your gw2account)

    And i'm looking atm for the code to place an order, right now i have no clue how to get this ^^'

    For exemple, this was my c# code for order item (on the old TP)

    Code:
    static void OrderItem(string ItemId, int Quantity, string Price)
            {
                using (WebClient client = new WebClient())
                {
                    try
                    {
                        HttpWebRequest request = (HttpWebRequest)WebRequest.Create("https://tradingpost-fra-live.ncplatform.net/ws/item/" + ItemId + "/buy");
                        request.Accept = "*/*";
                        request.Headers.Add("Accept-Charset", "iso-8859-1,*,utf-8");
                        request.Headers.Add("Accept-Encoding", "gzip;q=0");
                        request.Headers.Add("Accept-Language", "en");
                        request.UserAgent = "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.19 (KHTML, like Gecko) Chrome/18.0.1003.1 Safari/535.19 Awesomium/1.7.1";
                        request.Headers.Add("Cookie", "s=" + sCookie);
                        string postData = "count=" + Quantity + "&price=" + Price + "&charid="; //+ "";
                        ASCIIEncoding encoding = new ASCIIEncoding();
                        byte[] byte1 = encoding.GetBytes(postData);
                        request.ContentLength = byte1.Length;
                        request.ContentType = "application/x-www-form-urlencoded; charset=UTF-8";
                        request.Headers.Add("Origin", "https://tradingpost-fra-live.ncplatform.net");
                        request.Referer = "https://tradingpost-fra-live.ncplatform.net/item/" + ItemId;
                        request.Headers.Add("X-Requested-With", "XMLHttpRequest");
                        request.KeepAlive = true;
                        request.Host = "tradingpost-fra-live.ncplatform.net";
                        request.Method = "POST";
    
                        Stream newStream = request.GetRequestStream();
                        newStream.Write(byte1, 0, byte1.Length);
                        newStream.Close();
                        WebResponse response = request.GetResponse();
                        Stream dataStream2 = response.GetResponseStream();
                        StreamReader reader = new StreamReader(dataStream2);
                        string responseFromServer = reader.ReadToEnd();
                        reader.Close();
                        dataStream2.Close();
                        response.Close();
                    }
                    catch (Exception e)
                    {
                        Console.WriteLine("OrderItem " + e);
                    }
                }

  5. #65
    cr0c's Avatar Member
    Reputation
    1
    Join Date
    Mar 2014
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yes.

    And now you have to do it through an STS request.

    But first I think that you need yo authenticate to Auth2.101.ArenaNetworks.com:6112. It is a binary protocol that I'm trying to reverse. In vain.

  6. #66
    Globeul's Avatar Member
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally Posted by cr0c View Post
    Yes.

    And now you have to do it through an STS request.

    But first I think that you need yo authenticate to Auth2.101.ArenaNetworks.com:6112. It is a binary protocol that I'm trying to reverse. In vain.
    Hum,

    what about if you use your cookie ?
    Still work with it i think

  7. #67
    cr0c's Avatar Member
    Reputation
    1
    Join Date
    Mar 2014
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Not sure at all.

    Give it a try then.

  8. #68
    Globeul's Avatar Member
    Reputation
    1
    Join Date
    Oct 2012
    Posts
    12
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hey mate.
    Any update on this ?

    I'm trying to build my own STS request in c#, but kinda hard ...

Page 5 of 5 FirstFirst 12345

Similar Threads

  1. [Gold] Old place to Farm some gold, and some items ( from junk to epic ).
    By markons in forum World of Warcraft Guides
    Replies: 49
    Last Post: 02-17-2013, 07:58 PM
  2. Replies: 2
    Last Post: 09-25-2012, 02:37 AM
  3. [Selling] ANY ITEMS FROM TRaDING POST!
    By bigray in forum GW2 Buy Sell Trade
    Replies: 7
    Last Post: 09-17-2012, 08:23 AM
  4. Gold missing from Trade post
    By somaliasky in forum Guild Wars 2
    Replies: 3
    Last Post: 09-06-2012, 08:53 AM
  5. Few Problems and missing items from server.
    By tarleton in forum WoW EMU Questions & Requests
    Replies: 1
    Last Post: 08-26-2008, 07:21 AM
All times are GMT -5. The time now is 09:30 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2024 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search