[UserScript] SteamGifts Trades - Have List Filter

ALTERNATE VERSION

This uses barter.vg instead: https://greasyfork.org/en/scripts/382106-steamtrades-have-list-filter-barter-vg

INTRODUCTION

I got fed up with Compare2Steam's shitty performance (especially for those with larger libraries) and after I went through their code and saw how absolutely horrible it was, I decided to make something similar it myself, but better. My main focus is speed, performance, accuracy and being userfriendly. I went for an userscript, because it can provide these things. The initial code was actually rather easy to write. It will only improve from here, with more accuracy, features and special cases. See it in action here.

FEATURES

  • Checks the Have-list in trade topics for owned steam games
  • Checks the Have-list in trade topics for wishlisted steam games
  • Clever game detecting algorithm
  • Ignores everything between brackets and text after "="
  • Display descriptive icons in front of each (un)owned game in the Have-list
  • Add steam store or steamdb search link after each unowned or unknown game in the Have-list
  • Add steam store or steamdb link to game after each owned or wishlisted game in the Have-list
  • Ability to copy unowned/unknown games to clipboard

DOWNLOAD

INSTRUCTIONS

  1. Download and install Tampermonkey for your browser
  2. Download the userscript above
  3. (Optional) Configure your preferred settings in the code
  4. Hit install when asked
  5. Visit any trade topic and click on the "(Filter)" next to "I have..."
  6. Allow cross-domain access when asked
  7. Enjoy!

FAQ

How can it be so fast?
I am actually ignoring Steam AppID's altogether and only check with game names.
Yes, that may cause some inaccuracy, but I don't think that much.

Why doesn't it work for me?
I don't know. Be sure to contact me and provide me the log/error from the JavaScript console, if there is any.

Can I suggest a feature?
Yes, absolutely!

CHANGELOG

Version 1.4

  • Now gets owned games from enhanced steam's api, instead of the broken xml method
  • Now adds links to steam store or steamdb of owned/wishlisted games
  • Now freezes page much less than before

Version 1.1

  • Added support for wishlist
  • Now ignores everything after "="
  • Now also ignores everything between [ and ]

Version 1.0

  • Many improvements to the code
  • Made it compatible with the new SteamTrades
  • Added an option to search in SteamDB instead of Steam Store
  • Finally fixed everything turning lowercase
  • Renamed it slightly (SteamGifts Trades --> SteamTrades)
  • Other changes I don't remember

Version 0.3

  • Now remembers owned steam games and only checks again per set interval
  • Filtering now requires user action first

Version 0.1

  • initial release

CREDITS

View attached image.
8 years ago*

Comment has been collapsed.

Whitelisted, dude

View attached image.
7 years ago
Permalink

Comment has been collapsed.

Thanks man! I still have too much blacklists :(

7 years ago
Permalink

Comment has been collapsed.

It's only showing the cross sign, like if I don't own any game lol. Even to games that I do own.

7 years ago
Permalink

Comment has been collapsed.

Something must've gotten wrong while getting your games.

7 years ago
Permalink

Comment has been collapsed.

Hmm... I am having the same problem

7 years ago
Permalink

Comment has been collapsed.

I just installed an tested on your list. Works for me.

7 years ago
Permalink

Comment has been collapsed.

Must have been something temporary then.

7 years ago
Permalink

Comment has been collapsed.

I tried copying not owned game. It says successfuly copied unknow have-list to clipboard. But when I try to paste it the list aint copied :) Is it broken?

7 years ago
Permalink

Comment has been collapsed.

Version 1.4

  • Now gets owned games from enhanced steam's api, instead of the broken xml method
  • Now adds links to steam store or steamdb of owned/wishlisted games
  • Now freezes page much less than before
7 years ago
Permalink

Comment has been collapsed.

Hi, any update about not being able to copy? I updated to 1.4 and it says copy to clipboard but when I try to paste it hasnt copied anything.

7 years ago
Permalink

Comment has been collapsed.

Just tested. It is working just fine for me. Either way, I didn't touch the copy function with this update.

7 years ago
Permalink

Comment has been collapsed.

Version 1.4

  • Now gets owned games from enhanced steam's api, instead of the broken xml method
  • Now adds links to steam store or steamdb of owned/wishlisted games
  • Now freezes page much less than before
7 years ago
Permalink

Comment has been collapsed.

Congrats its amazing tool! thanks a lot!

7 years ago
Permalink

Comment has been collapsed.

Cheers! :)

7 years ago
Permalink

Comment has been collapsed.

Would it be possible to make it work when people have * or italicized text?

7 years ago
Permalink

Comment has been collapsed.

How often does it sync with your wishlist and library? Or do I have to do is manually somehow?

7 years ago
Permalink

Comment has been collapsed.

In the code, change this:

//Set your steam sync interval in hours. (Set to 0 if you want to force a sync)
var sync_interval = 6;

7 years ago
Permalink

Comment has been collapsed.

Thanks, I didn't realize that scripts could be edited like that, but I figured out how to. I also switched to steamdb which is nice.

Your UserScript has been really helpful since I started using it a few days ago.

7 years ago
Permalink

Comment has been collapsed.

I've been noticing a lot of threads with weird formatting which ends up breaking the script. Do you want me to share some so you can try to make it work with those, or is it just impossible?
1
2
3
4

And whenever there's a line starting with one of these, it recognizes it as a wishlisted item:


[
(
7 years ago*
Permalink

Comment has been collapsed.

I don't know if it's possible since I haven't found it elsewhere, but I think it would be neat if it could show what games are marked as "Not Interested" on Steam.
I'm always going through long list with lots of games I don't own but I'd have to click them all to see if I marked them.

7 years ago
Permalink

Comment has been collapsed.

7 years ago
Permalink

Comment has been collapsed.

No, it unfortunately won't as not everyone on SteamTrades puts links in their Have-list

7 years ago*
Permalink

Comment has been collapsed.

Yes, but now if you check the have list, it will add steam links!

7 years ago
Permalink

Comment has been collapsed.

I updated the script. Set "goc" to true.

7 years ago
Permalink

Comment has been collapsed.

I've tried only Have List Filter Userscript and saw something that didn't happen earlier for me, see pic 1.
And to clarify what I meant, if I only have the other userscript on, I see what's in 2nd pic. It won't do anything for me unless people put links in the Havelist
Having both on and goc set to true, I see what's in pic 3 after clicking on Filter (before clicking on it, it doesn't show anything)

View attached image.
View attached image.
View attached image.
7 years ago
Permalink

Comment has been collapsed.

I had already found this userscript, but as mentioned in my other comment it doesn't work on all lists, hence my question

7 years ago
Permalink

Comment has been collapsed.

I'm having a little issue.
I do edit the steamdb part to true

var steamdb_instead = ture;

And update intervals to 0
Yet I get results from steam search

7 years ago
Permalink

Comment has been collapsed.

ture should be true

7 years ago
Permalink

Comment has been collapsed.

I feel like i insulted my self.

But still.

//If you want to set your/another SteamID64 manually, state it here between brackets. (For example, to check owned games from someone else)
var manual_steamID = "101lols";

//Set your steam sync interval in hours. (Set to 0 if you want to force a sync)
var sync_interval = 0;

//Set links of game to SteamDB instead of the Steam Store? (SteamDB finds removed games from the steam store and gives better results overall)
var steamdb_instead = true;

//Use steam game owned checker too?
var goc = false;

Still, steam search.

7 years ago*
Permalink

Comment has been collapsed.

Pretty neat works, thanks for this. Would there be an option to have manually insertable games option for the "I want..." so that I wouldn't have to manually check up on if something I have would be needed?

7 years ago
Permalink

Comment has been collapsed.

7 years ago
Permalink

Comment has been collapsed.

bumped.

7 years ago
Permalink

Comment has been collapsed.

Hello, very nice and thank u.
But why not work for me this green icon? http://prntscr.com/ha8ijn

7 years ago
Permalink

Comment has been collapsed.

It doesn't seem to like links very much. For that I recommend to use Steam Web Integration anyway.

7 years ago
Permalink

Comment has been collapsed.

I want to know if we can edit the script to put a list of games that we want, and will check the games that we want on the [H] list of the trader... It's like the oposite, only checking the games that we Want... And can edit the want games anytime (In casa that we get the game)

7 years ago
Permalink

Comment has been collapsed.

Yeah, the same way the "want" sees if we have, could also identify wishlisted.

6 years ago*
Permalink

Comment has been collapsed.

^ Sounds like a great idea. Also thanks Royalgamer for making this - it's so useful!

6 years ago
Permalink

Comment has been collapsed.

Awesome, thank you very much.

6 years ago
Permalink

Comment has been collapsed.

Hi, Royalgamer, the script isn't working anymore, it's just spinning indefinitely when I click Filter, even with small lists.

6 years ago
Permalink

Comment has been collapsed.

Yeah, the script is broken ever since new changes were introduced to the Steam wishlist.

6 years ago
Permalink

Comment has been collapsed.

Update, I fixed it.

6 years ago
Permalink

Comment has been collapsed.

is it necessary that this goes through your personal website now?

6 years ago
Permalink

Comment has been collapsed.

Yes, I made an API that can get your wishlist data. You can't do it anymore as you used to.
Example

6 years ago
Permalink

Comment has been collapsed.

That's not really true, you can still get the data from the source code of the http://store.steampowered.com/wishlist/profiles/76561198042965266 page. You just have to use RegExp and get the array g_rgWishlistData. It contains the app ids of all the games. If you need more info about the games, though, instead of just their app ids, you can use http://store.steampowered.com/wishlist/profiles/76561198042965266/wishlistdata?p=0 and keep requesting (increasing the p value) until the array is empty.

6 years ago
Permalink

Comment has been collapsed.

Lol, that's exactly what my PHP page is doing.

6 years ago
Permalink

Comment has been collapsed.

That's why I said that it is actually not necessary for it to go through your site, answering KillingArts' question. It can be done from the script itself.

6 years ago
Permalink

Comment has been collapsed.

That's exactly what i need, Thanks alot dude
PS: Can you reply on my comment so this topic can be tagged (if u know what i mean)

6 years ago*
Permalink

Comment has been collapsed.

Dunno what u mean, but thanks!

6 years ago
Permalink

Comment has been collapsed.

Thank you very much for this great script! I've been using it for a week now and it works flawlessy on standart formatted list (people format their list on a very weird way sometimes, on these the script doesn't work but that is understandable lmao)

Besides on thanking you, I would like to ask about an issue I encountered many times. When the games list is pretty long, the scrip starts to decrease the speed it read the game's name. Sometimes on these cases the tab that have the script working completely freeze and I need to reload that tab to look at it again.

Is that because my computer or very long lists stress the script?

Anyways, thanks again for the script, it's pretty useful!

6 years ago
Permalink

Comment has been collapsed.

yes, longer lists means more to calculate.

6 years ago
Permalink

Comment has been collapsed.

so I need to update my 15 years old rig lmao
Thank you again man, really :D

6 years ago
Permalink

Comment has been collapsed.

I dunno if it's an issue here only, but since today, it has only started loading and will never finish

6 years ago
Permalink

Comment has been collapsed.

Blame Valve. Set your new library privacy settings to public.

6 years ago
Permalink

Comment has been collapsed.

Sorry for asking, but where's that exactly?

6 years ago
Permalink

Comment has been collapsed.

In case you still don't know since I've encountered the same problem just recently:

"Inventory" > "More" > "Inventory Privacy Settings" > "Game Details" > Set to "Public"

6 years ago
Permalink

Comment has been collapsed.

Why games like NARUTO SHIPPUDEN: Ultimate Ninja STORM 3 Full Burst doesn't show as my wishlist?

6 years ago
Permalink

Comment has been collapsed.

Nice work.

6 years ago
Permalink

Comment has been collapsed.

Bedankt

6 years ago
Permalink

Comment has been collapsed.

Can you also make this filter to show lowest price on G2A, like:
The Escapists 2 G2A 5.29€

6 years ago
Permalink

Comment has been collapsed.

No, sorry.

6 years ago
Permalink

Comment has been collapsed.

Sign in through Steam to add a comment.