Tutorial Automatically Redeem VIP Codes for Borderlands 3

Red

Newbie
VIP
Retired
Messages
15,348
Reaction score
10,380
  1. Navigate to the Borderlands website here, and login/sign up for an account. If you have not done so already, you should link your Epic/Xbox/PS account now as well.
  2. Copy all of the JS code from rockdevourer's repository [Click here to view this link]the code should both start and end with an /
  3. Once the code is copied navigate to this page on NK's website. It should be blank.
  4. Once you're on the page open your browser's console with the F12 key on your keyboard, navigate to the "console" tab and paste all of the code that you copied in step 2. Once pasted your console should look something like this

  5. If your console looks anything like the screenshot above, you can go ahead and hit "enter" on your keyboard. Once this is complete give the code a few moments to run. Once it is complete, you will see a message box appear letting you know how many points you've redeemed.

    Please note: If you see any red messages in the console after running this code. This is normal and means that one(or more) codes have either been redeemed by you already or have expired

    Please also note that this repository is automatically updated with any/all new codes. So it is recommended to run this every once in a while to keep up with newly released VIP codes!
 
Last edited:

Pyroman

No
Super Moderators
Messages
5,987
Reaction score
5,544
Took a minute to load when I entered it in on the VIP website, then threw up a bunch of 500/504 errors. Is there any way to check to see if I entered them in already/they worked? I didn't get the screen that shoped me how many points.
 

Red

Newbie
VIP
Retired
Messages
15,348
Reaction score
10,380
Took a minute to load when I entered it in on the VIP website, then threw up a bunch of 500/504 errors. Is there any way to check to see if I entered them in already/they worked? I didn't get the screen that shoped me how many points.
If a screen showing you the amount of points being redeemed didn't appear, either you ran it wrong or all the available codes have been redeemed on your account already
 

Ghostly Silence

Enthusiast
Messages
35
Reaction score
7
think this has already been patched yall! did exactly what it says and then get a box that says points redeemed zero
 
Last edited:

Pxzah

Enthusiast
Messages
74
Reaction score
5
think this has already been patched yall! did exactly what it says and then get a box that says points redeemed zero
I did it yesterday, got me 18k points.

If you previously redeemed the points they won't show up anymore.
I'll do it like once a week or every other day so you don't miss out on points but it's working.
 

Owl

Inhale, Exhale, Repeat.
Messages
6,171
Reaction score
4,712
Just did it right now, got 16.9K. Still working great find Red.
 

Art

the guy who designs stuff
VIP
Retired
Messages
2,853
Reaction score
2,860
Nice find my man, thanks for this.
 
Last edited:

iThrowAIDS

Enthusiast
Messages
116
Reaction score
26
The repository has not been updated in 8 days and is missing at least that many email codes. This is not automatically updated and the creator is not maintaining it.
 

Risking Perfect

Xbox 360 Tech Support
Premium
Messages
757
Reaction score
154
The repository has not been updated in 8 days and is missing at least that many email codes. This is not automatically updated and the creator is not maintaining it.
I have been keeping it updated, here is the latest.

Code:
/*
As of 09/19/2019
vault type: cid = 5261
diamond type: cid = 5262
email type: cid = 5264
creator code: cid = 5263
boost type: 5721
After login, navigate to
https://2kgames.crowdtwist.com/ -- This is a blank page, as there is no landing page
https://2kgames.crowdtwist.com/widgets/t/code-redemption/9902/#2 -- This is one of the components of the redemption page, if you'd rather see that
*/

var badcodes = [];
var pointsredeemed = [];
var points = 0;
var temppoints;
var totalpointsredeemed = 0;
var emailpointsredeemed = 0;
var creatorpointsredeemed = 0;
var vaultpointsredeemed = 0;
var emailpoints;
var creatorpoints;
var vaultpoints;

var apibase = 'https://2kgames.crowdtwist.com/code-redemption-campaign/redeem?cid=';

async function httppost(codeinfo) {
var response = await fetch(apibase + codeinfo.cid, {
     method: 'POST',
    mode: 'cors',
     body: JSON.stringify({
         code: codeinfo.code
     }),
     headers: {
         'Content-type' : 'application/json'
     }
})

let result = await response.json();

if (result.points) {
    pointsredeemed.push(result.points);
    temppoints = result.points;
    return temppoints;
} else {
    badcodes.push(codeinfo.code);
    return null;
}


return null;
}
var vaultcid = 5261;
var emailcid = 5264;
var creatorcid = 5263;
var boostcid = 5721;


var EMAILS = [
    "2kLove",
    "ABCEASYAS123",
    "ALMOSTTHERE",
    "BL3ATE3",
    "BL3REVEAL",
    "BL3WELCOME",
    "BUILDURSQUAD",
    "CLAPTASTIC",
    "Dasherz",
    "DUCTTAPEMOD",
    "FIGHT4SANCTUARY",
    "FORTNITEXMAYHEM",
    "FRESHBOOTY",
    "HEYSUGAR",
    "ITSHERE",
    "JABBER",
    "LESSTHANTHREE",
    "LOOTLOOTLOOT",
    "MADSKILLZ",
    "MYMAIN",
    "ONTHEHUNT",
    "OVERCLOCKED",
    "OVERONEBILLION",
    "POWERUPEMAIL",
    "SOHAPPYTOGETHER",
    "Unblinkingeye",
    "PS4MAYHEM",
    "ALLBORDERLANDSALLDAY",
    "DONTFORGET"
]

var CREATORS = [
    "PROFESSORBROMANVIP",
    "KINGGOTHALIONVIP",
    "PietSmietVIP",
    "JoltzDude139VIP",
    "JvtvVIP",
    "AdmiralbahrooVIP",
    "Ki11erSixVIP",
    "MitsuShowVIP",
    "TessachkaVIP",
    "LaraLoftVIP",
    "MitsuShowE3",
    "TessachkaE3",
    "EdEMonsterE3",
    "Joltzdude139E3",
    "Ki11ersixE3",
    "KingGothalionE3",
    "ProfessorBromanE3",
    "AdmiralBahrooE3",
    "dammit2hellE3",
    "NAYSYE3",
    "LUCKYBONEZE3",
    "GRIMMBONEZE3",
    "CohhVIP",
    "Cure4Kids",
    "GREGORONKH"
]

var VAULTS = [
    "WUBWUBWUB",
    "JOYPUKE",
    "LOADINGBAR",
    "IGNVIP",
    "Borderlands3vip",
    "TWITCHVIP",
    "GAMESPOTVIP",
    "FACEBOOKVIP",
    "SHACKNEWSVIP",
    "GAMEVIP",
    "WEGOTUBOO",
    "LOWCOSTCOSPLAYE3",
    "BORDERLANDSCOSPLAYE3",
    "ILOVEBAGUETTE",
    "BL3FREVENTVIP",
    "WHATCHUWANT",
    "MUSHYSNUGGLEBITES",
    "OOPS",
    "BORDERLENS",
    "Skagbait",
    "VIP-GUNWALL",
    "VIP-GIFTSHOP",
    "VIP-REDCHEST",
    "VIP-COV",
    "VIP-MOXXI",
    "VIP-ENVART",
    "VIP-CALYPSO",
    "VIP-CHARCONCEPT",
    "VIP-BOXCONCEPT",
    "VIP-PHOTOBOOTH",
    "BL3MUSEUMCOSPLAY",
    "3DJUEGOSVIP",
    "HALVERHAHN",
    "BRINGMEABUCKET",
    "MAYHEMPRIDE",
    "PWR2PLYRS",
    "THESEPRETZELSSUCK",
    "TINKABOUTIT",
    "LOOTSPLOSION",
    "BONERFART",
    "LETSMAKESOMEMAYHEM",
    "MAYHEM",
    "CRUMPOCALYPSE",
    "Childrenofthevault",
    "WACHSK4G",
    "JABBERKUMP3L",
    "D1G1KLON",
    "RA1LGUN",
    "5piderantcenturio",
    "Phasenkl4mmerung",
    "1ronbear",
    "Sntnl",
    "Phasenproj3ktion",
    "Ph4senschlag",
    "1CODE",
    "GODSDONTNEGOTIATE",
    "Ehrenmann",
    "TWOWEEKS",
    "VIP-PAXINIT",
    "VIP-PAXALAX",
    "VIP-SUPERPAX",
    "VIP-EATINGPAX",
    "JVMVIP",
    "VIP-LOOTPAX",
    "VIP-PAXSCAVENGER",
    "PAXSCAVENGER",
    "VIP-PAXATYA",
    "VIP-PAXATTACK",
    "VIP-TAKEITTOTHEPAX",
    "VIP-PAXTASTIC",
    "SMARTOYSVIP",
    "MEDIAMARKTVIP",
    "Bolvip",
    "GAMEMANIAVIP",
    "ALLYOURGAMESVIP",
    "NEDGAMEVIP",
    "YOURGAMEZONEVIP",
    "VIP-DEATHANDPAXES",
    "VIP-SMACKTHATPAX",
    "VIP-KEEPINGITPAX",
    "INTERTOYSVIP",
    "PLAYERONEVIP",
    "VIP-ANOTHERPAXPUN",
    "vip-paxagainstthewall",
    "SEVENDAYS",
    "AIRLEMAGVIP",
    "Dreamlandvip"
]


