var headersData, admiralChecked = false; function getHeaders() { if (headersData === undefined) { var req = new XMLHttpRequest(); req.open('GET', location, false); req.send(null); // associate array to store all values headersData = new Object(); // get all headers in one call and parse each item var headers = req.getAllResponseHeaders().toLowerCase(), aHeaders = headers.split('\n'); for (var i= 0; i < aHeaders.length; i++) { var thisItem = aHeaders[i], key = thisItem.substring(0, thisItem.indexOf(':')), value = thisItem.substring(thisItem.indexOf(':') + 1); headersData[key] = value; } } } function getCFRay() { var result = 'admiral'; getHeaders(); if (headersData['cf-ray'] !== undefined && headersData['cf-ray'].length > 0) { result = headersData['cf-ray'].split('-')[1]; } else if (headersData['x-served-by'] !== undefined && headersData['x-served-by'].length > 0) { result = headersData['x-served-by']; } return result; } /** * Read Admiral cookie value * @param {string} status */ function readAdmiralCookie() { var cookieArray = document.cookie.split(/; */), ciphertextArray = [], isValid = false, matched = false, plaintext = '', cookieName, bytes, i; for (i = 0; i < cookieArray.length; i++) { ciphertextArray = cookieArray[i].split('='); if (ciphertextArray.length > 0) { bytes = CryptoJS.AES.decrypt(ciphertextArray[0].replace(/@[email protected]/g, '='), getCFRay()); try { plaintext = bytes.toString(CryptoJS.enc.Utf8); isValid = true; } catch { isValid = false; } if (isValid && plaintext.length > 0 && plaintext === (getCFRay() + navigator.userAgent).trim()) { cookieName = ciphertextArray[0] + '='; matched = true; break; } } } if (matched) { var char = cookieArray[i]; if (char.indexOf(cookieName) === 0) { var result = char.substring(cookieName.length, char.length).replace(/@[email protected]/g, '='), decrypted = CryptoJS.AES.decrypt(result, getCFRay()), data = { 'key' : cookieName, 'val' : 'false' }; if (decrypted.toString(CryptoJS.enc.Utf8) === (navigator.userAgent + getCFRay() + '1').trim()) { data['val'] = 'true'; } return data; } } return null; } /** * Save Admiral subscribed status to cookie * @param {string} status */ function updateAdmiralCookie(cipherValue, existingCookie) { var date = new Date(), valuePlainText = cipherValue.replace(/=/g, '@[email protected]'), admiralCookie; if (existingCookie !== null) { admiralCookie = existingCookie + valuePlainText; } else { var title = (getCFRay() + navigator.userAgent).trim(), titleCipher = CryptoJS.AES.encrypt(title, getCFRay()).toString(), titlePlainText = titleCipher.replace(/=/g, '@[email protected]'); admiralCookie = titlePlainText + '=' + valuePlainText; } date.setTime(date.getTime() + (10 * 60 * 1000)); admiralCookie += '; expires=' + date.toUTCString() + '; path=/'; document.cookie = admiralCookie; } checkAdmiralCookiePromise = new Promise(function (resolve, reject) { var cookieData = readAdmiralCookie(); if (cookieData !== null && cookieData['val'] === 'true') { resolve('subscribed'); } else if (window.admiral) { var checkAdmiralStatusPromise; if (window.location.host.replace(/^((sbx)|(dev)|(stg)|(www))\./, '') === 'forums.playstationlifestyle.net') { checkAdmiralStatusPromise = new Promise(function (resolve, reject) { if (typeof window.admiral !== 'undefined') { window.admiral("after", "measure.detected", function({ adblocking, whitelisted, subscribed }){ if (subscribed) { resolve('measure.subscribed'); } else { reject('measure.unsubscribed'); } }); } }); } else { checkAdmiralStatusPromise = new Promise(function (resolve, reject) { setTimeout(function () { reject('resolve'); }, 0); }); } checkAdmiralStatusPromise.then(function () { var cookieName = null; if (cookieData !== null) { cookieName = cookieData['key']; } updateAdmiralCookie(CryptoJS.AES.encrypt((navigator.userAgent + getCFRay() + '1').trim(), getCFRay()).toString(), cookieName); resolve('subscribed'); }) .catch(function (resp) { var cookieName = null; if (cookieData !== null) { cookieName = cookieData['key']; } updateAdmiralCookie(CryptoJS.AES.encrypt((navigator.userAgent + getCFRay() + '0').trim(), getCFRay()).toString(), cookieName); reject('unsubscribed'); }); } }); checkAdmiralCookiePromise.then(function () { console.info("[ADMIRAL] User Subscribed."); }).catch(function (resp) { console.info("[ADMIRAL] User Not Subscribed."); }); -->

Fun Trophies

Discussion in 'Trophies' started by stolenxnametag, May 11, 2014.

  1. stolenxnametag

    stolenxnametag PSLS Level: Kraken PSLS Ambassador

    Joined:
    Feb 13, 2014
    Messages:
    1,264
    Likes Received:
    381
    PSN:
    arithrottle
    I just finished playing Octodad: Dadliest Catch on PS4, and I had a lot of fun picking up the trophies that I missed after I finished the game the first time. It was a bronze-fest of 20 trophies, but some of those trophies actually added to the experience for me! Some of the things that you do for trophies in that game actually trigger other dialogues or events in the game, so that was really surprising to me. Also, while I haven't finished Final Fantasy X HD yet, the things you do for trophies in that game are also things that trigger new events, unlock abilities for Yuna and friends, or remind you of things that you might have missed while grinding through side quests (such as buying the spheres from the theater in Luca, which is something that I completely forgot to do when I played FFX on PS2).

    What trophy or trophy list was the most fun for you?
     
  2. Jacky

    Jacky PSLS Level: Silver

    Joined:
    Feb 20, 2014
    Messages:
    1,295
    Likes Received:
    265
    PSN:
    ScoobyPup01
    all of the deadpool trophies, and the trophy for being as evil as aiden can be in the game Beyond: two souls
     
    stolenxnametag likes this.
  3. Chandler Wood

    Chandler Wood Get Off My Wood Staff Member

    Joined:
    Feb 9, 2014
    Messages:
    602
    Likes Received:
    354
    PSN:
    Wedge19
    Hmmm, good question, it's been all yard work and no trophies for me this weekend, so I'll have to get back into the trophy game and see what has been really fun to do.
     
  4. stolenxnametag

    stolenxnametag PSLS Level: Kraken PSLS Ambassador

    Joined:
    Feb 13, 2014
    Messages:
    1,264
    Likes Received:
    381
    PSN:
    arithrottle
    Be careful re-hanging a birdhouse if it happens to fall while you're outside. The neighbor is an evil chef with a mean riding mower.
     
  5. Mandalore

    Mandalore PSLS Level: Newbie

    Joined:
    Apr 19, 2014
    Messages:
    37
    Likes Received:
    11
    PSN:
    Dirtyhippie324
    All of the trophies for Octodad and Stick it to the man have been very entertaining.
     
    stolenxnametag likes this.
  6. Chandler Wood

    Chandler Wood Get Off My Wood Staff Member

    Joined:
    Feb 9, 2014
    Messages:
    602
    Likes Received:
    354
    PSN:
    Wedge19
    I tend to do most chores all wobbly and Octodad like just to make @D'yani laugh! Unloading the dishwasher is more fun that way!
     
    D'yani likes this.
  7. stolenxnametag

    stolenxnametag PSLS Level: Kraken PSLS Ambassador

    Joined:
    Feb 13, 2014
    Messages:
    1,264
    Likes Received:
    381
    PSN:
    arithrottle
    I typically destroy my living room and bedroom every time I wake up just like he does. My wife and occasional guests call it "floating out of bed."
     
    D'yani likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice