Skip to content

Instantly share code, notes, and snippets.

@AndreasMadsen
Last active July 23, 2021 14:35
  • Star 6 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save AndreasMadsen/89bdb1806eca344e44f0 to your computer and use it in GitHub Desktop.
Escape-from-xp

From twitter I was told of escape-from-xp ( https://twitter.com/sylwia_erhardt/status/489554167120527360 ). Obiusly I had to hack this an discovered that the code ( https://escapefromxp.azurewebsites.net/game.min.js ) besides not being very compressed, also contained easter eggs for any JavaScript enthusiast. This is how you enable them all:

  1. Go to: https://escapefromxp.azurewebsites.net/#arcade . https://www.modern.ie/en-us/virtualization-tools#escape-from-xp just contain an iframe to this location and #arcade makes sure no redict back to www.modern.ie occurre. #arcade also enables a few other things, you will notice the text have changed a little. Also you now change weapon on F.

  2. Open the JavaScript console in your browser and type:

event = { source: { postMessage: function () {}} };
["hardcoreMode", "originalHacker", "tanksTanksTanks", "IDDQD"].forEach(
  window.ig.game.installServicePack.bind(window.ig.game)
)
  • hardcoreMode sets your health to one bar
  • originalHacker replaces the paperclip in the background with some hacker dude
  • tanksTanksTanks all the enemies are IE tanks
  • IDDQD you don't take damage when hit

:)

@R4to0
Copy link

R4to0 commented May 20, 2019

Looks like they took the original URL off.

Fortunately, I ripped the whole game when it was hot back in 2014 and found the zip lying on my hard drive recently. It's uploaded here https://github.com/R4to0/escapefromxp and here https://gitlab.com/R4to0/escape-from-xp

Also, playable on this link:
https://r4to0.gitlab.io/escape-from-xp/index.html#arcade

@SaragocaG
Copy link

Looks like they took the original URL off.

Fortunately, I ripped the whole game when it was hot back in 2014 and found the zip lying on my hard drive recently. It's uploaded here https://github.com/R4to0/escapefromxp and here https://gitlab.com/R4to0/escape-from-xp

Also, playable on this link:
https://r4to0.gitlab.io/escape-from-xp/index.html#arcade

Great!

@Erinaaaaaaa
Copy link

Looks like they took the original URL off.

Fortunately, I ripped the whole game when it was hot back in 2014 and found the zip lying on my hard drive recently. It's uploaded here https://github.com/R4to0/escapefromxp and here https://gitlab.com/R4to0/escape-from-xp

Also, playable on this link:
https://r4to0.gitlab.io/escape-from-xp/index.html#arcade

Love you, you're a boss

@coopman
Copy link

coopman commented Jul 23, 2021

Looks like they took the original URL off.

Fortunately, I ripped the whole game when it was hot back in 2014 and found the zip lying on my hard drive recently. It's uploaded here https://github.com/R4to0/escapefromxp and here https://gitlab.com/R4to0/escape-from-xp

Also, playable on this link:
https://r4to0.gitlab.io/escape-from-xp/index.html#arcade

Thanks for preserving this. This project was so much fun to work on and it's nice to see that people enjoyed it. It looks like you're missing a few sprites that contain the pieces of the enemies breaking apart that lay on the ground. I have the original source somewhere. I'll look for it so we can get those added back into the project. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment