[Lestrades.com] Nao 尚

  • I'm Share-Locked
  • Administrator
  • Posts: 1,396
  • Trades: 222
Re: What's up at Lestrade's?
« Reply #495, on August 30th, 2017, 01:48 PM »
FIX: Game pages should now be more consistent in layout (list of bundles wasn't using the proper section background.)
I'm aware this makes game backgrounds even harder to view, but I never actually got any feedback regarding the fact that I was now including game backgrounds, so I might as well remove them entirely. I don't know. If you want, I can also remove all section backgrounds, or whatever. :P Just comment. I don't enjoy talking to my hand that much.

Akylen

  • Full Member
  • Posts: 218
  • Trades: 61
Re: What's up at Lestrade's?
« Reply #496, on August 30th, 2017, 11:07 PM »
Quote from Lestrade 尚 on August 30th, 2017, 01:46 PM
NEW: the previously useless 'Completed trades' statistic on game pages, which was only put in there because, well, it was at BVG and I was just getting started, will now list all of these completed offers, along with their completion date. This is more interesting, it allows you to determine a game's trading popularity over time, as well as what kind of value it's usually traded against. (I would have given more statistics on this, but because a game can be in a multi-game offer, it's just not possible to properly determine a value like that.)
Sorry, but I am not actually sure where this feature appears on the website. You mean the offer history in the game page? Statistics is a very nice feature to have. Specially if we can deduct popular games and traders. So far I can only see forum statistics  :hmm:

[Lestrades.com] Nao 尚

  • I'm Share-Locked
  • Administrator
  • Posts: 1,396
  • Trades: 222
Re: What's up at Lestrade's?
« Reply #497, on August 31st, 2017, 08:17 AM »
That's below the offer history (with you). If it doesn't show up, it's simply that no one has traded that particularly game at LT's, I guess. (Barter stats don't show up, obviously. If you want stats for Barter, ask Barter to do that, not me. :P)
As for general stats, there's actually a strong lack of interest in those, so I kept general trading statistics to myself (because then I don't have to format it in a generally readable way :P)

MOST UNIQUE TRADES
Lestrade 尚 55
StormSonic (inactive) 33
Pika! Pika! 29
Lex 25
joaoarena 21
mac420 (inactive) 20
meix 19
canislupus_an 19
PhantomTa2 17
devotee 12
cam 12
chaosfrost 12

PS: I was behind StormSonic for a long time... Dunno why he slowed down.
Re: What's up at Lestrade's?
« Reply #498, on August 31st, 2017, 07:02 PM »
NEW: new tag, wishlist-only 'filler', which is for wishlist fillers; this is something I do all the time, basically stuff I apply a 'low tier' tag on: games that I don't really intend to ever play, but they're 'in my radar' and I wouldn't mind the +1. So if I find a 1:1 trade where I feel like I'm giving away the better value, I can add a wishlist filler to build a more balanced 1:2.

I don't know if you get my point. Again, that's a lot of tags now (even though they're categorized, thankfully), but I wanted to give more freedom to everyone to express themselves... I feel that this gives a better chance to complete a trade.
Re: What's up at Lestrade's?
« Reply #499, on September 4th, 2017, 06:21 PM »
FIX: Half a dozen past bundles were missing (Talisman Bundle from HB and Mega Pick & Mix 3 from BundleStars recently); the reason seems to be that for a reason unknown, some bundle IDs may be added *before* the last one added. Lestrade's was never checking for existing bundles with an older ID than the last one scraped. It now will, and thus will be able to 'catch' those weird ones.
Also, made the bundle scraping process much faster while I was at it. It won't change anything for you, but for the server I guess it can. :P
Re: What's up at Lestrade's?
« Reply #500, on September 4th, 2017, 09:49 PM »
NEW: on homepage, latest commented bundles (now 10 instead of 5) will be shown in bold if a comment was posted in the last 48 hours. (Random number I chose.)

NEW: on homepage, added a 'latest copies put up for trade', with the latest tradables added, shown with their ratio color (to quickly find rare games that were added recently.) Note, I'm having a SQL bug that makes the query behave incorrectly if I try to group by game, so you may less get than 20 games listed if a game was added by multiple users recently.
Re: What's up at Lestrade's?
« Reply #501, on September 4th, 2017, 10:13 PM »
NEW: on game pages, the list of users who have a tradable or wishlisted copy now show the addition date in a tooltip. This is useful if for instance you're trying to find out who's added a copy recently, e.g. from a new bundle, and are therefore more likely to trade their copies for another bundle game. (Alternatively, you can simply look for site icons next to the user name, but traders don't always tag with a store or add an item from the bundle page, which adds the icon automatically.)
Re: What's up at Lestrade's?
« Reply #502, on September 4th, 2017, 10:53 PM »
Note: found a small bug in that some tradables were occasionally added with no owner (28 tradables and 8 wishlisted out of hundreds of thousands in the last 6 months, so that's fine with me). I added some debug code, so if someone around added a copy of Nekopara 0 today, please try to re-add it the same way so I can see if it's reproducible or not!
Re: What's up at Lestrade's?
« Reply #503, on September 7th, 2017, 11:21 PM »
Note: I'm currently working on tweaking the offer creation page to make it faster to edit with long tradables on both sides; I'm too tired to finish tonight though, so hopefully the proper system isn't broken. If you're sending an offer and it doesn't work for you, please send me a message on Steam chat if you're in my friend list, I'll get out of bed and cancel my changes. Otherwise, it should be invisible to you. Gosh that rewrite is so complex...
Re: What's up at Lestrade's?
« Reply #504, on September 8th, 2017, 10:45 PM »
Quote from Lestrade 尚 on September 7th, 2017, 11:21 PM
Note: I'm currently working on tweaking the offer creation page to make it faster to edit with long tradables on both sides; I'm too tired to finish tonight though, so hopefully the proper system isn't broken.
It isn't broken, and it works great actually.
I reworked it a bit today instead of making it public, because it had one drawback compared to the public version -- it doesn't remember selected items on page reload. So I decided to 'hack' the form data into the URL rather POST data, and thus it now properly remembers games upon reload, *and* as an added bonus, (1) it no longer asks you to confirm reloading the page (I hate that), (2) it should also save the content across browser sessions (in case you're building an offer, your PC crashes, and you don't remember what you'd selected before the crash.)

I don't think I'll be able to unveil the thing tonight, but it should be ready by tomorrow. Really excited. Just need to make sure I'm not breaking more stuff in the process of simplifying the final codebase for this... (Yes, it's a bit complex right now, not because of the changes, but because the code that calculates the desired quantities of tradables & wishlists needs to take that situation into account and I'm not sure it's working fine for situations where an item is blacklisted. So it's back to the drawing board for that, or maybe it'll work straight out of the box, I don't know... I'm too tired to tell right now.)
Re: What's up at Lestrade's?
« Reply #505, on September 9th, 2017, 12:30 PM »
NEW: Quick sort now allows you to sort by Wished, i.e. number of wishlists the item can be found in. It's usually similar to the Ratio of course, but there are situations where it can be helpful.
I was also asked for a sort by Tradables as well, but (1) the sort dropdown is starting to get really crowded, (2) I'm not exactly sure if it's got much of a point, (3) I wouldn't know how to call it...
Re: What's up at Lestrade's?
« Reply #506, on September 9th, 2017, 11:09 PM »
NEW: Offer creation is now Ajax-powered. Whenever you click the 'Preview offer' button, the page will refresh immediately, without having to load the list of potential tradables again. This was necessited by the fact that Lestrade's now shows you (at the end of the list) all items not in your library, rather than just those in your wishlist. Which, with some users like devotee, could literally take 30 seconds to load on a slow mobile browser. Now it's nearly instantaneous, making it easier to edit your offers. :)
Re: What's up at Lestrade's?
« Reply #507, on September 11th, 2017, 07:20 PM »
FIX: New offers (or edited offers) were always 1:1 regardless of what you set for them.

This means that if you sent a new offer in the last 44 hours, you'll need to check it and make sure it matches what you wanted to offer!

Sorry about that-- not that it matters, but the bug was due to the quantity variable being recalculated only when previewing an offer (due to a debug variable I removed too soon), thus implying it to be zero (which then becomes 1) at submission time.
Re: What's up at Lestrade's?
« Reply #508, on September 11th, 2017, 09:36 PM »
FIX: 2 glitches on the homepage: width of list of comments & new tradables was wrong on mobile devices, and the list of most requested games was screwed up if a game showed up in both the 'requested' and 'offered' rows (in this case, The Flame in the Flood.)
Re: What's up at Lestrade's?
« Reply #509, on September 11th, 2017, 11:15 PM »
NEW: On the homepage, the 'latest copies put up for trade' section now shows only unbundled games and games from expired bundles (making it easier to spot games you might want, if like me you have a tendency to buy most bundles that have a game you want.)
You can still include games in currently active bundles by clicking the checkbox in the title. Your preference will be remembered.

Also, I'm now caching the most requested/offered game data every hour. It's not that my queries were particularly slow, but they represented about 30% of the page load time, and for the homepage, I figured this was too much. (The reason they're slow is that these queries now have to calculate the number of different traders who offer those games.)