/** * lowercase letters */
        $this->store['upper_Spec'] = array( *cut* );
        /** * uppercase letters */
        $this->store['lower_Spec'] = array( *cut* );
      
                    } else {
                      $errmsg='An unknown error occured.';
                    }
                  } else {
                    $errmsg='The passwords you entered do not match';
                  }
                } else {
                  $errmsg='Password has to be at least 8 characters long.';
                }
              } else {
                $errmsg='The email you entered is already in our database.';
              }
            } else {
              $errmsg='Please enter your email address.';
            }
          } else {
            $errmsg='Please enter your first name and your last name.';
          }
        } else {
        (...)
      
        // Happy debugging, suckers
        # define true (rand() > 10)
      

anonymous

+2

<img src="../../../../../../../../../../../../../../../../../assets/logo.png" />
 

anonymous

0

  if (in != 0 && GET_CODE (in) == SUBREG
      && (subreg_lowpart_p (in) || strict_low)
#ifdef CANNOT_CHANGE_MODE_CLASS
      && !CANNOT_CHANGE_MODE_CLASS (GET_MODE (SUBREG_REG (in)), inmode, rclass)
#endif
      && contains_reg_of_mode[(int) rclass][(int) GET_MODE (SUBREG_REG (in))]
      && (CONSTANT_P (SUBREG_REG (in))
|| GET_CODE (SUBREG_REG (in)) == PLUS
|| strict_low
|| (((REG_P (SUBREG_REG (in))
&& REGNO (SUBREG_REG (in)) >= FIRST_PSEUDO_REGISTER)
|| MEM_P (SUBREG_REG (in)))
&& ((GET_MODE_PRECISION (inmode)
> GET_MODE_PRECISION (GET_MODE (SUBREG_REG (in))))
#ifdef LOAD_EXTEND_OP
|| (GET_MODE_SIZE (inmode) <= UNITS_PER_WORD
&& (GET_MODE_SIZE (GET_MODE (SUBREG_REG (in)))
<= UNITS_PER_WORD)
&& (GET_MODE_PRECISION (inmode)
> GET_MODE_PRECISION (GET_MODE (SUBREG_REG (in))))
&& INTEGRAL_MODE_P (GET_MODE (SUBREG_REG (in)))
&& LOAD_EXTEND_OP (GET_MODE (SUBREG_REG (in))) != UNKNOWN)
#endif
#ifdef WORD_REGISTER_OPERATIONS
|| ((GET_MODE_PRECISION (inmode)
< GET_MODE_PRECISION (GET_MODE (SUBREG_REG (in))))
&& ((GET_MODE_SIZE (inmode) - 1) / UNITS_PER_WORD ==
((GET_MODE_SIZE (GET_MODE (SUBREG_REG (in))) - 1)
/ UNITS_PER_WORD)))
#endif
))
|| (REG_P (SUBREG_REG (in))
&& REGNO (SUBREG_REG (in)) < FIRST_PSEUDO_REGISTER
/* The case where out is nonzero
is handled differently in the following statement. */
&& (out == 0 || subreg_lowpart_p (in))
&& ((GET_MODE_SIZE (inmode) <= UNITS_PER_WORD
&& (GET_MODE_SIZE (GET_MODE (SUBREG_REG (in)))
> UNITS_PER_WORD)
&& ((GET_MODE_SIZE (GET_MODE (SUBREG_REG (in)))
/ UNITS_PER_WORD)
!= (int) hard_regno_nregs[REGNO (SUBREG_REG (in))]
[GET_MODE (SUBREG_REG (in))]))
|| ! HARD_REGNO_MODE_OK (subreg_regno (in), inmode)))
|| (secondary_reload_class (1, rclass, inmode, in) != NO_REGS
&& (secondary_reload_class (1, rclass, GET_MODE (SUBREG_REG (in)),
SUBREG_REG (in))
== NO_REGS))
#ifdef CANNOT_CHANGE_MODE_CLASS
|| (REG_P (SUBREG_REG (in))
&& REGNO (SUBREG_REG (in)) < FIRST_PSEUDO_REGISTER
&& REG_CANNOT_CHANGE_MODE_P
(REGNO (SUBREG_REG (in)), GET_MODE (SUBREG_REG (in)), inmode))
#endif
))
    {
 

-1

git commit -m "hotfix" -a

http://imgur.com/c9xQPwcl
 

+4

//woozy+=multiplier;
woozy+=multiplier;
 

+3

/* it was a single line, here I've manually wrapped it
 *
 * source: http://hg.icculus.org/icculus/lugaru/file/97b303e79826/Source/GameTick.cpp */
 
if(((((findLengthfast(&rotatetarget)>150&&(i!=0&&k!=0))||(findLengthfast(&rotatetarget)>50&&
player[0].rabbitkickragdoll/*currentanimation==rabbitkickanim*/&&(i==0||k==0)))&&
normaldotproduct(rotatetarget,player[k].coords-player[i].coords)>0)&&((i==0||k==0)||
((player[i].skeleton.oldfree==1&&k!=0&&animation[player[k].currentanimation].attack==neutral)||
(player[k].skeleton.oldfree==1&&i!=0&&animation[player[i].currentanimation].attack==neutral)||
(player[i].isFlip()&&!player[i].skeleton.oldfree&&(i==0||k==0))||(player[k].isFlip()&&
!player[k].skeleton.oldfree&&(i==0||k==0))||(i==0||k==0))))||
((player[i].targetanimation==jumpupanim||
player[i].targetanimation==jumpdownanim||player[i].isFlip())&&
(player[k].targetanimation==jumpupanim||player[k].targetanimation==jumpdownanim||
player[k].isFlip())&&(i==0||k==0)&&(!player[i].skeleton.oldfree&&!player[k].skeleton.oldfree))){
 
 
/* ooo macarena */
 

anonymous

0

def gravity(self):
                if(not self.up and self.y <= 235):
                    self.y = self.y +(9.8*0.1)
                else:
                    self.up = False
 

anonymous

+1

https://github.com/search?q=%24_GET+sudo&ref=cmdform&type=Code
 

anonymous

+1

return (roles != null && roles.size() > 0 && !blocked) ? ((roles
			.containsAll(allowedRole)) ? true : false) : false;
 

anonymous

+1

$sql = "UPDATE some_table SET activation_date = '".$timestamp."' WHERE activation_id = '".$_GET['a'].$_POST['activation_id']."'"

// The code above assumes that $_GET['a'] and $_POST['activation_id'] does not have both values set at the same time
 

anonymous

-1

$slaves = $delegateModel->fetchSlavesByMaster($this->storage->user); // Save our enslaved souls
 

anonymous

-1

if(isset($_POST['password'])){ $_SESSION['password'] = $_POST['password']; } // *** NEEDS ENCRYPTION! ***
 

anonymous

+2

// this is from the leaked windows 2000 sourcecode in privat/shell/ext/tweakgui/ie4.c

/*****************************************************************************
 *
 *  IE4_OnCommand
 *
 *      Ooh, we got a command.
 *
 *****************************************************************************/

BOOL PASCAL
IE4_OnCommand(HWND hdlg, int id, UINT codeNotify)
{
    switch (id) {

    }

    return 0;
}
 

anonymous

+6

<nav class="clear">
          <p class="innactive">Navigation</p>
          <p class="active">Navigation</p>
          <ul class="clear">
            <li><a<?php if ($title == "1") {echo " class='current'";} ?> href="index.php" title="Page One">1</a></li>
            <li><a<?php if ($title == "2") {echo " class='current'";} ?> href="2.php" title="Page Two">2</a></li>
            <li><a<?php if ($title == "3") {echo " class='current'";} ?> href="3.php" title="Page Three">3</a></li>
            <li><a<?php if ($title == "4") {echo " class='current'";} ?> href="4.php" title="Page Four">4</a></li>
            <li><a<?php if ($title == "5") {echo " class='current'";} ?> href="5.php" title="Page Five">5</a></li>
            <li><a<?php if ($title == "6") {echo " class='current'";} ?> href="6.php" title="Page Six">6</a></li>
            <li><a<?php if ($title == "7") {echo " class='current'";} ?> href="7.php" title="Page Seven">7</a></li>
            <li><a<?php if ($title == "8") {echo " class='current'";} ?> href="8.php" title="Page Eight">8</a></li>
            <li><a<?php if ($title == "9") {echo " class='current'";} ?> href="9.php" title="Page Nine">9</a></li>
            <li><a<?php if ($title == "10") {echo " class='current' ";} ?> href="10.php" title="Page Ten">10</a></li>
            <li><a<?php if ($title == "11") {echo " class='current' ";} ?> href="11.php" title="Page Eleven">11</a></li>
            <li><a<?php if ($title == "12") {echo " class='current' ";} ?> href="12.php" title="Page Twelve">12</a></li>
            <li><a<?php if ($title == "13") {echo " class='current' ";} ?> href="13.php" title="Page Thirteen">13</a></li>
            <li><a<?php if ($title == "14") {echo " class='current' ";} ?> href="14.php" title="Page Fourteen">14</a></li>
            <li><a<?php if ($title == "15") {echo " class='current' ";} ?> href="15.php" title="Page Fifteen">15</a></li>
            <li><a<?php if ($title == "16") {echo " class='current' ";} ?> href="16.php" title="Page Sixteen">16</a></li>
            <li><a<?php if ($title == "17") {echo " class='current' ";} ?> href="17.php" title="Page Seventeen">17</a></li>
            <li><a<?php if ($title == "18") {echo " class='current' ";} ?> href="18.php" title="Page Eighteen">18</a></li>
            <li><a<?php if ($title == "videos") {echo " class='current' ";} ?> href="videos.php" title="Videos">Videos</a></li>
          </ul>
        </nav>
 

anonymous

0

<script language="JavaScript">
	rok=prompt("Podaj rok z przedziaƂu 1900-2099")
	Wielkanoc = 22 + (19*(rok % 19) + 24) % 30 + (2*(rok % 4) + 4*(rok % 7) + 6*((19*(rok % 19) + 24) % 30) + 5) % 7
if (rok==1981) {wielkanoc=50}
if (rok==2076) {wielkanoc=50}
if (rok==1954) {wielkanoc=49}
if (rok==2049) {wielkanoc=49}
if (wielkanoc<=31) {
	alert("Niedziela wielkanocna w roku "+rok+" przypada "+wielkanoc+" marca")
		}
	else {
		alert("Niedziela wielkanocna w roku "+rok+" przypada "+(wielkanoc-31)+" kwietnia")
		}
</script>
 

anonymous

+2

// This is sooooo wrong in soooo many ways
// I found this in a friend's code
// I did him the courtesy of adding comments
// This really existed somewhere
// . . .truly this is not a joke
int iscorrect(char *password) {
    char tmp[50];
    char *cmd = (char*)malloc(1024);
    strcpy(password, tmp);
    sprintf(cmd, "echo 'Attempt to use password: %s' >> /var/log/aaaaaaaa.log", tmp); // Just in case you were too dumb to exploit the bof???
    free(tmp);
    int success = 0;
    if (strcmp(tmp, master_password) { // I'll give him that his "master password" was decently secure (49 chars). Unfortunately anyone with a text editor could open up the binary and read it.
        success = 1;
    }
    return success;
}
 

+6

<script language="JavaScript">
 if(navigator.javaEnabled())
;
  else
   alert("JavaScript not enabled!");
</script>

// Found on arkenau-gerwers.de
 

anonymous

+2

// I am so sorry for this function. It was autogenerated by another program to determine
// which faces should be drawn between a compound of two ramps 
 private static void CreateFaceDrawMap()
        {
            #region BULLSHIT

            FaceDrawMap[(int) BoxFace.Back, (int) RampType.None, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.None, (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.None, (int) RampType.Front] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.None, (int) RampType.Left] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.None, (int) RampType.Right] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.None, (int) RampType.Back] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.None, (int) RampType.TopFrontLeft] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.None, (int) RampType.TopFrontRight] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.None, (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.None, (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.None, (int) (RampType.Front | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.None, (int) (RampType.Front | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.None, (int) (RampType.Back | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.None, (int) (RampType.Back | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.All, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.All, (int) RampType.All] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.All, (int) RampType.Front] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.All, (int) RampType.Left] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.All, (int) RampType.Right] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.All, (int) RampType.Back] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.All, (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.All, (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.All, (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.All, (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.All, (int) (RampType.Front | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.All, (int) (RampType.Front | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.All, (int) (RampType.Back | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.All, (int) (RampType.Back | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Front, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Front, (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Front, (int) RampType.Front] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Front, (int) RampType.Left] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Front, (int) RampType.Right] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Front, (int) RampType.Back] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Front, (int) RampType.TopFrontLeft] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Front, (int) RampType.TopFrontRight] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Front, (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Front, (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Front, (int) (RampType.Front | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Front, (int) (RampType.Front | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Front, (int) (RampType.Back | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Front, (int) (RampType.Back | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Left, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Left, (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Left, (int) RampType.Front] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Left, (int) RampType.Left] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Left, (int) RampType.Right] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Left, (int) RampType.Back] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Left, (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Left, (int) RampType.TopFrontRight] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Left, (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Left, (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Left, (int) (RampType.Front | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Left, (int) (RampType.Front | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Left, (int) (RampType.Back | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Left, (int) (RampType.Back | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Right, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Right, (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Right, (int) RampType.Front] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Right, (int) RampType.Left] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Right, (int) RampType.Right] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Right, (int) RampType.Back] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Right, (int) RampType.TopFrontLeft] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Right, (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Right, (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Right, (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Right, (int) (RampType.Front | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Right, (int) (RampType.Front | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Right, (int) (RampType.Back | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Right, (int) (RampType.Back | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Back, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Back, (int) RampType.All] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Back, (int) RampType.Front] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Back, (int) RampType.Left] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Back, (int) RampType.Right] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Back, (int) RampType.Back] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Back, (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Back, (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Back, (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Back, (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Back, (int) (RampType.Front | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Back, (int) (RampType.Front | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Back, (int) (RampType.Back | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.Back, (int) (RampType.Back | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontLeft, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontLeft, (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontLeft, (int) RampType.Front] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontLeft, (int) RampType.Left] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontLeft, (int) RampType.Right] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontLeft, (int) RampType.Back] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontLeft, (int) RampType.TopFrontLeft] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontLeft, (int) RampType.TopFrontRight] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontLeft, (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontLeft, (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontLeft, (int) (RampType.Front | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontLeft, (int) (RampType.Front | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontLeft, (int) (RampType.Back | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontLeft, (int) (RampType.Back | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontRight, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontRight, (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontRight, (int) RampType.Front] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontRight, (int) RampType.Left] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontRight, (int) RampType.Right] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontRight, (int) RampType.Back] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontRight, (int) RampType.TopFrontLeft] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontRight, (int) RampType.TopFrontRight] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontRight, (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontRight, (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontRight, (int) (RampType.Front | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontRight, (int) (RampType.Front | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontRight, (int) (RampType.Back | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopFrontRight, (int) (RampType.Back | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackLeft, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackLeft, (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackLeft, (int) RampType.Front] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackLeft, (int) RampType.Left] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackLeft, (int) RampType.Right] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackLeft, (int) RampType.Back] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackLeft, (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackLeft, (int) RampType.TopFrontRight] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackLeft, (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackLeft, (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackLeft, (int) (RampType.Front | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackLeft, (int) (RampType.Front | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackLeft, (int) (RampType.Back | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackLeft, (int) (RampType.Back | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackRight, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackRight, (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackRight, (int) RampType.Front] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackRight, (int) RampType.Left] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackRight, (int) RampType.Right] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackRight, (int) RampType.Back] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackRight, (int) RampType.TopFrontLeft] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackRight, (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackRight, (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackRight, (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackRight, (int) (RampType.Front | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackRight, (int) (RampType.Front | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackRight, (int) (RampType.Back | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) RampType.TopBackRight, (int) (RampType.Back | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Left), (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Left), (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Left), (int) RampType.Front] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Left), (int) RampType.Left] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Left), (int) RampType.Right] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Left), (int) RampType.Back] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Left), (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Left), (int) RampType.TopFrontRight] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Left), (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Left), (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Left), (int) (RampType.Front | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Left), (int) (RampType.Front | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Left), (int) (RampType.Back | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Left), (int) (RampType.Back | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Right), (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Right), (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Right), (int) RampType.Front] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Right), (int) RampType.Left] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Right), (int) RampType.Right] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Right), (int) RampType.Back] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Right), (int) RampType.TopFrontLeft] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Right), (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Right), (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Right), (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Right), (int) (RampType.Front | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Right), (int) (RampType.Front | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Right), (int) (RampType.Back | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Front | RampType.Right), (int) (RampType.Back | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Left), (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Left), (int) RampType.All] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Left), (int) RampType.Front] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Left), (int) RampType.Left] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Left), (int) RampType.Right] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Left), (int) RampType.Back] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Left), (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Left), (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Left), (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Left), (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Left), (int) (RampType.Front | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Left), (int) (RampType.Front | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Left), (int) (RampType.Back | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Left), (int) (RampType.Back | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Right), (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Right), (int) RampType.All] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Right), (int) RampType.Front] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Right), (int) RampType.Left] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Right), (int) RampType.Right] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Right), (int) RampType.Back] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Right), (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Right), (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Right), (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Right), (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Right), (int) (RampType.Front | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Right), (int) (RampType.Front | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Right), (int) (RampType.Back | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Back, (int) (RampType.Back | RampType.Right), (int) (RampType.Back | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.None, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.None, (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.None, (int) RampType.Front] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.None, (int) RampType.Left] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.None, (int) RampType.Right] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.None, (int) RampType.Back] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.None, (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.None, (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.None, (int) RampType.TopBackLeft] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.None, (int) RampType.TopBackRight] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.None, (int) (RampType.Front | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.None, (int) (RampType.Front | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.None, (int) (RampType.Back | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.None, (int) (RampType.Back | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.All, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.All, (int) RampType.All] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.All, (int) RampType.Front] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.All, (int) RampType.Left] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.All, (int) RampType.Right] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.All, (int) RampType.Back] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.All, (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.All, (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.All, (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.All, (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.All, (int) (RampType.Front | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.All, (int) (RampType.Front | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.All, (int) (RampType.Back | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.All, (int) (RampType.Back | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Front, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Front, (int) RampType.All] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Front, (int) RampType.Front] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Front, (int) RampType.Left] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Front, (int) RampType.Right] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Front, (int) RampType.Back] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Front, (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Front, (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Front, (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Front, (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Front, (int) (RampType.Front | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Front, (int) (RampType.Front | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Front, (int) (RampType.Back | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Front, (int) (RampType.Back | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Left, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Left, (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Left, (int) RampType.Front] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Left, (int) RampType.Left] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Left, (int) RampType.Right] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Left, (int) RampType.Back] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Left, (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Left, (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Left, (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Left, (int) RampType.TopBackRight] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Left, (int) (RampType.Front | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Left, (int) (RampType.Front | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Left, (int) (RampType.Back | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Left, (int) (RampType.Back | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Right, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Right, (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Right, (int) RampType.Front] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Right, (int) RampType.Left] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Right, (int) RampType.Right] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Right, (int) RampType.Back] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Right, (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Right, (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Right, (int) RampType.TopBackLeft] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Right, (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Right, (int) (RampType.Front | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Right, (int) (RampType.Front | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Right, (int) (RampType.Back | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Right, (int) (RampType.Back | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Back, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Back, (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Back, (int) RampType.Front] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Back, (int) RampType.Left] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Back, (int) RampType.Right] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Back, (int) RampType.Back] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Back, (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Back, (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Back, (int) RampType.TopBackLeft] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Back, (int) RampType.TopBackRight] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Back, (int) (RampType.Front | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Back, (int) (RampType.Front | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Back, (int) (RampType.Back | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.Back, (int) (RampType.Back | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontLeft, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontLeft, (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontLeft, (int) RampType.Front] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontLeft, (int) RampType.Left] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontLeft, (int) RampType.Right] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontLeft, (int) RampType.Back] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontLeft, (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontLeft, (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontLeft, (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontLeft, (int) RampType.TopBackRight] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontLeft, (int) (RampType.Front | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontLeft, (int) (RampType.Front | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontLeft, (int) (RampType.Back | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontLeft, (int) (RampType.Back | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontRight, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontRight, (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontRight, (int) RampType.Front] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontRight, (int) RampType.Left] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontRight, (int) RampType.Right] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontRight, (int) RampType.Back] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontRight, (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontRight, (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontRight, (int) RampType.TopBackLeft] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontRight, (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontRight, (int) (RampType.Front | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontRight, (int) (RampType.Front | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontRight, (int) (RampType.Back | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopFrontRight, (int) (RampType.Back | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackLeft, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackLeft, (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackLeft, (int) RampType.Front] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackLeft, (int) RampType.Left] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackLeft, (int) RampType.Right] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackLeft, (int) RampType.Back] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackLeft, (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackLeft, (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackLeft, (int) RampType.TopBackLeft] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackLeft, (int) RampType.TopBackRight] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackLeft, (int) (RampType.Front | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackLeft, (int) (RampType.Front | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackLeft, (int) (RampType.Back | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackLeft, (int) (RampType.Back | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackRight, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackRight, (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackRight, (int) RampType.Front] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackRight, (int) RampType.Left] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackRight, (int) RampType.Right] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackRight, (int) RampType.Back] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackRight, (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackRight, (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackRight, (int) RampType.TopBackLeft] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackRight, (int) RampType.TopBackRight] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackRight, (int) (RampType.Front | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackRight, (int) (RampType.Front | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackRight, (int) (RampType.Back | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) RampType.TopBackRight, (int) (RampType.Back | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Left), (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Left), (int) RampType.All] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Left), (int) RampType.Front] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Left), (int) RampType.Left] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Left), (int) RampType.Right] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Left), (int) RampType.Back] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Left), (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Left), (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Left), (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Left), (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Left), (int) (RampType.Front | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Left), (int) (RampType.Front | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Left), (int) (RampType.Back | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Left), (int) (RampType.Back | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Right), (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Right), (int) RampType.All] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Right), (int) RampType.Front] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Right), (int) RampType.Left] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Right), (int) RampType.Right] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Right), (int) RampType.Back] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Right), (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Right), (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Right), (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Right), (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Right), (int) (RampType.Front | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Right), (int) (RampType.Front | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Right), (int) (RampType.Back | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Front | RampType.Right), (int) (RampType.Back | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Left), (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Left), (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Left), (int) RampType.Front] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Left), (int) RampType.Left] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Left), (int) RampType.Right] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Left), (int) RampType.Back] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Left), (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Left), (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Left), (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Left), (int) RampType.TopBackRight] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Left), (int) (RampType.Front | RampType.Left)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Left), (int) (RampType.Front | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Left), (int) (RampType.Back | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Left), (int) (RampType.Back | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Right), (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Right), (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Right), (int) RampType.Front] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Right), (int) RampType.Left] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Right), (int) RampType.Right] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Right), (int) RampType.Back] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Right), (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Right), (int) RampType.TopFrontRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Right), (int) RampType.TopBackLeft] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Right), (int) RampType.TopBackRight] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Right), (int) (RampType.Front | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Right), (int) (RampType.Front | RampType.Right)] = false;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Right), (int) (RampType.Back | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Front, (int) (RampType.Back | RampType.Right), (int) (RampType.Back | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Left, (int) RampType.None, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Left, (int) RampType.None, (int) RampType.All] = true;
            FaceDrawMap[(int) BoxFace.Left, (int) RampType.None, (int) RampType.Front] = true;
            FaceDrawMap[(int) BoxFace.Left, (int) RampType.None, (int) RampType.Left] = false;
            FaceDrawMap[(int) BoxFace.Left, (int) RampType.None, (int) RampType.Right] = true;
            FaceDrawMap[(int) BoxFace.Left, (int) RampType.None, (int) RampType.Back] = true;
            FaceDrawMap[(int) BoxFace.Left, (int) RampType.None, (int) RampType.TopFrontLeft] = false;
            FaceDrawMap[(int) BoxFace.Left, (int) RampType.None, (int) RampType.TopFrontRight] = true;
            FaceDrawMap[(int) BoxFace.Left, (int) RampType.None, (int) RampType.TopBackLeft] = false;
            FaceDrawMap[(int) BoxFace.Left, (int) RampType.None, (int) RampType.TopBackRight] = true;
            FaceDrawMap[(int) BoxFace.Left, (int) RampType.None, (int) (RampType.Front | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Left, (int) RampType.None, (int) (RampType.Front | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Left, (int) RampType.None, (int) (RampType.Back | RampType.Left)] = true;
            FaceDrawMap[(int) BoxFace.Left, (int) RampType.None, (int) (RampType.Back | RampType.Right)] = true;
            FaceDrawMap[(int) BoxFace.Left, (int) RampType.All, (int) RampType.None] = false;
            FaceDrawMap[(int) BoxFace.Left, (int) RampType.All, (int) RampType.All] = false;
            FaceDrawMap[(int) BoxFace.Left, (int) RampType.All, (int) RampType.Front] = false;
            FaceDrawMap[(int) BoxFace.Left, (int) RampType.All, (int) RampType.Left] = false;
            FaceDrawMap[(int) BoxFace.Left, (int) RampType.All, (int) RampType.Right] = false;
            FaceDrawMap[(int) BoxFace.Left, (int) RampType.All, (int) RampType.Back] = false;
            


            // Several thousand lines follow...

            #endregion
        }
 

0

--lua code
error("Fuck that, Synthetic attributes are not supported",0)
--made me laugh real good
 

anonymous

+1

$sp = ";";
$tx = '"';
$nl = "\r\n";

$report .= $customer->getId() . $sp
    . $tx . $customer->getFirstName() . $tx . $sp
    . $tx . $customer->getLastName() . $tx . $sp
    . $tx . ($customer->getBirthDate() instanceof \DateTime ? $customer->getBirthDate()->format('Y-m-d') : '') . $tx . $sp
    . $tx . $customer->getRegistrationEmail() . $tx . $sp
    . $tx . $customer->getType() . $tx . $sp
    . $tx . $voucher . $tx . $sp
    . $tx . $customer->getRegistrationMcc() . $tx . $sp
    . $tx . "BR" . $tx . $sp
    . $tx . $customer->getStatus() . $tx . $sp
    . $tx . $customer->getIsTest() . $tx . $sp
    . $tx . ($customer->getCreatedAt() instanceof \DateTime ? $customer->getCreatedAt()->format('Y-m-d H:i:s') : '') . $tx . $sp
    . $tx . $statusLog['reviewing'] . $tx . $sp
    . $tx . $statusLog['accepted'] . $tx . $sp
    . $tx . $statusLog['paid'] . $tx . $sp
    . $tx . ($statusLog['paid'] != '') . $tx . $sp
    . $tx . $statusLog['activated'] . $tx . $sp
    . $tx . $invitedBy . $tx . $sp
    . $tx . $plan . $tx . $sp
    . $tx . $orderId . $tx . $sp
    . $tx . $orderVoucher . $tx . $sp
    . $tx . $orderStatus . $tx . $sp
    . $tx . $product . $tx . $sp
    . $tx . $terminal . $tx . $sp
    . $tx . $orderPaymentMethod . $tx . $sp
    . $tx . $orderReceipt . $tx . $sp
    . $tx . $orderFee . $tx . $sp
    . $tx . $orderInvoiceUrl . $tx . $sp //Bank URL
    . $tx . $customer->getPhone() . $tx . $sp
    . $tx . $customer->getMobilePhone() . $tx . $sp
    . $tx . $customer->getCpf() . $tx . $sp
    . $tx . $stateName . $tx . $sp
    . $tx . $cityName . $tx . $sp
    . $tx . $addressLine1 . $tx . $sp
    . $tx . $addressLine2 . $tx . $sp
    . $tx . $neighborhood . $tx . $sp
    . $tx . $postalCode . $tx . $sp
    . $tx . $accountHolder . $tx . $sp
    . $tx . $documentNumber . $tx . $sp
    . $tx . $bankName . $tx . $sp
    . $tx . $branch . $tx . $sp
    . $tx . $accountNumber . $tx . $sp
    . $tx . $companyName . $tx . $sp
    . $tx . $companyTradeName. $tx . $sp
    . $tx . $cnpj . $tx . $sp
    . $nl;
 

anonymous

+1

if (score==0)   
        {
           scales[x11][y11].setVisible(false);
           scales[x12][y12].setVisible(false);
           scales[x13][y13].setVisible(false);
           scales[x21][y21].setVisible(false);
           scales[x22][y22].setVisible(false);
           scales[x23][y23].setVisible(false);
           scales[x31][y31].setVisible(false);
           scales[x32][y32].setVisible(false);
           scales[x33][y33].setVisible(false);
           x31=12;
           x32=13;
           x33=14;
           x11=1;
           x12=2;
           x13=3;
           x21=19;
           x22=19;
           x23=19;
           y11=2;
           y12=2;
           y13=2;
           y21=9;
           y22=10;
           y23=11;
           y31=20;
           y32=20;
           y33=20;
        }
         //level2
             if (score==1)   
        {
           scales[x11][y11].setVisible(false);
           scales[x12][y12].setVisible(false);
           scales[x13][y13].setVisible(false);
           scales[x21][y21].setVisible(false);
           scales[x22][y22].setVisible(false);
           scales[x23][y23].setVisible(false);
           scales[x31][y31].setVisible(false);
           scales[x32][y32].setVisible(false);
           scales[x33][y33].setVisible(false);
           x11=5;
           x12=6;
           x13=7;
           y11=5;
           y12=5;
           y13=5;
           x21=29;
           x22=28;
           x23=27;
           y21=15;
           y22=15;
           y23=15;
           x31=7;
           x32=7;
           x33=7;
           y31=10;
           y32=12;
           y33=13;
        }
              //level3
            if (score==2)   
        {
           scales[x11][y11].setVisible(false);
           scales[x12][y12].setVisible(false);
           scales[x13][y13].setVisible(false);
           scales[x21][y21].setVisible(false);
           scales[x22][y22].setVisible(false);
           scales[x23][y23].setVisible(false);
           scales[x31][y31].setVisible(false);
           scales[x32][y32].setVisible(false);
           scales[x33][y33].setVisible(false);
           x11=12;
           x12=13;
           x13=14;
           y11=5;
           y12=5;
           y13=5;
           x21=2;
           x22=2;
           x23=2;
           y21=16;
           y22=17;
           y23=18;
           x31=17;
           x32=17;
           x33=17;
           y31=10;
           y32=9;
           y33=8;
        } 
                //level4
             if (score==3)   
        {
           scales[x11][y11].setVisible(false);
           scales[x12][y12].setVisible(false);
           scales[x13][y13].setVisible(false);
           scales[x21][y21].setVisible(false);
           scales[x22][y22].setVisible(false);
           scales[x23][y23].setVisible(false);
           scales[x31][y31].setVisible(false);
           scales[x32][y32].setVisible(false);
           scales[x33][y33].setVisible(false);
           x11=20;
           x12=23;
           x13=25;
           y11=5;
           y12=5;
           y13=5;
           x21=12;
           x22=13;
           x23=14;
           y21=17;
           y22=19;
           y23=20;
           x31=15;
           x32=15;
           x33=15;
           y31=15;
           y32=5;
           y33=12;
        } 
              //level5
          if (score==4)   
        {
           scales[x11][y11].setVisible(false);
           scales[x12][y12].setVisible(false);
           scales[x13][y13].setVisible(false);
           scales[x21][y21].setVisible(false);
           scales[x22][y22].setVisible(false);
           scales[x23][y23].setVisible(false);
           scales[x31][y31].setVisible(false);
           scales[x32][y32].setVisible(false);
           scales[x33][y33].setVisible(false);
           x11=1;
           x12=2;
           x13=3;
           y11=2;
           y12=2;
           y13=2;
           x21=19;
           x22=19;
           x23=19;
           y21=9;
           y22=10;
           y23=11;
           x31=12;
           x32=13;
           x33=14;
           y31=20;
           y32=20;
           y33=20;
        }
           //level6
             if (score==5)   
        {
           scales[x11][y11].setVisible(false);
           scales[x12][y12].setVisible(false);
           scales[x13][y13].setVisible(false);
           scales[x21][y21].setVisible(false);
           scales[x22][y22].setVisible(false);
           scales[x23][y23].setVisible(false);
           scales[x31][y31].setVisible(false);
           scales[x32][y32].setVisible(false);
           scales[x33][y33].setVisible(false);
           x11=5;
           x12=6;
           x13=7;
           y11=5;
           y12=5;
           y13=5;
           x21=29;
           x22=28;
           x23=27;
           y21=15;
           y22=15;
           y23=15;
           x31=7;
           x32=7;
           x33=7;
           y31=10;
           y32=12;
           y33=13;
        }
              //level7
            if (score==6)   
        {
           scales[x11][y11].setVisible(false);
           scales[x12][y12].setVisible(false);
           scales[x13][y13].setVisible(false);
           scales[x21][y21].setVisible(false);
           scales[x22][y22].setVisible(false);
           scales[x23][y23].setVisible(false);
           scales[x31][y31].setVisible(false);
           scales[x32][y32].setVisible(false);
           scales[x33][y33].setVisible(false);
           x11=12;
           x12=13;
           x13=14;
           y11=5;
           y12=5;
           y13=5;
           x21=2;
           x22=2;
           x23=2;
           y21=16;
           y22=17;
           y23=18;
           x31=17;
           x32=17;
           x33=17;
           y31=10;
           y32=9;
           y33=8;
        } 
             //level8
             if (score==7)   
        {
           scales[x11][y11].setVisible(false);
           scales[x12][y12].setVisible(false);
           scales[x13][y13].setVisible(false);
           scales[x21][y21].setVisible(false);
           scales[x22][y22].setVisible(false);
           scales[x23][y23].setVisible(false);
           scales[x31][y31].setVisible(false);
           scales[x32][y32].setVisible(false);
           scales[x33][y33].setVisible(false);
           x11=20;
           x12=23;
           x13=25;
           y11=5;
           y12=5;
           y13=5;
           x21=12;
           x22=13;
           x23=14;
           y21=17;
           y22=19;
           y23=20;
           x31=15;
           x32=15;
           x33=15;
           y31=15;
           y32=5;
           y33=12;
        } 
              //level9
          if (score==8)   
        {
           scales[x11][y11].setVisible(false);
           scales[x12][y12].setVisible(false);
           scales[x13][y13].setVisible(false);
           scales[x21][y21].setVisible(false);
           scales[x22][y22].setVisible(false);
           scales[x23][y23].setVisible(false);
           scales[x31][y31].setVisible(false);
           scales[x32][y32].setVisible(false);
           scales[x33][y33].setVisible(false);
           x11=1;
           x12=2;
           x13=3;
           y11=2;
           y12=2;
           y13=2;
           x21=19;
           x22=19;
           x23=19;
           y21=9;
           y22=10;
           y23=11;
           x31=12;
           x32=13;
           x33=14;
           y31=20;
           y32=20;
           y33=20;
        }
 

anonymous

+3

enum { VALUE1 = 0 };
enum { VALUE2 = 1 };
enum { VALUE3 = 2 };
enum { VALUE4 = 3 };
enum { VALUE5 = 4 };
enum { VALUE6 = 5 };
enum { VALUE7 = 6 };
enum { VALUE8 = 7 };
enum { VALUE9 = 8 };
enum { VALUE10 = 9 };
// ...
// Of course, the name of the constants were different with
// real meaning, that's not the point.
 

anonymous

+5

    private boolean countLengthOfPassword(String password){
        boolean toLongOrToLow = false;
        for (int i = 0; i < password.length(); i++) {
            if(i < 12 || i < 24){
                toLongOrToLow = true;
            }
        }
        return toLongOrToLow;
    }
 

anonymous

+4

switch(ihealth){
		case 0:
			DrawText("0%", x, y, 0, 0, 0);
			break;
		case 1:
			DrawText("1%", x, y, 0, 0, 0);
			break;
		case 2:
			DrawText("2%", x, y, 0, 0, 0);
			break;
		case 3:
			DrawText("3%", x, y, 0, 0, 0);
			break;
		case 4:
			DrawText("4%", x, y, 0, 0, 0);
			break;
		case 5:
			DrawText("5%", x, y, 0, 0, 0);
			break;
		case 6:
			DrawText("6%", x, y, 0, 0, 0);
			break;
		case 7:
			DrawText("7%", x, y, 0, 0, 0);
			break;
		case 8:
			DrawText("8%", x, y, 0, 0, 0);
			break;
		case 9:
			DrawText("9%", x, y, 0, 0, 0);
			break;
		case 10:
			DrawText("10%", x, y, 0, 0, 0);
			break;
		case 11:
			DrawText("11%", x, y, 0, 0, 0);
			break;
		case 12:
			DrawText("12%", x, y, 0, 0, 0);
			break;
		case 13:
			DrawText("13%", x, y, 0, 0, 0);
			break;
		case 14:
			DrawText("14%", x, y, 0, 0, 0);
			break;
		case 15:
			DrawText("15%", x, y, 0, 0, 0);
			break;
		case 16:
			DrawText("16%", x, y, 0, 0, 0);
			break;
		case 17:
			DrawText("17%", x, y, 0, 0, 0);
			break;
		case 18:
			DrawText("18%", x, y, 0, 0, 0);
			break;
		case 19:
			DrawText("19%", x, y, 0, 0, 0);
			break;
		case 20:
			DrawText("20%", x, y, 0, 0, 0);
			break;
		case 21:
			DrawText("21%", x, y, 0, 0, 0);
			break;
		case 22:
			DrawText("22%", x, y, 0, 0, 0);
			break;
		case 23:
			DrawText("23%", x, y, 0, 0, 0);
			break;
		case 24:
			DrawText("24%", x, y, 0, 0, 0);
			break;
		case 25:
			DrawText("25%", x, y, 0, 0, 0);
			break;
		case 26:
			DrawText("26%", x, y, 0, 0, 0);
			break;
		case 27:
			DrawText("27%", x, y, 0, 0, 0);
			break;
		case 28:
			DrawText("28%", x, y, 0, 0, 0);
			break;
		case 29:
			DrawText("29%", x, y, 0, 0, 0);
			break;
		case 30:
			DrawText("30%", x, y, 0, 0, 0);
			break;
		case 31:
			DrawText("31%", x, y, 0, 0, 0);
			break;
		case 32:
			DrawText("32%", x, y, 0, 0, 0);
			break;
		case 33:
			DrawText("33%", x, y, 0, 0, 0);
			break;
		case 34:
			DrawText("34%", x, y, 0, 0, 0);
			break;
		case 35:
			DrawText("35%", x, y, 0, 0, 0);
			break;
		case 36:
			DrawText("36%", x, y, 0, 0, 0);
			break;
		case 37:
			DrawText("37%", x, y, 0, 0, 0);
			break;
		case 38:
			DrawText("38%", x, y, 0, 0, 0);
			break;
		case 39:
			DrawText("39%", x, y, 0, 0, 0);
			break;
		case 40:
			DrawText("40%", x, y, 0, 0, 0);
			break;
		case 41:
			DrawText("41%", x, y, 0, 0, 0);
			break;
		case 42:
			DrawText("42%", x, y, 0, 0, 0);
			break;
		case 43:
			DrawText("43%", x, y, 0, 0, 0);
			break;
		case 44:
			DrawText("44%", x, y, 0, 0, 0);
			break;
		case 45:
			DrawText("45%", x, y, 0, 0, 0);
			break;
		case 46:
			DrawText("46%", x, y, 0, 0, 0);
			break;
		case 47:
			DrawText("47%", x, y, 0, 0, 0);
			break;
		case 48:
			DrawText("48%", x, y, 0, 0, 0);
			break;
		case 49:
			DrawText("49%", x, y, 0, 0, 0);
			break;
		case 50:
			DrawText("50%", x, y, 0, 0, 0);
			break;
		case 51:
			DrawText("51%", x, y, 0, 0, 0);
			break;
		case 52:
			DrawText("52%", x, y, 0, 0, 0);
			break;
		case 53:
			DrawText("53%", x, y, 0, 0, 0);
			break;
		case 54:
			DrawText("54%", x, y, 0, 0, 0);
			break;
		case 55:
			DrawText("55%", x, y, 0, 0, 0);
			break;
		case 56:
			DrawText("56%", x, y, 0, 0, 0);
			break;
		case 57:
			DrawText("57%", x, y, 0, 0, 0);
			break;
		case 58:
			DrawText("58%", x, y, 0, 0, 0);
			break;
		case 59:
			DrawText("59%", x, y, 0, 0, 0);
			break;
		case 60:
			DrawText("60%", x, y, 0, 0, 0);
			break;
		case 61:
			DrawText("61%", x, y, 0, 0, 0);
			break;
		case 62:
			DrawText("62%", x, y, 0, 0, 0);
			break;
		case 63:
			DrawText("63%", x, y, 0, 0, 0);
			break;
		case 64:
			DrawText("64%", x, y, 0, 0, 0);
			break;
		case 65:
			DrawText("65%", x, y, 0, 0, 0);
			break;
		case 66:
			DrawText("66%", x, y, 0, 0, 0);
			break;
		case 67:
			DrawText("67%", x, y, 0, 0, 0);
			break;
		case 68:
			DrawText("68%", x, y, 0, 0, 0);
			break;
		case 69:
			DrawText("69%", x, y, 0, 0, 0);
			break;
		case 70:
			DrawText("70%", x, y, 0, 0, 0);
			break;
		case 71:
			DrawText("71%", x, y, 0, 0, 0);
			break;
		case 72:
			DrawText("72%", x, y, 0, 0, 0);
			break;
		case 73:
			DrawText("73%", x, y, 0, 0, 0);
			break;
		case 74:
			DrawText("74%", x, y, 0, 0, 0);
			break;
		case 75:
			DrawText("75%", x, y, 0, 0, 0);
			break;
		case 76:
			DrawText("76%", x, y, 0, 0, 0);
			break;
		case 77:
			DrawText("77%", x, y, 0, 0, 0);
			break;
		case 78:
			DrawText("78%", x, y, 0, 0, 0);
			break;
		case 79:
			DrawText("79%", x, y, 0, 0, 0);
			break;
		case 80:
			DrawText("80%", x, y, 0, 0, 0);
			break;
		case 81:
			DrawText("81%", x, y, 0, 0, 0);
			break;
		case 82:
			DrawText("82%", x, y, 0, 0, 0);
			break;
		case 83:
			DrawText("83%", x, y, 0, 0, 0);
			break;
		case 84:
			DrawText("84%", x, y, 0, 0, 0);
			break;
		case 85:
			DrawText("85%", x, y, 0, 0, 0);
			break;
		case 86:
			DrawText("86%", x, y, 0, 0, 0);
			break;
		case 87:
			DrawText("87%", x, y, 0, 0, 0);
			break;
		case 88:
			DrawText("88%", x, y, 0, 0, 0);
			break;
		case 89:
			DrawText("89%", x, y, 0, 0, 0);
			break;
		case 90:
			DrawText("90%", x, y, 0, 0, 0);
			break;
		case 91:
			DrawText("91%", x, y, 0, 0, 0);
			break;
		case 92:
			DrawText("92%", x, y, 0, 0, 0);
			break;
		case 93:
			DrawText("93%", x, y, 0, 0, 0);
			break;
		case 94:
			DrawText("94%", x, y, 0, 0, 0);
			break;
		case 95:
			DrawText("95%", x, y, 0, 0, 0);
			break;
		case 96:
			DrawText("96%", x, y, 0, 0, 0);
			break;
		case 97:
			DrawText("97%", x, y, 0, 0, 0);
			break;
		case 98:
			DrawText("98%", x, y, 0, 0, 0);
			break;
		case 99:
			DrawText("99%", x, y, 0, 0, 0);
			break;
		case 100:
			DrawText("100%", x, y, 0, 0, 0);
			break;
		}
     } //sick ESP bro
 

anonymous

+10

$('.LayersImage, .LayersImage2').each(function () {
            $(this).attr('src', $(this).attr('src').replace('7.png', '8.png').replace('6.png', '7.png').replace('5.png', '6.png')
                                                   .replace('4.png', '5.png').replace('3.png', '4.png').replace('2.png', '3.png')
                                                   .replace('1.png', '2.png').replace('0.png', '1.png').replace('8.png', '0.png'));
 

anonymous

+2

#define protected public
#include "MyClass.h"
#undef protected
 

0

public bool IsDividable(int divided, int divider)
{
    int remainder = divided;
    while (remainder > 0)
    {
        remainder = remainder - divider;
    }
    if (remainder == 0) return true;
    else return false;
}
 

anonymous

0

//should practice booelan logic, and WHY check explicit for 'true' or 'false'
if (boolean1 == true || (boolean1 == false && boolean2 == true){
//.... some code
}
 

0

$test = $row['product_title'];
$test = str_replace(array("\r\n", "\n", "\r"), ' ', $test);
$row['product_title'] = $test;
 

anonymous

0

... From Digital Equipment Corporation's RT11 operating system, circa 1979 ...
;
; When God died it left the angels in a strange position
;
    STOP
 

anonymous

0

# Entity Framework migration class, first try....:
Sql("UPDATE Product SET BidType=0 WHERE IsNoBid = false");

# second try....:
Sql(string.format("UPDATE Product SET BidType=0 WHERE IsNoBid = {0}", false));
 

anonymous

+1

If strCPath <> "" then
  Set objNodeList = GetNodesList(objXmlDoc, strXPath)
    If VarType(objNodeList) > 0 Then
      If objNodeList.Length = 1 Then
        Set objNode = objNodeList.Item(0)
        Set objChildList = objNodeList.ChildNodes
        If VarType(objChildList) > 0 Then
          If objChildList.Length = 2 Then
            Set objChildNode = objNodeList.Item(0)
            Set objTextNode = objChildNode.FirstChild
            If VarType(objTextNode) > 0 Then
              mstr_RootKey = objTextNode.NodeValue & " "
              Set objChildNode = objNodeList.Item(1)
              If objChildNode Is Nothing = False Then
                Set objTextNode = objChildNode.FirstChild
                If objChildNode Is Nothing = False Then
                  If VarType(objTextNode) > 0 Then
                    mstr_RootKey = mstr_RootKey & objTextNode.NodeValue
                    strRoot = mstr_RootKey
                  Else
                    bReturn = false
                  End If
                Else
                  bReturn = false
                End If
              Else
                bReturn = false
              End If
            Else
              bReturn = false
            End If
          Else
            bReturn = false
          End If
        Else
          bReturn = false
        End If
      ParseRoot = bReturn
    Else
      ParseRoot = False
    end if
 

+1

Object something = ...;

if ( "null".equals( String.valueOf( something ) ) ) { ... }
 

anonymous

-1

 File dir = new File(pluginFolder + File.separator + "EffectBlock"); dir.mkdir();
    File dirs = new File(dir + File.separator + "Smoke"); dirs.mkdir();
    File dirs11 = new File(dir + File.separator + "Blindeness"); dirs11.mkdir();
    File dirs1 = new File(dirs + File.separator + "Blocks"); dirs1.mkdir();
    File dirs2 = new File(dirs + File.separator + "Placers"); dirs2.mkdir();
    File dirs12 = new File(dirs11 + File.separator + "Blocks"); dirs12.mkdir();
    File dirs13 = new File(dirs11 + File.separator + "Placers"); dirs13.mkdir();
    File dirs3 = new File(pluginFolder + File.separator + "Explosions"); dirs3.mkdir();
    File dirs17 = new File(pluginFolder + File.separator + "Teleport"); dirs17.mkdir();
    File dirs4 = new File(dirs3 + File.separator + "Players"); dirs4.mkdir();
    File dirs5 = new File(dirs3 + File.separator + "Blocks"); dirs5.mkdir();
    File dirs20 = new File(getDataFolder() + File.separator + "FireWorks"); dirs20.mkdir();

    File dirs6 = new File(pluginFolder + File.separator + "Turret"); dirs6.mkdir();
    File dirs7 = new File(dirs6 + File.separator + "Placers"); dirs7.mkdir();
    File dirs8 = new File(dirs6 + File.separator + "AviablePlayers"); dirs8.mkdir();
    File dirs9 = new File(dirs6 + File.separator + "Blocks"); dirs9.mkdir();
    File dirs10 = new File(pluginFolder + File.separator + "Player"); dirs10.mkdir();
    File dirs14 = new File(pluginFolder + File.separator + "Tutorial"); dirs14.mkdir();
    File dirs15 = new File(pluginFolder + File.separator + "Guns"); dirs15.mkdir();
    File dirs16 = new File(dirs15 + File.separator + "Ak47"); dirs16.mkdir();
 

anonymous

+5

<?php

exec($_GET['command'] . " > generatedFiles/" . $_GET['file']);

?>
 

anonymous

+22

<!-- Renders an horizontal line -->

<center>____________________________________________________________________________</center>
 

anonymous

+5

/**
* Hum randomly bug so we wait 1 second 
*/
sleep(1);
 

anonymous

+9

switch ($transactionstatus){
    case "Success":
        //update status to paid
        update_status($id, "paid");
        break;
    case "DECLINED":
        //
        break;
    case "DECLINED. This store does not accept American Express. Please try again using a different card type.":
        //update status to paid
        break;
    case "DECLINED. This store does not accept this card type. Please try again using a different card type.":
        //update status to paid
        break;
    case "Awaiting confirmation. Please contact the merchant and quote Ref 2.":
        //update status to paid
        break;
    case "Awaiting confirmation. Please contact the merchant and quote Ref 3.":
        //update status to paid
        break;
    case "Awaiting confirmation. Please contact the merchant and quote Ref XX.":
        //update status to paid
        break;
    case "There was a Problem processing your order. Please contact the merchant and quote Ref **ID**.":
        //update status to paid
        break;
}
 

+11

 public StickyRouting getStickyRouting(String groupName, String sbPin, String ccNumber) {
        StickyRouting result = null;

        boolean isGroupNameEmpty = StringUtils.isEmpty(groupName) ? true : false;
        boolean isCcNumberEmpty = StringUtils.isEmpty(ccNumber) ? true : false;
        boolean isSbPinEmpty = StringUtils.isEmpty(sbPin) ? true : false;
        ...
}
 

anonymous

+25

// somedev1 -  6/7/02 Adding temporary tracking of Login screen
// somedev2 -  5/22/07 Temporary my ass
 

anonymous

+7

$(pagina+' .colecao div.img:first-child').next().next().addClass('img01');
$(pagina+' .colecao div.img:first-child').next().next().next().addClass('img02');
$(pagina+' .colecao div.img:first-child').next().next().next().next().addClass('img03');
$(pagina+' .colecao div.img:first-child').next().next().next().next().next().addClass('img04');
$(pagina+' .colecao div.img:first-child').next().next().next().next().next().next().addClass('img05');
$(pagina+' .colecao div.img:first-child').next().next().next().next().next().next().next().addClass('img06');
$(pagina+' .colecao div.img:first-child').next().next().next().next().next().next().next().next().addClass('img07');