HNHacker News
TopNewBestAskShowJobs

alnis

1,319 karma · joined March 30, 2012

alex.nisnevich.com
submissionscomments
alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
Oh, only level 19 is DOM-based - level 20 and 21 are different. You may have been unable to load correctly them due to the stress on the server, but you should check them out at some point :-)
alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
There is a level select! :-) It's in the Menu (Ctrl-0). We really should bring more attention to it.
alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
I just added a feature to the game that watches certain functions and compares them to what they were at the start of the game (during the level validation phase). I'm sure this can still be gamed though.
alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
Does the mirror [http://alexnisnevich.github.io/untrusted/] work for you?
alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
Can you show me what the jQuery level looks like for you? I want to make sure that it's working correctly.
alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
These are both beautiful.
alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
Good catch -- I fixed the Makefile to actually go along with how http-server is installed in the README.
alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
The game was broken for a bit, and it's possible that your saved state got corrupted.

Try restarting the game by running localStorage.clear() in the JavaScript console, then refreshing the page. Does that fix it?

alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
Sadly, our server couldn't handle the load.

I've set up a mirror at: http://alexnisnevich.github.io/untrusted/

We're currently working on handling the AJAX responses more robustly. The level counter should no longer increment on a failed request.

alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
The level filename is a hint.
alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
Attention!

The main site is overloaded, but I've set up a mirror at: http://alexnisnevich.github.io/untrusted/

All level-loading issues should be resolved on it, since they were tied to AJAX failures. Let me know if you experience any problems on the mirror site.

alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
Don't forget about the function phone! :-)
alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
Hey guys, one of the developers here.

Thank you all so much for all of your feedback! I never thought this game would become so popular.

It seems that our server is more or less overloaded right now, so AJAX requests for new levels are sometimes failing. This appears to be the cause of the bugs that some of you have experienced where levels load incorrectly or are overwritten by previous levels. Sorry about that. :-/ We will work on making the game more robust in the case of failures like this.

If you want to run the game locally, you can clone it from https://github.com/AlexNisnevich/untrusted and follow the instructions there.

alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
Do you have any tools available to you that let you execute code at a chosen time?
alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
This seems to be tied to a bug some other people have experienced where new levels don't load correctly and are overwritten with existing levels.

Try going to level 15 and resetting the level (Ctrl-4). Does that help at all?

alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
I'm really surprised that we never thought of that. We'll try to prevent this exploit soon :-)
alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
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?

alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
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?

alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
Oh, there's a small bit of editable text at the bottom of level 8 (line 100). Sorry if it's not very clear - we may work on the color scheme a little.
alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
We're glad you like it!

No clue why that's happening, but we'll continue to investigate.

alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
Thanks!

Does your level 7 not look like http://i.imgur.com/AFTxPWC.png ?

alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
Thanks! The intended solution to the maze level was commenting everything out. But of course, all of these have multiple solutions :-)
alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
It's from a combination of electronic sub-genres by some independent artists. You can see the full list of tracks here: https://github.com/AlexNisnevich/untrusted#soundtrack
alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
User-submitted issues would be great! Logging them on GitHub would be the most convenient.
alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
Bizarre! I haven't been able to reproduce it. Can you share your code for that level (if it's been modified at all)?
alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
Multiplying the exits is useful ;-)
alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
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 :-)
alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
If you reload the game, the map should now re-init on every level.

PS. I'm really enjoying all the creative solutions you guys are coming up with!

alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
Oh, quick note - you can skip to the last level played in the Menu (Ctrl-0). We should probably make that more obvious.
alnis··on Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
The Reset button should completely reset editor state for the level. What happened?
← PreviousPage 2 of 3Next →