Steamgifts Auto Entry

Automatically enters giveaways on steamgifts.com

< 脚本 Steamgifts Auto Entry 的反馈

提问 / 留言

§
发布于:2014-12-10

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.

§
发布于:2015-09-22

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.

发布留言

登录以发布留言。