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

    • It’s been a while since this situation started. As I’ve mentioned before, you are no longer kids you’re grown adults. Please resolve your disagreements through DMs, not forum threads.   I understand that you are competitors, but the rest of the community isn’t interested in your disputes. Stop publicly accusing each other and focus on handling issues privately.   The reputation system is not to be abused. Hearing complaints like “he downvoted me” every day is not productive. This thread will remain locked. Please grow up and handle your problems through private messages.
    • It's owned by a person from down under. Nikita is not even a CEO.     Another honorable mention of who does actually hold a sort of authority: Troyz.     The project itself is - or, at least, used to be TERRIBLY corrupt and is known for having multiple alts on maxcheaters selling fabricated items in the past.        P.S. Their staff split up and the leftovers formed a new project called "darkdragon", utilizing old database of Reborn they had for marketing purposes.
    • They indeed moved from aCis to Lucera back in 2020 - he was running under the name p0w3rf1y over my forums (he shared some fixes under that name). I had access to their timeline, got kicked and ignored overnight. From what I know they also struggled using Lucera, but I got no contact since then.
    • What private thing? Post the evidence here, and let the community know what you are. It also explains the manipulation of this thread; is that why you want privileges here? https://maxcheaters.com/topic/253997-sourceservercliente-l2devs-files-l2devscom/page/2/ This thread perfectly demonstrates how you use your forum privileges. No need to say anything, just look at it. Don't explain it to me, explain it to the community or the people who believed you.  
    • What other proof do you need from someone who has been banned and has multiple accounts on the forum? Anyway, I'll send you what you're requesting privately, no problem. I thought that in the last chat we had made clear the points where we allowed this person to continue in the forum, one of them being that they didn't mention me anymore, but it didn't last long.
  • 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..