terça-feira, 8 de março de 2011

0
Scripts PHP:
Status do servidor:
QUOTE
< ?
$fp = @fsockopen("127.0.0.1", 55901, $errno, $errstr, 1);
if($fp >= 1){
echo '<font color=00FF00>Online</font>';}
else{ echo '<font color=990000>Offline</font>'; }
?>
Número de Usuários Banidos:
QUOTE
< ?php $sql = mssql_query("SELECT count(*) FROM Character where ctlcode=1");
echo mssql_result($sql, 0, 0); ?>
Número de Usuários Online:
QUOTE
< ?php
$sql = mssql_query("SELECT count(*) FROM MEMB_STAT WHERE ConnectStat = 1");
if( mssql_result($sql, 0, 0) <= 50){ //esse script da pra configurar a cor dos numeros
echo "<font color=black>"; //de 0 a 50 fica preto de 50 a 100 fica laranja
echo mssql_result($sql, 0, 0);} //e de 100 pra cima fica vermelho
elseif( mssql_result($sql, 0, 0) >= 50 AND mssql_result($sql, 0, 0) <= 100){
echo "<font color=FF6600>";
echo mssql_result($sql, 0, 0);}
elseif( mssql_result($sql, 0, 0) > 100){
echo "<font color=990000>";
echo mssql_result($sql, 0, 0);} ?>
Número de Contas:
QUOTE
< ?php
$tacountresult= mssql_query("select memb___id from MEMB_INFO");
$tacount = mssql_num_rows ($tacountresult);
?>
< ?php print "$tacount"; ?>
Número de Personagens:
QUOTE
< ?php
$tcharsresult = mssql_query("select Name from Character");
$tchars = mssql_num_rows ($tcharsresult);
?>
< ?php print "$tchars"; ?>
Lembrando que para esses scripts funcionarem, é nesessario a conexão com o mssql. exemplo:
QUOTE
< ?php
$alogin = "sa";
$apass = "Senha do SQL";
$db = "MuOnline";
$host = "Seu IP Aqui";
$msconnect=mssql_connect($host,$alogin,$apass);
$msdb=mssql_select_db("$db",$msconnect);
?>
Codigo do tempo para Abrir BC e DS :
Coloque o codico no lugar da pagina que você quiser ou se preferir criei um link
OBS: O codico é em php
< td width="134" class="texto" bgcolor="#000000"><span class="texto">Devil Square:</span><span class="textoR"><span id=timespan> </span>
< script>
var czas;
< ?
echo "var minuta = ".date("i").";";
echo "var sekunda = ".date("s").";";
?>
//document.write(55-minuta);
danagodzina = minuta * 60 + sekunda;
function changetimea()
{
danagodzina = danagodzina + 1;
czas = 55*60 - danagodzina;
min = Math.floor(czas/60);
sec = czas%60;
if(czas < 0)
{
document.getElementById("timespan").innerHTML="<? echo 'Aberto'; ?>";
}
else
{
if(min < 10) min = "0"+min;
if(sec < 10) sec = "0"+sec;
document.getElementById("timespan").innerHTML=min+":"+sec;
}
window.setTimeout("changetimea()",1000);
}
changetimea();
< /script>
< /font> </td>
< /tr>
< tr>
< td width="115"><font style=""><span class="texto">Blood Castle:</span><span class="textoR"><span id=timespan2></span>
< script>
< ?
echo "var minuta2 = ".date("i").";";
echo "var sekunda2 = ".date("s").";";
?>
danagodzina2 = minuta2 * 60 + sekunda2;
if(minuta2 > 30) dopelnej = 3600 - danagodzina2;
else dopelnej = -danagodzina2;
dobc = dopelnej + 25*60;
function changetimea2()
{
dobc = dobc - 1;
if(dobc < -5*60)
{
dobc = 3600 + 30*60;
dobc = dobc-1;
}
min2 = Math.floor(dobc/60);
sec2 = dobc%60;
if(min2 < 0)
{
document.getElementById("timespan2").innerHTML="<? echo 'Aberto'; ?>";
}
else
{
if(min2 < 10) min2 = "0"+min2;
if(sec2 < 10) sec2 = "0"+sec2;
document.getElementById("timespan2").innerHTML=min2+":"+sec2;
}
window.setTimeout("changetimea2()",1000);
}
changetimea2();
< /script>

