Closed blue-lightning closed 6 years ago
The latest update from Indiegala broke the script.
Error at line igautoenter.user.js:268:28
giveaways.push(new Giveaway({ id: $(".ticket-right .relative", giveawayDOM).attr("rel"), name: $(".game-img-cont a", giveawayDOM).attr("title"), price: parseInt($(".ticket-price strong", giveawayDOM).text()), minLevel: parseInt(LEVEL_PATTERN.exec(infoText)[1]), owned: undefined, //will be filled in later in setOwned() participants: parseInt(PARTICIPANTS_PATTERN.exec($(".ticket-info-cont .fa.fa-users", giveawayDOM).parent().text())[1]), guaranteed: infoText.indexOf("not guaranteed") === -1, by: $(".ticket-info-cont .steamnick a", giveawayDOM).text(), entered: $(".ticket-right aside", giveawayDOM).length === 0, steamId: steamId, idType: idType, gameId: gameId }));
I believe you meant to post this over here: https://github.com/Hafas/indiegala-auto-enter
The latest update from Indiegala broke the script.
Error at line igautoenter.user.js:268:28
giveaways.push(new Giveaway({ id: $(".ticket-right .relative", giveawayDOM).attr("rel"), name: $(".game-img-cont a", giveawayDOM).attr("title"), price: parseInt($(".ticket-price strong", giveawayDOM).text()), minLevel: parseInt(LEVEL_PATTERN.exec(infoText)[1]), owned: undefined, //will be filled in later in setOwned() participants: parseInt(PARTICIPANTS_PATTERN.exec($(".ticket-info-cont .fa.fa-users", giveawayDOM).parent().text())[1]), guaranteed: infoText.indexOf("not guaranteed") === -1, by: $(".ticket-info-cont .steamnick a", giveawayDOM).text(), entered: $(".ticket-right aside", giveawayDOM).length === 0, steamId: steamId, idType: idType, gameId: gameId }));