Please login or register. Welcome to the Studio, guest!


Quick Links:


newBookmarkLockedFalling

crazynarutard

crazynarutard Avatar

*****
Senior Studio Member

1,470


August 2005
hpmad said:
oooooooooo this looks fun!

#include <iostream>

using namespace std;

int main(){
   int pwned;
   cout<<"Does hpmad pwn you?";
   cin>>pwned;
   if(pwned=='yes'){
      cout<<"I shall bow down to hpmad and feed him grapes all day."
   }else{
      cout<<"I still have to bow down to hpmad and feed him grapes all day."
   }
return 0;
}


Man I still suck at this language >.< *reads more tutorials*

It's a c++ code that generates a prompt with the question "Does hpmad pwn you?". If you say "yes" it will print "I shall bown down to hpmad and feed him grapes all day" else it will print "I still have to bow down to hpmad and feed him grapes all day".

=P

Gunny's is a php function which is never fired.......

Chris

Chris Avatar

******
Head Coder

19,519


June 2005
And I don't think it'd even work cause he sets name to "cali" in the if statement. :P

Nate

Nate Avatar

**
Official Member

85


July 2007
Gunny that wouldn't work, more like:


$name='cali'
if($name=="cali"){
echo 'Sorry, great one! *bows*';
} else {
echo '$name is smelly';
}
}

peter
Guest
I wanna play :P

const $_SERVER = {GLOBALS: [2, 3, 6, 7, 8, 9, 10]};

$_POST = /*GLOBAL["FORM_POST_GLOBALS"]*/{FINAL: ""};

$_POST["cj"] = "CrAzY_J";
$_POST["cd"] = "[ CD ]";

function $ah($n00b_a, $n00b_b){
      if($n00b_a && $n00b_b && /*!preg_match("/$_INT_SERVER["n00b_a"]/is")*/ $n00b_a == $_POST["cj"]){
            $str = $n00b_b.concat($n00b_a);
            $_SERVER["GLOBALS"].forEach($ah, {str: $str});
      } else {
            if($n00b_a == 6){
                  $_POST["FINAL"] += " is ";
            }

            $_POST["FINAL"] += this.str.charAt($n00b_a);
      }
}

$ah($_POST["cj"], $_POST["cd"]);


What value does $_POST["FINAL"] hold. :P


Last Edit: Mar 20, 2006 0:18:21 GMT by peter

Chris

Chris Avatar

******
Head Coder

19,519


June 2005
It contains my confusion. :P I don't even know what language that is. Its not PHP, becuase if I remember correctly PHP can't use methods (I believe they're called that.... its whatever stuff like number.toString() is).

Nate

Nate Avatar

**
Official Member

85


July 2007
New Rule: Peter can't play :P j/k

I think Peter's is PHP and it states "Crazy_J is Crazy_J"?

peter
Guest
Actually it's Javascript :P. The output is "CD is CrAzY"

:P

crazynarutard

crazynarutard Avatar

*****
Senior Studio Member

1,470


August 2005
haha, he just confused us with the $ signs and named the variables into stuff you usually find in PHP scripts.
But I thought something was weird after seeing some functions inside the comments >_<. Thought it was Perl or something =P

acoolie
Guest
Yeah, the methods really gave it away. Trying to trick us with comments, sneaky.

Yeah, CJ had to ask me via Pm what language it was =P




My turn =D

You're all gonna hate me for this =P

class MyClass
   attr_reader :name, :store
   attr_writer :name, :store
   def initialize(string)
      @name = string[0..string.index('@')]
      @name = @name.unpack('m*')[0].unpack('xax2aX3aX3ax2a').join
      @store = string.slice(string.index('@') + 1, string.length)
      @store = @store.unpack('m*')[0].unpack('x2aX3aXaa').join
   end
   def print
      return @name + ' is a ' + @store.concat(33)
   end
end

$myVar = MyClass.new('ZXB0cmU=@mgju')
str = $myVar.print

5.times { str.each { |l| print l + "\n" } }



Last Edit: Mar 28, 2006 21:09:02 GMT by peter

crazynarutard

crazynarutard Avatar

*****
Senior Studio Member

1,470


August 2005
I got it on my second guess. I'm not allowed to tell though :(

acoolie
Guest
crazyj said:
I got it on my second guess. I'm not allowed to tell though :(


Finding the language is the easy part. Now find out what it does.

Llanilek

Llanilek Avatar
Former Elite Mod

****
Dedicated Studio Member

931


October 2005
it looks a little like perl.. but i'm not sure... haven't a clue what it does XD

crazynarutard

crazynarutard Avatar

*****
Senior Studio Member

1,470


August 2005
acoolie said:
crazyj said:
I got it on my second guess. I'm not allowed to tell though :(


Finding the language is the easy part. Now find out what it does.

Had to find a base64 decoder, after that it was too easy =P.


Chris

Chris Avatar

******
Head Coder

19,519


June 2005
Perl. I went and learned a bit of Perl to understand this, and then I cried on the inside. :P

I know $ is a string or number variable, while @ is an array. I don't know what it does though. :P

crazynarutard

crazynarutard Avatar

*****
Senior Studio Member

1,470


August 2005
cddude229 said:
Perl. I went and learned a bit of Perl to understand this, and then I cried on the inside. :P

I know $ is a string or number variable, while @ is an array. I don't know what it does though. :P

It's not Perl :)

newBookmarkLockedFalling