Reset
QUOTE
< ?php
$alogin = "sa";
$apass = "Senha do SQL";
$db = "MuOnline";
$host = "Seu IP Aqui";
$msconnect=mssql_connect($host,$alogin,$apass);
$msdb=mssql_select_db("$db",$msconnect);
$query = 'select Name,Class,cLevel,Strength,Dexterity,Vitality,Energy,LevelUpPoint,CtlCode,resets
from Character order by resets desc , cLevel desc';
$result = mssql_query( $query );
echo '<html>';
echo "<head>\n";
echo '<body>';
echo '<font face=Verdana>';
echo '<center><table cellSpacing=1 width=100% align=center>';
echo '<tr>
< td bgcolor=F5F5F5><center><b>Rank</td>
< td bgcolor=F5F5F5><b>Personagem</td>
< td bgcolor=F5F5F5><b>Classe</td>
< td bgcolor=F5F5F5><b>Level</td>
< td bgcolor=F5F5F5><b>Strenght</td>
< td bgcolor=F5F5F5><b>Agility</td>
< td bgcolor=F5F5F5><b>Vitality</td>
< td bgcolor=F5F5F5><b>Energy</font></td>
< td bgcolor=F5F5F5><b>Resets</font></td>';
//Aqui voce coloca o numero do rank
//no caso esta top 100
//se quiser mudar eh soh trocar o 100 pelo numero desejado
for($i=0;$i < 100;++$i)
{
$row = mssql_fetch_row($result);
$personag = htmlentities($row[0]);
echo '<tr><td width=5% bgcolor=F5F5F5><center><b>';
echo $i + 1;
echo 'º</td><td width=21% bgcolor=F5F5F5><table>';
echo $personag;
echo '</table></td><td width=19% bgcolor=F5F5F5>';
if($row[8] == 8){
echo 'Game Master';
}
else {
if($row[1] == 0){
echo 'Dark Wizard';
}
if($row[1] == 1){
echo 'Soul Master';
}
if($row[1] == 16){
echo 'Dark Knight';
}
if($row[1] == 17){
echo 'Blade Knight';
}
if($row[1] == 32){
echo 'Elf';
}
if($row[1] == 33){
echo 'Muse Elf';
}
if($row[1] == 48){
echo 'Magic Gladiator';
}
if($row[1] == 64){
echo 'Dark Lord';
}
}
echo '</td><td width=8% bgcolor=F5F5F5>';
echo $row[2];
echo '</td><td width=9% bgcolor=F5F5F5>';
echo $row[3];
echo '</td><td width=9% bgcolor=F5F5F5>';
echo $row[4];
echo '</td><td width=9% bgcolor=F5F5F5>';
echo $row[5];
echo '</td><td width=9% bgcolor=F5F5F5>';
echo $row[6];
echo '</td><td width=9% bgcolor=F5F5F5>';
echo $row[9];
echo'</td></tr>';
}
echo '</table>';
echo '</body>';
echo '</html>';
$conn=mssql_close();
?>
Corrigindo Bug PHP :
Na pasta de seu site, tem o config.php, abra-o após abri-lo vc terá q adicionar esse codigo após o <?php(uma linha abaixo):
$xa = getenv('REMOTE_ADDR');
$badwords = array(";","'","\"","*","union","del","DEL","insert","update","=","drop","sele","$");
foreach($_POST as $value)
foreach($badwords as $word)
if(substr_count($value, $word) > 0)
die("Security Warning!<br />Forbidden simbols are included, please remove them and try again -> $xa");
Assim ele bloqeará os codigos usados para hakear usando o sql injection
0
Configurar a Exp.

01. Procure a pasta do MuServer.
02. Abra pasta Data que se localiza dentro do MuServer
03. Abra o arquivo commonserver com o bloco de notas
04. Procure por AddExperience
05. Logo após o sinal de igual "=" será onde você mudará a exp do server.
06. Só editar as linhas, salvar e reeniciar o servidor.
************************************************************************************

