Jump to content
xisto Community

Antv912

Members
  • Content Count

    59
  • Joined

  • Last visited

Posts posted by Antv912


  1. This is something I made for MapleStory Server, you can change the script to fit your needs.

     

     

    This is a register Script with Image Verification Version 2.

    As you can see in this version Total.php is completely removed because It wasn't needed since those queries are already in index.php. Also I have added JavaScript Popup boxes for the Echo's instead of those boring text responses, And of course I have updated this to fit OdinMs server needs with Sha1 for the passwords and fixed up the total's query to match the OdinMS Database. Last but not lease AntiSQL Injection; with mysql_real_escape_string and some trims.

    Posted Image

     

    Download Links

    Rapidshare.com

    Filebeam.com

     

     

    /Credits -> SuperFun for the basic Register script.

    /Credits -> Me For adding image verification and most of the scripting of this.

    /Credits -> StellarAshes for some help.

    Enjoy.

     

    Update : Small revision upon register_do.php Please find

    $code = mysql_real_escape_string(trim($_POST['code']));
    And replace it with
    $code = mysql_real_escape_string(trim($_SESSION['code']));
    If you don't it will say the user has entered the correct code even If he/she has not. I have also added an new Php Variable which is used in register_do.php

    echo '<script type="text/javascript">alert("You have entered a wrong Security code, Please try again!")</script><META HTTP-EQUIV="refresh" CONTENT="0;URL='.$regpage.'">';
    Please make sure to edit this variable in CONFIG.PHP to your register file if you have renamed it

     

    If you wish to have a verify password in this script you can over write these 2 files that are in the download provided.

     

    Index.php

    <?php  // start PHP session   session_start();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd;<html xmlns="http://www.w3.org/1999/xhtml&%2334; xml:lang="en" lang="en"><head>   <title>Maple Story Register</title>   <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /><style>*{ FONT-SIZE: 8pt; FONT-FAMILY: verdana; } b { FONT-WEIGHT: bold; } .listtitle { BACKGROUND: #425984; COLOR: #EEEEEE; white-space: nowrap; } td.list { BACKGROUND: #EEEEEE; white-space: nowrap; } </style></head><body><center><br><br><br><br><h1>MapleStoryRegister</h1><table cellspacing=1 cellpadding=5><tr><td class=listtitle colspan=2>Register at my server</td></tr><form action="register_do.php" method="POST"><tr><td class=list align=right>Username:</td><td class=list><input type=text name=username maxlength="30"></td></tr><tr><td class=list align=right>Password:</td><td class=list><input type=password name=password maxlength="30"></td></tr><tr><td class=list align=right>Verify Pass:</td><td class=list><input type=password name=password2 maxlength="30"></td></tr><tr><td class=list align=right>Email:</td><td class=list><input type=text name=email maxlength="30"></td></tr><tr><td class=list align=right>DOB:</td><td class=list><input type=text name=dob maxlength="30" value="Y-M-D"></td></tr><tr><td class=list align=right><img src="security-image.php?width=144" width="144" height="30" alt="Security Image" /></<tr><td class=list align=right>Security Image:</label><input type="text" name="code" id="code" value="" /><tr><td class=listtitle align=right colspan=2><input type=submit name=submit value='Register'></td></tr>   </form></table><br><?phpinclude('config.php');$result = mysql_query("SELECT * FROM accounts", $db);// Account section$num_rows = mysql_num_rows($result);$result2 = mysql_query("SELECT * FROM characters", $db);// Character section$num_rowsc = mysql_num_rows($result2);echo 'Stats:<br><b>'.$num_rows.'</b> Accounts registed.<br><b>'.$num_rowsc.'</b> Characters created.';?></center></body></html></body></html>

    Register_do.php

    <?php/*Register script with Image Verification Version 2Created By : Antv912 / AmandaRevision of the first script adding in - dob Sha1passwords email fields.add some validation rules fixed up the $d query with the right values for odinMSCredit's to Superfun for the basic layout of the register script.And I believe I added AntiSQLInjection I forgot how so I needed to google some.H3x_@Live.com*/session_start();include("config.php");print '<title>'.$title.'</title>'; $name = mysql_real_escape_string(trim($_POST['username']));$pass = mysql_real_escape_string(sha1($_POST['password']));$pass2 = mysql_real_escape_string(sha1($_POST['password2']));$email = mysql_real_escape_string(trim($_POST['email']));$dob = mysql_real_escape_string(trim($_POST['dob']));$code = mysql_real_escape_string(trim($_SESSION['code']));$sel = 'SELECT * FROM accounts WHERE name="'.$name.'"';///////////////////////////////////////////////////////if(strtoupper($_POST['code']) == $_SESSION['code']) {echo '<script type="text/javascript">alert("Congradulations, You have entered the Security code correctly.")</script>';} else {echo '<script type="text/javascript">alert("You have entered a wrong Security code, Please try again!")</script><META HTTP-EQUIV="refresh" CONTENT="0;URL='.$regpage.'">';exit();		}if($name == ""){echo '<script type="text/javascript">alert("No Username Inserted")</script><META HTTP-EQUIV="refresh" CONTENT="0;URL='.$regpage.'">';exit();}elseif(mysql_num_rows(mysql_query($sel)) >= 1 ){echo '<script type="text/javascript">alert("Were Sorry '.$name.' already Exsist")</script><META HTTP-EQUIV="refresh" CONTENT="0;URL='.$regpage.'">';exit();}elseif($pass == ""){echo '<script type="text/javascript">alert("No password filled in")</script><META HTTP-EQUIV="refresh" CONTENT="0;URL='.$regpage.'">';exit();}elseif($pass2 != $pass){echo '<script type="text/javascript">alert("Your passwords do not match")</script><META HTTP-EQUIV="refresh" CONTENT="0;URL='.$regpage.'">';exit();}$arr=split("-",$dob); // splitting the array$yy=$arr[0] - 0; // first element of the array is year$mm=$arr[1] - 0; // second element is month$dd=$arr[2] - 0; // third element is dateif(!checkdate($mm,$dd,$yy)){echo '<script type="text/javascript">alert("Invalid date double check they way you entered it. Your date must look like this Year-Month-Day")</script><META HTTP-EQUIV="refresh" CONTENT="0;URL='.$regpage.'">';} else {  $d = 'INSERT INTO accounts (name, password, email, birthday) VALUES ("'.$name.'", "'.$pass.'", "'.$email.'", "'.$dob.'")';  mysql_query($d) OR die (mysql_error());  echo '<script type="text/javascript">alert("Dear - '.$name.' you may now login to our game servers.")</script><META HTTP-EQUIV="refresh" CONTENT="0;URL='.$regpage.'">';				}//End of script?>


  2. <?php$con = mysql_connect("localhost","root","");if (!$con)  {  die('Could not connect: ' . mysql_error());  }mysql_select_db("maplestory", $con);$result = mysql_query("SELECT * FROM Characters ORDER BY Level DESC");echo "<table border='1'><tr><th>Name</th><th>Level</th><th>Exp</th></tr>";while($row = mysql_fetch_array($result))  {  echo "<tr>";  echo "<td>" . $row['name'] . "</td>";  echo "<td>" . $row['level'] . "</td>";  echo "<td>" . $row['exp'] . "</td>";  echo "</tr>";  }echo "</table>";mysql_close($con);?>

    So easy even a Caveman could do it!


    $con = mysql_connect("localhost","root","");Host,Username,Password

    echo "<td>" . $row['name'] . "</td>";  echo "<td>" . $row['level'] . "</td>";  echo "<td>" . $row['exp'] . "</td>";

    $row['xxx']
    - Is a row the script echo's from the database

    And must match this :
    <th>Name</th><th>Level</th><th>Exp</th>

    Example

    <th>1</th><th>2</th><th>3</th>

    This must be ..
    echo "<td>" . $row['1'] . "</td>";   echo "<td>" . $row['2'] . "</td>";   echo "<td>" . $row['3'] . "</td>";

    You can save this file as Rankings.php

  3. <?php $srvip = "YourIP";$srvport = "8080";?><td align="left">Web Server:    <?php $fp = @fsockopen($srvip, $srvport, $errno, $errstr, 1);if (!$fp) {	echo "<font style='color: #FF3300'><B>Offline</B></font></br>";} else {	echo "<font style='color: #009933'><B>Online</B></font></br>";	fclose($fp);} ?></td>

    To change the port, just edit this section -
    $srvport = "8080";?>
    Also you need to change the IP of the server or host your using when uploading this script.

  4. The mental faculty by which one deliberately chooses or decides upon a course of action: championed freedom of will against a doctrine of predetermination.

    I think I have a lot of will power, if I feel I can't do something I sit and think of the goods and bads of the certain situation, and I choose the best one and go with it. How much will power do you have? What can you accomplish with the power of your mind, and determination.

  5. Posted Image

    Xin Yang and Haiyang Zhu. Pictures: Virginia Tech University/ Montgomery County Sheriff Department

    Posted Image

    2007 killer Seung-Hui Cho

     

    Xin Yangs head was cut off with a kitchen knife, just weeks after arriving in the United States from China to study accounting. Her alleged attacker, Haiyang Zhu, also from China, was arrested at the scene by an officer who arrived less than a minute after receiving an emergency call.

     

    On January 7, he wrote on a Chinese-language blog he had been so frustrated over stock losses and other problems that he thought only of killing someone or committing suicide. Miss Xin, 22, was believed to have been having coffee with Haiyang in the campus Au Bon Pain cafe. Seven witnesses from the cafe have said there was no argument or shouting prior to the killing on Wednesday at 7pm.

     

    The officer on the scene reported finding 25-year-old Haiyang holding her head in his hand, according to a police affidavit. He has been charged with first-degree murder. It is understood the pair had recently made friends and PhD student Haiyang was listed as one of Miss Xins emergency contacts, according to university records. He was not known to the university team who deal with mentally disturbed students.


    I think this whole issue is really crazy and why is it all happening in this college? First the shooting and now this.

  6. What are your computer configuration information? Start -> right click on My Computer and choose properties.

    system Requirements for the AIMŽ Software
    The minimum system requirements for AIMŽ software are:

    * PentiumŽ III 200Mhz or greater
    * 128 megabytes of RAM

    Note: 256 megabytes of RAM recommended to use AIMŽ 6.0 features such as file transfer.
    * 20MB of free hard drive space
    * MicrosoftŽ Internet ExplorerŽ 6.0 or higher
    * 800x600 screen resolution (minimum), 1024x768 screen resolution (preferred)
    * Microsoft WindowsŽ Vista™, XP-64 bit, XP, or 2000 (Windows 2000 with with DirectXŽ 9 required for video chat sessions)
    * Dial-Up, LAN or broadband connection
    * To use Talk features, a soundcard, headset or speakers and microphone are required.
    * To use Video features, a webcam, soundcard, headset or speakers and microphone are required.



  7. Supposedly anti-depressants help, but then again a-lot of parents are worried about the high suicidal rate, there's a good reason for that. The Anti-depressants release they these neurotransmitters into your brain that give you a happy feeling when you do something that you wouldn't normally get if you weren't taking the depressant. Not all of the anti-depressants work in the same way, they all work on the brains chemistry differently you should try a sample of each and see which one gives you the best results before continuing the dosage after all your therapist can help you determine which one is best for you and your family physician.


  8. I think it's good that walmart is hiring handicapped people, but they do have poor quality service. I once spent over 20 minutes in walmart just to return a video game, I everything that was needed to return the game and they gave me a issue about it, although the food court in walmart is some-what good :P I must say good-job on something positive.

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.