About the Server
Classes
In our server we have the latest Jade Dynasty expansion, Legacy, granting to
our players the possibility of enjoy playing with all the 11 classes within the
latest version of Jade Dynasty.
Custom NPCs
We have customized many of our NPC's, adding all the needed to bring an
amazing PvP experience, making it fair for everyone. Check it Out!
Tier Quests
All of the Tier quests on the server were customized and changed to be
done faster, we have changed the mobs/materials/time, to bring the player
close to the most important. The PvPing itself.
Server Rates
The JD Origins Legacy - High Rate server born to provide a great PvP and
fair fights to everyone. We customized items such as HP/SP battery's to better
balance the PvP on the server.
Change Password
//=====For MySQL Database=====//
$Data = '';
if (isset($_POST['login']))
{
$Link = MySQL_Connect($DBHost, $DBUser, $DBPassword) or die ("Cannot connect to MySql database.");
MySQL_Select_Db($DBName, $Link) or die ("Database ".$DBName." does not exists.");
$Login = $_POST['login'];
$Pass = $_POST['passwd'];
$Repass = $_POST['repasswd'];
$Email = $_POST['email'];
$Login = StrToLower(Trim($Login));
$Pass = StrToLower(Trim($Pass));
$Repass = StrToLower(Trim($Repass));
$Email = Trim($Email);
if (empty($Login) || empty($Pass) || empty($Repass) || empty($Email))
{
echo "All fields are empty.";
}
elseif (ereg("[^0-9a-zA-Z_-]", $Login, $Txt))
{
echo "username is incorrect";
}
elseif (ereg("[^0-9a-zA-Z_-]", $Pass, $Txt))
{
echo "Please enter the password";
}
elseif (ereg("[^0-9a-zA-Z_-]", $Repass, $Txt))
{
echo "Make sure the password is correct";
}
elseif (StrPos('\'', $Email))
{
echo "Email input is not correct";
}
elseif ((StrLen($Login) < 4) or (StrLen($Login) > 25))
{
echo "Login username must be greater than 4 and less than 25, please re-enter...";
}
elseif ((StrLen($Pass) < 4) or (StrLen($Pass) > 25))
{
echo "The password must be less than 25 and more than 4, please re-enter...";
}
elseif ((StrLen($Repass) < 4) or (StrLen($Repass) > 25))
{
echo "Confirm password must be greater than 4 and less than 10, please re-enter...";
}
elseif ((StrLen($Email) < 4) or (StrLen($Email) > 25))
{
echo "The e-mail address must be greater than 4 and less than 25, please re-enter...";
}
elseif ($Pass != $Repass)
{
echo "Passwords do not match.";
}
else
{
//$salt2=$Login.'test22';
//$salt2=md5($salt2);
//$salt2="0x".$salt2;
$Result = MySQL_Query("SELECT name FROM users WHERE name='$Login' and `email`='$Email'") or ("Can't execute query.");
if(MySQL_Num_Rows($Result))
{
$Salt = $Login.$Pass;
$Salt = md5($Salt);
$Salt = "0x".$Salt;
MySQL_Query("call changePasswd('$Login',$Salt)") or die ("Can't execute query.");
echo "User ".$Login." changed the password successfully.";
}
else
{
echo 'The user does not exist or mailbox fill out the error!';
}
}
}
echo $Data;
?>