Earlier quoted context omitted.
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?
Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
101–110 of 246 posts
Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
#102Hey 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. :-/…
Sorry about that. That's what you get for making something really interesting and posting about it on hacker news.
Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
#103My biggest critique so far is that it's extremely hard for me to tell the difference between #311 and #000 for the `.disabled` lines (I'm mildly red-green colorblind). Changing it to #711 fixed it for me, but I can imagine it would be impossible to even see #F11 for certain colorblind individuals. Perhaps some other kind of indication that a line is editable, or a more drastic #FFF/#000 distinction?
Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
#104Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
#105Can anyone give me a hint for level 12?
Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
#106Earlier quoted context omitted.
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?
Object.defineProperty with 'writable' = false?
Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
#107That was great, Here's making the boss kill itself https://gist.github.com/anonymous/2d45242a73f72847417b
Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
#108Hey 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. :-/…
Re: Show HN: Untrusted, a JavaScript adventure game you play by modifying its source
#109Can anyone give me a hint for level 12?