-
Total de itens
177 -
Registro em
-
Última visita
-
Dias Ganhos
1
Tudo que tyuahoi postou
-
posta o link daonde vc pegou a vip system ou o nome e versão que fica bem mais facil ;p
-
ok, qualquer duvida é so perguntar (: Duvida Senada, topico reportado.
-
Bom Fiquei um tempo sem postar aqui no xtibia por alguns problemas pessoais ;/ Mais agr se tudo der certo voltarei a postar aqui apartir de hoje... Bom vamos ao Tutorial, Bom, Vamos ao que interessa :b Va Em: xampp\htdocs Crie Um Novo Arquivo topguild.php E Cole isso: <?PHP $main_content .= '<div style="text-align: center; font-weight: bold;"><h2>Top 15 guilds on ' . $config['server']['serverName'] . '</h2></div> <center><table border="0" cellspacing="1" cellpadding="4" width="80%"> <tr bgcolor="'.$config['site']['vdarkborder'].'"> <td width="10%"><b><font color=white><center>Pos</font></center></b></td> <td width="20%"><b><font color=white><center>Logo</center></b></font></td> <td width="30%"><b><font color=white><center>Guild Name</center></b></font></td> <td width="20%"><b><font color=white><center>Kills</center></b></font></td> </tr>'; $i = 0; foreach($SQL->query('SELECT `g`.`id` AS `id`, `g`.`name` AS `name`, `g`.`logo_gfx_name` AS `logo`, COUNT(`g`.`name`) as `frags` FROM `killers` k LEFT JOIN `player_killers` pk ON `k`.`id` = `pk`.`kill_id` LEFT JOIN `players` p ON `pk`.`player_id` = `p`.`id` LEFT JOIN `guild_ranks` gr ON `p`.`rank_id` = `gr`.`id` LEFT JOIN `guilds` g ON `gr`.`guild_id` = `g`.`id` WHERE `k`.`unjustified` = 1 AND `k`.`final_hit` = 1 GROUP BY `name` ORDER BY `frags` DESC, `name` ASC LIMIT 0, 15;') as $guild) { $i++; $main_content .= '<tr bgcolor="' . (is_int($i / 2) ? $config['site']['lightborder'] : $config['site']['darkborder']). '"> <td> <center>'.$i.'</center> </td> <td> <center><img src="guilds/' . ((!empty($guild['logo']) && file_exists('guilds/' . $guild['logo'])) ? $guild['logo'] : 'default_logo.gif') . '" width="64" height="64" border="0"/></center> </td> <td> <center><a href="?subtopic=guilds&action=show&guild=' . $guild['id'] . '">' . $guild['name'] . '</a></center> </td> <td> <center>' . $guild['frags'] . ' kills</center> </td> </tr>'; } $main_content .= '</table><br />'; ?> Salve e Feixe. Agora abra o, Index.php Após: case "guilds"; $topic = "Guilds"; $subtopic = "guilds"; include("guilds.php"); break; Cole isso: Cole isso: case "topguild"; $topic = "Top Guild"; $subtopic = "Top Guilds"; include("topguild.php"); break; Agora va em: C:\xampp\htdocs\layouts\tibiacom Após <a href='?subtopic=guilds'> <div id='submenu_guilds' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'> <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div> <div id='ActiveSubmenuItemIcon_guilds' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div> <div class='SubmenuitemLabel'>Guilds</div> <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div> </div> </a> Cole isso: <a href='index.php?subtopic=topguild'> <div id='submenu_wars' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'> <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div> <div id='ActiveSubmenuItemIcon_wars' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div> <div class='SubmenuitemLabel'><font color="red"> Top Guilds </font></div> <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div> </div> </a> é isso ;p Boa sorte :b Créditos: kekoz apenas o fundo ficara diferente.
-
sim é o endereço que vc criou no no-ip ou o ip que vc pega em: www.meuip.com.br
-
Sabe aquele negocio chato de quando vc tem que mudar level ou editar algum char que voçê tem que ir no phpmyadmin etc? poisé isso acabou! :b Crie uma pasta em C:\xampp\htdocs com o nome: adminpro.php e cole isso: <?PHP //README: if nick contain "'" use "\'". For example: nick = The'Knight so use in the form The\'Knight ,,,-WORKS! if($group_id_of_acc_logged >= $config['site']['access_admin_panel']) { $main_content .= 'Welcome to advanced admin panel! Mainly you can edit players. Coded by <a href="http://otland.net/members/turs0n/">turson</a>'; //admin panel menu (player+account) $main_content .= '<br /><br /><div style="width:100%;border:1px solid #c6c6c6;padding:3px 0 3px 0"> <b>EDIT PLAYER -></b> <a href="?subtopic=admin&action=namelock">Name</a> | <a href="?subtopic=admin&action=exp">Experience</a> | <a href="?subtopic=admin&action=level">Level</a> | <a href="?subtopic=admin&action=others">Others</a> | <a href="?subtopic=admin&action=position">Position</a> | <a href="?subtopic=admin&action=delete">Delete</a> <br> <b>EDIT ACCOUNT -></b> <a href="?subtopic=admin&action=acc">Account Number</a> | <a href="?subtopic=admin&action=pass">Password</a> | <a href="?subtopic=admin&action=mail">E-mail</a> | <a href="?subtopic=admin&action=access">Access</a> <br><center><font color="red"><b>PLAYER MUST BE OFFLINE!</b></font></center> </div><br>'; /////////////////////////////////CHARACTER//////////////////////////////////// //namelock if (isset($_POST['ok1'])){ $SQL->query("UPDATE `players` SET `name` = ".$SQL->quote( $_POST['newname'] )." WHERE name = ".$SQL->quote( $_POST['name0'] ).";"); $main_content .= "Player name has been changed.";} //exp if (isset($_POST['ok2'])){ $SQL->query("UPDATE `players` SET experience = experience + ".$SQL->quote( $_POST['exp'] )." WHERE name = ".$SQL->quote( $_POST['name1'] ).";"); $main_content .= "Experience has been added.";} //level if (isset($_POST['ok3'])){ $SQL->query("UPDATE `players` SET level = ".$SQL->quote( $_POST['level'] )." WHERE name = ".$SQL->quote( $_POST['name2'] ).";"); $main_content .= "Level has been set.";} //others if (isset($_POST['ok4'])){ $SQL->query("UPDATE `players` SET health=".$SQL->quote( $_POST['health'] ).",healthmax=".$SQL->quote( $_POST['health'] ).",mana=".$SQL->quote( $_POST['mana'] ).",manamax=".$SQL->quote( $_POST['mana'] ).",cap=".$SQL->quote( $_POST['cap'] ).",maglevel=".$SQL->quote( $_POST['maglevel'] )." WHERE name = ".$SQL->quote( $_POST['name3'] ).";"); $main_content .= "Informations has been changed.";} //delete if (isset($_POST['ok5'])){ $SQL->query("DELETE from `players` WHERE name = ".$SQL->quote( $_POST['name4'] ).";"); $main_content .= "Character has beed deleted.";} //pos if (isset($_POST['ok10'])){ $SQL->query("UPDATE `players` SET group_id = ".$SQL->quote( $_POST['newpos'] )." WHERE name = ".$SQL->quote( $_POST['name9'] ).";"); $main_content .= "Player position has been changed.";} /////////////////////////////////////////ACCOUNT/////////////////////////////////////// //acc if (isset($_POST['ok6'])){ $SQL->query("UPDATE `accounts` INNER JOIN `players` ON `accounts`.`id` = `players`.`account_id` SET accounts.name=".$SQL->quote( $_POST['newacc'] )." WHERE players.name = ".$SQL->quote( $_POST['name5'] ).";"); $main_content .= "Account number has beed changed.";} //password if (isset($_POST['ok7'])){ $SQL->query("UPDATE `accounts` INNER JOIN `players` ON `accounts`.`id` = `players`.`account_id` SET accounts.password=".$SQL->quote( $_POST['newpass'] )." WHERE players.name = ".$SQL->quote( $_POST['name6'] ).";"); $main_content .= "Password has beed changed.";} //mail if (isset($_POST['ok8'])){ $SQL->query("UPDATE `accounts` INNER JOIN `players` ON `accounts`.`id` = `players`.`account_id` SET accounts.email=".$SQL->quote( $_POST['newmail'] )." WHERE players.name = ".$SQL->quote( $_POST['name7'] ).";"); $main_content .= "E-Mail adress has beed changed.";} //mail if (isset($_POST['ok9'])){ $SQL->query("UPDATE `accounts` INNER JOIN `players` ON `accounts`.`id` = `players`.`account_id` SET accounts.page_access=".$SQL->quote( $_POST['newaccess'] )." WHERE players.name = ".$SQL->quote( $_POST['name8'] ).";"); $main_content .= "Page access has beed changed.";} ////////////CHARACTER FORM/////////// //namelock form if($_GET["action"]=="namelock"){ $main_content .= '<form action="?subtopic=admin" method="post"> New Player Name <input type="text" name="newname"><br> Old Player Name <input type="text" name="name0"><br><input type="submit" value="OK" name="ok1"></form>';} //exp form if($_GET["action"]=="exp"){ $main_content .= '<form action="?subtopic=admin" method="post"> Add experience <input type="text" name="exp"> (only numbers)<br> Player Name <input type="text" name="name1"><br><input type="submit" value="OK" name="ok2"></form>';} //level form if($_GET["action"]=="level"){ $main_content .= '<form action="?subtopic=admin" method="post"> Set player level <input type="text" name="level"> (only numbers)<br> Player Name <input type="text" name="name2"><br><input type="submit" value="OK" name="ok3"></form>';} //others form if($_GET["action"]=="others"){ $main_content .= '<form action="?subtopic=admin" method="post"> Health <input type="text" name="health"> (only numbers)<br> Mana <input type="text" name="mana"> (only numbers)<br> Cap <input type="text" name="cap"> (only numbers)<br> MagLevel <input type="text" name="maglevel"> (only numbers)<br> Player Name <input type="text" name="name3"><br><input type="submit" value="OK" name="ok4"></form>';} //delete form if($_GET["action"]=="delete"){ $main_content .= '<form action="?subtopic=admin" method="post"> Player Name <input type="text" name="name4"><br><b>ARE YOU SURE?</b> <input type="submit" value="YES" name="ok5"></form>';} //pos form if($_GET["action"]=="position"){ $main_content .= '<form action="?subtopic=admin" method="post"> Position <input type="text" name="newpos"><i>example(1-player,2-tutor,3-senior tutor,4-gamemaster,5-community manager,6-god)</i> <br> Player Name <input type="text" name="name9"><br><input type="submit" value="OK" name="ok10"></form>';} /////////////ACCOUNT FORM//////////////// //account number form if($_GET["action"]=="acc"){ $main_content .= '<form action="?subtopic=admin" method="post"> New account number <input type="text" name="newacc"> <br> Player Name <input type="text" name="name5"><br><input type="submit" value="OK" name="ok6"></form>';} //password form if($_GET["action"]=="pass"){ $main_content .= '<form action="?subtopic=admin" method="post"> New password <input type="text" name="newpass"> <br> Player Name <input type="text" name="name6"><br><input type="submit" value="OK" name="ok7"></form>';} //mail form if($_GET["action"]=="mail"){ $main_content .= '<form action="?subtopic=admin" method="post"> New e-mail adress <input type="text" name="newmail"> <br> Player Name <input type="text" name="name7"><br><input type="submit" value="OK" name="ok8"></form>';} //access form if($_GET["action"]=="access"){ $main_content .= '<form action="?subtopic=admin" method="post"> Page access <input type="text" name="newaccess">(3->admin) <br> Player Name <input type="text" name="name8"><br><input type="submit" value="OK" name="ok9"></form>';} } else $main_content .= "You don't have required access!"; ?> Salve e feixe. Agora va em: index.php Após case "adminpanel": $topic = "Admin Panel"; $subtopic = "adminpanel"; include("adminpanel.php"); break; Cole isso: case "admin"; $subtopic = "admin"; $topic = "Advanced Admin Panel"; include("adminpro.php"); break; Salve e feixe. Agora va em C:\xampp\htdocs\layouts\tibiacom abra o layout.php após: <a href='?subtopic=createaccount'> <div id='submenu_createaccount' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'> <div class='LeftChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div> <div id='ActiveSubmenuItemIcon_createaccount' class='ActiveSubmenuItemIcon' style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div> <div class='SubmenuitemLabel'>Create Account</div> <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div> </div> </a> Cole isso: <a href='?subtopic=admin'> <div id='submenu_adminpanel' class='Submenuitem' onMouseOver='MouseOverSubmenuItem(this)' onMouseOut='MouseOutSubmenuItem(this)'> <div class='LeftChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div> <div id='ActiveSubmenuItemIcon_adminpanel' class='ActiveSubmenuItemIcon' style='background-image:url(".$layout_name."/images/menu/icon-activesubmenu.gif);'></div> <div class='SubmenuitemLabel'><font color=\"blue\">~<u>Admin PRO</u>~</font></div> <div class='RightChain' style='background-image:url(".$layout_name."/images/general/chain.gif);'></div> </div> Ficaram assim: e sejam felizes :b Crédito: turson obs: Não se preocupem apenas o admin do site conseiguira acessar esta pagina ;p
-
Se vc mudou as portas do xampp para: 8090 vai ser http://seuip:8090 se não http://seuip/
-
Sobre o erro de quando ir criar account: vai em C:\xampp\htdocs\config abra config.php e procure por ['verify_code'] = 1; e mude para ['verify_code'] = 0; Sobre o de fusorario: Vai na pasta HTDOCS, abre o INDEX.PHP, e adiciona embaixo de <?PHP Adicione isso, "date_default_timezone_set('Europe/Berlin');" (Sem aspas é claro)
-
nunca tente usar qualquer arquivo sem antes verificar se é da mesma versão... os erros de Can't add column key to table accounts, already exist? nao é problema ele apenas ta falando que as colunas ja estao criadas na sua database ai ele nao conseguil adicionalas (: Sobre o erro do STEP 4 provavelmente vc n esta usando a database certa tente usar outra ...
-
acesse: http://localhost/phpmyadmin entre na sua database, e va na tabela Players la vai ter 4 char com os nomes: Druid Sample Sorcerer Sample Knight Sample Paladin Sample acesse esses char e edite: exp: 4200 level: 8 life 185 mana:10 < Nao tenho ctz Pronto crie um char e veja se vc fez certo :b
-
vc usou o install que o 'Decos' postou?
-
é só voçê ir na sua config.lua e procutar por generateAccountNumber = true e aonde esta true mude-o para false. pronto (:
-
Tuto - Escolhendo A Cidade Natal Pelo Site Geisor
tópico respondeu ao pokemonbrasil de tyuahoi em Tutoriais de Websites
area errado amigo ;x Reportado para ser movido para a area correta. -
Vá na pasta php/php.ini procure por "error_reporting = E_ALL | E_STRICT"(ou algo parecido com isso) e mude para "error_reporting = E_ALL & ~E_NOTICE"
-
Edita os samples no Phpmyadmin (:
-
Duvida senada por msn.
-
Exprementa tirar esta linha: // sample, if all players should spawn in one city (city with ID 4): uncoment!!
-
na sua config.php esta exatamente assim: $config['site']['newchar_towns'][0] = array(1,2,3); $config['site']['newchar_towns'][1] = array(1,2); //$config['site']['newchar_towns'] = array(4); ? As houses apareçes ja vem implantada no gesior quando vc o-instala n ta apareçendo no seu? sds'
-
Claro, Na config.php Procure por: $config['site']['newchar_towns'][0] = array Do lade tera provavelmente (2) Substitua a linha por essa: $config['site']['newchar_towns'][0] = array(1,2,3);
-
lol, agr entendi o erro pqp, saopkdkopasd vc tera que criar samples com os nomes: Drunou Sample Infernalist Sample faça na mesma conta que tem ou outros samples. e depois ir Na Config.php procurar por: $config['site']['newchar_vocations'][0] e substitir a linha inteira por essa: $config['site']['newchar_vocations'][0] = array(1 => 'Sorcerer Sample', 2 => 'Druid Sample', 3 => 'Paladin Sample', 4 => 'Knight Sample', 5 => 'Drunou Sample', 6 => 'Infernalist Sample'); Boa Sorte (:
-
ops Desculpe, agr sim só substituir pela outra: $vocation_name[0][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight', 5 => 'Drunou', 6 => 'Infernalist'); // id => 'name' , $vocation_name[0] - promotion level 0, $vocation_name[0] - for world ID 0
-
va em: C:\xampp\htdocs\config Abra o Config.php Procure por: $vocation_name[0][0] e substitua a linha inteira por: $vocation_name[0][0] = array(0 => 'None', 1 => 'Sorcerer', 2 => 'Druid', 3 => 'Paladin', 4 => 'Knight' 5 => 'Drunou' 6 => 'Infernalist'); // id => 'name' , $vocation_name[0] - promotion level 0, $vocation_name[0] - for world ID 0 apenas uma linha não modifique nada na linah que contem isso: $vocation_name[0][1] Sobre o site: Va em: C:\xampp\htdocs abra o: config-and-functions e procure por: $sock = @fsockopen($config['server']['ip'], $config['server']['statusPort'], $errno, $errstr, 1); e configuere-a (:
-
Tem como vc postar os nomes das vocaçoes e o numero delas? ai eu ja lhe mando pronto (: copyDrunou seria o nome da sua vocaçao? sds'
-
Se alguem Puder fazer uma sing Escrito: WebMaster 1tyi A imagem fica a escolha do elaborador (:
-
Simples: va na Pasta de seu Otserver, abra a pasta Config E abra a Config.php e procure por: ['verify_code'] = 1; e Substitua o 1 pelo 0 pronto.
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.