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 - [] Nao 尚
The Noble Talk / Re: What's up at Lestrade's?
« on January 10th, 10:39 PM »
There are urls I believe you can simply call to get the info you need, no need to get an API key etc, but I'd need to look into that.

As for showing a custom user name instead of a steam id, that's because Lestrade's uses the wedge codebase and, even though I wrote that as well, it'd take a long time to rewrite that and there's no real reason for me to do it, since it's also convenient to allow users to change their user name here.
The Noble Talk / Re: What's up at Lestrade's?
« on January 3rd, 01:03 PM »
I see what you mean, now. For some reason, I thought the LT user name was taken from the Steam user name. It is not.
Thing is, Lestrade's doesn't store Steam user names at all, it gets the Steam ID through the API, and then stores that.
When logging in, one of the response elements has the proper ID in it. That's what I store, and then I move onto other things.
I'm sorry that I can't help in this regard.
I could, ideally, add some code to turn a Steam user name into a Steam ID on the fly, by doing a request internally, but it'd imply doing some exchanges between LT and the Steam server, and as you know, there's a limit to how much I can do per day, so if someone decided to write a quick script to request a Steam ID from a random, non-existent Steam user name, they might be able to get Steam to softban Lestrade's for a while, and make it work less reliably.
What I'd suggest is to look into your own side, see if there's a way to get an ID from a user name, perhaps with some quick Ajax code. I could even help you with that, if you're not sure how to do it.
The Noble Talk / Re: What's up at Lestrade's?
« on January 1st, 12:39 PM »
I don't get it... You can provide a custom name in the @ url format, or a steam ID if there's no custom name... The /profiles/ shortcut is only there if you reliably have a steam ID, and want to make sure you're redirected to the proper user profile.

Happy new year everyone, by the way..!
The Noble Talk / Re: What's up at Lestrade's?
« on December 28th, 2020, 10:34 PM »
I've had a quick look at the URL system.
Apparently, the code does check for a Steam ID when the URL is in the format /profiles/123456
I didn't know what to change to make sure it was... I'm pretty sure nothing was needed, but you can also use the format /profils/steamid123456 and then you can be sure it won't be mixed up with something else.

Anyway, TL;DR: I'd already implemented Steam ID redirection years ago, simply forgot about it, and it's /profiles/(steam ID)
The Noble Talk / Re: What's up at Lestrade's?
« on December 16th, 2020, 11:57 AM »
Nope... :-/
The Noble Talk / Re: What's up at Lestrade's?
« on October 15th, 2020, 10:35 PM »
I haven't started work on it yet...
Other things on my mind, these days...
The Noble Talk / Re: What's up at Lestrade's?
« on October 6th, 2020, 11:45 PM »
I don't remember how I'm handling those things internally.. I could, however, add a hidden URL option to redirect to a profile based on its Steam ID. I probably store them, even if I have access to the Steam custom URL...
The Noble Talk / Re: What's up at Lestrade's?
« on September 16th, 2020, 11:43 PM »
I've merged 'Twitch Prime' and 'Amazon Prime' items together. Should work better now. I've refactored many things internally to elevate Prime to 'real' store level, as opposed to occasional stores (console stuff, etc.), if anything because ITAD bundles often include those games. This should also automate importing Prime games into the bundle database, although it'll only work if BVG already has the game in its database _and_ it's associated with the equivalent Steam game, which unfortunately rarely happens. (I'm considering automating adding Steam associations when importing BVG games categorized as Prime or Epic, although it'd open the way for many false positives.)

Also, I've done the same with Epic games, although the store itself was already elevated to the highest level.
Now I know this doesn't matter much, as neither Prime nor Epic games are tradable per se, AFAIK, but I like having a clean database, and if I were to stop fixing bundles manually, I'd like for them to be as automated as can be. (Or maybe I'm just bored having to fix them all..)
The Noble Talk / Re: What's up at Lestrade's?
« on August 28th, 2020, 11:07 AM »
Note: despite my lack of posting new updates on this thread, I'm still active on maintaining the website.
Mostly by fixing bundles as imported from ITAD (not doing a perfect job at it, but it still requires a lot of attention), also adding minor improvements or fixes.
I don't think my daily updates were followed by many people as I tended to talk a lot, so now I'm pretty much doing the opposite, ahah.
Anyway, hope you guys & gals had a nice vacation, personally I stayed home, stayed safe, and worked on this and other things.
The Noble Talk / Re: What's up at Lestrade's?
« on July 9th, 2020, 02:08 AM »
Thanks :) yes I worked on it for months and have been maintaining and improving it for years.
It's not a very popular trading site (which in turns means I didn't spend most of my resources on improving the trading system beyond the Ajax features), but I really enjoy using it as a library management tool.

Btw guys I'm thinking of removing restrictions on adding items to your library. There are so many situations where you Wouldn't want to rely on the Pending tag to be able to manually add or remove games ..
The Noble Talk / Re: What's up at Lestrade's?
« on June 20th, 2020, 03:34 PM »
As you may have noticed, I recently started overhauling the bundle page to separate giveaways from bundles.
The reason was two-fold:
1/ It was getting a bit crowded, especially with the many permanent giveaways that I didn't have the heart to remove,
2/ I wanted to make it easier for 'f2p' users to quickly access the latest giveaways.

First, I moved giveaways to the top of the page, and proceeded to hide 'older' giveaways, as well as giveaways that are already in your library (main reason being: why add clutter for something you already have, and which you're unlikely to be able to retrade anyway, since pretty much all giveaways except for Humble Bundle's don't come in the form of a redeemable key?)
Of course, you can show all giveaways, including those owned, by clicking the corresponding checkbox.
Then, I listed games individually, rather than giveaways entries (which were, internally, considered as bundles). This is because most giveaways only have one title in them. For actual giveaway bundles, I'm still listing entries individually, but they're now spaced in a way that indicates they're bundled together. (That's mostly for monthly Twitch Prime entries, really.)

Finally, today I restored store icons, and I added a link to the corresponding Steam game if it's listed in the database. For instance, if Epic releases a free game that was in your Steam wishlist, this will allow you to see that it's wishlisted, even if you didn't wishlist the Epic version.

I hope this helps as many people as possible. I find it helpful to myself, which is why I did it all anyway. I'm a selfish bastard! :eheh:
The Fatal Problem / Re: Issue(s)
« on June 18th, 2020, 12:01 AM »
I tried using false earlier, but it failed to work as well. (I also tried variations involving VERIFYHOST and FORBID_REUSE.)
Maybe now it'd work because you renewed the certificate, but I'm not sure I'll take any chances. ;)
The Fatal Problem / Re: Issue(s)
« on June 17th, 2020, 06:55 PM »
Well, I don't know, it's not working for me when disabling secure flags. Also, your flag format is for a command line call, I'm using PHP functions for that. ;)
The Fatal Problem / Re: Issue(s)
« on June 17th, 2020, 12:26 AM »
I'm all for a server update. Feel free.
Maybe it'll finally fix all the SSL problems. As I mentioned earlier, even cURL no longer works in the current setup when SSL is explicitly enabled. I've had to rely on file_get_contents instead, Which is less secure. (Although in my case, I'm only retrieving public data and not disclosing any sensitive information during the handshake, so it's not a problem per se, just something I'd rather not do as a proper web developer.)
The Fatal Problem / Re: Issue(s)
« on June 16th, 2020, 04:12 PM »
And here we are again, the SSL certificates expired... I'm really sick of it.
I'll probably move to a new server soon. I'll have to see. Meh. This isn't what I need right now, the extra workload...