- Joined
- Oct 6, 2008
- Messages
- 1,394
- Reaction score
- 198
[WEB][Rhisis]Character CP
I update the CP, and now work for Rhisis. Maybe it have bugs, so please report here
Change Job
This have the next functions:
-Change your job at lv15 and get the skills for each job
-Change your job at lv60 and get the skills for each job
-Change your job at lv120 and get the skills for each job
-Change your job at lv120M and get the skills for each job
Teleport
This have the next functions:
-Teleport you to flaris
-Teleport you to saint morning
-Teleport you to darkon
-Teleport you to darkon 1
-Teleport you to darkon 2
-Teleport you to darkon 3
-Teleport you to azria
-Teleport you to volcano
-Teleport you to forsaden tower
-Teleport you to clockwork cage
Change Password
This have the next functions:
-You can change your password in database.
Change Sex
This have the next functions:
-Change your sex to Male
-Change your sex to Female
Change Name
This have the next functions:
-Change your name
Restat
This have the next functions:
-Restat strenght [You can restat your str points. Default points for restat str = 15]
-Restat stamina [You can restat your sta points. Default points for restat sta = 15]
-Restat dextery [You can restat your dex points. Default points for restat dex = 15]
-Restat inteligence [You can restat your int points. Default points for restat int = 15]
Rebirth
This have the next functions:
-You back to lv60M
-Teleport you to flaris (flarine)
-Add to database rebirth +1
-Set exp to 9421875
-Get penya from your inventary [Default = 20 millions penya]
Ultimate Maker
This have the next functions:
-Make all green weapons lv60-120 ultimate [Default = Refine item +0, element refine +0, element +0]
-Awakening not change
Change Size
This have the next functions:
-Change the size to 0.5
-Change the size to 1.0
-Change the size to 1.5
-Change the size to 2.0
-Custom change size (Min size 0.1 - Max size 2)
DOWNLOAD
Soon for OSA, when be more develop
Credits:
BBim
lol32(Me)
EnmanuelProx
UPDATES FOR DEVELOP (only for caali then I update)
I put this guide for the ppl who want add more things and learn.
No neeed to back for do another action
And then the location
Example
Normal user can't see admin panel
In config.php write this
Then go to changejob and add this
Ban/Unban account
Add this
Do rebirths work
Add new field in db (character table)
Name: rebirths
Type: int
Lenght: 11
Decimals: 0
Not AlowNull
Default: 0
Add more teleport zones
Go to $act == tele.For add more options do this
Add new teleport zone
Then create a new act
BUGS AND FAILS
FAIL: Rebirth clases wrong FIXED
BUG: Rebirth only change to HERO (Do not change the new class!) FIXED
FAIL: Rank images wrong FIXED
BUG: Buff not work FIXED
I update the CP, and now work for Rhisis. Maybe it have bugs, so please report here
Change Job
This have the next functions:
-Change your job at lv15 and get the skills for each job
-Change your job at lv60 and get the skills for each job
-Change your job at lv120 and get the skills for each job
-Change your job at lv120M and get the skills for each job
Teleport
This have the next functions:
-Teleport you to flaris
-Teleport you to saint morning
-Teleport you to darkon
-Teleport you to darkon 1
-Teleport you to darkon 2
-Teleport you to darkon 3
-Teleport you to azria
-Teleport you to volcano
-Teleport you to forsaden tower
-Teleport you to clockwork cage
Change Password
This have the next functions:
-You can change your password in database.
Change Sex
This have the next functions:
-Change your sex to Male
-Change your sex to Female
Change Name
This have the next functions:
-Change your name
Restat
This have the next functions:
-Restat strenght [You can restat your str points. Default points for restat str = 15]
-Restat stamina [You can restat your sta points. Default points for restat sta = 15]
-Restat dextery [You can restat your dex points. Default points for restat dex = 15]
-Restat inteligence [You can restat your int points. Default points for restat int = 15]
Rebirth
This have the next functions:
-You back to lv60M
-Teleport you to flaris (flarine)
-Add to database rebirth +1
-Set exp to 9421875
-Get penya from your inventary [Default = 20 millions penya]
Ultimate Maker
This have the next functions:
-Make all green weapons lv60-120 ultimate [Default = Refine item +0, element refine +0, element +0]
-Awakening not change
Change Size
This have the next functions:
-Change the size to 0.5
-Change the size to 1.0
-Change the size to 1.5
-Change the size to 2.0
-Custom change size (Min size 0.1 - Max size 2)
DOWNLOAD
To view the content, you need to sign in or register
Soon for OSA, when be more develop
To view the content, you need to sign in or register
Thnx to boltex for this linksCharacter CP for Rhisis
To view the content, you need to sign in or register
To view the content, you need to sign in or register
To view the content, you need to sign in or register
Character CP for Cali
To view the content, you need to sign in or register
To view the content, you need to sign in or register
To view the content, you need to sign in or register
I am doing this just incase it get deleted or removed or broken for the orginal file host.
And some of these file host are faster for others, depending on location.
Credits:
BBim
lol32(Me)
EnmanuelProx
UPDATES FOR DEVELOP (only for caali then I update)
I put this guide for the ppl who want add more things and learn.
No neeed to back for do another action
And then the location
PHP:
header("Location: changejob.php");
Example
PHP:
if ($act == 'transy')
{
$id = $_GET["charid"];
$matchrows = mysql_query("SELECT * FROM characters AS c INNER JOIN accounts AS a ON a.username = c.accountname WHERE c.id = $id AND a.username = '$user'") or die(mysql_error());
$checkrows = mysql_num_rows($matchrows);
if ($checkrows != 0)
{
$id = $_GET["charid"];
$query = mysql_query("SELECT * FROM characters WHERE id = $id") or die(mysql_error());
$get = mysql_fetch_array($query);
$sex = $get['sex'];
if ($sex == 0)
{
mysql_query("UPDATE characters SET sex = 1 WHERE id = $id") or die(mysql_error());
header("Location: changejob.php");
}
if ($sex == 1)
{
mysql_query("UPDATE characters SET sex = 0 WHERE id = $id") or die(mysql_error());
header("Location: changejob.php");
}
}
}
Normal user can't see admin panel
In config.php write this
PHP:
// access levels
$gmalvl = 800; // GM Control Panel
$adminalvl = 1000; // Admin Control Panel
Then go to changejob and add this
PHP:
$query = mysql_query("SELECT * FROM accounts WHERE username = '$user'") or die(mysql_error()); //REMEMBER query!
$fetch = mysql_fetch_assoc($query);
$access = $fetch['accesslevel'];
echo "<table style='margin-top: 5px; border-style: inset; border-width: 1px; border-spacing: 0px; font-size: 9pt;' width='98%' height='25' align='center'><tr valign='center'><td>";
echo "<div style='float: left; margin-left: 5px;'><b>Welcome $user </b>";
echo " <a href='http://yourweb.com'>Home</a> <font size='1pt'>|</font>";
echo " <a href='changejob.php?a=senha'>Change Password</a> <font size='1pt'>|</font>";
echo " <a href='http://yourchat.com'>Live Chat</a> <font size='1pt'>|</font>";
echo " <a href='logout.php'>Logout</a></div>";
echo "</td></tr></table>";
if (($access >= $gmalvl) && ($access < $adminalvl))
{
echo "<table style='margin-top: 2px; border-style: inset; border-width: 1px; border-spacing: 0px; font-size: 9pt;' width='98%' height='25' align='center'><tr valign='center'><td>";
echo " <b>GM Options:</b> <a href='changejob.php?a=ban'>Ban Account/IP!</a> ";
echo "</td></tr></table>";
}
else if (($access >= $adminalvl) && ($access > $gmalvl))
{
echo "<table style='margin-top: 2px; border-style: inset; border-width: 1px; border-spacing: 0px; font-size: 9pt;' width='98%' height='25' align='center'><tr valign='center'><td>";
echo " <b>Admin Options:</b> <a href='changejob.php?a=ban'>Ban Account/IP!</a> ";
echo "<font size='1pt'>|</font> <a href='changejob.php?a=adpanel'>Admin Panel</a> ";
echo "<font size='1pt'>|</font> <a href='changejob.php?a=dbcontrol'>Database Controller</a> ";
echo "</td></tr></table>";
}
Ban/Unban account
Add this
PHP:
if ($act == 'ban')
{
$success = $_GET["playerbaned"];
$query = mysql_query("SELECT * FROM accounts WHERE username = '$user'") or die(mysql_error());
$get = mysql_fetch_array($query);
$access = $get['accesslevel'];
if ($access >= 800)
{
echo "<fieldset><legend> <b><a href='changejob.php'>BAN PLAYER</a></b> </legend>";
echo "<center><b>Warning</b>: Character name and the account of the character will be banned!<br><br>";
echo '<form method="post" action="changejob.php?a=doban">';
echo '<b>Character Name:</b>: <input type="text" name="charban">';
if ($success == 1) { echo '<input type="submit" value="Ban Player" name="Ban Player"> <h3>Account has been Banned!</h3>'; }
ELSE if ($success == 2) { echo '<input type="submit" value="Ban Player" name="Ban Player"> <h3>Character does not exist!</h3>'; }
else { echo '<input type="submit" value="Ban Player" name="Ban Player">'; }
echo '</form></center>';
echo '<center><a href="changejob.php?a=listbans"><b>View all banned accounts</b></a>';
echo "</fieldset>";
}
ELSE if ($access < $gmalvl)
{
echo "<center><h3>No acess for this area!</h3></center>";
}
}
if ($act == 'listbans')
{
$query = mysql_query("SELECT * FROM accounts WHERE username = '$user'") or die(mysql_error());
$get = mysql_fetch_array($query);
$access = $get['accesslevel'];
if ($access >= $gmalvl)
{
$checkbans = mysql_query("SELECT * FROM accounts WHERE accesslevel <= 0 ORDER BY id ASC") or die(mysql_error());
$getlist = mysql_num_rows($checkbans);
if ($getlist == 0)
{
echo "<fieldset><legend> <b> <a href='changejob.php'>BAN LIST</a> </b> </legend>";
echo "<b>Click the user to remove the Ban!</b>";
echo "<br><br>";
echo "</fieldset>";
}
else
{
echo "<fieldset><legend> <b> <a href='changejob.php'>BAN LIST</a> </b> </legend>";
echo " <br>";
$listem = $getlist;
while ($fetch = mysql_fetch_assoc($checkbans))
{
$listem--;
$loginname = $fetch['username'];
$id = $fetch['id'];
echo "<br><a href='changejob.php?a=unban&id=$id'>$loginname</a> (Characters: ";
$checkchars = mysql_query("SELECT * FROM characters WHERE accountname = '$loginname'") or die(mysql_error());
$getcharlist = mysql_num_rows($checkchars);
if ($checkchars == 0)
echo "None";
else
$listchars = $getcharlist;
while ($get = mysql_fetch_assoc($checkchars))
{
$listchars--;
$charname = $get['charname'];
echo $charname;
if ($listchars != 0) { echo ", "; }
}
echo ")";
if ($listem != 0) { echo ""; }
}
if ($checkbans != 0)
{
echo "</fieldset>";
}
}
}
ELSE if ($access < $gmalvl)
{
echo "<center><h3>No acess for this area!</h3></center>";
}
}
if ($act == 'unban')
{
$query = mysql_query("SELECT * FROM accounts WHERE username = '$user'") or die(mysql_error());
$get = mysql_fetch_array($query);
$access = $get['accesslevel'];
if ($access >= $gmalvl)
{
$id = $_GET["id"];
$unban = mysql_query("UPDATE accounts SET accesslevel = 100 WHERE id = '$id'") or die(mysql_error());
header("Location: changejob.php?a=listbans");
}
ELSE if ($access < $gmalvl)
{
echo "<center><h3>No rights for this area!</h3></center>";
}
}
if ($act == 'doban')
{
$query = mysql_query("SELECT * FROM accounts WHERE username = '$user'") or die(mysql_error());
$get = mysql_fetch_array($query);
$access = $get['accesslevel'];
if ($access >= $gmalvl)
{
$chartoban = stripslashes($_POST["charban"]);
if(!empty($_POST["charban"]) && !empty($_POST["charbanres"])){
if (isSet($_POST["charban"]) ? trim($_POST['charban']) : '')
{
if(preg_match("/^[0-9a-zA-Z_]{5,}$/", $_POST["charban"]) === 0)
{
unset($_POST["charban"]);
header("Location: changejob.php?a=ban&playerbaned=2");
}
else
{
$banreason = htmlspecialchars($_POST["charbanres"]);
$findchar = mysql_query("SELECT * FROM characters WHERE charname = '$chartoban'") or die(mysql_error());
$checkchar = mysql_num_rows($findchar);
if ($checkchar == 0)
{
echo "<center><h3>This character could not be found!</h3></center>";
}
else
{
$query = mysql_query("SELECT * FROM characters WHERE charname = '$chartoban'") or die(mysql_error());
$getacc = mysql_fetch_array($query);
$account = $getacc['accountname'];
$doban = mysql_query("UPDATE accounts SET accesslevel = 0 , bancomment='".$banreason."' WHERE username = '$account'") or die(mysql_error());
unset($_POST["charban"]);
header("Location: changejob.php?a=ban&playerbaned=1");
}
}
}
else
{
echo "<center><h3>Please enter an existing character!</h3></center>";
}
}else{
echo "<center><h3>Character Name and enter!</h3></center>";
}
}
ELSE if ($access < $gmalvl)
{
echo "<center><h3>No rights for this area!</h3></center>";
}
}
Do rebirths work
Add new field in db (character table)
Name: rebirths
Type: int
Lenght: 11
Decimals: 0
Not AlowNull
Default: 0
Add more teleport zones
Go to $act == tele.For add more options do this
Add new teleport zone
PHP:
echo "<a href='changejob.php?a=telexx&charid=$id' style='text-decoration: none;'>Teleportzone</a><br>";
Then create a new act
PHP:
if ($act == 'telexx')
{
$id = $_GET["charid"];
$matchrows = mysql_query("SELECT * FROM characters AS c INNER JOIN accounts AS a ON a.username = c.accountname WHERE c.id = $id AND a.username = '$user'");
$checkrows = mysql_num_rows($matchrows);
if ($checkrows != 0)
{
$id = $_GET["charid"];
$query = mysql_query("SELECT * FROM characters WHERE id = $id");
$get = mysql_fetch_array($query);
mysql_query("UPDATE characters SET posWorldID = xx WHERE id = $id");
mysql_query("UPDATE characters SET posX =xx WHERE id = $id");
mysql_query("UPDATE characters SET posY = xx WHERE id = $id");
mysql_query("UPDATE characters SET posZ = xx WHERE id = $id");
if (mysql_affected_rows() != 0)
{
echo "<center><h3>You are now in Teleport Zone!</h3></center>";
}
else
{
echo "<center><h3>An error has occured, please try again.</h3></center>";
}
}
}
BUGS AND FAILS
FAIL: Rebirth clases wrong FIXED
BUG: Rebirth only change to HERO (Do not change the new class!) FIXED
FAIL: Rank images wrong FIXED
BUG: Buff not work FIXED
Last edited: