Código:
<?
/*
################################################################################################################################
PS Plugin MuWeb
Desenvolvido por PS Sistemas
################################################################################################################################
*/
# Configuração geral
define("Title", "PS MuWeb Plugin 2013 - PS Sistemas");
###
# Sistema de cores Layout
$Textos = "#4682B4";
$Aviso = "#A52A2A";
###
$PS['VIP']['NAMES'] = array("Gratuito", "Vip 1", "Vip 2");
$PS['VIP']['COLUMNS'] = array(/*Vip*/ "vip", /*Dias*/ "Dias");
###
$PS['MOEDAS']['NAMES'] = array("Moeda 1|vCoins", "Moeda 2|vPoints", "Golds|golds");
# Formato: Nome Moeda|Coluna (Leitura da MEMB_INFO)
###
# Reset
$PS['CHARACTER']['COLUMNS'] = array(/*Reset*/ "resets", /*Resets semanal*/ "resetsWeek", /*Resets mensal*/ "resetsMonth", /*Master Resets*/ "MResets");
$PS['Reset']['LIMITS'] = array(/*Ligar*/ 1, /*Free*/ 1, /*Vip 1*/ 1, /*Vip 2*/ 1, /*Tipo*/ 2);
# Tipo reset: 0 Pontuativo / 1 Acumulativo / 2 Tabelado
$PS['Reset']['TIPO'] = array(
/*Free*/ "0|400|500000000|250|0|0|0|0", /*Vip 1*/ "0|350|250000000|500|0|0|0|0", /*Vip 2*/ "0|300|100000000|1000|0|0|0|0",
/*Free*/ "1|400|500000000|0|0|0|0|0", /*Vip 1*/ "1|350|250000000|0|0|0|0|0", /*Vip 2*/ "1|300|100000000|0|0|0|0|0",
# Formato: Tipo reset|Level para resetar|Custo|Pontos|Reset inicial|Reset final|Limpa Inventario|Limpa skills
/*Free*/ "2|400|500000000|250|0|10|0|0|0", /*Vip 1*/ "2|350|250000000|500|0|10|0|0|1", /*Vip 2*/ "2|300|100000000|1000|0|10|0|0|2",
/*Free*/ "2|400|500000000|250|10|50|0|0|0", /*Vip 1*/ "2|350|250000000|500|10|50|0|0|1", /*Vip 2*/ "2|300|100000000|1000|10|50|0|0|2",
/*Free*/ "2|400|500000000|250|50|500|0|0|0", /*Vip 1*/ "2|350|250000000|500|50|500|0|0|1", /*Vip 2*/ "2|300|100000000|1000|50|500|0|0|2");
# Formato: Tipo reset|Level para resetar|Custo|Pontos|Reset inicial|Reset final|Limpa Inventario|Limpa skills|Vip
###
# Alteração de dados
$PS['DADOS']['LIMITS'] = array(/*Ligar*/ 1, /*Free*/ 1, /*Vip 1*/ 1, /*Vip 2*/ 1);
$PS['DADOS']['COLUMNS'] = array("memb_name|Nome|15", "mail_addr|Email|30", "memb__pwd|Senha|10");
# Formato: Coluna|Nome|Qtd caracteres
# Sistema de limpar bau
$PS['CleanVault']['LIMITS'] = array(/*Ligar*/ 1, /*Free*/ 1, /*Vip 1*/ 1, /*Vip 2*/ 1, /*Varbinary*/ 1920);
# Sistema de reparar bau
$PS['RepairVault']['LIMITS'] = array(/*Ligar*/ 1, /*Free*/ 1, /*Vip 1*/ 1, /*Vip 2*/ 1, /*Varbinary*/ 1920);
# Sistema de PM
$PS['PM']['LIMITS'] = array(/*Ligar*/ 1, /*Msgs Free*/ 10, /*Msgs Vip 1*/ 20, /*Msgs Vip 2*/ 50, /*Caracteres em cada pm*/ 512,
/*Free*/ 1, /*Vip 1*/ 1, /* Vip 2*/ 1);
# Sistema de Troca de classe
$PS['ChangeClass']['LIMITS'] = array(/*Ligar*/ 1, /*Free*/ 1, /*Vip 1*/ 1, /*Vip 2*/ 1);
$PS['ChangeClass']['CLASS'] = array("0|Dark Wizard", "1|Soul Master", "2|Grand Master", "16|Dark Knight", "17|Blade Knight", "18|Blade Master",
"32|Fairy Elf", "33|Muse Elf", "34|High Elf", "48|Magic Gladiator", "49|Duel Master", "64|Dark Lord",
"65|Lord Emperor", "80|Summoner", "81|Blood Summoner", "82|Dimension Master", "96|Rage Fighter", "98|Fist Master");
# Formato: Classe|Nome
# Sistema de Troca de nick
$PS['ChangeNick']['LIMITS'] = array(/*Ligar*/ 1, /*Free*/ 1, /*Vip 1*/ 1, /*Vip 2*/ 1);
# Sistema de redistribuir pontos
$PS['Redistribute']['LIMITS'] = array(/*Ligar*/ 1, /*Free*/ 1, /*Vip 1*/ 1, /*Vip 2*/ 1, /*LeaderShip*/ 1);
# Sistema de desbugar zen
$PS['FixZen']['LIMITS'] = array(/*Ligar*/ 1, /*Free*/ 1, /*Vip 1*/ 1, /*Vip 2*/ 1, /*Adicionar*/ 0);
# Sistema de distribuir pontos
$PS['DistributePoints']['LIMITS'] = array(/*Ligar*/ 1, /*Free*/ 1, /*Vip 1*/ 1, /*Vip 2*/ 1, /*LeaderShip*/ 1, /*Max Points*/ 35000);
# Mover personagem
$PS['MovePerson']['LIMITS'] = array(/*Ligar*/ 1, /*Free*/ 1, /*Vip 1*/ 1, /*Vip 2*/ 1);
$PS['MovePerson']['MAPS'] = array("0|Lorencia|50|10000|125|125", "6|Stadium|100|50000|250|250");
# Formato: Mapa|Nome|Level|Custo|X|Y
# Sistema de limpar inventário
$PS['CleanInvent']['LIMITS'] = array(/*Ligar*/ 1, /*Free*/ 1, /*Vip 1*/ 1, /*Vip 2*/ 1, /*Varbinary*/ 1728);
# Sistema de reparar inventário
$PS['RepairInvent']['LIMITS'] = array(/*Ligar*/ 1, /*Free*/ 1, /*Vip 1*/ 1, /*Vip 2*/ 1, /*Varbinary*/ 1728);
# Sistema de avatar
$PS['Avatar']['LIMITS'] = array(/*Ligar*/ 1, /*Free*/ 1, /*Vip 1*/ 1, /*Vip 2*/ 1, /*Tamanho em kb*/ 1024,
/*Extensões*/ ".jpg|.png|.gif|.bmp|.jpeg", /*Coluna (Character)*/ "avatar", /*Local destino*/ "./avatares/");
# Sistema de perfil
$PS['Perfil']['LIMITS'] = array(/*Ligar*/ 1, /*Free*/ 1, /*Vip 1*/ 1, /*Vip 2*/ 1, /*Coluna (Character)*/ "perfil", /*Caracteres*/ 1000);
################################################################################################################################
# Conexão com o SQL Server
define("host", "127.0.0.1");
define("login", "sa");
define("pass", "vps01");
define("db", "MuOnline");
$conexao = mssql_connect(host, login, pass) or die ("<script>alert('Erro no servidor, tente novamente mais tarde');</script>");
mssql_select_db(db) or die ("<script>alert('Erro no servidor, tente novamente mais tarde');</script>");
$xa = getenv('REMOTE_ADDR');
$badwords = array("UNION","whare","'","DELETE","DROP","TRUNCATE");
foreach($_REQUEST as $value)
foreach($badwords as $word)
if(substr_count($value, $word) > 0)
die ("Evite usar esses tipos de caracteres!");
################################################################################################################################
?>
Segue o arquivo Strings.php: