ESSE TUTORIAL É 100% DE MINHA AUTORIA SE COPIAREM POSTE OS CREDITOS!!!!!!!
Para baixar o AppServ clique aqui!
Para baixar algum site clique aqui!
Agora o esperado xD o tutorial.
1° Abra o AppServ claro né xD
Procure um site compativel a versão de seu otserver.
Agora o esperado xD o tutorial.
1° Abra o AppServ claro né xD
1° Next na primeira tela que aparecer
2° Na segunda de next tambem.
3° Na terceira escolha a opção custom e de next.
4° Na quarta desmarque a 2 e 4 opções e de next.
5° Na quinta coloke a port 8090 onde esta marcada na imagem e de next.
6° Na sexta espere instalar.
7° E na ultima desmarque as duas opções e de close
Pronto instalou o AppServ agora baixe o site e abra o config.php com bloco de notas...
Está +/- assim né?
<?
##//-ATENÇÃO LEIA-##\\
##//---------PARA CONFIGURAR O RANK SIGA RANKS.PHP E PROCURE POR-------\\##
##//---"C:\TIBIA-DFE\DFE SERVER\data\players" E MUDE PARA O DIRETORIO DO SEU SERVER o meu ficou assim---\\##
##//---------PARA CONFIGURAR O QUEM ESTÁ ONLINE, SIGA PLAYERS-ONLINE.PHP E PROCURE POR-------\\##
##//---"C:\TIBIA-DFE\DFE SERVER\data\logs\online.php" E MUDE PARA O DIRETORIO DO SEU SERVER, TODAS AS PASTAS---\\##
##//---------Diretórios----------\\##
$otserv_dir = "C:\TIBIA-DFE\DFE SERVER";
##//-------- Não mecha!!!--------\\##
$pastadata = $otserv_dir.'data';
$folderplayer = "C:\TIBIA-DFE\DFE SERVER\data\players";
$folderaccount = "C:\TIBIA-DFE\DFE SERVER\data\accounts";
$diraccount = "C:\TIBIA-DFE\DFE SERVER\data\accounts";
$dirplayer = "C:\TIBIA-DFE\DFE SERVER\data\players";
$dirhouses = "C:\TIBIA-DFE\DFE SERVER\data\world";
$dirdata = $servpath.'C:\TIBIA-DFE\DFE SERVER\data'; // NAO MUDEM
##//-----------O site------------\\##
$titulo = ".::Tibia-Dfe-Server::."; // Título do site
$otservnome = "Dfe-Server Team"; // Nome do seu OTServ
$server = "DFE"; // Nome do mundo
$seusite = "http://[Retirado]"; //Coloque aqui o seu site!
$linkforum = "http://[Retirado]"; // Link do seu forum
$serverport = "7171"; //Porta do servidor
$ip = "tibia-dfe-server.servegame.com"; // IP do servidor
$gm0 = "GM Zasck"; // Nome dos GMs, tutores e etc..
$gm1 = "GOD Darth Sidious"; // Nome dos GMs, tutores e etc..
##//----------Regras-------------##
$regra1 = "Não Matarás."; //Regra número 1
$regra2 = "Não levantará falso testemunho."; //Regra número 2
$regra3 = "Honrar pai e mãe"; //Regra número 3
$regra4 = "Amar a Deus sobre todas as coisas"; //Regra número 4
$regra5 = "Não furtarás"; //Regra número 5
$regra6 = "Guardar domingos e festas"; //Regra número 6
$regra7 = "amar o próximo em toda e qualquer ocasião"; //Regra número 7
$regra8 = "Não desejar a mulher do próximo"; //Regra número 8
$regra9 = ""; //Regra número 9
$regra10 = ""; //Regra número 10
//********************************** CONFIG ******************************//
//- Guild images direction -//
$guildimgdir = "guildimgs/";
//- Folder data (with 2 slashes \\ in all folder and in the end 1 / ) -//
$cfg['dirdata'] = "C:\TIBIA-DFE\DFE SERVER\data";
//- Min. level to create a guild -//
$ownguildlvl = "50";
//*********************************** DO NOT EDIT THIS *****************************//
$account_folder = $cfg['dirdata']."accounts/";
$player_folder = $cfg['dirdata']."players/";
$guildfile = $cfg['dirdata']."guilds.xml";
$path = $player_folder;
###-------------ADMIN CP----------------###
$dir = 'C:\TIBIA-DFE\DFE SERVER'; //Diretório do OTServ
$auser = '*****'; // Usuário Não divulgo
$apass = '*****'; // Senha Não divulgo
###-- Perigo!!! Não altere!!! --###
function find($param, $file) {
$fgc = file_get_contents($file);
$strstr = stristr($fgc, $param);
$explode = explode('"', $strstr);
return $explode[1];
}
###-----------------------------###
?>
Agora em char config.php
Configure o char a ser criado
<?//Configure aqui os personagens e seus equipamentos.
$sex = $_POST['sex'];
$voc = $_POST['voc'];
if($sex == 1 && $voc == 1) // (Sorcerer|Male)
{
$sex = "1"; //sexo
$level = "8"; //level
$maglevel = "1"; //magic level
$voc = "1"; //vocação
$cap = "1000"; //cap
$exp = "4200"; //experiência
$health = "80"; //HP
$mana = "240"; //mana
$spawnx = "703"; //posição X do spawn do char
$spawny = "600"; //posição Y do spawn do char
$spawnz = "7"; //posição Z do spawn do char
$templex = "703"; //posição X do templo
$templey = "600"; //posição Y do templo
$templez = "7"; //posição Z do templo
$look = "128"; //Outfit
$skill0 = '10'; //fist fighting
$skill1 = '10'; //club fighting
$skill2 = '10'; //sword fighting
$skill3 = '10'; //axe fighting
$skill4 = '10'; //distance fighting
$skill5 = '10'; //shielding
$skill6 = '10'; //fishing
$helmet = '<slot slotid="1"><item id="2457"/></slot>'; //Helmet
$amulet = '<slot slotid="2"><item id="2661"/></slot>'; //Amulet
$backpack = '<slot slotid="3"><item id="1988"/></slot>'; //Backpack
$armor = '<slot slotid="4"><item id="2463"/></slot>'; //Armor
$shield = '<slot slotid="5"><item id="2525"/></slot>'; //Shield
$weapon = '<slot slotid="6"><item id="2190"/></slot>'; //Weapon
$legs = '<slot slotid="7"><item id="2647"/></slot>'; //Legs
$boots = '<slot slotid="8"><item id="2643"/></slot>'; //Boots
$ring = ''; //Ring
$arrow = ''; //Arrow
$depot = '<item id="2152" count="10"/>'; //Items do depot
}
if($sex == 1 && $voc == 2) // (Druid|Male)
{
$sex = "1"; //sexo
$level = "8"; //level
$maglevel = "1"; //magic level
$voc = "2"; //vocação
$cap = "1000"; //cap
$exp = "4200"; //experiência
$health = "80"; //HP
$mana = "240"; //mana
$spawnx = "703"; //posição X do spawn do char
$spawny = "600"; //posição Y do spawn do char
$spawnz = "7"; //posição Z do spawn do char
$templex = "703"; //posição X do templo
$templey = "600"; //posição Y do templo
$templez = "7"; //posição Z do templo
$look = "128"; //Outfit
$skill0 = '10'; //fist fighting
$skill1 = '10'; //club fighting
$skill2 = '10'; //sword fighting
$skill3 = '10'; //axe fighting
$skill4 = '10'; //distance fighting
$skill5 = '10'; //shielding
$skill6 = '10'; //fishing
$helmet = '<slot slotid="1"><item id="2457"/></slot>'; //Helmet
$amulet = '<slot slotid="2"><item id="2661"/></slot>'; //Amulet
$backpack = '<slot slotid="3"><item id="1988"/></slot>'; //Backpack
$armor = '<slot slotid="4"><item id="2463"/></slot>'; //Armor
$shield = '<slot slotid="5"><item id="2525"/></slot>'; //Shield
$weapon = '<slot slotid="6"><item id="2182"/></slot>'; //Weapon
$legs = '<slot slotid="7"><item id="2647"/></slot>'; //Legs
$boots = '<slot slotid="8"><item id="2643"/></slot>'; //Boots
$ring = ''; //Ring
$arrow = ''; //Arrow
$depot = '<item id="2152" count="10"/>'; //Items do depot
}
if($sex == 1 && $voc == 3) // (Paladin|Male)
{
$sex = "1"; //sexo
$level = "8"; //level
$maglevel = "1"; //magic level
$voc = "3"; //vocação
$cap = "1000"; //cap
$exp = "4200"; //experiência
$health = "120"; //HP
$mana = "120"; //mana
$spawnx = "703"; //posição X do spawn do char
$spawny = "600"; //posição Y do spawn do char
$spawnz = "7"; //posição Z do spawn do char
$templex = "703"; //posição X do templo
$templey = "600"; //posição Y do templo
$templez = "7"; //posição Z do templo
$look = "128"; //Outfit
$skill0 = '10'; //fist fighting
$skill1 = '10'; //club fighting
$skill2 = '10'; //sword fighting
$skill3 = '10'; //axe fighting
$skill4 = '10'; //distance fighting
$skill5 = '10'; //shielding
$skill6 = '10'; //fishing
$helmet = '<slot slotid="1"><item id="2457"/></slot>'; //Helmet
$amulet = '<slot slotid="2"><item id="2661"/></slot>'; //Amulet
$backpack = '<slot slotid="3"><item id="1988"/></slot>'; //Backpack
$armor = '<slot slotid="4"><item id="2463"/></slot>'; //Armor
$shield = ''; //Shield
$weapon = '<slot slotid="6"><item id="2455"/></slot>'; //Weapon
$legs = '<slot slotid="7"><item id="2647"/></slot>'; //Legs
$boots = '<slot slotid="8"><item id="2643"/></slot>'; //Boots
$ring = ''; //Ring
$arrow = '<slot slotid="10"><item id="2543" count="100"/></slot>'; //Arrow
$depot = '<item id="2152" count="10"/>'; //Items do depot
}
if($sex == 1 && $voc == 4) // (Knight|Male)
{
$sex = "1"; //sexo
$level = "8"; //level
$maglevel = "0"; //magic level
$voc = "4"; //vocação
$cap = "1000"; //cap
$exp = "4200"; //experiência
$health = "160"; //HP
$mana = "40"; //mana
$spawnx = "703"; //posição X do spawn do char
$spawny = "600"; //posição Y do spawn do char
$spawnz = "7"; //posição Z do spawn do char
$templex = "703"; //posição X do templo
$templey = "600"; //posição Y do templo
$templez = "7"; //posição Z do templo
$look = "128"; //Outfit
$skill0 = '10'; //fist fighting
$skill1 = '10'; //club fighting
$skill2 = '10'; //sword fighting
$skill3 = '10'; //axe fighting
$skill4 = '10'; //distance fighting
$skill5 = '10'; //shielding
$skill6 = '10'; //fishing
$helmet = '<slot slotid="1"><item id="2457"/></slot>'; //Helmet
$amulet = '<slot slotid="2"><item id="2661"/></slot>'; //Amulet
$backpack = '<slot slotid="3"><item id="1988"/></slot>'; //Backpack
$armor = '<slot slotid="4"><item id="2463"/></slot>'; //Armor
$shield = '<slot slotid="5"><item id="2525"/></slot>'; //Shield
$weapon = '<slot slotid="6"><item id="2409"/></slot>'; //Weapon
$legs = '<slot slotid="7"><item id="2647"/></slot>'; //Legs
$boots = '<slot slotid="8"><item id="2643"/></slot>'; //Boots
$ring = ''; //Ring
$arrow = ''; //Arrow
$depot = '<item id="2152" count="10"/>'; //Items do depot
}
if($sex == 2 && $voc == 1) // (Sorcerer|Female)
{
$sex = "0"; //sexo
$level = "8"; //level
$maglevel = "1"; //magic level
$voc = "1"; //vocação
$cap = "1000"; //cap
$exp = "4200"; //experiência
$health = "80"; //HP
$mana = "240"; //mana
$spawnx = "703"; //posição X do spawn do char
$spawny = "600"; //posição Y do spawn do char
$spawnz = "7"; //posição Z do spawn do char
$templex = "703"; //posição X do templo
$templey = "600"; //posição Y do templo
$templez = "7"; //posição Z do templo
$look = "137"; //Outfit
$skill0 = '10'; //fist fighting
$skill1 = '10'; //club fighting
$skill2 = '10'; //sword fighting
$skill3 = '10'; //axe fighting
$skill4 = '10'; //distance fighting
$skill5 = '10'; //shielding
$skill6 = '10'; //fishing
$helmet = '<slot slotid="1"><item id="2457"/></slot>'; //Helmet
$amulet = '<slot slotid="2"><item id="2661"/></slot>'; //Amulet
$backpack = '<slot slotid="3"><item id="1988"/></slot>'; //Backpack
$armor = '<slot slotid="4"><item id="2463"/></slot>'; //Armor
$shield = '<slot slotid="5"><item id="2525"/></slot>'; //Shield
$weapon = '<slot slotid="6"><item id="2190"/></slot>'; //Weapon
$legs = '<slot slotid="7"><item id="2647"/></slot>'; //Legs
$boots = '<slot slotid="8"><item id="2643"/></slot>'; //Boots
$ring = ''; //Ring
$arrow = ''; //Arrow
$depot = '<item id="2152" count="10"/>'; //Items do depot
}
if($sex == 2 && $voc == 2) // (Druid|Female)
{
$sex = "0"; //sexo
$level = "8"; //level
$maglevel = "1"; //magic level
$voc = "2"; //vocação
$cap = "1000"; //cap
$exp = "4200"; //experiência
$health = "80"; //HP
$mana = "240"; //mana
$spawnx = "703"; //posição X do spawn do char
$spawny = "600"; //posição Y do spawn do char
$spawnz = "7"; //posição Z do spawn do char
$templex = "703"; //posição X do templo
$templey = "600"; //posição Y do templo
$templez = "7"; //posição Z do templo
$look = "137"; //Outfit
$skill0 = '10'; //fist fighting
$skill1 = '10'; //club fighting
$skill2 = '10'; //sword fighting
$skill3 = '10'; //axe fighting
$skill4 = '10'; //distance fighting
$skill5 = '10'; //shielding
$skill6 = '10'; //fishing
$helmet = '<slot slotid="1"><item id="2457"/></slot>'; //Helmet
$amulet = '<slot slotid="2"><item id="2661"/></slot>'; //Amulet
$backpack = '<slot slotid="3"><item id="1988"/></slot>'; //Backpack
$armor = '<slot slotid="4"><item id="2463"/></slot>'; //Armor
$shield = '<slot slotid="5"><item id="2525"/></slot>'; //Shield
$weapon = '<slot slotid="6"><item id="2182"/></slot>'; //Weapon
$legs = '<slot slotid="7"><item id="2647"/></slot>'; //Legs
$boots = '<slot slotid="8"><item id="2643"/></slot>'; //Boots
$ring = ''; //Ring
$arrow = ''; //Arrow
$depot = '<item id="2152" count="10"/>'; //Items do depot
}
if($sex == 2 && $voc == 3) // (Paladin|Female)
{
$sex = "0"; //sexo
$level = "8"; //level
$maglevel = "1"; //magic level
$voc = "3"; //vocação
$cap = "1000"; //cap
$exp = "4200"; //experiência
$health = "120"; //HP
$mana = "120"; //mana
$spawnx = "703"; //posição X do spawn do char
$spawny = "600"; //posição Y do spawn do char
$spawnz = "7"; //posição Z do spawn do char
$templex = "703"; //posição X do templo
$templey = "600"; //posição Y do templo
$templez = "7"; //posição Z do templo
$look = "137"; //Outfit
$skill0 = '10'; //fist fighting
$skill1 = '10'; //club fighting
$skill2 = '10'; //sword fighting
$skill3 = '10'; //axe fighting
$skill4 = '10'; //distance fighting
$skill5 = '10'; //shielding
$skill6 = '10'; //fishing
$helmet = '<slot slotid="1"><item id="2457"/></slot>'; //Helmet
$amulet = '<slot slotid="2"><item id="2661"/></slot>'; //Amulet
$backpack = '<slot slotid="3"><item id="1988"/></slot>'; //Backpack
$armor = '<slot slotid="4"><item id="2463"/></slot>'; //Armor
$shield = ''; //Shield
$weapon = '<slot slotid="6"><item id="2455"/></slot>'; //Weapon
$legs = '<slot slotid="7"><item id="2647"/></slot>'; //Legs
$boots = '<slot slotid="8"><item id="2643"/></slot>'; //Boots
$ring = ''; //Ring
$arrow = '<slot slotid="10"><item id="2543" count="100"/></slot>'; //Arrow
$depot = '<item id="2152" count="10"/>'; //Items do depot
}
if($sex == 2 && $voc == 4) // (Knight|Female)
{
$sex = "0"; //sexo
$level = "8"; //level
$maglevel = "1"; //magic level
$voc = "4"; //vocação
$cap = "300"; //cap
$exp = "4200"; //experiência
$health = "160"; //HP
$mana = "40"; //mana
$spawnx = "703"; //posição X do spawn do char
$spawny = "600"; //posição Y do spawn do char
$spawnz = "7"; //posição Z do spawn do char
$templex = "703"; //posição X do templo
$templey = "600"; //posição Y do templo
$templez = "7"; //posição Z do templo
$look = "137"; //Outfit
$skill0 = '10'; //fist fighting
$skill1 = '10'; //club fighting
$skill2 = '10'; //sword fighting
$skill3 = '10'; //axe fighting
$skill4 = '10'; //distance fighting
$skill5 = '10'; //shielding
$skill6 = '10'; //fishing
$helmet = '<slot slotid="1"><item id="2457"/></slot>'; //Helmet
$amulet = '<slot slotid="2"><item id="2661"/></slot>'; //Amulet
$backpack = '<slot slotid="3"><item id="1988"/></slot>'; //Backpack
$armor = '<slot slotid="4"><item id="2463"/></slot>'; //Armor
$shield = '<slot slotid="5"><item id="2525"/></slot>'; //Shield
$weapon = '<slot slotid="6"><item id="2409"/></slot>'; //Weapon
$legs = '<slot slotid="7"><item id="2647"/></slot>'; //Legs
$boots = '<slot slotid="8"><item id="2643"/></slot>'; //Boots
$ring = ''; //Ring
$arrow = ''; //Arrow
$depot = '<item id="2152" count="10"/>'; //Items do depot
}
?>
Depois de ter configurado tudo isso apenas jogue para pasta do AppServ com o nome de www
logo depois tente isso <a href="http://seuip:8090/" target="_blank">http://seuip:8090/</a>
Deu para ter uma noção?
intão baixe logo seu site e seja feliz
Porfavor se copiarem coloque os creditos