Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Forum Conventions
2
The Trader's Clerk / Re: Lestrade's 101 (WIP)
« on March 26th, 2017, 06:14 PM »
Not possible to add tags right now IIRC, but you can search the forum at https://lestrades.com/search. I'll add that to the FAQs.
3
The Trader's Clerk / Re: Barter Offer Archive
« on March 26th, 2017, 05:54 PM »
Uploading the new database right now. If you're scraping my site, please don't, I'd be more than happy to provide you with the databases.
4
The Trader's Clerk / Re: Barter Offer Archive
« on March 26th, 2017, 03:18 PM »
Scrape is done. Somehow lost offers, -5854. Will compile and have up by end of day
5
The Trader's Clerk / Re: Lestrade's 101 (WIP)
« on March 26th, 2017, 07:58 AM »
Not currently, no
6
The Trader's Clerk / Re: Lestrade's 101 (WIP)
« on March 26th, 2017, 04:54 AM »
Added both of your suggestions.
7
The Noble Talk / Trade discussion userscript!
« on March 26th, 2017, 04:46 AM »
In short, this is pretty much a userscript that sends formatted PMs to users from the offer page. Here's the code!

Code: [Select]
// ==UserScript==
// @name         Discuss Offers
// @namespace    https://alexandra.moe/
// @version      1.0
// @description  Discuss offers with other Lestrade's users using a template. Intended to be used until the comments system is implemented.
// @author       Alexandra antigravities
// @match        https://lestrades.com/offer/*
// @grant        unsafeWindow
// ==/UserScript==

(function() {
    'use strict';
    var templates = {};
   
    // CHANGE TEMPLATES HERE
    templates.Declined = "Hi! I declined your [url={{offer-url}}]offer[/url] because:\n\n{{reason}}\n\nThanks for the offer anyway! Feel free to send me another!\n\n-Alex";
    templates.Accepted = "Hi, I just wanted to discuss something with you about this [url={{offer-url}}]offer[/url]:\n\n{{reason}}\n\nThanks!\n-Alex"
    templates.Unread = templates.Accepted;
    templates.Completed = templates.Completed;
    templates.Canceled = templates.Accepted;
    templates.Pending = templates.Pending;

    var window = unsafeWindow;
    var st = document.getElementsByTagName("h2")[0];
    var oto;
    if( document.getElementsByTagName("strong")[0].children[0].href.toString() == document.getElementById("userbox").children[0].href.toString() ) oto = document.getElementsByTagName("strong")[1].children[0].getAttribute("data-id");
    else oto = document.getElementsByTagName("strong")[0].children[0].getAttribute("data-id");
    var tmpl = templates[st.innerText.split("current status: ")[1]];
    st.innerHTML += "<br><br><input type='text' id='reason'></input><form action='/pm/?sa=send2' method='post'><input type='hidden' name='" + window.we_sessvar + "' value='" + window.we_sessid + "'></input><input type='hidden' name='subject' value='Re: your offer #" + window.location.toString().split("/")[4] + "'></input><input type='hidden' name='recipient_to[]' value='" + oto + "'></input><input type='hidden' id='m_message' name='message' value=\"" +
    tmpl.replace("{{offer-url}}", window.location.toString()) + "\"/><input type='submit' value='Discuss this offer' onclick=\"document.getElementById('m_message').value=document.getElementById('m_message').value.replace('{{reason}}', document.getElementById('reason').value);\"></input></form>";
})();

You can and should change the templates under the "CHANGE TEMPLATES HERE" comment. Mainly wrote this for myself but figured I'd release it in case it helps anyone else out. Have fun, and happy trading!
8
The Noble Talk / Re: 'The Trade is on!'
« on March 25th, 2017, 09:30 PM »
Quote from devotee on March 25th, 2017, 08:47 PM
From what I've seen, if you leave the offer page while you're creating it would be the same as "cancelling" it. However, I think that it would be nice to have something more visual (like a cancel button which does nothing more than getting you out of the editing page -thus "cancelling" the creation of the offer-) otherwise, I understand why people could feel they just reached an "impasse".
I think what Nao said is that the offer isn't created until you hit , so there's nothing really to cancel there.
9
The Noble Talk / Re: What's up at Lestrade's?
« on March 25th, 2017, 06:36 PM »
Quote from Zyon on March 25th, 2017, 06:31 PM
Sync with barter doesnt work / dont do anything. no button to see anywhere to add different games my a game list. pretty useless
https://lestrades.com/trading/29/lestrade-s-101-wip/
10
The Trader's Clerk / Re: Barter Offer Archive
« on March 25th, 2017, 04:42 PM »
Starting another scrape today which should be done by tomorrow morning ET.
11
The Noble Talk / Re: 'The Trade is on!'
« on March 25th, 2017, 04:19 PM »
Now it's pinned.
12
Once this is implemented to some extent, I'll be able to set up Sasara for offer notifications.
13
The Trader's Clerk / Re: Lestrade's 101 (WIP)
« on March 24th, 2017, 06:11 PM »
I've updated my guide with instructions on how to add items to item lists. Can you please put this thread somewhere prominent? "How do I add items to my tradables/wishlist" has been asked about 3 times.
14
The Noble Talk / Re: 'The Trade is on!'
« on March 24th, 2017, 09:31 AM »
Item page -> add to wish list/tradable
15
Quote from Nao
I've also disabled Steam library syncing for now, it'll be back soon.
Post