Configurar o Drop.

01. Procure a pasta do MuServer.
02. Abra pasta Data que se localiza dentro do MuServer
03. Abra o arquivo commonserver com o bloco de notas
04. Procure por ItemDropPer
05. Logo após o sinal de igual "=" será onde você mudará o drop do server.
06. Só editar as linhas, salvar e reeniciar o servidor.
************************************************************************************

Configurar o Bug Bless

01. Procure a pasta do MuServer.
02. Abra pasta Data que se localiza dentro do MuServer
03. Abra os arquivos shop.txt , e vejam os exemplos de como funcionam o bug bless:

Jóias sem bug:
14 13 0 0 0 0 0 //Jewel of Bless
14 14 0 0 0 0 0//Jewel of Soul
14 16 0 0 0 0 0 //Jewel of Life

Jóias com bug:
14 13 0 255 0 0 0 //Jewel of Bless
14 14 0 255 0 0 0//Jewel of Soul
14 16 0 255 0 0 0 //Jewel of Life

04. Só editar as linhas, salvar e reeniciar o servidor.
**********************************************************************

Criar Skins

fabricio
0
1º Baixe o programa MUimgGUI.
2º Execute o programa e procure pelo seu Client


3º Depois de ter localizado a pasta selecione o arquivo e o converta.

4º O arquivo ele será convertido para jpg, agora para alterar o arquivo você precisa de um editor de imagens depois que você editou a imagem salve e em seguida abra novamente o MuImgGui

5º Ele ira converter para ozj (arquivo de imagem de Mu) está pronto o seu skin entre no jogo e confira

Auto Reset

