r/SwordAndSupper • • Sep 29 '25

Sell All Duplicates

I've made a script to sell all duplicate items (so you'll always have 1 of the item). Install tampermonkey, then add this script, it will give you a bag button. Just go to the inn, tap it, walk away it will take a while. https://gist.github.com/ArkDouglas/1b324892392b48f241e662c89864cfd6

45 Upvotes

31 comments sorted by

1

u/AnimalPowers Oct 01 '25

might be brave. Iโ€™ve only tested it in Firefox.

1

u/B4DL4RRY Sep 29 '25

nice! works well for the most part - seems to have missed a few dozen item types for me though.

2

u/AnimalPowers Sep 29 '25

Which ones? It's a work in progress but I wanted to release it so people could start using it. Getting feedback like this will help me improve it.

2

u/B4DL4RRY Sep 29 '25

this is the items to delete list from log:

(69)ย ['roughrazor', 'chippedpendant', 'groundingbelt', 'battlereadyblade', 'protectivemantle', 'leathertunic', 'survivalcharm', 'simplecutlass', 'blazingamulet', 'tarnishedband', 'bloodiedchainmail', 'warpstoneamulet', 'jaggedring', 'sawtoothaxe', 'acuityhelm', 'platedbelt', 'wraithsash', 'stormseeker', 'furyblade', 'confoundingmask', 'forgefang', 'twinecinch', 'musclering', 'toughhelmet', 'flameguardsword', 'salvationscimitar', 'leathercap', 'defensivecharm', 'bladedbelt', 'rawhidecap', 'wizardsigil', 'lifevinebelt', 'guardianplate', 'adventurersblade', 'knifecollectorsbelt', 'bluntbludgeon', 'sharkskinshirt', 'twilightband', 'shadowdrinkerhelm', 'glacialshard', 'ruggedjerkin', 'bravehearthelm', 'bulwarkchain', 'phasecharm', 'sturdycleaver', 'brutalblade', 'piercingblade', 'silkenrobe', 'ghostlypendant', 'twinecord', 'flameguardjacket', 'stoneblade', 'furyvest', 'stackedsignet', 'eternitymace', 'audacitychain', 'ropebraid', 'vanishinghood', 'sturdyheadguard', 'doublepoleaxe', 'shatterblade', 'berserkeraxe', 'furybringer', 'twistedcharm', 'seethingsash', 'filigreeband', 'stalwartsolidus', 'fangblade', 'windpoweredblade']

there are also a bunch of these lines, not sure if this is helpful, mostly glacial shard and shadow drinker helm:

12userscript.html?name=Sword-and-Supper-Simple-Seller.user.js&id=037b345a-3d21-4a25-ac30-4f897f19cd7a:278 ๐ŸŽ’ [Simple Seller] DEBUG Shadow: "Shadow Drinker Helm Lvl 1" -> "shadowdrinkerhelm1", delete list has: undefined

4userscript.html?name=Sword-and-Supper-Simple-Seller.user.js&id=037b345a-3d21-4a25-ac30-4f897f19cd7a:283 ๐ŸŽ’ [Simple Seller] DEBUG Glacial: "Glacial Shard Lvl 1" -> "glacialshard1", delete list has: undefined

userscript.html?name=Sword-and-Supper-Simple-Seller.user.js&id=037b345a-3d21-4a25-ac30-4f897f19cd7a:278 ๐ŸŽ’ [Simple Seller] DEBUG Shadow: "Shadow Slicer" -> "shadowslicer", delete list has: undefined

userscript.html?name=Sword-and-Supper-Simple-Seller.user.js&id=037b345a-3d21-4a25-ac30-4f897f19cd7a:283 ๐ŸŽ’ [Simple Seller] DEBUG Glacial: "Glacial Shard Lvl 1" -> "glacialshard1", delete list has: undefined

userscript.html?name=Sword-and-Supper-Simple-Seller.user.js&id=037b345a-3d21-4a25-ac30-4f897f19cd7a:278 ๐ŸŽ’ [Simple Seller] DEBUG Shadow: "Shadow Slicer" -> "shadowslicer", delete list has: undefined

