Page 8 of 19

Re: javascript mission 3

PostPosted: Sun Aug 31, 2008 5:28 pm
by c41n
Ok ok I got the best hint go look at extbasic 1 and think of how that is solved... which should be easy this took a sec I kept over thinking... so think of it this way I have a javascript that will help you understand what .length is .
So just put this in fire fox address bar "just this "
javascript: var str="I like pie";alert(str.length);
Which would make it come to 10 so now we know what length is... then x.length == moo so I bet you think its *anwser* but the length can be characters it doesn't even have to be numerable .

Re: javascript mission 3

PostPosted: Fri Sep 12, 2008 12:29 pm
by ellip0t
ummm shouldnt it be telling me "fail D:" when i get the wrong answer? its giving me a message box saying "incorrect password. try again."

Re: javascript mission 3

PostPosted: Fri Sep 12, 2008 1:05 pm
by compy06
You can never forget to not over think the problem, on any mission. I find that is the best hint.
Even here i spent forever thinking about what to do after i did the math, when all you have to do is read
what is given!

Re: javascript mission 3

PostPosted: Fri Sep 12, 2008 3:01 pm
by pompalomp2
If you know what

.length

means then you are already half way there

once you know just think about what it means and apply it to the value you get for moo.

So, .length = moo

This means that the password is "moo" ".length"

Hope this helps, i didn't want to give you the answer because the feeling you get when you work it out is brilliant

Regards,

Pompalomp

Re: javascript mission 3

PostPosted: Sun Sep 28, 2008 1:32 am
by clindsey2
omg I had it the whole time I just thought way too hard about it and skipped over the math really fast once I got the math right I had it

Re: javascript mission 3

PostPosted: Sun Oct 26, 2008 11:35 pm
by mchack28
I think i have the answer but im not sure if it is right can somone help me out ive read all the comments on here

thanks

Re: javascript mission 3

PostPosted: Mon Oct 27, 2008 3:56 pm
by T3K9
i typed the java script into my url and got 14 and the password doesnt work.

Re: javascript mission 3

PostPosted: Sat Nov 08, 2008 10:20 pm
by foolishhim
this one made me want to jump out my window wen i got it.

hers some help

var foo = 5 + 6 * 7 = work this out using correct maths remember that a+b*c is worked out b*c+a
var bar = foo % 8 = read up on modulus or just put that in google or scientific calc.exe mod function, so bar = foo mod 8
var moo = bar * 2 = bar*2 ( obvious)
var rar = moo / 3

if (x.length == moo)

.legnth = moo do we need to work out var rar = moo /3 ???

no

so basically the password is the length of whatever moo is. u get a 2digit number for moo correct? if no then redo your maths =p

if yes then the level password is not checking the value its self but the length of the password
eg a = 1+2
b = a*2
c = b -1
obviously the answer is 5 the length of 5 is not five or 4( which is how many characters five is)
so the password can be any 5 digit combination

* PLS EDIT AS U WISH IF IM GIVING TO MUCH AWAY*

Re: javascript mission 3

PostPosted: Mon Feb 02, 2009 10:33 pm
by princessmarisa
this got me for ages on the most stupid part!

I was doing 5 + 6 * 7 in the wrong order..
so I kept on getting the wrong answer for moo and input the wrong "type" of password if you get ma drift ;)
damnit some brackets woulda helped my maths here
*doh*

Re: javascript mission 3

PostPosted: Thu Feb 05, 2009 2:46 pm
by Defience
princessmarisa wrote:this got me for ages on the most stupid part!

I was doing 5 + 6 * 7 in the wrong order..
so I kept on getting the wrong answer for moo and input the wrong "type" of password if you get ma drift ;)
damnit some brackets woulda helped my maths here
*doh*


Yeah as far as the math part, it was mentioned in the post right above yours.