fabricio
0
   [[   [ Auto Reset Para Vip na table Character ]
   Auto Reset para GM's
UPDATE Character
SET clevel=('50'), Experience=('0'),Money=Money-('0'), Reset=Reset+1, Strength=('32500'), Dexterity=('26000'), Vitality=('32500'), Energy=('32500')
FROM Character join Memb_Stat on Character.Accountid=Memb_Stat.memb___id
collate Latin1_general_CI_AS
WHERE clevel>349 AND Vip = 8 AND Memb_Stat.ConnectStat = 0
   Auto Reset para Usuários Normais ( and Vip = 0 ) :Ganhando 350 pontos, Resetando lvl 350
UPDATE Character
SET clevel=('1'), Experience=('0'),Money=Money-('0'),LevelUpPoint=350+350*Reset, Reset=Reset+1,Strength=('30'), Dexterity=('30'), Vitality=('30'),Energy=('30')
FROM Character join Memb_Stat on Character.Accountid=Memb_Stat.memb___id
collate Latin1_general_CI_AS
WHERE clevel>349 AND Memb_Stat.ConnectStat = 0 and Vip = 0 and Money>('0')


   Auto Reset para Users Normais ( and Vip = 0 ) :Ganhando 350 pontos, Resetando lvl 350, Resetando Itens
UPDATE Character
SET clevel=('1'), Experience=('0'),Money=Money-('0'),LevelUpPoint=350+350*Reset, Reset=Reset+1,
Strength=('30'), Dexterity=('30'), Vitality=('30'),Energy=('30'), Inventory=null, MagicList=null
FROM Character join Memb_Stat on Character.Accountid=Memb_Stat.memb___id
collate Latin1_general_CI_AS
WHERE clevel>349 AND Memb_Stat.ConnectStat = 0 and Vip = 0 and Money>('0')
   Auto Reset para Usuários Vips ( and Vip = 1 ) : Ganhando 400 pontos, Resetando lvl 350
UPDATE Character
SET clevel=('1'), Experience=('0'),Money=Money-('0'),LevelUpPoint = 400+400*Reset, Reset=Reset+1, Strength=('50'), Dexterity=('50'), Vitality=('50'), Energy=('50')
FROM Character join Memb_Stat on Character.Accountid=Memb_Stat.memb___id
collate Latin1_general_CI_AS
WHERE clevel>349 AND Vip = 1 AND Memb_Stat.ConnectStat = 0

   Auto Reset para Qualquer Usuário Acumulativo : Resetando lvl 350 Acumulativo

UPDATE Character
SET clevel= ('1') , experience= ('0')
WHERE clevel>349



15º Depois clique em Parse e de OK.
16º Va para Schedules.
17º Em New Sechedule coloque tambem la AutoReset.
18º Depois clique em Change.
19º Na primeira parte selecione Daily e deixe em Every 1 day(s).
20º Depois selecione em baixo Occurs every e troque Hour(s) por Minute(s).
21º Duration selecione a data atual do dia e de ok.

22º Agora e so finalizar dando Aplicar e OK.
23º Pronto está feito AUTORESET.
24º Sempre de Start no SQL Server Agent, e deixe como auto start para facilitar.
0
1 - Entre no site ( www.no-ip.com ) e crie uma conta !
2 - Seu login será seu e-mail , e sua senha vc escolherá !!
3 - Após feita a conta , logue ( entre com o e-mail e a senha ) ..
4 - Clique em Add.

5 - Em "vicio muonline",você colocara o nome do seu server, ou algo de sua escolha !
6 - Ai , você escolhe o endereço ( no-ip.info) ou qualquer outro, tem uma lista enorme para escolha !
7 - Em "IP ADDRESS" aparecerá seu ip !
8 - Lá embaixo vc clicara em CREATE HOST !
9 - Após feito issu , aparecerá uma tela de confirmação de criação !
10 - Agora você ira instalar o programa que pode ser encontrado na seção de Utilitários ou clicando Aqui
11 - Abra o programa , ele pedira seu e-mail e a senha (de cadastro no site)
12 - Aparecerá assim :
13 - Você clickara no seguinte lugar
14 - Pronto seu ip fixo está pronto , Feche o programa no X ele ficara em segundo plano e iniciara junto do windows !
15 - Agora , você colocara seu ip onde precisa na pasta do muserver, ai quando vc for da seu ip para os player conecta ele vai ser o do no-ip , exp.: png.no-ip.org !

Editar Aneis

fabricio
0
Abra o game server com o editor de Hexa Decimal:
C7 45 F0 02 00 00 00 EB 34 C7 45 F0
07 00 00 00 EB 2B C7 45 F0
0E 00 00 00 EB 22 C7 45 F0
08 00 00 00 EB 19 C7 45 F0
09 00 00 00 EB 10 C7 45 F
os numeros que estao vermelho sao os numeros dos monstros no monster.txt [hex]
Por exemplo você troca o budge dragon ring para transformar em bali:
151(numero do bali no monster.txt)numero dele em hex 97
Procure:
C7 45 F0 02 00 00 00 EB 34 C7 45 F0
Modifique por:
C7 45 F0 97 00 00 00 EB 34 C7 45 F0

Set Ancient

fabricio
0
Nome dos Sets:
DK/BK:
Warrior Leather Set
Option for each set
2 Set option : Strength +10
3 Set option : Increase attack rate +10
4 Set option : Increase maximum AG +20
5 Set option : AG increase Rate +5
6 Set option : Increase Defense +20
Full set Options
Increases Agility +10
Critical damage rate + 5%
Excellent damage rate + 5%
Increased Strength + 25
Set Item Parts
Warrior Leather Helmet (+5-10 Vit)
Warrior Leather Armor (+5-10 Vit)
Warrior Leather Pants (+5-10 Vit)
Warrior Leather Gauntlets (+5-10 Vit)
Warrior Leather Boots (+5-10 Vit)
Warrior Morning Star (+5-10 Str)
Warrior Ring of Ice (+5-10 Agi)
other info: DL can use.
________________________________________________________
Hyperion Bronze Set:
Option for each set
2 Set option : Energy +15
Full set Options
Increase agility +15
Increase mana +30
Increase energy +15
Increase ????? +20
Set Item Parts
Hyperion Bronze Armor (+5-10 Vit)
Hyperion Bronze Pants (+5-10 Vit)
Hyperion Bronze Boots (+5-10 Vit)
other info: DL can use.
________________________________________________________
Eplete Scale Set
Option for each set
2 Set option : Increase Skill Damage +15
3 Set option : Increase Attack Rate +50
4 Set option : Increase Wizardry Damage+5%
Full set Options
Maximum HP +50
Increase maximum AG +30
Increase Critical damage rate +10%
Excellent damage rate +10%
Set Item Parts
Eplete Scale Armor (+5-10 Vit)
Eplete Scale Pants (+5-10 Vit)
Eplete Scale Helmet (+5-10 Vit)
Eplete Plate Shield (+5-10 Vit)
Eplete Pendant of Lightning (+5-10 Energy)
other info: DL can use.
________________________________________________________
Garuda Brass Set
Option for each set
2 Set option : Increase maximum AG +30
3 Set option : Double Damage rate 5%
4 Set option : Energy +15
Full set Options
Maximum HP +50
Increase skill attack rate+25
Increase Wizardry Damage +15%
Set Item Pieces
Garuda Brass Armor (+5-10 Vit)
Garuda Brass Pants (+5-10 Vit)
Garuda Brass Gauntlets (+5-10 Vit)
Garuda Brass Boots (+5-10 Vit)
Garuda Pendant of Fire (+5-10 Str)
________________________________________________________
Kantata Plate Set
Option for each set
2 Set option : Energy +15
3 Set option : Vitality +30
4 Set option : Increase Wizardry Damage +10%
Full set Options
Strength +15
Increase skill damage +25
Excellent damage rate +10%
Increase excellent damage +20
Set Item Parts
Kantata Plate Armor (+5-10 Vit)
Kantata Plate Gauntlets (+5-10 Vit)
Kantata Plate Boots (+5-10 Vit)
Kantata Ring of Poison (+5-10 Vit)
Kantata Ring of Wind (+5-10 Agi)
________________________________________________________
Hyon Dragon Set
Option for each set
2 Set option : Increase defense +25
3 Set option : Double Damage rate +10%
Full set Options
Increase skill damage +20
Critical damage rate +15%
Excellent damage rate +15%
Increase Critical Damage +20
Increase Excellent Damage +20

Set Item Parts
Hyon Dragon Helmet (+5-10 Vit)
Hyon Dragon Gauntlets (+5-10 Vit)
Hyon Dragon Boots (+5-10 Vit)
Hyon Lightning Sword (+5-10 Str)
=================================================
SM/DW:
Apollo Pad Set
Option for each set
2 Set option : Energy +10
3 Set option : Increase wizardry +5%
4 Set option : Increase attacking skill +10
5 Set option : Maximum mana +30
6 Set option : Maximum life +30
7 Set option : Increase maximum AG +20
Full set Options
Increase critical damage +10
Increase excellent damage +10
Energy +30
Set Item Parts
Apollo Pad Armor (+5-10 Vit)
Apollo Pad Pants (+5-10 Vit)
Apollo Pad Helmet (+5-10 Vit)
Apollo Pad Gauntlets (+5-10 Vit)
Apollo Skull Staff (+5-10 Str )
Apollo Pendant of Ice (+5-10 Str)
Apollo Ring of Magic
________________________________________________________
Evis Bone Set
Option for each set
2 Set option : Increase attacking skill +15
3 Set option : Increase stamina +20
4 Set option : Increase wizardry damage +10
Full set Options
Double damage rate 5%
Increase damage success rate +50
Increase AG regen rate +5
Set Item Parts
Evis Bone Armor (+5-10 Vit)
Evis Bone Pants (+5-10 Vit)
Evis Bone Boots (+5-10 Vit)
Evis Pendant of Wind
________________________________________________________
Heras Sphinx Set
Option for each set
2 Set option : Str +15
3 Set option : Increase wizardry damage +10%
4 Set option : Increase defensive skill when equipped with shield +5%
5 Set option : Energy +15
6 Set option : Increase attack success rate +50
Full set options
Critical damage rate +10%
Excellent damage rate +10%
Increase maximum life +50
Increase maximum mana +50
Set Item Peices
Hera Sphinx Armor (+5-10 Vit)
Hera Sphinx Pants (+5-10 Vit)
Hera Sphinx Boots (+5-10 Vit)
Hera Sphinx Gloves (+5-10 Vit)
Hera Sphinx Helm (+5-10 Vit)
Hera Skull Shield (+5-10 Vit)
________________________________________________________
Anubis Legendary Set
Option for each set
2 Set option : Double Damage rate +10%
3 Set option : Increased Max mana +50
4 Set option : Increased Wizardry damage +10%
Full set Options
Critical damage rate +15%
Excellent damage rate +15%
Increase critical damage +20
Increase excellent damage +20
Set Item Peices
Anubis Legendary Helm (+5-10 Vit)
Anubis Legendary Armor (+5-10 Vit)
Anubis Legendary Gloves (+5-10 Vit)
Anubis Ring of Earth (+5-10 Energy)
=================================================
ELF/ME:
Ceto Vine Set
Option for each set
2 Set option : Agility +10
3 Set option : Increase Maximum HP +50
4 Set option : Increase Defense skill +20
5 Set option : Increase defensive skill while using shields +5%
6 Set option : Increase Energy +10
Full set Options
Increases Max HP +50
Increase Strength +20

Set Item Parts
Ceto Helm (+5-10 Vit)
Ceto Pants (+5-10 Vit)
Ceto Gloves (+5-10 Vit)
Ceto Boots (+5-10 Vit)
Ceto Rapier (+5-10 Str)
Ceto Ring of Earth (+5-10 Str)
________________________________________________________
Odin Wind Set
Option for each set
2 Set option : Energy +15
3 Set option : Increase maximum life +50
4 Set option : Increase attack success rate +50
5 Set option : Agility +30
Full set Options
Increase maximum mana +50
Ignore enemy's defensive skill +5%
Increase maximum AG +50
Set Item Parts
Odin Wind Helmet (+5-10 Vit)
Odin Wind Armor (+5-10 Vit)
Odin Wind Pants (+5-10 Vit)
Odin Wind Gauntlets (+5-10 Vit)
Odin Wind Boots (+5-10 Vit)
_______________________________________________________
Argo Spirit Set
Option for each set
2 Set option : Agility +30
3 Set option : Power +30
Full set Options
Increase attacking skill +25
Double damage rate +5%
Set Item Parts
Argo Spirit Armor (+5-10 Vit)
Argo Spirit Pants (+5-10 Vit)
Argo Spirit Gauntlets (+5-10 Vit)
________________________________________________________
Gaia Silk Set
Option for each set
2 Set option : Increase attacking skill +10
3 Set option : Increase maximum mana +25
4 Set option : Power +10
5 Set option : Double damage rate +5%
Full set Options
Agility +30
Excellent damage rate +10%
Increase excellent damage +10
Set Item Parts
Gaia Silk Helmet (+5-10 Vit)
Gaia Silk Armor (+5-10 Vit)
Gaia Silk Pants (+5-10 Vit)
Gaia Silk Gauntlets (+5-10 Vit)
Gaia Golden Crossbow (+5-10 Agi)
________________________________________________________
Gywen Guardian Set
Option for each set
2 Set option : Double damage rate +10%
3 Set option : Agility +30
4 Set option : Increase minimum attacking skill +20
5 Set option : Increase maximum attacking skill +20
Full set Options
Critical damage rate +15%
Excellent damage rate +15%
Increase critical damage +20
Increase excellent damage +20
Set Item Parts
Gywen Guardian Armor (+5-10 Vit)
Gywen Guardian Gauntlets (+5-10 Vit)
Gywen Guardian Boots (+5-10 Vit)
Gywen Silver Bow (+5-10 Agi)
Gywen Pendant of Ability
=================================================
MG:
Gaion Storm Crow Set
Option for each set
2 Set option : Ignore enemy's defensive skill +5%
3 Set option : Double damage rate +15%
4 Set option : Increase attacking skill +15
Full set Options
Excellent damage rate +15%
Increase excellent damage +30
Increase wizardry +20%
Increase Strength +30
Set Item Parts
Gaion Storm Crow Armor (+5-10 Vit)
Gaion Storm Crow Pants (+5-10 Vit)
Gaion Storm Crow Boots (+5-10 Vit)
Gaion Pendant of Water (+5-10 Vit)