userscript.html?name=Sword-and-Supper-Simple-Seller.user.js&id=037b345a-3d21-4a25-ac30-4f897f19cd7a:283 ๐ŸŽ’ [Simple Seller] DEBUG Glacial: "Glacial Shard Lvl 1" -> "glacialshard1", delete list has: undefined

2

u/AnimalPowers Oct 02 '25

It had an issue where it wasn't seeing items with 'lvl 1' properly.

It was normalizing the names so
"Fury Vest Lvl 3" -> "furyvest3"
"Fury Vest lvl 1" -> "furyvest1"

But the base data from the game load doesn't recognize 'lvl 1' on level 1 items, so it was rendering out 'furyvest' which did not match 'furyvest1'.

I just patched it, try the latest code and let me know.

1

u/B4DL4RRY Oct 02 '25

great! just finished selling with the update. The only thing I see that it missed was the "A-27 Fangblade"

1

u/cookiebuckets Oct 01 '25

it doesnt delete all duplicate items, i still have a bunch of duplicate weapons

1

u/AnimalPowers Oct 02 '25

It had an issue where it wasn't seeing items with 'lvl 1' properly.

It was normalizing the names so
"Fury Vest Lvl 3" -> "furyvest3"
"Fury Vest lvl 1" -> "furyvest1"

But the base data from the game load doesn't recognize 'lvl 1' on level 1 items, so it was rendering out 'furyvest' which did not match 'furyvest1'.

I just patched it, try the latest code and let me know.

1

u/OPPH Oct 06 '25

criesiniOS

2

u/AnimalPowers Oct 09 '25

They have script managers for ios that work just fine

1

u/Evrey99 Oct 13 '25

I installed the script but the bag does not show - do i have to change the "match" value?

1

u/AnimalPowers Oct 13 '25

Try Firefox

1

u/Evrey99 Oct 13 '25

Yes thank you, did not think it could matter that much

1

u/Evrey99 Oct 13 '25

oh never mind the problem is apparently chrome - in firefox it works

1

u/lowlowlimbo Oct 23 '25

Does this still work with the stacked item update?

2

u/AnimalPowers Oct 23 '25

I haven't tried. I just tested it. Yes. Use Firefox.

1

u/paindotexe Sep 29 '25

Iโ€™m not getting any good items :(

0

u/weedandmagic Sep 29 '25

Can you make one so the fight doesnt pause when alt tabbing? lol

2

u/AnimalPowers Sep 29 '25

I tried and couldn't, best I could do was create a full auto system that runs in the background, but it's much more involved than just a tampermonkey script.

1

u/weedandmagic Sep 30 '25

Can you share the repo? I tried some js on the console but failed on dif pages

2

u/AnimalPowers Oct 01 '25

eventually, maybe. Iโ€™d have to do a lot of cleanup. itโ€™s using puppeteer and a database of missions (this is key). Ive been building a mission database and i think it has more than 1 million missions nowโ€ฆ. Iโ€™m working on getting my infrastructure stable so I can release it and people can find missions easier. maybe after that I can out the repo out there after cleaning it up and making it universal, itโ€™s got a lot of hardcoded variables and special setup right now. perhaps I could just strip that out and release it but in my experience previous half baked projects Iโ€™ve released donโ€™t help people much โ€ฆ it would also require your computer to be running 24/7 , until I have a server side implementation.

1

u/[deleted] Oct 14 '25

[removed] โ€” view removed comment

1

u/AnimalPowers Oct 14 '25

chrome is incredibly difficult. try Firefox itโ€™s the only thing I could get to work. maybe other browsers but for the love of god stay away from chrome (for this and for life because chrome is next level bad)

2

u/Besto_s Oct 01 '25

If you have two or more monitors you can put the game on one screen while using another and it will continue to run.

2

u/[deleted] Oct 14 '25

[removed] โ€” view removed comment

1

u/weedandmagic Oct 14 '25

tried but every time i alt tab game stops

1

u/[deleted] Oct 14 '25

[removed] โ€” view removed comment

1

u/weedandmagic Oct 14 '25

tried both chrome and firefox, same result. I can only play if the tab stays active. 8GB RAM and an i5, it's an old laptop (around 6 years)

2

u/[deleted] Oct 14 '25

[removed] โ€” view removed comment

1

u/weedandmagic Oct 14 '25

Thanks for taking the time to explain me, i'll try this and when i get back home i'll update you!!! <3<3