Character CP

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


Character CP for Rhisis



Character CP for Cali



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.
Thnx to boltex for this links

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:
Re: [Dev]Character CP

Fix the char id, don't show it. You know why? When people are logged on, they can just guess some random charid and replace the old one and could do something with it.
 
Re: [Dev]Character CP

Omg awesome work. Good luck with the manual rebirth system. Alot of people want to have that.
 
Re: [Dev]Character CP

Fix the char id, don't show it. You know why? When people are logged on, they can just guess some random charid and replace the old one and could do something with it.

Wont work, it have a protection, if char id doesnt match logged in account, nothing happens.
 
Re: [Dev]Character CP

looks just like my userpanel but modified
you sure you coded this your self ?
damn , even the background is the same , not to mention the welcome code + other
you modify my userpanel and name it as your own ?

Not completely yours right? :P
You used mine as a base and didnt credit me :*:
 
Re: [Dev]Character CP

Not completely yours right? :P
You used mine as a base and didnt credit me :*:

buffs + reset position + change job credits go to you ofc





rest is my coded userpanel modified by this loser and posted here to gain some retarded online fame
n00b :thumbup:

make ur own shit don`t release other ppl stuff in ur name you loser caja
 
Re: [Dev]Character CP

I'm try doing the same options of blah CP. The baground it was in BBim code.
Stop saying what I copy your code if I don't have it.
The style is based in your panel but isn't the same code, only have the options.
I tried get your code but no give to me any ppl so I start to code in BBim panel and I ad more options
 
Last edited:
Re: [Dev]Character CP

I don't need your ***** panel so noob stop saying it's your so it's mine-.-
Sizemod I put because i going to add but I need to think how
I will try too add a ultimate maker so this no have your userpanel no0b

P.S: I'm doing this for the people who don't have it and want to get one
 
Re: [Dev]Character CP

Stop flaming each other, it will only hurt this topic and maybe also make the mods to take action against you. Obvious this user CP has/had many developers: BBim, Blah, Hells... Where caja got it its hard to say. From what i see it is a rough version of the original cp who ever made it and doesnt have all the features Hells is talking about. Hells why dont you want caja to work on it? Also if you would ask him nicely to put you on the credits list and not insult him in the first place, im sure this shit wouldent be happening.
 
Re: [Dev]Character CP

Stop flaming each other, it will only hurt this topic and maybe also make the mods to take action against you. Obvious this user CP has/had many developers: BBim, Blah, Hells... Where caja got it its hard to say. From what i see it is a rough version of the original cp who ever made it and doesnt have all the features Hells is talking about. Hells why dont you want caja to work on it? Also if you would ask him nicely to put you on the credits list and not insult him in the first place, im sure this shit wouldent be happening.

I was the first creator, it was a basic but nice CP, it had good features like the fieldsets and a while(1) that will make it show the options where ever it goes, I made the base of all this, it had Job Change, Reset Position and a nice buff system that SHOULD(it was bugged on the leak) have the appropriate buffs to each job, for example: magician dont get beef up(str) and so on...Someone idk how got it, translated at google translator(thats why the original version had a crappy english) and leaked it everywhere. People took it, modified and now atleast 90% of the servers out there have a CP that looks like exactly the same, some have more things, other less and the credits allways differ and never mention me.
Caja was really trying to develop it, if you went to CODER'S PARADISE section of ragezone, he was asking for help, after tons of discussion with him, he put me credits(the first one ever \o).
 
Re: [Dev]Character CP

Credits: bLah?

I took this from its first version on ragezone when it was very basic and only had 4 or so options and I worked hard on it for ONE server. Some little kid named Buffy leaked it. I should get a little credit atleast..
The restat, GM online list, teleport, change sex, size mod, ect.. All mine.
 
Re: [Dev]Character CP

Credits: bLah?

I took this from its first version on ragezone when it was very basic and only had 4 or so options and I worked hard on it for ONE server. Some little kid named Buffy leaked it. I should get a little credit atleast..
The restat, GM online list, teleport, change sex, size mod, ect.. All mine.

Yeah, the first version you took was mine, it had 3 options + 2 hidden(shop and rebirth, shop needed another file that I posted to prove the script was mine), it was leaked too and nobody that developed from it credit me, he is the first one :)
Like I said once, I got my lesson, Caali got his too and Hells said he got his too(he said he helped you).
 
Re: [Dev]Character CP

Yep I see 1 option hiden rebrith (in code reset) but where is the shop o.O?

Credits: bLah?

I took this from its first version on ragezone when it was very basic and only had 4 or so options and I worked hard on it for ONE server. Some little kid named Buffy leaked it. I should get a little credit atleast..
The restat, GM online list, teleport, change sex, size mod, ect.. All mine.

lol so..? who is the creator of it omg? I just put BBim credits for these things but... now you say me what gm online, teleport, change sex, size mod... is your, but mine no have teleport and sizemod lol:?:
I'm very confused:s
 
Back