Welcome!

Join our community of MMORPG enthusiasts and private server developers! By registering, you'll gain access to in-depth discussions on source codes, binaries, and the latest developments in MMORPG server files. Collaborate with like-minded individuals, explore tutorials, and share insights on building and optimizing private servers. Join us today and unlock the full potential of MMORPG server development!

Join Today!

New Ranking Murder [MuCore]

People will come to leave a module that performs, this is a new ranking of Murder (Murderers - kill (ers))
the module to my taste I really found it more interesting that we all are aocstumbrados to occupy.

Showing:
name
race
Murderer Range
How Many Times Ah killed
Location

1Word - New  Ranking Murder [MuCore] - RaGEZONE Forums




That can be configured:
You can configure via AdminCP the amount of PJ to display in the ranking
In addition you may choose whether to race the character is seen in letters or in-picture

1Word - New  Ranking Murder [MuCore] - RaGEZONE Forums



INSTRUCTIONS:

1 .- Paste the folders within your web Mucor.

2 .- Add the module (pages_modules) called rankmurder.php usually via AdminCP

Module 3 .- Enjoy

Download:

copyrights is Falcon
 
Last edited:
-Fixed Copyrights (now shows normal)
-Deleted 2 spaces that maked the script look bad
-Changed table, making it more stylish
-Changed Colors
-Translated

Copyrights:
Falcon (for the whole module)
Piscis (for releasing it on RZ)
1Word (fix and better style)

1Word - New  Ranking Murder [MuCore] - RaGEZONE Forums


Change what is inside (root)/pages_modules/rankmurder.php to this if you wish for it
Code:
<style type="text/css"> 
.newscont {
background: #989898  repeat-x top;
}
.newscont1{text-align: center;border-collapse:collapse;font:normal 12px Tahoma, Helvetica, sans-serif;text-decoration:none;}	
.newscont td.cont{border-top: 1px solid #3c2d21;border-bottom: 1px solid #3c2d21;border-right: 1px solid #3c2d21;}
.newscont td.cont2{border: 1px solid 	#404040 ;}
.newscont td.cont3{border: 1px solid #808080;}
.newscont td.cont4{border-bottom: 1px solid #3c2d21;}

</style>

 <?
  $get_config = simplexml_load_file('engine/config_mods/rank_kill_settings.xml');
if($get_config->active == '0'){
	echo msg('0',text_sorry_feature_disabled);
}else{
	?>
<div id="content"><div id="itsthetable"> 

<table class="newscont" width="100%">
	<tr align="center" >

		<td class="cont2"><b><font color="GoldenRod ">#</font></b></td>

		<td class="cont2"><b><font color="GoldenRod ">[Character]</font></b></td>

		<td class="cont2"><b><font color="GoldenRod ">[Class]</font></b></td>

		<td class="cont2"><b><font color="GoldenRod ">[State]</font></b></td>

		<td class="cont2"><b><font color="darkred">[Kill Count]</font></b></td>

		<td class="cont2"><b><font color="GoldenRod ">[Location]</font></b></td>
		</tr>
		
  <?

$killer = $core_db->Execute("Select TOP $get_config->ranking Name,Class,MapNumber,AccountID,PKcount,PkLevel From Character where pkcount>0 order by pkcount desc");

$cache_count = 0;

foreach ($killer as $falconporley){

$falcon = $characters_class[$killer->fields[1]] ? $characters_class[$killer->fields[1]][0]  : "Unknowm";

$wizkhalifa = $maps_codes[$killer->fields[2]] ? $maps_codes[$killer->fields[2]] : "Unknown";

$bonyhost = $pk_status_variables[$killer->fields[5]] ? $pk_status_variables[$killer->fields[5]] : "Unknown";

$cache_count++;

?>

	<tr align="center" >
  
		<td class="cont2"><font color="white"><?=$cache_count;?></font></td>

		<td class="cont3"><font color="white"><b><?=$killer->fields[0];?></b></font></td>
        
        <?  if($get_config->pick == '1'){
	    echo ' <td class="cont4"><img src="template/'.$core['config']['template'].'/images/class/'.decode_class($killer->fields[1],'2').'" width="30" height="30"></td>'; ?>
 		<? }?> 
	    
		<?  if($get_config->pick == '0'){ ?>
	
		<td class="cont3"><font color="white"><?=$falcon;?></font></td> 
		<? }?> 

		<td class="cont3"><font color="white"><?=$bonyhost;?></font></td>

		<td class="cont3"><font color="white"><?=$killer->fields[4];?></font></td>

		<td class="cont3"><font color="white"><?=$wizkhalifa;?></font></td>

		
		<? }?> 
       
		</tr>

		</table>
		
				</div>

		</div>
        <? }?>
 
Last edited:
-Fixed Copyrights (now shows normal)
-Deleted 2 spaces that maked the script look bad
-Changed table, making it more stylish
-Changed Colors

Copyrights:
Falcon (for the whole module)
Piscis (for releasing it on RZ)
1Word (fix and better style)

1Word - New  Ranking Murder [MuCore] - RaGEZONE Forums


Change what is inside (root)/pages_modules/rankmurder.php to this if you wish for it
Code:
<style type="text/css"> 
.newscont {
background: #989898  repeat-x top;
}
.newscont1{text-align: center;border-collapse:collapse;font:normal 12px Tahoma, Helvetica, sans-serif;text-decoration:none;}	
.newscont td.cont{border-top: 1px solid #3c2d21;border-bottom: 1px solid #3c2d21;border-right: 1px solid #3c2d21;}
.newscont td.cont2{border: 1px solid 	#404040 ;}
.newscont td.cont3{border: 1px solid #808080;}
.newscont td.cont4{border-bottom: 1px solid #3c2d21;}

</style>

 <?
  $get_config = simplexml_load_file('engine/config_mods/rank_kill_settings.xml');
if($get_config->active == '0'){
	echo msg('0',text_sorry_feature_disabled);
}else{
	?>
<div id="content"><div id="itsthetable"> 

<table class="newscont" width="100%">
	<tr align="center" >

		<td class="cont2"><b><font color="GoldenRod ">#</font></b></td>

		<td class="cont2"><b><font color="GoldenRod ">[Character]</font></b></td>

		<td class="cont2"><b><font color="GoldenRod ">[Class]</font></b></td>

		<td class="cont2"><b><font color="GoldenRod ">[State]</font></b></td>

		<td class="cont2"><b><font color="darkred">[Kill Count]</font></b></td>

		<td class="cont2"><b><font color="GoldenRod ">[Location]</font></b></td>
		</tr>
		
  <?

$killer = $core_db->Execute("Select TOP $get_config->ranking Name,Class,MapNumber,AccountID,PKcount,PkLevel From Character where pkcount>0 order by pkcount desc");

$cache_count = 0;

foreach ($killer as $falconporley){

$falcon = $characters_class[$killer->fields[1]] ? $characters_class[$killer->fields[1]][0]  : "Unknowm";

$wizkhalifa = $maps_codes[$killer->fields[2]] ? $maps_codes[$killer->fields[2]] : "Unknown";

$bonyhost = $pk_status_variables[$killer->fields[5]] ? $pk_status_variables[$killer->fields[5]] : "Unknown";

$cache_count++;

?>

	<tr align="center" >
  
		<td class="cont2"><font color="white"><?=$cache_count;?></font></td>

		<td class="cont3"><font color="white"><b><?=$killer->fields[0];?></b></font></td>
        
        <?  if($get_config->pick == '1'){
	    echo ' <td class="cont4"><img src="template/'.$core['config']['template'].'/images/class/'.decode_class($killer->fields[1],'2').'" width="30" height="30"></td>'; ?>
 		<? }?> 
	    
		<?  if($get_config->pick == '0'){ ?>
	
		<td class="cont3"><font color="white"><?=$falcon;?></font></td> 
		<? }?> 

		<td class="cont3"><font color="white"><?=$bonyhost;?></font></td>

		<td class="cont3"><font color="white"><?=$killer->fields[4];?></font></td>

		<td class="cont3"><font color="white"><?=$wizkhalifa;?></font></td>

		
		<? }?> 
       
		</tr>

		</table>
		
				</div>

		</div>
        <? }?>



it looks ugly with the boxes marked, it looks better like this in the post, so I leave falcon and this is their way of working is not good to lay hands on things outside
but your style is valued
 
Here you go than :)
Version .2

-Fixed Copyrights (now shows normal)
-Deleted 2 spaces that maked the script look bad
-Translated

1Word - New  Ranking Murder [MuCore] - RaGEZONE Forums


Change what is inside (root)/pages_modules/rankmurder.php to this if you wish for it:
Code:
<style type="text/css"> 
.newscont {
background: #8c8c8c repeat-x top;
}
.newscont1{text-align: center;border-collapse:collapse;font:normal 12px Tahoma, Helvetica, sans-serif;text-decoration:none;}	
.newscont td.cont{border-top: 1px solid #3c2d21;border-bottom: 1px solid #3c2d21;border-right: 1px solid #3c2d21;}
.newscont td.cont2{border: 1px hidden #3c2d21;}
.newscont td.cont3{border-top: 1px solid #3c2d21;border-bottom: 1px solid #3c2d21;border-left: 1px solid #3c2d21;}
.newscont td.cont4{border-bottom: 1px solid #3c2d21;}

</style>

 <?
  $get_config = simplexml_load_file('engine/config_mods/rank_kill_settings.xml');
if($get_config->active == '0'){
	echo msg('0',text_sorry_feature_disabled);
}else{
	?>
<div id="content"><div id="itsthetable"> 

<table class="newscont" width="100%">
	<tr align="center" >

		<td class="cont2"><b><font color="orange">#</font></b></td>

		<td class="cont2"><b><font color="orange">Character</font></b></td>

		<td class="cont2"><b><font color="orange">Class</font></b></td>

		<td class="cont2"><b><font color="orange">State</font></b></td>

		<td class="cont2"><b>[<font color="red">Kill Count</font>]</b></td>

		<td class="cont2"><b><font color="orange">Location</font></b></td>
		</tr>
		
  <?

$killer = $core_db->Execute("Select TOP $get_config->ranking Name,Class,MapNumber,AccountID,PKcount,PkLevel From Character where pkcount>0 order by pkcount desc");

$cache_count = 0;

foreach ($killer as $falconporley){

$falcon = $characters_class[$killer->fields[1]] ? $characters_class[$killer->fields[1]][0]  : "Unknowm";

$wizkhalifa = $maps_codes[$killer->fields[2]] ? $maps_codes[$killer->fields[2]] : "Unknown";

$bonyhost = $pk_status_variables[$killer->fields[5]] ? $pk_status_variables[$killer->fields[5]] : "Unknown";

$cache_count++;

?>

	<tr align="center" >
  
		<td class="cont4"><font color="white"><?=$cache_count;?></font></td>

		<td class="cont4"><font color="white"><b><?=$killer->fields[0];?></b></font></td>
        
        <?  if($get_config->pick == '1'){
	    echo ' <td class="cont4"><img src="template/'.$core['config']['template'].'/images/class/'.decode_class($killer->fields[1],'2').'" width="30" height="30"></td>'; ?>
 		<? }?> 
	    
		<?  if($get_config->pick == '0'){ ?>
	
		<td class="cont4"><font color="white"><?=$falcon;?></font></td> 
		<? }?> 

		<td class="cont4"><font color="white"><?=$bonyhost;?></font></td>

		<td class="cont4"><font color="white"><?=$killer->fields[4];?></font></td>

		<td class="cont4"><font color="white"><?=$wizkhalifa;?></font></td>

		
		<? }?> 
       
		</tr>

		</table>
		
				</div>

		</div>
        <? }?>
 
Looks Great!

@ 1Word, Could You Give Me A Help To Put Some Links Like Facebook On The Side Menu, After The Main Menus.

Like If I Want To Put Guild Ranking And Just Ranking Showing Them On The Side Menu...

Thanks!!!
 
I didn't use MuCore alot, I just started using it actually, but normally you need to edit .php files to add something like that, or you can add them like module, there are alot of possiblities, most of them require some basic HTML knowledge and some searching so you know where to put the code for Facebook or whatever you wish to do. This would be easier if there is already a module for that available. I'm gonna go to sleep now, tommorow if I have time I will try and tell you where to put it...
 
I didn't use MuCore alot, I just started using it actually, but normally you need to edit .php files to add something like that, or you can add them like module, there are alot of possiblities, most of them require some basic HTML knowledge and some searching so you know where to put the code for Facebook or whatever you wish to do. This would be easier if there is already a module for that available. I'm gonna go to sleep now, tommorow if I have time I will try and tell you where to put it...

Oki Doki! Thanks For The Quicky Rep. :wink:
 
Back