Automatically detects missing cards from a card set, help you auto fill in info New Trading Thread input area
目前為
This was a small script I had made for myself to easily make new trade threads, or to compare which cards I own and which I don't with the others existing threads. I've just edited it a little bit and decided to make it public. It is convenient and saves me a lot of time, so I think I may be useful for someone else too.
Why did I make it? The original idea was to list all the cards I've owned have yet to own to complete a full set. Because when I navigate to the Trading Forum, I can't seems to remember which cards I'm looking for and which are the duplicated ones that I can trade them off. Having to switching between tabs is so inconvenient and tedious, so I made this script to list the Name and the #Number of the card in the Series to the input field of the New Trade Thread. Then I extended it a little bit to make the creating of new Trading Thread easier and also plus some small features.
Summer sale is coming near, I hope this will be useful for you to complete your remainding sets.
tradeTag - This is the name of the cards which will appear in the title of your trading thread
1 - #Number of Set, for example: 2 of 5, Series 1, then it will be 2 in the title
2 - Show the card's name in title
tradeMode - This sets how your Card-List will be created
0 - List both Owned and Unonwed Cards
1 - Only List Owned Cards
2 - Only List Unowned Cards
badgeMode - This sets the way the script checks if your card set is full or not. Note that if you set custom value for badgeNumSet, your config in here will be ignored, it's always 2 in that case.
0 - Don't check for number of cards to full set, this is more like a cards lister mode
1 - Only check for game set that you have enough cards to make it full, this means if you navigate to the badge page of a game that you don't have enough cards to have a full set. The script will stop running as soon as it's done checking.
2 - Complete your remaining set. Unlike 1, the script will continue to run, then it lists the missing cards to complete that badge, but only if you have at least one card in the incomplete set. For example, if you have 2 of 5 in the set, the script will then list the rest of the series to you Want-List.
badgeNumSet - Set a reaching target for the number of full sets
0 - None
Integers > 0 - Set a target number for Card Sets - This will also set badgeMode = 2
customBody, customTitle - Set the text which will appear after the tite and content of your Trading Thread. Default values are "\n[1:1] Trading" and " [1:1]", you can always empty them by setting the value to "". Site note: to make a linebreak here you have to use \n like the one in the default value.
Yeah, I know, I'm not working in the IT field. I just know a little bit about Javascript (mostly self-learning) and that's all. I know there are probably better ways to do this stuff but it seems to work ok for me so I wanna share. I'd be happy if you can help me improve it. :)
I'm not sure, you can tell if the script is running by opening the browser console.
Open the script editor, uncomment those lines with console.log inside (Basically remove the // from //console.log). Go to the Game Card Page then grab some logs, then fire a new issue with those logs inside for me. I will see what I can do.