async function emailmap() {
    emailpoints = await Promise.all(EMAILS.map(async function(email) {
        var type = {
            code : email,
            cid : emailcid
        };
        temppoints = await httppost(type);
        emailpointsredeemed = emailpointsredeemed + temppoints;
        return emailpointsredeemed;
}))};

async function creatorsmap() {
    creatorspoints = await Promise.all(CREATORS.map(async function(creator) {
    var type = {
        code : creator,
        cid : creatorcid
    };
    temppoints = await httppost(type);
    creatorpointsredeemed = creatorpointsredeemed + temppoints;
    return creatorpointsredeemed;
}))};

async function vaultmap() {
    vaultpoints = await Promise.all(VAULTS.map(async function(vault) {
    var type = {
        code : vault,
        cid : vaultcid
    };
    temppoints = await httppost(type);
    vaultpointsredeemed = vaultpointsredeemed + temppoints;
    return vaultpointsredeemed;
}))}

async function gatherpoints() {
    var [totalemailpoints, totalcreatorpoints, totalvaultpoints] = await Promise.all([emailmap(), creatorsmap(), vaultmap()]);
    var totalpoints = emailpointsredeemed + creatorpointsredeemed + vaultpointsredeemed;
    console.log("Total Points: ", totalpoints);
    alert("Total Points Redeemed: " + totalpoints)
}

// try and get the latest codes that are defined in the Borderlands discord spreadsheet
// the hard-coded codes will not be overriden
async function tryGetLatestCodes() {
    const url = "https://sheets.googleapis.com/v4/spreadsheets/1QfwdILwVv19sKeveaBzZwhQLEOzmFwnOmMZsWLKwgg8/values/A5%3AB1000?valueRenderOption=FORMATTED_VALUE&key=AIzaSyCcDGjg03zH4omQvn8yV1ciUlh0nAXj1qs";

    let codes = [];

    try {
        ({ values: codes } = await (await fetch(url)).json());
    } catch (e) {
        return;
    }

    if (codes == null) {
        return;
    }

    codes.forEach(element => {
        if (element == null || element.length !== 2) {
            return;
        }

        const code = element[0];
        const type = element[1];
        if (code == null || type == null) {
            return;
        }

        const typeNormalized = type.toLowerCase();

        if (typeNormalized === "vault") {
            VAULTS = appendCodeToArray(VAULTS, code);
        } else if (typeNormalized === "email") {
            EMAILS = appendCodeToArray(EMAILS, code);
        } else if (typeNormalized === "creator") {
            CREATORS = appendCodeToArray(CREATORS, code);
        }
    });
}

function appendCodeToArray(array, code) {
    if (array == null || array.length === 0 || code == null) {
        return;
    }

    const codeIndex = array.findIndex(existingCode => existingCode.toLowerCase() === code.toLowerCase());
    if (codeIndex === -1) {
        array.push(code);
    }

    return array;
}

async function main() {
    await tryGetLatestCodes();
    gatherpoints();
}

main();

/*
await fetch('https://2kgames.crowdtwist.com/code-redemption-campaign/redeem?cid=5263', {
     method: 'POST',
     body: JSON.stringify({
         code: "GREGORONKH"
     }),
     headers: {
         'Content-type' : 'application/json'
     }
})
*/
 

WhoBangdMurfsMom

PLAYSTATION
Messages
870
Reaction score
393
I have been keeping it updated, here is the latest.

Code:
/*
As of 09/19/2019
vault type: cid = 5261
diamond type: cid = 5262
email type: cid = 5264
creator code: cid = 5263
boost type: 5721
After login, navigate to
https://2kgames.crowdtwist.com/ -- This is a blank page, as there is no landing page
https://2kgames.crowdtwist.com/widgets/t/code-redemption/9902/#2 -- This is one of the components of the redemption page, if you'd rather see that
*/

var badcodes = [];
var pointsredeemed = [];
var points = 0;
var temppoints;
var totalpointsredeemed = 0;
var emailpointsredeemed = 0;
var creatorpointsredeemed = 0;
var vaultpointsredeemed = 0;
var emailpoints;
var creatorpoints;
var vaultpoints;

