Jump to content

Recommended Posts

  • 1 month later...
Posted

Taken from Hopzone's forum in order to make your life easier.

Enjoy

 

well its actually from my guide on ragezone.. but i see ppl posted it everywhere by now...

anyway i also made an example of acc creation... so ill add it to make it complete..

 

First create acc.php file in same directory as index.. and add this script to it

<?php
  define('mySQL_hostname', '127.0.0.1');  //database IP
  define('mySQL_database', 'Database');  //database name
  define('mySQL_username', 'User');  //database user
  define('mySQL_password', 'Pass');  //database password

  function l2j_encrypt($password) 
    {
        return base64_encode(pack("H*", sha1(utf8_encode($password))));
    }

  $str =  l2j_encrypt($_POST['pass']);

  $user = $_POST["name"];

  $db_link = mysql_pconnect( mySQL_hostname, mySQL_username, mySQL_password )
    or die( 'Error connecting to mysql<br><br>'.mysql_error() );

  $db_select = mysql_select_db( mySQL_database, $db_link )
    or die( 'Error connecting to Database<br><br>'.mysql_error() );

  if ($user == '') { print'Incorrect UserID'; mysql_close(); }
  else {
  $db_add = mysql_query( "INSERT INTO `accounts` VALUES ('$user', '$str', '0', '0', '')" )
    or die( 'Error: '.mysql_error() );
  }
  print 'Account Created<br><br>Enjoy youre gameplay.';
  mysql_close();
?>

 

after that add this to index

 

  <form action="acc.php" method=post>
    UserID:<input type="text" name="name" size="20"><br><br>
    Password:<input type="password" name="pass" size="20"><br><br>
    <input type=submit name="submit" value="Login">
  </form>

 

i think same encryption is used since c4.. so it should work for everyone.

  • 2 weeks later...
  • 1 month later...
  • 2 weeks later...
  • 2 weeks later...
  • 1 month later...
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



  • Posts

    • @Mobius, congratulations on the milestone🫡 P.S. I saw my name
    • Every commit to the L2J Mobius project since 2015 visualized as comets impacting the Mobius planet. 10+ years of development, thousands of commits, hundreds of contributors, all brought to life.    
    • new link https://www.mediafire.com/file/sspr9w96u9qln62/AvengersKamaelWings.7z/file
    • “8-PAGE CONTRACT — AND ONE SEAL DECIDES EVERYTHING.” ▪ We got a case that looked “simple”: SPA, legal entities, all data provided — just assemble and format. ▪ But the devil was in the details. ▪  An 8-page document with two parties to the deal: IE and LLC, requisites, amounts, deadlines, shipment. ▪ And a separate request: seals must look **real** — different angles, different pressure, no “stamp over text”. ▪ 🖨 This is exactly where most people fail. Identical imprints, even transparency, “perfect” insertion — and the document immediately looks like a mock-up, not a real file. ▪ We did it differently: — placed seals logically across the document — set different angles and pressure — added the signature separately — preserved the natural page structure ▪  Result: the document was accepted without any questions. ▪  Sometimes it’s not the text that matters. It’s how the seal sits. ▪  Want your file to look like a real document, not a collage? Write to us — we’ll show where even neat mock-ups usually get caught. *All data presented with the client’s consent.* › TG: https://t.me/mustang_service ( https:// t.me/ mustang_service ) › Channel: https://t.me/+JPpJCETg-xM1NjNl ( https:// t.me/ +JPpJCETg-xM1NjNl ) #documents #case #drawing #verification #contract
    • guys i got the mythras pac ... i know it is out dated://    i see in startup loads  32002 fake players from fake player table  but how  can i  summon them when i use //create_fake_players  nothing happens    
  • Topics

×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and 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..