Steamgifts Auto Entry

Automatically enters giveaways on steamgifts.com

< Feedback on Steamgifts Auto Entry

Câu hỏi/Bình luận

§
Posted: 10-12-2014

Feature request: multiple copies change max entries.

Ex: If I Have "Garry's Mod" with 2000 max entries configured, and there is a giveaway with (3 copies) of it, the script could consider 6000 max entries instead of 2000.

§
Posted: 22-09-2015

Adding this:
copiestest = $('.giveaway__heading__thin', $(this)).html().match("(\\d+) Copies"); if(copiestest !== null){ entriespercopy = parseInt(parseInt(earr[1])/parseInt(copiestest[1])); } else { entriespercopy = parseInt(earr[1]); }

Between this:
var earr=entriesregex.exec($(this).find('.giveaway__links a').html().replace(',',''));

And this:
if(ok==true && earr!=null && earr.length==2) {


And replacing this:
if(gamelist[gameidx].maxentries!="nothing" && gamelist[gameidx].maxentries!=-1 && parseInt(gamelist[gameidx].maxentries)

For this:
if(gamelist[gameidx].maxentries!="nothing" && gamelist[gameidx].maxentries!=-1 && parseInt(gamelist[gameidx].maxentries)

Did it.

Post reply

Đăng nhập để bình luận

长期地址
遇到问题?请前往 GitHub 提 Issues,或加Q群1031348184

赞助商

Fishcpy

广告

Rainyun

注册一下就行

Rainyun

一年攒够 12 元