Ir para conteúdo

Pesquisar na Comunidade

Mostrando resultados para as tags ''znote''.

  • Pesquisar por Tags

    Digite tags separadas por vírgulas
  • Pesquisar por Autor

Tipo de Conteúdo


Fóruns

  • xTibia - Notícias e Suporte
    • Regras
    • Noticias
    • Soluções
    • Projetos Patrocinados
    • Tutoriais para Iniciantes
    • Imprensa
  • OTServ
    • Notícias e Debates
    • OTServlist
    • Downloads
    • Recursos
    • Suporte
    • Pedidos
    • Show-Off
    • Tutoriais
  • OFF-Topic
    • Barzinho do Éks
    • Design
    • Informática

Encontrar resultados em...

Encontrar resultados que contenham...


Data de Criação

  • Início

    FIM


Data de Atualização

  • Início

    FIM


Filtrar pelo número de...

Data de Registro

  • Início

    FIM


Grupo


Sou

Encontrado 8 registros

  1. Galera alguém aqui poderia me ajudar ? estou tendo alguns problemas com meu Znote!! Meu servidor é de poketibia mas parece que o Znote não tem suporte para isso meus problemas devem ser básicos ou sla mas não consigo resolver eles, já resolvi quase todos mas sobraram esses! Quem puder ajudar ficaria muito grato, ou se for um freela que faça as modificações também estou aberto a isso, só preciso concertar isso com urgencia!!. Meus problemas são quais ? Basicamente quando eu crio um personagem no Znote, o personagem não consegue receber pokémons de npcs não sei porque!! Meu tsf é o 3.6 Já configurei tudo mas os pokémons nenhum npc consegue entregar para o personagem criado no ZNOTE. SEGUNDO PROBLEMA eu tentei adicionar a jánela do Discord mas aparentemente não está funcionando!! Também não sei o porque  Ultimo problema é que eu queria remover esta barra cinza feia e colocar uma imagem repetida como a marrom a cima da barra cinza!! Quem poder me ajudar ficaria muito grato!! E se provavelmente aparecer algum freela pode ser também!
  2. Este script carrega Spells.xml quando solicitado pelo usuário no painel admin, e cria um arquivo php salvando todas as magias em arrays. Ele tem opções de classificação exatamente como a página do Tibia. Ele funciona com ambas as distribuições 0.2 e 0.3. Preview: Vamos ao tutorial: Configuração: engine/function/general.php Em ?> Adicione function build_spells($xml, $display_groups) { $t_count = 0; $rune = array(); $string = '<?php'."\n".'#Generated spells file from admin panel'."\n".'#Edit at your own risk!'; $string .= "\n".'$show_spells_groups = '.($display_groups ? 'true' : 'false').';'."\n".'$spells = array('; foreach($xml as $key => $value) { if($value['lvl']) { if($key == 'rune') { if($display_groups) { if($value['group'] == NULL) { echo '<span style="color:orange;font-weight:bold">WARNING: Group not found at spell "'.$value['name'].'", set to "Attack".</span><br>'; } $rune[(string)$value['name']] = ($value['group'] == NULL) ? 'Attack' : $value['group']; } continue; } $t_count++; $string .= "\n\t".'array('; if($display_groups) { $string .= "\n\t\t".'"group" => '; { if($value['function'] == 'conjureRune') { $string .= '\''.ucfirst($rune[(string)$value['name']]).'\''; } else { if($value['group'] == NULL) { echo '<span style="color:orange;font-weight:bold">WARNING: Group not found at spell "'.$value['name'].'", set to "Attack".</span><br>'; } $string .= '\''.ucfirst(($value['group'] == NULL) ? 'Attack' : $value['group']).'\''; } } $string .= ','; } $string .= "\n\t\t".'"type" => '; if(config('TFSVersion') == 'TFS_02') { $string .= (($value['function'] == 'conjureRune') ? '\'Rune\'' : '\'Instant\''); } if(config('TFSVersion') == 'TFS_03') { $string .= (($value['value'] == 'conjureRune') ? '\'Rune\'' : '\'Instant\''); } $string .= ','; $string .= "\n\t\t".'"name" => "'.$value['name'].'",'; $string .= "\n\t\t".'"words" => \''.$value['words'].'\','; $string .= "\n\t\t".'"level" => '.$value['lvl'].','; $string .= "\n\t\t".'"mana" => '; $string .= (($value['mana'] == NULL) or ($value['mana'] == '')) ? '\'Var.\'' : $value['mana']; $string .= ','; $string .= "\n\t\t".'"premium" => '; if($value['prem']) { $string .= ($value['prem'] == 1) ? '\'yes\'' : '\'no\''; } else { $string .= '\'no\''; } $string .= ','; $vocs = array(); $string .= "\n\t\t".'"vocation" => array('; foreach($value->vocation as $vocation) { if(config('TFSVersion') == 'TFS_02') { $vocs[] = '\''.$vocation[0]['name'].'\''; } elseif(config('TFSVersion') == 'TFS_03') { if(strpos($vocation[0]['id'], ';') !== FALSE) { $array = explode(';', $vocation[0]['id']); foreach($array as $voc) { $vocs[] = '\''.vocation_id_to_name($voc).'\''; } } else { $vocs[] = '\''.vocation_id_to_name((int)$vocation[0]['id']).'\''; } } } if(count($vocs) < 1) foreach(config('vocations') as $id => $name) if($id > 0) $vocs[] = '\''.$name.'\''; $string .= implode(', ',$vocs).')'."\n\t".'),'; } } $string .= "\n".'); ?>'; echo('Loaded '. $t_count .' spells!<br>'); echo 'File "spell.php" '.(file_exists('spell.php') ? 'updated' : 'created').'!<br>'; $file = fopen('spell.php', 'w'); fwrite($file, $string); fclose($file); } admin.php Antes </ul> <?php include 'layout/overall/footer.php'; ?> Adicione <li> <b>Update spells from file:</b><br> <?php if (!isset($_POST['action'])) { $_POST['action'] = 'undefine'; } if ($_POST['action'] == 'upload') { $xml = $_FILES['file']; $_POST['action'] = 'undefine'; if($xml['tmp_name']) { if($xml['name'] == 'spells.xml') { $groups = (isset($_POST['show_groups']) && $_POST['show_groups'] == 'yes') ? true : false; echo 'Successfully fetched spells.xml!<br>'; echo 'Using temporal file: '. $_FILES['file']['tmp_name'] .'<br>'; build_spells(simplexml_load_file($xml['tmp_name']), $groups); } else { echo '<span style="color:red;font-weight:bold">ERROR: File "spells.xml" not found.</span>'; } } else { echo '<span style="color:red;font-weight:bold">ERROR: Upload failed.</span>'; } } ?> <form enctype='multipart/form-data' method='POST'> <input type='checkbox' name='show_groups' value='yes'> Show spells groups (Only for TFS 0.2.9+)<br> <input type='hidden' name='action' value='upload' /> <input type='file' name='file' /> <input type='submit' value='Submit' /> </form> </li> Crie o arquivo Spell.php e adicione dentro: <?php require_once 'engine/init.php'; include 'layout/overall/header.php'; echo '<h1>Spells</h1>'; if(file_exists('spell.php')) { require_once 'spell.php'; ?> <table> <tr class="yellow"> <td><b>Name</b></td> <?php if($show_spells_groups) echo '<td><b>Group</b></td>'; ?> <td><b>Type</b></td> <td><b>Exp Lvl</b></td> <td><b>Mana</b></td> <td><b>Premium</b></td> </span> </tr> <?php @$sort = $_REQUEST['sort']; if(!isset($sort)) $sort = 'name'; @$vocation = $_REQUEST['vocation']; if(!isset($vocation)) $vocation = 'vall'; if($show_spells_groups) { @$group = $_REQUEST['_group']; if(!isset($group)) $group = 'gall'; } @$type = $_REQUEST['_type']; if(!isset($type)) $type = 'tall'; @$premium = $_REQUEST['_premium']; if(!isset($premium)) $premium = 'pall'; $order = array(); foreach($spells as $key => $row) { $order[$key] = $row[$sort]; } array_multisort($order, SORT_ASC, $spells); foreach($spells as $spell) { if($vocation != 'vall') { if(!in_array($vocation, $spell['vocation'])) continue; } if($show_spells_groups && $group != 'gall') { if($spell['group'] != $group) continue; } if($type != 'tall') { if($spell['type'] != $type) continue; } if($premium != 'pall') { if($spell['premium'] != $premium) continue; } ?> <tr> <td><?php echo '<b>'.$spell['name'].'</b> ('.$spell['words'].')'; ?></td> <?php if($show_spells_groups) echo '<td>'.$spell['group'].'</td>'; ?> <td><?php echo $spell['type']; ?></td> <td><?php echo $spell['level']; ?></td> <td><?php echo $spell['mana']; ?></td> <td><?php echo $spell['premium']; ?></td> </tr> <?php } echo '</table>'; ?> <form action='spells.php' method='post'> <table> <tr class="yellow"> <td colspan=4><b>Spell Search</b></td></tr> <tr class="yellow"> <?php if($show_spells_groups) { echo'<td width=25%><b>vocation</b></td> <td width=25%><b>group</b></td> <td width=25%><b>type</b></td> <td width=25%><b>premium</b></td>';} else { echo'<td width=40%><b>vocation</b></td> <td width=30%><b>type</b></td> <td width=30%><b>premium</b></td>';}?> </tr> <tr> <td valign='top'> <input type='radio' name='vocation' value='vall' checked> all<br> <?php foreach(config('vocations') as $id => $vocation) { if($id > 0) { echo "<input type='radio' name='vocation' value='".$vocation."'> ".$vocation."<br>"; } } ?> </td> <?php if($show_spells_groups) echo" <td valign='top'> <input type='radio' name='_group' value='gall' checked> all<br> <input type='radio' name='_group' value='Attack'> attack<br> <input type='radio' name='_group' value='Healing'> healing<br> <input type='radio' name='_group' value='Support'> support</td>"; ?> <td valign='top'> <input type='radio' name='_type' value='tall' checked> all<br> <input type='radio' name='_type' value='Instant'> instant<br> <input type='radio' name='_type' value='Rune'> rune </td> <td valign='top'> <input type='radio' name='_premium' value='pall' checked> all<br> <input type='radio' name='_premium' value='no'> no<br> <input type='radio' name='_premium' value='yes'> yes </td> </tr> <tr> <td>sort by: <select name='sort'> <option value='name' selected>name <option value='words'>words <?php if($show_spells_groups) echo "<option value='group' >group"; ?> <option value='type' >type <option value='level' >exp lvl <option value='mana' >mana <option value='premium' >premium </select> </td> <td colspan='3'> <input type='submit' name='submit'> </td> </tr> </table> </form> <?php } else { echo 'This page has not been configured yet.'; }; include 'layout/overall/footer.php'; ?> Depois Adicionar o link da página ao seu layout layout padrão: /layout/menu.php Adicione na lista de páginas: <li><a href="spells.php">Spells</a></li> Fim do Tutorial ? Eu não posso garantir que ele vai trabalhar com todas as distros TFS. Lembre-se que você pode editar seu arquivo spell.php, principalmente necessário se você usar spells personalizadas. Créditos: cbrm(otland)
  3. Fala XTibianos! Muitas pessoas me encheram o saco pediram o sistema pagseguro para znote 100% funcional. Ai está, basta jogar o retpagseguro na pasta principal e integrar o forumulário nas paginas. Dou suporte no topico, basta informar corretamente o erro. RetPagseguro.php #Formulário <form target="pagseguro" method="post" action="https://pagseguro.uol.com.br/checkout/checkout.jhtml"> <input type="hidden" name="email_cobranca" value="EMAIL PAGSEGURO"> <input type="hidden" name="tipo" value="CP"> <input type="hidden" name="moeda" value="BRL"> <input type="hidden" name="item_id_1" value="1"> <input type="hidden" name="item_descr_1" value="Premium Points"> <input type="hidden" name="item_frete_1" value="0"> <input type="hidden" name="item_quant_1" value="1"> <input type="hidden" name="item_peso_1" value="0"> <input type="hidden" name="ref_transacao" value="<?php echo $user_data['id']; ?>"> <select name="item_valor_1"> <option value="1000">10</option> <option value="2000">20</option> <option value="3000">30</option> <option value="5000">50</option> <option value="10000">100</option> <option value="15000">150</option> <option value="20000">200</option> <option value="25000">250</option> <option value="50000">500</option> </select> <input type="submit" value="comprar" /> </form>
  4. Galera quando clico em Admin Page pra dar ponstos etc para os players faz isso isso acontece se alguen souber como resolve da uma ajuda ai
  5. Olá, estou com um problema no meu site, anteriormente essa barra bugada no topo aparecia só em algumas especificas páginas, dai aparentemente, sem motivo nenhum, começou a aparecer em todas. (imagem do problema no final do post) Não sei onde exatamente está o problema então vou publicar meu Header.php e meu Basic.css Header.php Basic.css
  6. Anticus RPG is a long-term oldschool project which started in the year of 2008. The development team currently consists of three oldschool players. Our goal is to give the oldschool community of Tibia a chance to re-experience what many of us call "the golden days". But, ofcourse, we also want to give the newschool community a chance to experience how challanging and fun Tibia could be in the past. The motto of Anticus: "Combating the botting problem by giving everyone a bot was just plain lazy, and it was probably the first major mistake in the history of the game." Launch Date Friday 11, April 03, 18:00 CET http://anticus.org/register.php http://anticus.org/downloads.php You will need Anticus Client in order to play. http://anticus.org/register.php for a free account and begin your journey! Website will be open for account registration. Top Features Ingame NPC'S Shops There are custom additions to Anticus, you can buy runes in shop (bps x1 hmm, sd, uh, explo, lmm, gfb, mwall) (bp mf) Anti-Bot System Anticus has a Anti-Bot System which will maintain a fair gameplay. The Anti-Bot System will catch obvious cheaters and suspected players will be investigated. Shared Party Experience Share experience gained from killed creatures while being in a party with your friends. Simply type !share as a leader of the party to active the Shared Party Experience System. Certain requirements must be fulfilled. Task System Complete different tasks and gain rewards in return for your bravery! Each task requires you to kill a certain amount of creatures. Gain rewards in return for completing a task, based on the difficulty of the creatures killed. Server Information Premium: Free Version: 7.1 Map: CipSoft map adapted to 7.1 Support: Directx9 & OpenGL Shared Party Experience Anti-Bot System Task System Houses: 100% Spawns: 100% NPC's: 100% Quests: 100% For further information please visit our www.anticus.org Experience Stages 1-12 = 30x 13-20 = 20x 20-30 = 10x 30-50 = 7x 50-75 = 5x 75-100 = 3x 100+ = 2x Rates Skill: 8x Magic: 4x Loot: 3x Old items! All the old items exist and they are completely identical to what they used to be in version 7.1 of Tibia. Amulet of Life is similar to Amulet of Loss. But it will only save you from losing your equipment upon death. Old creatures! All creatues are completely identical to how they used to be in version 7.1 of Tibia. Creatures will behave as they used to do, formulas are the same and the loot dropped by creatures are accurate! For example Fire Sword can be looted from Dragons with a bit of luck! Old runes and spells! Runes can be conjured by players and bought from other players. Runes can't be purshased from the magic shop. Spells can be used by reaching a certain required magic level for a specific spell. Screenshots
  7. se alguem puder me ajudar a configurar o pagseguro na pagina buypoints do znote eu agradeceria muito rs. vou passar o codigo da buypoints.php do znote <?php require_once 'engine/init.php'; protect_page(); include 'layout/overall/header.php'; // Import from config: $paypal = $config['paypal']; $prices = $config['paypal_prices']; if ($paypal['enabled']) { ?> <h1>Buy Points</h1> <h2>Buy points using Paypal:</h2> <table> <tr class="yellow"> <td>Price:</td> <td>Points:</td> <td>Bonus:</td> <td>Action:</td> </tr> <?php foreach ($prices as $price => $points) { echo '<tr class="special">'; echo '<td>'. $price .'('. $paypal['currency'] .')</td>'; echo '<td>'. $points .'</td>'; echo '<td>'. calculate_discount(($paypal['points_per_currency'] * $price), $points) .' bonus</td>'; ?> <td> <form action="https://www.paypal.com/cgi-bin/webscr" method="POST"> <input type="hidden" name="cmd" value="_xclick"> <input type="hidden" name="business" value="<?php echo $paypal['email']; ?>"> <input type="hidden" name="item_name" value="<?php echo $points .' shop points on '. $config['site_title']; ?>"> <input type="hidden" name="item_number" value="1"> <input type="hidden" name="amount" value="<?php echo $price; ?>"> <input type="hidden" name="no_shipping" value="1"> <input type="hidden" name="no_note" value="1"> <input type="hidden" name="currency_code" value="<?php echo $paypal['currency']; ?>"> <input type="hidden" name="lc" value="GB"> <input type="hidden" name="bn" value="PP-BuyNowBF"> <input type="hidden" name="return" value="<?php echo $paypal['success']; ?>"> <input type="hidden" name="cancel_return" value="<?php echo $paypal['failed']; ?>"> <input type="hidden" name="rm" value="2"> <input type="hidden" name="notify_url" value="<?php echo $paypal['ipn']; ?>" /> <input type="hidden" name="custom" value="<?php echo sanitize($_SESSION['user_id']).'!'.$price.'!'.$points; ?>"> <input type="submit" value=" PURCHASE "> </form> </td> <?php echo '</tr>'; } ?> </table> <?php } else echo '<h1>Buy Points system disabled.</h1><p>Sorry, this functionality is disabled.</p>'; include 'layout/overall/footer.php'; ?> como veem ele está com o paypal, mas nao entendo nada de php, seria muito grato por qualquer ajuda obrigado
×
×
  • Criar Novo...