Live data from Hacker News

Show HN: Untrusted, a JavaScript adventure game you play by modifying its source

alex.nisnevich.com

71–80 of 246 posts

Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source

#71
post #60
post #44

Earlier quoted context omitted.

Alnis, love the game! But I also ran into unexpected behavior after clearing level 7 (change your color). It kept reloading the same level, but opening up new levels in Level select. Even so, clicking on higher levels keeps reloading the same colors.js screen. Another weird thing I noticed was that next to the computer and telephone in the inventory, two letters "k" appeared. I'm using Firefox 28 on Windows 7. Here's…

This might be tied to the issue that mandlar, pokpokpok, and valgaze have been having, but I haven't been able to reproduce it yet. Does resetting these levels (Ctrl-4) help at all?

Yes, Ctrl-4 does work, thanks for the tip!

Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source

#72
post #38

I'm not sure what happened with level 4 multiplicity, but I placed a 2nd exit inside the box. Then when I go through it says it completed the level but I'm still on the multiplicity level. Reseting does not fix. https://gist.github.com/anonymous/0dafb64fad2ddd6fd451

same here, putting another exit on the canvas breaks things in a weird way

Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source

#74
Level 6 can be cleared without modifying the code at all:

http://home.iitb.ac.in/~pritambaral/level6.mp4 (16K)

http://home.iitb.ac.in/~pritambaral/level6.webm (31K)

http://home.iitb.ac.in/~pritambaral/level6.gif (161K)

EDIT: Seems to have been fixed. Leaving comment for archival purposes?

Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source

#78
post #20
post #12

This is fun. But I have one wish. Overwrite console.log() so it logs onto the website and I don't need to open firebug :) Edit: I think I solved lvl two to four all the same way. Not sure if that's intended. But I also don't want to spoil it for others. Edit 2: This worked again at lvl 6, so I'll assume that's a bug. Click this pastebin for spoilers: http://pastebin.com/yfhDhE7P

Good catch! We haven't been checking yet for tampering with functions, but we probably should. Don't think of it as a bug so much as a cheatcode you discovered :-)

Aww, I thought that was to easy. That trick works for basically any level.

Also, is there a good way to completly prevent tampering with functions, or is this just going to be an arms race?

Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source

#79
In order to fix that short delay before movement when you hold down a movement direction you should make pressing the arrow keys set a corresponding movement boolean to true. Then just move whenever the boolean is true.

Great game!

Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source

#80
post #55
post #38

I'm not sure what happened with level 4 multiplicity, but I placed a 2nd exit inside the box. Then when I go through it says it completed the level but I'm still on the multiplicity level. Reseting does not fix. https://gist.github.com/anonymous/0dafb64fad2ddd6fd451

A few people have reported a similar bug. I don't think that it's level specific but has something to do with the next level not leading correctly upon completing a level. We're still not sure why it happens or when (it seems to only affect a few people), but we'll try to figure it out. There aren't any errors you can see in the JavaScript console, are there?

It happened twice to me, once on 4 once on 8 I think. Both times it happened when I went through the exit then went back to it.
Post reply on HN