var apibase = 'https://2kgames.crowdtwist.com/code-redemption-campaign/redeem?cid=';

async function httppost(codeinfo) {
var response = await fetch(apibase + codeinfo.cid, {
     method: 'POST',
    mode: 'cors',
     body: JSON.stringify({
         code: codeinfo.code
     }),
     headers: {
         'Content-type' : 'application/json'
     }
})

let result = await response.json();

if (result.points) {
    pointsredeemed.push(result.points);
    temppoints = result.points;
    return temppoints;
} else {
    badcodes.push(codeinfo.code);
    return null;
}


return null;
}
var vaultcid = 5261;
var emailcid = 5264;
var creatorcid = 5263;
var boostcid = 5721;


var EMAILS = [
    "2kLove",
    "ABCEASYAS123",
    "ALMOSTTHERE",
    "BL3ATE3",
    "BL3REVEAL",
    "BL3WELCOME",
    "BUILDURSQUAD",
    "CLAPTASTIC",
    "Dasherz",
    "DUCTTAPEMOD",
    "FIGHT4SANCTUARY",
    "FORTNITEXMAYHEM",
    "FRESHBOOTY",
    "HEYSUGAR",
    "ITSHERE",
    "JABBER",
    "LESSTHANTHREE",
    "LOOTLOOTLOOT",
    "MADSKILLZ",
    "MYMAIN",
    "ONTHEHUNT",
    "OVERCLOCKED",
    "OVERONEBILLION",
    "POWERUPEMAIL",
    "SOHAPPYTOGETHER",
    "Unblinkingeye",
    "PS4MAYHEM",
    "ALLBORDERLANDSALLDAY",
    "DONTFORGET"
]

var CREATORS = [
    "PROFESSORBROMANVIP",
    "KINGGOTHALIONVIP",
    "PietSmietVIP",
    "JoltzDude139VIP",
    "JvtvVIP",
    "AdmiralbahrooVIP",
    "Ki11erSixVIP",
    "MitsuShowVIP",
    "TessachkaVIP",
    "LaraLoftVIP",
    "MitsuShowE3",
    "TessachkaE3",
    "EdEMonsterE3",
    "Joltzdude139E3",
    "Ki11ersixE3",
    "KingGothalionE3",
    "ProfessorBromanE3",
    "AdmiralBahrooE3",
    "dammit2hellE3",
    "NAYSYE3",
    "LUCKYBONEZE3",
    "GRIMMBONEZE3",
    "CohhVIP",
    "Cure4Kids",
    "GREGORONKH"
]

var VAULTS = [
    "WUBWUBWUB",
    "JOYPUKE",
    "LOADINGBAR",
    "IGNVIP",
    "Borderlands3vip",
    "TWITCHVIP",
    "GAMESPOTVIP",
    "FACEBOOKVIP",
    "SHACKNEWSVIP",
    "GAMEVIP",
    "WEGOTUBOO",
    "LOWCOSTCOSPLAYE3",
    "BORDERLANDSCOSPLAYE3",
    "ILOVEBAGUETTE",
    "BL3FREVENTVIP",
    "WHATCHUWANT",
    "MUSHYSNUGGLEBITES",
    "OOPS",
    "BORDERLENS",
    "Skagbait",
    "VIP-GUNWALL",
    "VIP-GIFTSHOP",
    "VIP-REDCHEST",
    "VIP-COV",
    "VIP-MOXXI",
    "VIP-ENVART",
    "VIP-CALYPSO",
    "VIP-CHARCONCEPT",
    "VIP-BOXCONCEPT",
    "VIP-PHOTOBOOTH",
    "BL3MUSEUMCOSPLAY",
    "3DJUEGOSVIP",
    "HALVERHAHN",
    "BRINGMEABUCKET",
    "MAYHEMPRIDE",
    "PWR2PLYRS",
    "THESEPRETZELSSUCK",
    "TINKABOUTIT",
    "LOOTSPLOSION",
    "BONERFART",
    "LETSMAKESOMEMAYHEM",
    "MAYHEM",
    "CRUMPOCALYPSE",
    "Childrenofthevault",
    "WACHSK4G",
    "JABBERKUMP3L",
    "D1G1KLON",
    "RA1LGUN",
    "5piderantcenturio",
    "Phasenkl4mmerung",
    "1ronbear",
    "Sntnl",
    "Phasenproj3ktion",
    "Ph4senschlag",
    "1CODE",
    "GODSDONTNEGOTIATE",
    "Ehrenmann",
    "TWOWEEKS",
    "VIP-PAXINIT",
    "VIP-PAXALAX",
    "VIP-SUPERPAX",
    "VIP-EATINGPAX",
    "JVMVIP",
    "VIP-LOOTPAX",
    "VIP-PAXSCAVENGER",
    "PAXSCAVENGER",
    "VIP-PAXATYA",
    "VIP-PAXATTACK",
    "VIP-TAKEITTOTHEPAX",
    "VIP-PAXTASTIC",
    "SMARTOYSVIP",
    "MEDIAMARKTVIP",
    "Bolvip",
    "GAMEMANIAVIP",
    "ALLYOURGAMESVIP",
    "NEDGAMEVIP",
    "YOURGAMEZONEVIP",
    "VIP-DEATHANDPAXES",
    "VIP-SMACKTHATPAX",
    "VIP-KEEPINGITPAX",
    "INTERTOYSVIP",
    "PLAYERONEVIP",
    "VIP-ANOTHERPAXPUN",
    "vip-paxagainstthewall",
    "SEVENDAYS",
    "AIRLEMAGVIP",
    "Dreamlandvip"
]


async function emailmap() {
    emailpoints = await Promise.all(EMAILS.map(async function(email) {
        var type = {
            code : email,
            cid : emailcid
        };
        temppoints = await httppost(type);
        emailpointsredeemed = emailpointsredeemed + temppoints;
        return emailpointsredeemed;
}))};

async function creatorsmap() {
    creatorspoints = await Promise.all(CREATORS.map(async function(creator) {
    var type = {
        code : creator,
        cid : creatorcid
    };
    temppoints = await httppost(type);
    creatorpointsredeemed = creatorpointsredeemed + temppoints;
    return creatorpointsredeemed;
}))};

async function vaultmap() {
    vaultpoints = await Promise.all(VAULTS.map(async function(vault) {
    var type = {
        code : vault,
        cid : vaultcid
    };
    temppoints = await httppost(type);
    vaultpointsredeemed = vaultpointsredeemed + temppoints;
    return vaultpointsredeemed;
}))}

async function gatherpoints() {
    var [totalemailpoints, totalcreatorpoints, totalvaultpoints] = await Promise.all([emailmap(), creatorsmap(), vaultmap()]);
    var totalpoints = emailpointsredeemed + creatorpointsredeemed + vaultpointsredeemed;
    console.log("Total Points: ", totalpoints);
    alert("Total Points Redeemed: " + totalpoints)
}

// try and get the latest codes that are defined in the Borderlands discord spreadsheet
// the hard-coded codes will not be overriden
async function tryGetLatestCodes() {
    const url = "https://sheets.googleapis.com/v4/spreadsheets/1QfwdILwVv19sKeveaBzZwhQLEOzmFwnOmMZsWLKwgg8/values/A5%3AB1000?valueRenderOption=FORMATTED_VALUE&key=AIzaSyCcDGjg03zH4omQvn8yV1ciUlh0nAXj1qs";

    let codes = [];

    try {
        ({ values: codes } = await (await fetch(url)).json());
    } catch (e) {
        return;
    }

    if (codes == null) {
        return;
    }

    codes.forEach(element => {
        if (element == null || element.length !== 2) {
            return;
        }

        const code = element[0];
        const type = element[1];
        if (code == null || type == null) {
            return;
        }

        const typeNormalized = type.toLowerCase();

        if (typeNormalized === "vault") {
            VAULTS = appendCodeToArray(VAULTS, code);
        } else if (typeNormalized === "email") {
            EMAILS = appendCodeToArray(EMAILS, code);
        } else if (typeNormalized === "creator") {
            CREATORS = appendCodeToArray(CREATORS, code);
        }
    });
}

function appendCodeToArray(array, code) {
    if (array == null || array.length === 0 || code == null) {
        return;
    }

    const codeIndex = array.findIndex(existingCode => existingCode.toLowerCase() === code.toLowerCase());
    if (codeIndex === -1) {
        array.push(code);
    }

    return array;
}

async function main() {
    await tryGetLatestCodes();
    gatherpoints();
}

main();

/*
await fetch('https://2kgames.crowdtwist.com/code-redemption-campaign/redeem?cid=5263', {
     method: 'POST',
     body: JSON.stringify({
         code: "GREGORONKH"
     }),
     headers: {
         'Content-type' : 'application/json'
     }
})
*/
so if we put this new updated code in it will unlock more?
 
Top Bottom