

Emanueldk
Campones-
Total de itens
98 -
Registro em
-
Última visita
Tudo que Emanueldk postou
-
alguem me ajuda com essa pagina aqui, ela nao funciona tipo, voce preenche tudo certinho mais na hora de enviar, ele nao envia, também eu queria que na parte do E-mail ali ficasse o meu sem poder mecher nessa parte no caso do meu servidor dboalpha@hotmail.com, que é para chegar os e-mail das pessoas que enviam meu script <form action="envia_dados.php" method="POST"> <table width="100%" cellspacing="0" cellpadding="0"> <tr> <td align="center"><h2>Contate-Nos Por E-mail!</h2></td> </tr> <tr> <td align="center"><input type="text" name="nome" placeholder="Nome" size="50" maxlength="50"></td> </tr> <tr> <td align="center"><input type="text" name="sobrenome" placeholder="Sobrenome" size="50" maxlength="50"></td> </tr> <tr> <td align="center"><input type="text" name="email" placeholder="E-Mail" size="50" maxlength="50"></td> </tr> <tr> <td align="center"><textarea name="mensagem" cols="45" rows="6" placeholder="Digite aqui sua mensagem..."></textarea></td> </tr> <tr> <td> <table width="100%"> <tr> <td align="right" width="48%"> <div> <input name="enviar" type="submit" value="Enviar >>"></input> </div> </td> <td width="52%"> <div> <input name="reset" type="reset" value="Limpar Dados"> </div> </td> </tr> </table> </td> </tr> </table> </form>
-
[Encerrado] COMO PASSAR UM MAPA VERSAO 10.90 PARA 8.60
tópico respondeu ao Emanueldk de Emanueldk em Tópicos Sem Resposta
e como faz isso tudo??? -
[Encerrado] [PEDIDO] PORTAL LEVA PARA QUALQUER CIDADE
tópico respondeu ao Emanueldk de Emanueldk em Tópicos Sem Resposta
Voce consegue fazer? -
estou a procura de algum script, movements o que seja, para que so possa invadir o castle nos sabados as 16:00 ate as 17:00, se der as 17:00 a guild dominante vai para dentro do caslte e os que nao conseguiu dominar vai para o templo. um script que avise que o castle esta sendo invadindo por x player de x guild, tentei colocar os que ja tem aqui no tk mais nao pegou, creio que nao testei todos, mais o que eu tentei nao pegou tfs 0.4 servidor 8.60
-
[Encerrado] [PEDIDO] PORTAL LEVA PARA QUALQUER CIDADE
tópico respondeu ao Emanueldk de Emanueldk em Tópicos Sem Resposta
o normal -
[Encerrado] [PEDIDO] PORTAL LEVA PARA QUALQUER CIDADE
um tópico no fórum postou Emanueldk Tópicos Sem Resposta
tava precisando de um portal que ao passar por cima dele aparecia uma tela com as cidades possíveis para ele viajar para qualquer cidade citada, sem nenhum custo, sem restrição de level, tfs 0.4 servidor 8.6 OBGD A QUEM ME AJUDAR E DOU REP+ -
MODERN ACC pessoal, eu queria que alguem me ajudasse nesse probleminha aqui, eu queria saber onde é que diminui as letras, tira essa cor branca para deixar igual a do fundo, tirar essa linha preta dos lados e tira essas características de pontos
-
meu notepad ele ta com um bug que me prejudica muito, mais muito mesmo quando eu pego algum script do tibia king para colocar em meu servidor eu colo o script no CTRL + C e colo no notepad no CTRL + V e nele vem uns caracteres tipo esses: (- ?) no script que eu pego e com isso da erro na distro e o script nao pega, e também ele esta todo em verde
-
alguem poderia adicionar algumas coisas em meu shop? lembrando que o site é modern acc.. bom, eu queria que voce pudesse observar o shop mesmo sem ter logado a conta no site, e ao invés de aparecer o botao de comprar aparecer um botao que redirecionasse para a pagina de loguin e após ter logado voltar na pagina do shop igual alguns site de dbo, nto ou tibia e também desbugar a tabela Contas pq ela nao mostra a imagem do item apenas essa tabela que nao mostra a imagem <script type="text/javascript"> $(function() { $("#accordion").accordion({ autoHeight: false, navigation: true }); }); </script> <?PHP //Product Types //Categories : // //[ 1 - Account Modifications ] //1 - Premium //2 - Remove Skull (ANY) //3 - UnBan Account //4 - Change Name // //[ 2 - Personagens Vips] //5 - Vocações Vips // //[ 3 - Items ] //6 - Items // //[ 4 - Container Fully of Items ] //7 - Bag of Items //8 - Backpack of Items // //[ 5 - Addons Items ] //9 - Addon Items // //HOWTO PUT IMAGES FOR TYPES 1-4 [ Account Modifications ] //Go to public/images/ folder and create a GIF image (Or put) //With the ID of the type [See at the top of the script] //Ex. Type (1) - Premium Account (public/images/1.gif) //Variables require("config.php"); include("config/functions.php"); require("config/config.php"); $this->load->helper("url"); $ots = POT::getInstance(); $ots->connect(POT::DB_MYSQL, connection()); $SQL = $ots->getDBHandle(); $SHOP = new shop; $ide = new IDE; $action = $this->uri->segment(4); $categories = array(1 => 'Contas', 2 => 'Personagens Vips', 3 => 'Itens', 4 => 'Itens Em Containers', 5 => 'Enfeites'); if ($_SESSION['logged'] == 1) { if ($SHOP->isInstalled()) { if ($action == '') { if($ide->isAdmin()) { echo "<div class='toolbar' align='center'>"; echo "<a href='".WEBSITE."/index.php/p/v/gifts/admin'>Painel Do Administrador</a>"; echo "</div>"; } alert("<b>Lembre-se:</b><br><br>Todas Categorias, <b>Com Excessão De 'Itens Em Containers'</b>:<br><br>Precisam Haver Espaço Em Sua <b>BACKPACK</b> Para Receber O Item.<br><br><b>Importante:</b><br><br>Personagens Que Contenham Caracteres Especiais No Nome Não Receberão Itens Do Shop, E Terão Seus Pontos Perdidos Ao Comprarem Algo.<br><br><b>Exemplos:</b> Go'ku, Tenshin-han."); echo '<div id="accordion">'; $i = 0; foreach($categories as $key=>$value) { echo '<h3><a href="#">'.$categories[$key].'</a></h3> <div>'; if($SQL->query('SELECT * FROM shop_offer WHERE category = '.$key.'')->fetch()) { echo '<table border="0" cellspacing="1" cellpadding="4" width="100%"> <tr> <td width="20%" class="white" style="text-align: center; font-weight: bold;">Imagem</td> <td width="40%" class="white" style="text-align: center; font-weight: bold;">Produto</td> <td width="20%" class="white" style="text-align: center; font-weight: bold;">Pontos</td> <td width="20%" class="white" style="text-align: center; font-weight: bold;">Ação</td> </tr>'; foreach($SQL->query('SELECT * FROM shop_offer WHERE category = '.$key.'') as $item) { if (is_int($i / 2)) $bgcolor = "#ececec"; else $bgcolor = "#ffffff"; $i++; echo '<tr class="highlight" bgcolor="'.$bgcolor.'" style="text-align: center;"> <td>'; if($item['category'] == '1') $image = 'public/images/'.$item['type'].'.gif'; else $image = 'public/images/items/'.$item['item'].'.gif'; if(!file_exists($image)) echo 'Sem Imagem'; else echo '<img src="'.WEBSITE.'/'.$image.'"/>'; echo '</td> <td><b>'.$item['name'].'</b><br>'.$item['description'].'</td> <td>'.$item['points'].'</td> <td><button type="submit" onClick="window.location.href=\''.WEBSITE.'/index.php/p/v/gifts/buy/'.$item['id'].'\';" class="ide_button">Comprar</button></td> </tr>'; } echo '</table></div>'; } else { alert("Esta Categoria Não Possui Nenhum Produto."); echo '</div>'; } } echo '</div>'; echo '<br><center><font style="color: #4F82CB; font-weight: bold; font-size: 12px">Você tem: <font color="#4EBF37">'.$SHOP->points($_SESSION['name']).'</font> Premium Points.</font></center>'; } elseif ($action == 'buy') { $product = $this->uri->segment(5); $productact = $this->uri->segment(6); if (!$product) { alert("Você Não Selecionou Nenhum Produto."); echo '<div align="right"><a href="'.WEBSITE.'/index.php/p/v/gifts"><br/>Voltar ao SHOP.</a></div>'; } else { if($SQL->query('SELECT * FROM shop_offer WHERE id = '.$product.'')->fetch()) { $info = $SQL->query('SELECT * FROM shop_offer WHERE id = '.$product.'')->fetch(); if($productact == '' || !$productact) { if ($SHOP->points($_SESSION['name']) < $info['points']) { alert("Voce nao tem pontos suficientes para comprar este produto (<b>".$info['points']."</b>)"); echo '<div align="right"><a href="'.WEBSITE.'/index.php/p/v/gifts"><br/>Voltar ao SHOP.</a></div>'; } else { echo '<div id="accordion">'; echo '<h3><a href="#">Produto Selecionado</a></h3> <div>'; echo '<table border="0" cellspacing="1" cellpadding="4" width="100%"> <tr> <td width="25%" class="white" style="text-align: center; font-weight: bold;">Imagem</td> <td width="50%" class="white" style="text-align: center; font-weight: bold;">Produto</td> <td width="25%" class="white" style="text-align: center; font-weight: bold;">Pontos</td> </tr>'; echo '<tr class="highlight" style="text-align: center"> <td>'; if($info['category'] == '1') $image = 'public/images/'.$info['type'].'.gif'; else $image = 'public/images/items/'.$info['item'].'.gif'; if(!file_exists($image)) echo 'Sem Imagem'; else echo '<img height="32px" width="32px" src="'.WEBSITE.'/'.$image.'"/>'; echo '</td> <td><b>'.$info['name'].'</b><br>'.$info['description'].'</td> <td>'.$info['points'].'</td> </tr>'; echo '</table></div> <h3><a href="#">Selecionar Personagem</a></h3> <div> <center><table border="0" cellspacing="7" cellpadding="4" width="50%"> <tr> <td><form method="post" action="'.WEBSITE.'/index.php/p/v/gifts/buy/'.$info['id'].'/send">'; if($info['type'] == '4') echo 'Personagem a mudar o nome:'; else echo 'Qual Char Vai Receber:'; echo '</td> <td><select name="my_char">'; foreach($SHOP->CharacterList($_SESSION['name']) as $row) echo '<option>'.$row['name'].'</option>'; echo '</select></td> </tr> <tr> <td>'; if($info['type'] == '4') echo 'Novo nome:'; else echo 'Doar Para Um Amigo:'; echo '</td> <td><input type="text" name="other_char" size="10"/></td> </tr> <tr> <td></td> <td><button type="submit" name="submit" value="true" class="ide_button">Comprar</td> </tr></table></center></div></div>'; echo '<div align="right"><a href="'.WEBSITE.'/index.php/p/v/gifts/"><br/>Voltar ao SHOP.</a></div>'; } } elseif ($productact == 'send') { if(!$_POST['submit']) header("Location: ".WEBSITE."/index.php/p/v/gifts"); else { if($info['type'] != '4') { if($_POST['other_char']) { if($SQL->query('SELECT * FROM players WHERE name = "'.$_POST['other_char'].'"')->fetch()) { $destination = $_POST['other_char']; $send = true; } else { alert('<b>'.$_POST['other_char'].'</b> não existe.'); echo '<div align="right"><a href="'.WEBSITE.'/index.php/p/v/gifts/buy/'.$info['id'].'"><br/>Voltar ao SHOP.</a></div>'; $send = false; } } else { $destination = $_POST['my_char']; $send = true; } } else { $destination = $_POST['my_char']; $send = true; } if($send == true) { $errors = ''; $processed = 0; if ($info['type'] == '1') { $processed = 1; $finish = true; $SHOP->AddPremium($destination,$info['count']); } elseif ($info['type'] == '2') { $skulltime = $SQL->query('SELECT skull,skulltime FROM players WHERE name = "'.$destination.'"')->fetch(); if ($SHOP->isOnline($destination) == 1) { $errors .= 'Desculpe, Mas O Jogador <b>'.$destination.'</b> Está Online. Deslogue Para Receber O Premio.<br>'; $finish = false; } elseif ($skulltime['skull'] == '0' && $skulltime['skulltime'] == '0') { $errors .= 'Desculpe, Mas O Jogador <b>'.$destination.'</b> Não Possui Skull.<br>'; $finish = false; } else { $processed = 1; $finish = true; $SQL->query('UPDATE players SET skull = 0, skulltime = 0 WHERE name = "'.$destination.'"'); } } elseif ($info['type'] == '3') { if ($SHOP->isOnline($destination) == 1) { $errors .= 'Desculpe, Mas O Jogador <b>'.$destination.'</b> Está Online. Deslogue Para Receber O Premio.<br>'; $finish = false; } else { if ($SHOP->isBanned($destination)->fetch()) { $processed = 1; $finish = true; $SHOP->UnBan($destination); } else { $errors .= 'Desculpe, Mas Essa Conta Não Está Banida No Momento.<br>'; $finish = false; } } } elseif ($info['type'] == '4') { if ($SHOP->isOnline($destination) == 1) { $errors .= 'Desculpe, Mas O Jogador <b>'.$destination.'</b> Está Online. Deslogue Para Receber O Premio.<br>'; $finish = false; } else { if ($SQL->query('SELECT * FROM players WHERE name = "'.$_POST['other_char'].'"')->fetch()) { $finish = false; $errors .= 'Desculpe, Mas O Nome <b>'.$_POST['other_char'].'</b> Já Existe.<br>'; } else { if(!$_POST['other_char']) { $finish = false; $errors .= 'Desculpe, Mas Você Não Deu Um Novo Nome Para O Seu Personagem.<br>'; } else { if (!preg_match('/[^A-Za-z]/', $_POST['other_char'])) { $processed = 1; $finish = true; $SQL->query('UPDATE players SET name = "'.$_POST['other_char'].'" WHERE name = "'.$destination.'"'); } else { $finish = false; $errors .= 'Sorry, but <b>'.$_POST['other_char'].'</b> contains invalid characters (Use only: A-Z, a-z).<br>'; } } } } } else { $finish = true; } if ($finish == true) { if ($SHOP->points($_SESSION['name']) >= $info['points']){ echo '<div style="text-align: center; font-size: 15px; color: #4EBF37; font-weight: bold;">Transação Bem Sucedida</div><br>'; if($info['type'] == '4') echo '<center>Você Mudou O Nome De <b>'.$destination.'</b> Para <b>'.$_POST['other_char'].'</b>.</center>'; elseif($info['type'] == '3') echo '<center>Você Desbaniu A <b>'.$destination.'</b>\'s Account.</center>'; else echo '<center>Você Comprou <b>'.$info['name'].'</b> Para O Jogador <b>'.$destination.'</b>.</center>'; echo '<div align="right"><a href="'.WEBSITE.'/index.php/p/v/gifts"><br/>Voltar ao SHOP.</a></div>'; $SQL->query('UPDATE accounts SET premium_points = '.($SHOP->points($_SESSION['name']) - $info['points']).' WHERE name = "'.$_SESSION['name'].'"'); $SQL->query('INSERT INTO shop_history (`id`, `product`, `session`, `player`, `date`, `processed`) VALUES (NULL, \''.$info['id'].'\',\''.$_SESSION['name'].'\', \''.$destination.'\', \''.time().'\',\''.$processed.'\')');; } else { echo '<center>Você Não Tem Pontos O Suficiente!</center>'; } } else { alert($errors); echo '<div align="right"><a href="'.WEBSITE.'/index.php/p/v/gifts/buy/'.$info['id'].'"><br/>Voltar ao SHOP.</a></div>'; } } } } } else { header("Location: ".WEBSITE."/index.php/p/v/gifts"); } echo '<br><center><font style="color: #4F82CB; font-weight: bold; font-size: 12px">Você Possui: <font color="#4EBF37">'.$SHOP->points($_SESSION['name']).'</font> Pontos Restantes.</font></center>'; } } elseif ($action == 'history') { if ($SQL->query('SELECT * FROM shop_history WHERE session = "'.$_SESSION['name'].'" ORDER BY date DESC LIMIT 30')->fetch()) { echo '<div style="text-align: center; font-weight: bold;">Latest 30 Transactions</div> <table border="0" cellspacing="1" cellpadding="4" width="100%"> <tr> <td class="white" style="text-align: center; font-weight: bold;">Picture</td> <td class="white" style="text-align: center; font-weight: bold;">Product</td> <td class="white" style="text-align: center; font-weight: bold;">To</td> <td class="white" style="text-align: center; font-weight: bold;">Date</td> <td class="white" style="text-align: center; font-weight: bold;">Processed</td> </tr>'; foreach($SQL->query('SELECT `z`.`player` AS `destination`, `z`.`date` AS `date`, `z`.`processed` AS `processed`, `o`.`category` AS `category`,`o`.`type` AS `type`,`o`.`item` AS `item`,`o`.`name` AS `name` FROM `shop_history` z LEFT JOIN `shop_offer` o ON `z`.`product` = `o`.`id` WHERE `z`.`session` = \''.$_SESSION['name'].'\' ORDER BY `z`.`date` DESC LIMIT 30') as $hist) { echo '<tr class="highlight" style="text-align: center"><td>'; if($hist['category'] == '1') $image = 'public/images/'.$hist['type'].'.gif'; else $image = 'public/images/items/'.$hist['item'].'.gif'; if(!file_exists($image)) echo 'Sem Imagem'; else echo '<img height="32px" width="32px" src="'.WEBSITE.'/'.$image.'"/>'; echo '</td> <td>'.$hist['name'].'</td> <td>'.$hist['destination'].'</td> <td>'.date("d-m-Y - H:i a", $hist["date"]).'</td>'; if ($hist['processed'] == '1') echo '<td><img src="'.WEBSITE.'/public/images/true.gif"/></td>'; else echo '<td><img src="'.WEBSITE.'/public/images/false.gif"/></td>'; echo '</tr>'; } echo '</table>'; } else { alert('Você Não Fez Nenhuma Transações.'); } } elseif ($action == 'donate') { $show = $this->uri->segment(5); if ($show == 'history') { if ($SQL->query('SELECT * FROM shop_donation_history WHERE buyer = "'.$_SESSION['name'].'" ORDER BY date DESC LIMIT 30')->fetch()) { echo '<div style="text-align: center; font-weight: bold;">Latest 30 Donations</div> <table border="0" cellspacing="1" cellpadding="4" width="100%"> <tr> <td class="white" style="text-align: center; font-weight: bold;">Method</td> <td class="white" style="text-align: center; font-weight: bold;">ID/Mail</td> <td class="white" style="text-align: center; font-weight: bold;">To Account</td> <td class="white" style="text-align: center; font-weight: bold;">Points Added</td> <td class="white" style="text-align: center; font-weight: bold;">Date</td> </tr>'; foreach($SQL->query('SELECT * FROM shop_donation_history WHERE buyer = "'.$_SESSION['name'].'" ORDER BY date DESC LIMIT 30') as $hist) { echo '<tr class="highlight" style="text-align: center"> <td>'; echo ($hist['method'] == 'PayPal')?'<img src="https://www.paypal.com/en_US/i/logo/paypal_logo.gif" height="50px" width="100px">':($hist['method'] == 'ContenidoPago')?'<img src="http://www.contenidopago.com/img/logo_ft.jpg" height="50px" width="100px">':''; echo '</td> <td>'.$hist['receiver'].'</td> <td>'.$hist['account'].'</td> <td>'.$hist['points'].'</td> <td>'.date("d-m-Y - H:i a", $hist["date"]).'</td> </tr>'; } echo '</table>'; } else { alert('Você Não Donatou!'); } } elseif (!$show || $show == '') { alert("".$config['server_name']."'s Administration <b>is not responsible</b> for <b>cases of loss of products</b>.<br><br> ".$config['server_name']."'s Administration <b>is responsible</b> for <b>cases of loss of points which have been sent to users</b>."); echo '<div id="accordion">'; foreach ($config['donations']['methods'] as $method => $active) { if ($active == true) { echo '<h3><a href="#">'.$method.'</a></h3> <div>'; if ($method == 'ContenidoPago') { alert("This brand new system consists on <b>donations by SMS</b>.<br> After donating you will receive <b>".$config['donations']['contenidopago']['Points']." Points</b>.<br><br> <b>REMEMBER:</b><br> You need to have <b>enough credit</b> to send <u>SMS</u>.<br><br> You <b>MUST</b> fill the <b>Account Name</b> and the <b>Code Received</b> fields with <u>a valid account name</u> and <u>a valid code</u>."); if(!isset($_POST['mysubmit'])) { echo '<form method="post" action="" > <fieldset style="border:1px solid #990000; width:450px; margin:auto;"> <legend style="font-weight:bold;font-size:12px;">Automatic SMS Donation</legend> <ol style="list-style:none;"> <li style="padding-bottom:5px;"><label style="width:100px;float:left;text-align:left;">Account Name:</label><input type="text" style="border:1px solid #CCCCCC;" size="30" name="name" /></li> <li style="padding-bottom:5px;"><label style="width:100px;float:left;text-align:left;">Code received:</label><input type="text" style="border:1px solid #CCCCCC;" size="30" name="codigo" /></li> </ol> <center><input type="submit" name="mysubmit" style="padding:3px;margin-bottom:10px;color:#FFFFFF;background-color:#990000;border:1px solid #000000;" value="Enviar" /></center> </fieldset> </form>'; } else { $codigo=$_POST['codigo']; $name=$_POST['name']; $QueryString = "LinkUrl=http://".urlencode($_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']); $QueryString .= "&codigo=" .urlencode($codigo); $QueryString .= "&idservicio=" .$config['donations']['contenidopago']['Product']; if(intval(get_cfg_var('allow_url_fopen')) && function_exists('file_get_contents')) { $result=@file_get_contents("http://contenidopago.com/codigoval.php?".$QueryString); } elseif(intval(get_cfg_var('allow_url_fopen')) && function_exists('file')) { if($content = @file("http://contenidopago.com/codigoval.php?".$QueryString)) $result=@join('', $content); } elseif(function_exists('curl_init')) { $ch = curl_init ("http://contenidopago.com/codigoval.php?".$QueryString); curl_setopt ($ch, CURLOPT_HEADER, 0); curl_exec ($ch); if(curl_error($ch)) alert("Error processing request"); curl_close ($ch); } else { alert("It appears that your web host has disabled all functions for handling remote pages and as a result the BackLinks software will not function on your web page. Please contact your web host for more information."); } if ($result =='ok') { if(!(empty($name))) { if(!$SQL->query("SELECT * FROM accounts WHERE name = '".$name."'")->fetch()) { alert('This username does not exist: <font color="blue">'.$name.'</font>'); } else { $SQL->query("UPDATE accounts SET premium_points = premium_points + ".$config['donations']['contenidopago']['Points']." WHERE name = '".$name."'"); alert("Codigo : $codigo validado, puntos sumados correctamente"); $SQL->query("INSERT INTO shop_donation_history (`id`, `method`, `receiver`, `buyer`, `account`, `points`, `date`) VALUES (NULL, 'ContenidoPago', '".$config['donations']['contenidopago']['Product']."', '".$_SESSION['name']."', '".$name."', '".$config['donations']['contenidopago']['Points']."', '".time()."');"); } } else { alert('You did not set the user!'); } } if ($result =='no') { alert('El codigo no es valido o ya esta usado'); } } echo '<center><iframe src ="http://www.contenidopago.com/prom/microcodigo.php" width="270px" height="340px" frameborder="0"> <p>Your browser does not support iframes.</p> </iframe></center>'; } elseif ($method == 'PayPal') { alert("The donation costs <b>".$config['donations']['paypal']['Amount']." ".$config['donations']['paypal']['Money']." (incl. VAT)</b>.<br> After the donation you will receive a total of <b>".$config['donations']['paypal']['Points']." points</b> automatically.<br><br> <b>REMEMBER:</b><br> You need a <u>creditcard</u> <b>or</b> a <u>PayPal account</u> with a minimun of <b>".$config['donations']['paypal']['Amount']." ".$config['donations']['paypal']['Money']."</b>.<br><br> You <b>MUST</b> fill the <b>Account Name</b> with a <u>valid one</u>."); echo '<center><form action="https://www.paypal.com/cgi-bin/webscr" method="post"> <input type="hidden" name="cmd" value="_donations"> <input type="hidden" name="business" value="'.$config['donations']['paypal']['Mail'].'"> <input type="hidden" name="lc" value="GB"> <input type="hidden" name="item_name" value="'.$config['donations']['paypal']['Product'].'"> <b>Account Name:</b> <input type="text" name="custom" value=""> <input type="hidden" name="item_number" value="1"> <input type="hidden" name="amount" value="'.$config['donations']['paypal']['Amount'].'"> <input type="hidden" name="currency_code" value="'.$config['donations']['paypal']['Money'].'"> <input type="hidden" name="no_note" value="0"> <input type="hidden" name="no_shipping" value="0"> <input type="hidden" name="notify_url" value="'.WEBSITE.'index.php/p/v/paypal"> <input type="hidden" name="return" value="'.WEBSITE.'"> <input type="hidden" name="session" value="'.$_SESSION['name'].'"> <input type="hidden" name="rm" value="0"> <input type="hidden" name="bn" value="PP-DonationsBF:btn_donateCC_LG_global.gif:NonHosted"><br> <input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online."> <img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1"> </form></center>'; } echo '</div>'; } } echo '</div>'; } else { header("Location: ".WEBSITE."/index.php/p/v/gifts/donate"); } } elseif ($action == 'admin') { if($ide->isAdmin()) { $manage = $this->uri->segment(5); echo "<div class='toolbar' align='center'>"; echo "<a href='".WEBSITE."/index.php/p/v/gifts/admin/add/1'>Adicionar Produto</a> | "; echo "<a href='".WEBSITE."/index.php/p/v/gifts/admin/delete'>Deletar Produto</a> | "; echo "<a href='".WEBSITE."/index.php/p/v/gifts/admin/points'>Add/Remover Pontos</a>"; echo "</div>"; if ($manage == '' || !$manage) { echo '<center>Bem-vindo Ao Painel Do Administrador</center>'; } elseif ($manage == 'add') { $types[1] = array(1 => 'Premium Account', 2 => 'Remover Skull', 3 => 'Unban Account', 4 => 'Mudar Nome'); $types[2] = array(5 => 'Personagens Vips'); $types[3] = array(6 => 'Item'); $types[4] = array(7 => 'Bag Com Itens', 8 => 'Backpack Com Itens'); $types[5] = array(9 => 'Item'); $step = $this->uri->segment(6); if ($step == '1') { echo '<form method="post" action="'.WEBSITE.'/index.php/p/v/gifts/admin/add/2">Categoria: <select name="category">'; foreach($categories as $key=>$value) { echo '<option value="'.$key.'">'.$categories[$key].'</option>'; } echo '</select> <button type="submit" class="ide_button">Selecionar</form>'; } elseif ($step == '2' && $_POST['category']) { echo '<form method="post" action="'.WEBSITE.'/index.php/p/v/gifts/admin/add/3"> <input type="hidden" name="category" value="'.$_POST['category'].'"/> Tipo: <select name="type">'; foreach($types[$_POST['category']] as $key=>$value) { echo '<option value="'.$key.'">'.$types[$_POST['category']][$key].'</option>'; } echo '</select> <button type="submit" class="ide_button">Selecionar</form>'; } elseif ($step == '3' && $_POST['category'] && $_POST['type']) { echo '<form method="post" action="'.WEBSITE.'/index.php/p/v/gifts/admin/add/4"> <input type="hidden" name="category" value="'.$_POST['category'].'"/> <input type="hidden" name="type" value="'.$_POST['type'].'"/> <table border="0" cellspacing="1" cellpadding="4" width="100%"> <tr> <td width="25%">Nome do Produto:</td> <td width="25%"><input name="name" type="text" size="18" maxlength="256" /></td> </tr> <tr> <td width="25%">Custo Em Pontos:</td> <td width="25%"><input name="points" type="text" value="0" size="1" maxlength="11" /></td> </tr>'; if ($_POST['type'] == '1') { echo '<tr> <td width="25%">Quantidade De Dias Premium:</td> <td width="25%"><input name="count" type="text" value="0" size="1" maxlength="3" /></td> </tr>'; } elseif ($_POST['type'] == '5' || $_POST['type'] == '6' || $_POST['type'] == '7' || $_POST['type'] == '8') { echo '<tr> <td width="25%">ID Do Item:</td> <td width="25%"><input name="item" type="text" value="0" size="1" maxlength="5" /></td> </tr> <tr> <td width="25%">Quantidade:</td> <td width="25%"><input name="count" type="text" value="0" size="1" maxlength="3" /></td> </tr>'; } echo '<tr> <td width="25%">Descrição Do Produto:</td> <td width="25%"><textarea style="width: 160px; height: 60px;" name="description"></textarea></td> <td></td> </tr> </table> <br><center><button type="submit" name="done" value="true" class="ide_button">Adicionar Produto</form></center>'; } elseif ($step == '4' && $_POST['done'] == 'true') { $errors = ''; if ($_POST['points'] || $_POST['item'] || $_POST['count']) { if($_POST['points']) { if (!(!preg_match('/[^0-9]/', $_POST['points']))) $errors .= '1'; } elseif($_POST['item']) { if (!(!preg_match('/[^0-9]/', $_POST['item']))) $errors .= '2'; } elseif($_POST['count']) { if (!(!preg_match('/[^0-9]/', $_POST['count']))) $errors .= '3'; } } if ($errors == '') { echo '<div style="text-align: center; font-size: 15px; color: #4EBF37; font-weight: bold;">Produto Adicionado!</div><br> <table border="0" cellspacing="1" cellpadding="4" width="100%"> <tr class="highlight"> <td style="font-weight: bold;" width="50%">Nome Do Produto:</td> <td width="50%">'.$_POST['name'].'</td> </tr> <tr class="highlight"> <td style="font-weight: bold;" width="50%">Categoria:</td> <td width="50%">'.$categories[$_POST['category']].'</td> </tr> <tr class="highlight"> <td style="font-weight: bold;" width="50%">Tipo:</td> <td width="50%">'.$types[$_POST['category']][$_POST['type']].'</td> </tr> <tr class="highlight"> <td style="font-weight: bold;" width="50%">Custo Em Pontos:</td> <td width="50%">'.$_POST['points'].'</td> </tr>'; if($_POST['type'] == '1') { echo '<tr class="highlight"><td style="font-weight: bold;" width="50%">Quantidade De Dias Premium:</td> <td width="50%">'.$_POST['count'].'</td> </tr>'; } elseif ($_POST['type'] == '5' || $_POST['type'] == '6' || $_POST['type'] == '7' || $_POST['type'] == '8') { echo '<tr class="highlight"><td style="font-weight: bold;" width="50%">ID Do Item:</td> <td width="50%">'.$_POST['item'].'</td> </tr> <tr class="highlight"><td style="font-weight: bold;" width="50%">Quantidade:</td> <td width="50%">'.$_POST['count'].'</td> </tr>'; } echo '<tr class="highlight"><td style="font-weight: bold;" width="50%">Descrição:</td> <td width="50%">'.$_POST['description'].'</td> </tr></table>'; $PostItem = (!isset($_POST['item']))?'0':$_POST['item']; $PostCount = (!isset($_POST['count']))?'0':$_POST['count']; $SQL->query("INSERT INTO shop_offer (`id`, `points`, `category`, `type`, `item`, `count`, `description`, `name`) VALUES (NULL, '".$_POST['points']."', '".$_POST['category']."', '".$_POST['type']."', '".$PostItem."', '".$PostCount."', '".$_POST['description']."', '".$_POST['name']."')"); echo '<div align="right"><a href="'.WEBSITE.'/index.php/p/v/gifts/admin">Voltar ao Painel do Administrador.</a></div>'; } else { alert('Desculpe Mas Um Ou Mais Espaços Contém Caracteres Inválidos.'); echo '<div align="right"><a href="'.WEBSITE.'/index.php/p/v/gifts/admin">Voltar Ao Painel Do Administrador.</a></div>'; } } else { header("Location: ".WEBSITE."/index.php/p/v/gifts/admin/add/1"); } } elseif ($manage == 'delete') { $product = $this->uri->segment(6); if (!$product) { echo '<div id="accordion">'; $i = 0; foreach($categories as $key=>$value) { echo '<h3><a href="#">'.$categories[$key].'</a></h3> <div>'; if($SQL->query('SELECT * FROM shop_offer WHERE category = '.$key.'')->fetch()) { echo '<table border="0" cellspacing="1" cellpadding="4" width="100%"> <tr> <td width="20%" class="white" style="text-align: center; font-weight: bold;">Imagem</td> <td width="40%" class="white" style="text-align: center; font-weight: bold;">Produto</td> <td width="20%" class="white" style="text-align: center; font-weight: bold;">Pontos</td> <td width="20%" class="white" style="text-align: center; font-weight: bold;">Ação</td> </tr>'; foreach($SQL->query('SELECT * FROM shop_offer WHERE category = '.$key.'') as $item) { if (is_int($i / 2)) $bgcolor = "#ececec"; else $bgcolor = "#ffffff"; $i++; echo '<tr class="highlight" bgcolor="'.$bgcolor.'" style="text-align: center;"> <td>'; if($item['category'] == '1') $image = 'public/images/'.$item['type'].'.gif'; else $image = 'public/images/items/'.$item['item'].'.gif'; if(!file_exists($image)) echo 'Sem Imagem'; else echo '<img height="32px" width="32px" src="'.WEBSITE.'/'.$image.'"/>'; echo '</td> <td><b>'.$item['name'].'</b><br>'.$item['description'].'</td> <td>'.$item['points'].'</td> <td><button type="submit" onClick="window.location.href=\''.WEBSITE.'/index.php/p/v/gifts/admin/delete/'.$item['id'].'\';" class="ide_button">Deletar Produto</button></td> </tr>'; } echo '</table></div>'; } else { alert("Esta Categoria Não Possui Nenhum Produto."); echo '</div>'; } } echo '</div>'; } else { if($SQL->query('SELECT * FROM shop_offer WHERE id = '.$product.'')->fetch()) { $SQL->query('DELETE FROM shop_offer WHERE id = '.$product.''); $SQL->query('DELETE FROM shop_history WHERE product = '.$product.''); echo '<div style="text-align: center; font-size: 15px; color: #4EBF37; font-weight: bold;">Produto Removido!</div><br> <center>O Produto Com ID <b>'.$product.'</b> Foi Removido Com Sucesso De Sua Database.</center>'; echo '<div align="right"><a href="'.WEBSITE.'/index.php/p/v/gifts/admin">Voltar Ao Painel Do Administrador.</a></div>'; } else { header("Location: ".WEBSITE."/index.php/p/v/gifts/admin/delete"); } } } elseif ($manage == 'points') { if (!isset($_POST['submit'])) { echo '<div id="accordion"> <h3><a href="#">Adicionar Pontos</a></h3> <div> <table border="0" cellspacing="1" cellpadding="4" width="100%"> <tr> <form method="post" action="'.$_SERVER['PHP_SELF'].'"> <td>Selecionar Personagem:</td> <td><select name="player">'; foreach($SQL->query('SELECT * FROM players ORDER BY name DESC') as $player) { echo '<option value="'.$player['id'].'">'.$player['name'].'</option>'; } echo '</select></td> </tr> <tr> <td>Ou Digite Um Nome:</td> <td><input type="text" name="other_char" size="10"/></td> </tr> <tr> <td>Quantidade De Pontos:</td> <td><input type="text" name="points" size="10"/></td> </tr> <tr> <td><button type="submit" name="submit" value="add" class="ide_button">Adicionar Pontos</button></td> </tr> </table></form> </div> <h3><a href="#">Remover Pontos</a></h3> <div> <table border="0" cellspacing="1" cellpadding="4" width="100%"> <tr> <form method="post" action="'.$_SERVER['PHP_SELF'].'"> <td>Selecionar Personagem:</td> <td><select name="player">'; foreach($SQL->query('SELECT * FROM players ORDER BY name DESC') as $player) { echo '<option value="'.$player['id'].'">'.$player['name'].'</option>'; } echo '</select></td> </tr> <tr> <td>Ou Digite Um Nome:</td> <td><input type="text" name="other_char" size="10"/></td> </tr> <tr> <td>Quantidade De Pontos:</td> <td><input type="text" name="points" size="10"/></td> </tr> <tr> <td><button type="submit" name="submit" value="remove" class="ide_button">Remover Pontos</button></td> </tr> </table></form> </div> </div>'; } else { $errors = ""; if(!isset($_POST['other_char']) || $_POST['other_char'] == '') { $destination = $_POST['player']; } else { $ID = $SQL->query('SELECT id FROM players WHERE name = "'.$_POST['other_char'].'"')->fetch(); if($ID) $destination = $ID['id']; else $errors .= "O Personagem <b>".$_POST['other_char']."</b> Não Existe.<br>"; } if($_POST['points'] == '0' || $_POST['points'] < '0') $errors .= "A Quantidade De Pontos Deve Ser Maior Que 0.<br>"; elseif (!(!preg_match('/[^0-9]/', $_POST['points']))) $errors .= "A Quantidade De Pontos Deve Ser Em <b>Valor Numérico</b>!"; if(isset($destination)) { $player = $SQL->query('SELECT name FROM players WHERE id = "'.$destination.'"')->fetch(); $account = $SHOP->getPlayerAccount($player['name'])->fetch(); if ($_POST['submit'] == 'remove') { if ($SHOP->points($account['name']) == '0' || $SHOP->points($account['name']) < '0') $errors .= "O Personagem <b>".$player['name']."</b> Não Tem Pontos.<br>"; } } if ($errors == '') { $player = $SQL->query('SELECT name FROM players WHERE id = "'.$destination.'"')->fetch(); $account = $SHOP->getPlayerAccount($player['name'])->fetch(); echo '<div style="text-align: center; font-size: 15px; color: #4EBF37; font-weight: bold;">Pontos '; echo ($_POST['submit'] == 'add')?'Adicionado':'Removido'; echo '!</div><br> <center>Você tem '; echo ($_POST['submit'] == 'add')?'Adicionado':'Removido'; echo ' <b>'.$_POST['points'].'</b> Pontos da <b>'.$player['name'].'</b>\'s Account.</center>'; echo '</br><div align="right"><a href="'.WEBSITE.'/index.php/p/v/gifts/admin/points">Voltar Ao Painel De Pontos.</a></div>'; if($_POST['submit'] == 'add') $SQL->query('UPDATE accounts SET premium_points = '.($SHOP->points($account['name']) + $_POST['points']).' WHERE name = "'.$account['name'].'"'); elseif($_POST['submit'] == 'remove') $SQL->query('UPDATE accounts SET premium_points = '.($SHOP->points($account['name']) - $_POST['points']).' WHERE name = "'.$account['name'].'"'); } else { alert($errors); echo '<div align="right"><a href="'.WEBSITE.'/index.php/p/v/gifts/admin/points">Voltar Ao Painel De Pontos.</a></div>'; } } } else { header("Location: ".WEBSITE."/index.php/p/v/gifts/admin"); } } else { header("Location: ".WEBSITE."/index.php"); } } else { header("Location: ".WEBSITE."/index.php/p/v/gifts"); } } elseif(!$SHOP->isInstalled()) { if($ide->isAdmin()) { $SHOP->install(); echo '<div style="text-align: center; font-size: 15px; color: #4EBF37; font-weight: bold;">Shop System Succesfully Installed!</div><br> <center>Your shop system has been installed succesfully!! click <a href="'.WEBSITE.'/index.php/p/v/gifts">HERE</a> to see your shop</center>'; } else { header("Location: ".WEBSITE."/index.php"); } } } else { header("Location: ".WEBSITE."/index.php"); } ?>
-
[Encerrado] COMO PASSAR UM MAPA VERSAO 10.90 PARA 8.60
um tópico no fórum postou Emanueldk Tópicos Sem Resposta
tem como trocar a versao de um mapa 10.90 para 8.60? se tiver como eu faço -
@Junior001 sim eu quero mudar tudo mesmo, quero deixar tudo preto igual aquele template preto que eu te falei que tinha gostado dele, mais se eu nao tivesse ja com um site tudo pronto com minhas configs eu tinha usado esse mesmo que voce disponibilou
-
@Junior001 nossa brother vlw mesmo, mais agora o site modern acc que eu estou usando parasse que buga quando eu tento mudar algum template, tipo eu mudo tudo e atualizo o site, mais ainda continua o antigo template o meu site ele é assim tem 4 arquivos para mudar os template o index.tpl muda links e template com botões, e os main,1,2,bkp sao para mudar as templates do site mesmo, o fundo no caso botões no que eu falo sao esses "Menu Inicial", "Servidor", "Comunidade", "Download Client", "Shp´", "Server Status" e "DBO HG" e template de fundo sao essas partes brancas com cinzas, voce poderia me ajudar a desbugar ele?
-
@Junior001 eu gostei do primeiro template mais eu ja tenho um site e eu so queria pegar o fundo do site, aquelas cores pretas com cinzas voce poderia me dizer quais sao elas? tipo o nome de cada quadrado pra mim botar em meu site
-
[Encerrado] ALGUEM ATUALIZA ESSE SCRIPT PRA MIM PF
um tópico no fórum postou Emanueldk Tópicos Sem Resposta
alguem poderia da uma atualizada nesse meu script de refinamento? o que eu proponho é, sao 2 item de refinamento 1 sem nenhuma chance de 100% de acerto, ele tem chance de voltar 1 level e outro com 100% de chance de refinar sem voltar 1 level, o que eu tou precisando é que esse script faça o seguinte: eu queria que o item sem chance de 100% com id 8300 ao invez dele voltar 1 level quebrar o item, se voce nao conseguir refinar o item ele ser quebrado, o item sumir do seu personagem, e o que tem 100% de chance com id 8306 ele nao quebrar o item, apenas voltar 1 level e com alguns efeitos, se voces conseguir refinar o item subir uma mensagem em vermelho UPGRAD se voce quebrar o item subir uma mensagem dizendo It Broke e se voce refinar e o item voltar 1 level falar FAILED --- Perfect refine system by Mock the bear (MTB). --- Email: mock_#####@hotmail.com -- &a = weapon attack -- &d = weapon defense -- &s = shield defense -- &p = armor defense -- # = nivel do item -- @ = max level local gain = { gainArmor='&p+(1)',loseArmor='&p-(1)', gainShield='&s+#',loseShield='&s-(#+1)', gainAttack='&a+(1*(#))',loseAttack='&a-(1*(#+1))', gainDefense='&d+(1*(#))',loseDefense='&d-(1*(#+1))', chance='(100/math.sqrt((((@/4)+(#*2))/@)*#))', maxlvl = 5, blocked_ids = {8881} -- items que nao podem ser aprimorados } local it = { --[itemid] = [percent] [8300] = 0, -- 0% additional [8306] = 100, -- 50% } if not setItemName then function setItemName(uid,name) return doItemSetAttribute(uid,'name',name) end function setItemArmor(uid,name) return doItemSetAttribute(uid,'armor',name) end function setItemDefense(uid,name) return doItemSetAttribute(uid,'defense',name) end function setItemAttack(uid,name) return doItemSetAttribute(uid,'attack',name) end function getItemAttack(uid) return getItemAttribute(uid,'attack') end function getItemDefense(uid) return getItemAttribute(uid,'defense') end function getItemArmor(uid) if type(uid) == 'number' then return getItemAttribute(uid,'armor') else return getItemInfo(uid.itemid).armor end end end local function isArmor(uid) -- Function by Mock the bear. if (getItemInfo(uid.itemid).armor ~= 0) and (getItemWeaponType(uid.uid) == 0) then return true end return false end local function isWeapon(uid) -- Function by Mock the bear. uid = uid or 0 local f = getItemWeaponType(uid) if f == 1 or f == 2 or f == 3 then return true end return false end local function isShield(uid) -- Function by Mock the bear. uid = uid or 0 if getItemWeaponType(uid) == 4 then return true end return false end local function isBow(uid) -- Function by Mock the bear. uid = uid or 0 if getItemWeaponType(uid) == 5 then return true end return false end local function getWeaponLevel(uid) -- Function by Mock the bear. uid = uid or 0 local name = getItemName(uid.uid) or getItemInfo(uid.itemid).name or '' local lvl = string.match(name,'%s%+(%d+)%s*') return tonumber(lvl) or 0 end local function doTransform(s,i) -- Function by Mock the bear. local c = string.gsub(s,'@',gain.maxlvl) local c = string.gsub(c,'&a',(getItemAttack(i.uid) ~= 0 and getItemAttack(i.uid) or getItemInfo(i.itemid).attack)) local c = string.gsub(c,'&d',(getItemDefense(i.uid) ~= 0 and getItemDefense(i.uid) or getItemInfo(i.itemid).defense)) local c = string.gsub(c,'&s',(getItemDefense(i.uid) ~= 0 and getItemDefense(i.uid) or getItemInfo(i.itemid).defense)) local c = string.gsub(c,'&p',(getItemArmor(i.uid) ~= 0 and getItemArmor(i.uid) or getItemInfo(i.itemid).armor)) local c = string.gsub(c,'#',getWeaponLevel(i)) local q = assert(loadstring('return '..c)) return math.floor(assert(q())) end function onUse(cid, item, fromPosition, itemEx, toPosition) if item.uid == 0 or item.itemid == 0 then return false end toPosition.stackpos = 255 if isInArray(gain.blocked_ids, itemEx.itemid) or (not getItemWeaponType(itemEx.uid) or getItemWeaponType(itemEx.uid) > 5) or (getItemWeaponType(itemEx.uid) == 0 and not isArmor(itemEx)) or itemEx.itemid == 0 or itemEx.type > 1 or isItemStackable(itemEx.uid) then doPlayerSendTextMessage(cid, 24,"Voce Nao Pode Refinar Este Item.") return TRUE end if isCreature(itemEx.uid) == TRUE then return FALSE end local level = getWeaponLevel(itemEx) local chance = doTransform(gain.chance,itemEx) if level == gain.maxlvl then doSendMagicEffect(toPosition, 2) return doPlayerSendTextMessage(cid, 24,"Seu Item Esta No Nivel Maximo, Voce Nao Pode Atualiza-Lo.") end doPlayerSendTextMessage(cid, 24,"Tentando Refinar Com "..(chance+it[item.itemid] > 100 and 100 or chance+it[item.itemid]).."% De Sucesso!") if chance+it[item.itemid] >= math.random(0,100) then local nm = getItemName(itemEx.uid) local slot = nm:match('(%[.+%])') or '' ---If you server use slot system dont change it slot = slot~='' and ' '..slot or slot setItemName(itemEx.uid, getItemNameById(itemEx.itemid)..' +'..(level+1)..slot) addEvent(doPlayerSendTextMessage,500,cid, 24,"Seu Item Foi Atualizado Para +"..(level+1)..slot..".") doSendMagicEffect(toPosition, 12) if isArmor(itemEx) then local get = doTransform(gain.gainArmor,itemEx) setItemArmor(itemEx.uid,get) elseif isBow(itemEx.uid) then setItemAttack(itemEx.uid, doTransform(gain.gainAttack,itemEx)) elseif isWeapon(itemEx.uid) then setItemAttack(itemEx.uid, doTransform(gain.gainAttack,itemEx)) setItemDefense(itemEx.uid, doTransform(gain.gainDefense,itemEx)) elseif isShield(itemEx.uid) then setItemDefense(itemEx.uid, doTransform(gain.gainShield,itemEx)) end else if level == 0 then addEvent(doPlayerSendTextMessage,500,cid, 24,"Sem Efeito.") doSendMagicEffect(toPosition, 2) elseif level > 0 then local nm = getItemName(itemEx.uid) local slot = nm:match('(%[.+%])') or '' ---If you server use slot system dont change it slot = slot~='' and ' '..slot or slot if level == 1 then setItemName(itemEx.uid, getItemNameById(itemEx.itemid)..slot) addEvent(doPlayerSendTextMessage,500,cid, 24,"Seu Item Voltou Ao Normal.") else setItemName(itemEx.uid, getItemNameById(itemEx.itemid)..' +'..(level-1)..slot) addEvent(doPlayerSendTextMessage,500,cid, 24,"Seu Item Voltou Para +"..(level-1)..slot..".") end if isArmor(itemEx) then setItemArmor(itemEx.uid,doTransform(gain.loseArmor ,itemEx)) elseif isWeapon(itemEx.uid) then setItemAttack(itemEx.uid, doTransform(gain.loseAttack,itemEx)) setItemDefense(itemEx.uid, doTransform(gain.loseDefense,itemEx)) elseif isBow(itemEx.uid) then setItemAttack(itemEx.uid, doTransform(gain.loseAttack,itemEx)) elseif isShield(itemEx.uid) then setItemDefense(itemEx.uid, doTransform(gain.loseShield,itemEx)) end end doSendMagicEffect(toPosition, 9) end doRemoveItem(item.uid,1) return true end -
pessoal eu tou a procura de 3 eventos a algumas semanas atrás para meu servidor de Dragon Ball "DBO" 8.60 tfs 0.4, eu tentei colocar alguns script de eventos ja do xtibia mais todos dao erro na distro e sao erros muito grandes, se alguem puder me ajudar cara vou ficar muito agradecido de verdade, os eventos que eu tou procurando sao: Battle Field = sao 2 time de 5 player ao todo 10 player entrará no evento 5 de cada lado e cada time com uma roupa "transformaçao" diferente da outra, o evento so acaba se algum dos time fizer 10 pontos "10 frags" Fire Storm = max 30 player minimo 10 para começar o evento Zombie = max 20 player min 5 para começar o evento todos com premiaçoes, executam automaticamente e por um comando, e também com portas trancadas ate cada evento se abrir, ja que minha sala de eventos qualquer um pode entrar a qualquer hora eu queria que elas so abrissem quando o evento começar-se e fechassem quando e evento terminar
-
[Encerrado] ALGUEM PF ME FALA O QUE TA ACONTECENDO
um tópico no fórum postou Emanueldk Tópicos Sem Resposta
ja nao sei mais o que fazer com esse npc de reborn que fala que eu nao estou na ultima transformaçao sendo que eu estou, alguem me ajuda ae pf, esta acontecendo isso em 2 vocaçoes jiren e goku black <script do npc reborn> --_Goku Black_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 600 and getPlayerVocation(cid) == 510 then doReborn(cid,1,534,511) talk_state = 0 --_Jiren_-- elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 200 and getPlayerLevel(cid) <= 600 and getPlayerVocation(cid) == 520 then doReborn(cid,1,543,521) talk_state = 0 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <script da transformaçao> -- Goku Black [506] = { 50, 507, 534, 34}, [507] = { 150, 508, 535, 34}, [508] = { 200, 509, 536, 34}, [510] = { 50, 511, 534, 34}, [511] = { 100, 512, 537, 34}, [512] = { 200, 513, 538, 34}, [513] = { 400, 514, 540, 34}, [514] = { 600, 515, 541, 34}, -- Jiren [516] = { 50, 517, 544, 34}, [517] = { 150, 518, 545, 34}, [518] = { 200, 519, 545, 34}, [520] = { 50, 521, 545, 34}, [521] = { 100, 522, 546, 34}, [522] = { 200, 523, 547, 34}, [523] = { 400, 524, 548, 34}, [524] = { 600, 525, 548, 34} } >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <script de reverter> -- Goku Black [507] = { 0, 506, 542, 34}, [508] = { 0, 506, 542, 34}, [509] = { 0, 506, 542, 34}, [511] = { 0, 510, 534, 34}, [512] = { 0, 510, 534, 34}, [513] = { 0, 510, 534, 34}, [514] = { 0, 510, 534, 34}, [515] = { 0, 510, 534, 34}, -- Jiren [517] = { 0, 516, 545, 34}, [518] = { 0, 516, 545, 34}, [519] = { 0, 516, 545, 34}, [521] = { 0, 520, 545, 34}, [522] = { 0, 520, 545, 34}, [523] = { 0, 520, 545, 34}, [524] = { 0, 520, 545, 34}, [525] = { 0, 520, 545, 34} } >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> <script da vocaçao.xml> <!-- Transformações Goku Black --> <vocation id="506" name="Goku Black" description="Goku Black" needpremium="0" gaincap="150" gainhp="290" gainmana="310" gainhpticks="1" gainhpamount="1000" gainmanaticks="1" gainmanaamount="1000" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="506" lessloss="50" manager="0"> <formula meleeDamage="10.0" distDamage="5.0" wandDamage="1.0" magDamage="1.2" magHealingDamage="0.5" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/> </vocation> <vocation id="507" name="Goku Black" description="Goku Black" needpremium="0" gaincap="150" gainhp="290" gainmana="310" gainhpticks="1" gainhpamount="1000" gainmanaticks="1" gainmanaamount="1000" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="507" lessloss="50" manager="0"> <formula meleeDamage="50.0" distDamage="25.0" wandDamage="1.0" magDamage="1.4" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/> </vocation> <vocation id="508" name="Goku Black" description="Goku Black" needpremium="0" gaincap="150" gainhp="290" gainmana="310" gainhpticks="1" gainhpamount="1000" gainmanaticks="1" gainmanaamount="1000" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="508" lessloss="50" manager="0"> <formula meleeDamage="75.0" distDamage="37.5" wandDamage="1.0" magDamage="1.6" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/> </vocation> <vocation id="509" name="Goku Black" description="Goku Black" needpremium="0" gaincap="150" gainhp="290" gainmana="310" gainhpticks="1" gainhpamount="1000" gainmanaticks="1" gainmanaamount="1000" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="509" lessloss="50" manager="0"> <formula meleeDamage="100.0" distDamage="50.0" wandDamage="1.0" magDamage="1.8" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/> </vocation> <vocation id="510" name="Goku Black" description="Goku Black" needpremium="0" gaincap="150" gainhp="290" gainmana="310" gainhpticks="1" gainhpamount="1000" gainmanaticks="1" gainmanaamount="1000" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="510" lessloss="50" manager="0"> <formula meleeDamage="125.0" distDamage="62.5" wandDamage="1.0" magDamage="2.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/> </vocation> <vocation id="511" name="Goku Black [Reborn]" description="Goku Black [Reborn]" needpremium="0" gaincap="150" gainhp="290" gainmana="310" gainhpticks="1" gainhpamount="1000" gainmanaticks="1" gainmanaamount="1000" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="511" lessloss="50" manager="0"> <formula meleeDamage="25.0" distDamage="12.5" wandDamage="1.0" magDamage="1.4" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/> </vocation> <vocation id="512" name="Goku Black [Reborn]" description="Goku Black [Reborn]" needpremium="0" gaincap="150" gainhp="290" gainmana="310" gainhpticks="1" gainhpamount="1000" gainmanaticks="1" gainmanaamount="1000" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="512" lessloss="50" manager="0"> <formula meleeDamage="50.0" distDamage="25.0" wandDamage="1.0" magDamage="1.6" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/> </vocation> <vocation id="513" name="Goku Black [Reborn]" description="Goku Black [Reborn]" needpremium="0" gaincap="150" gainhp="290" gainmana="310" gainhpticks="1" gainhpamount="1000" gainmanaticks="1" gainmanaamount="1000" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="513" lessloss="50" manager="0"> <formula meleeDamage="75.0" distDamage="37.5" wandDamage="1.0" magDamage="1.8" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/> </vocation> <vocation id="514" name="Goku Black [Reborn]" description="Goku Black [Reborn]" needpremium="0" gaincap="150" gainhp="290" gainmana="310" gainhpticks="1" gainhpamount="1000" gainmanaticks="1" gainmanaamount="1000" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="514" lessloss="50" manager="0"> <formula meleeDamage="100.0" distDamage="50.0" wandDamage="1.0" magDamage="2.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/> </vocation> <vocation id="515" name="Goku Black [Reborn]" description="Goku Black [Reborn]" needpremium="0" gaincap="150" gainhp="290" gainmana="310" gainhpticks="1" gainhpamount="1000" gainmanaticks="1" gainmanaamount="1000" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="515" lessloss="50" manager="0"> <formula meleeDamage="150.0" distDamage="75.0" wandDamage="1.0" magDamage="2.2" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/> </vocation> <!-- Transformações Jiren --> <vocation id="516" name="Jiren" description="Jiren Black" needpremium="0" gaincap="150" gainhp="290" gainmana="310" gainhpticks="1" gainhpamount="1000" gainmanaticks="1" gainmanaamount="1000" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="516" lessloss="50" manager="0"> <formula meleeDamage="10.0" distDamage="5.0" wandDamage="1.0" magDamage="1.2" magHealingDamage="0.5" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/> </vocation> <vocation id="517" name="Jiren" description="Jiren Black" needpremium="0" gaincap="150" gainhp="290" gainmana="310" gainhpticks="1" gainhpamount="1000" gainmanaticks="1" gainmanaamount="1000" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="517" lessloss="50" manager="0"> <formula meleeDamage="50.0" distDamage="25.0" wandDamage="1.0" magDamage="1.4" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/> </vocation> <vocation id="518" name="Jiren" description="Jiren Black" needpremium="0" gaincap="150" gainhp="290" gainmana="310" gainhpticks="1" gainhpamount="1000" gainmanaticks="1" gainmanaamount="1000" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="518" lessloss="50" manager="0"> <formula meleeDamage="75.0" distDamage="37.5" wandDamage="1.0" magDamage="1.6" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/> </vocation> <vocation id="519" name="Jiren" description="Jiren Black" needpremium="0" gaincap="150" gainhp="290" gainmana="310" gainhpticks="1" gainhpamount="1000" gainmanaticks="1" gainmanaamount="1000" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="519" lessloss="50" manager="0"> <formula meleeDamage="100.0" distDamage="50.0" wandDamage="1.0" magDamage="1.8" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/> </vocation> <vocation id="520" name="Jiren" description="Jiren Black" needpremium="0" gaincap="150" gainhp="290" gainmana="310" gainhpticks="1" gainhpamount="1000" gainmanaticks="1" gainmanaamount="1000" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="520" lessloss="50" manager="0"> <formula meleeDamage="125.0" distDamage="62.5" wandDamage="1.0" magDamage="2.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/> </vocation> <vocation id="521" name="Jiren [Reborn]" description="Jiren Black [Reborn]" needpremium="0" gaincap="150" gainhp="290" gainmana="310" gainhpticks="1" gainhpamount="1000" gainmanaticks="1" gainmanaamount="1000" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="521" lessloss="50" manager="0"> <formula meleeDamage="25.0" distDamage="12.5" wandDamage="1.0" magDamage="1.4" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/> </vocation> <vocation id="522" name="Jiren [Reborn]" description="Jiren [Reborn]" needpremium="0" gaincap="150" gainhp="290" gainmana="310" gainhpticks="1" gainhpamount="1000" gainmanaticks="1" gainmanaamount="1000" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="522" lessloss="50" manager="0"> <formula meleeDamage="50.0" distDamage="25.0" wandDamage="1.0" magDamage="1.6" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/> </vocation> <vocation id="523" name="Jiren [Reborn]" description="Jiren [Reborn]" needpremium="0" gaincap="150" gainhp="290" gainmana="310" gainhpticks="1" gainhpamount="1000" gainmanaticks="1" gainmanaamount="1000" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="523" lessloss="50" manager="0"> <formula meleeDamage="75.0" distDamage="37.5" wandDamage="1.0" magDamage="1.8" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/> </vocation> <vocation id="524" name="Jiren [Reborn]" description="Jiren [Reborn]" needpremium="0" gaincap="150" gainhp="290" gainmana="310" gainhpticks="1" gainhpamount="1000" gainmanaticks="1" gainmanaamount="1000" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="524" lessloss="50" manager="0"> <formula meleeDamage="100.0" distDamage="50.0" wandDamage="1.0" magDamage="2.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/> </vocation> <vocation id="525" name="Jiren [Reborn]" description="Jiren [Reborn]" needpremium="0" gaincap="150" gainhp="290" gainmana="310" gainhpticks="1" gainhpamount="1000" gainmanaticks="1" gainmanaamount="1000" manamultiplier="1.1" attackspeed="1000" soulmax="200" gainsoulticks="15" fromvoc="525" lessloss="50" manager="0"> <formula meleeDamage="150.0" distDamage="75.0" wandDamage="1.0" magDamage="2.2" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.1" club="1.1" sword="1.1" axe="1.1" distance="1.1" shielding="1.1" fishing="1.0" experience="1.0"/> </vocation> -
[Encerrado] [PEDIDO] CASTLE ABRE SO DIA DE SABADO
um tópico no fórum postou Emanueldk Tópicos Sem Resposta
pessoal tem como adicionar um sistema em que o castle24h so vai abrir todos os sobados, isso com action id ou unique id para botar no piso e se alguem for tentar invadir que nao seja no sabado mandar uma mensagem, O Castelo Só Se Abrirá Dia De Sábados, e quando chegar no sabado que as guild forem invadir mandar uma mensagem como alguns baiak que avisam quem estar invadindo o castle24h, O Jogador x Esta Invadindo O Castle24h Para A Guild x Detenham-los, em baixo vou deixar os scripts 2 arquivos localizados em Actions castledoor1.lua --------------- -----BY PC98------- --------------- function onUse(cid, item, frompos, item2, topos) -------------------------Config----------------------------------------------------------------- door_opened = 1230 -- ID da porta aberta storage_guild = getGlobalStorageValue(123123) -- A 3ª storage configurada em Castle.lua guarda_ativ = 1 -- Caso um invasor tente abrir a porta, sumonar o Monstro "Guarda"?? | (0) = SIM (1) = NAO guarda_cont = 2 -- Caso ativo: a quantidade de guardas a sumonar guarda_pos = {x=900,y=1194,y=7} -- Posiçao a ser sumonada os guardas! -------------------------Fim de Config----------------------------------------------------------- if getPlayerGuildId(cid) == storage_guild then doTeleportThing(cid,getThingPos(item.uid)) doTransformItem(item.uid, door_opened) doPlayerSendTextMessage(cid, 22, "Seja Bem Vindo Ao Vosso Castelo!") return TRUE else if guarda_ativ == 1 then doPlayerSendTextMessage(cid, 22, "Este Castelo Nao Pertence A Sua Guild") for i=1, guarda_cont do end return FALSE else doPlayerSendTextMessage(cid, 22, "Este Castelo Nao Pertence A Sua Guild") return FALSE end end end >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> castlewar.lua ----------------------------------- ---------SCRIPT por PC98------------ NAO REMOVA OS CREDITOS ----------------------------------- function onUse(cid, item, frompos, item2, topos) ------------------ Inicio das Config ------------ local castle_one_name = "Castle24HRS" -- Nome do castelo 1 local storages = {154154,54321,123123} -- Storages ( se vc eh iniciante, deixe como está...) -------PREMIOs I N D I V I D U A L --------- local premio_por_vezes = 0 -- Premio por vezes de conquista de castelo. (1) = Ativo (0) = Desativa. local premio_vezes = 1500 -- Caso ativo, a quantidade de conquista que o player tem, para ganhar PREMIO. local premio = 5957 -- ID do Premio local premio_cont = 1 -- Quantidade do Premio local premio_reset = 1 -- Resetar o contador do premio depois que atingir a meta?? (1) = SIM (0) = NAO -------FIM PREMIOs I N D I V I D U A L --------- ----------------- FIM DAS CONFIG ----------------- local sto_ativ = getGlobalStorageValue(storages[2]) position = getCreaturePosition(cid) local teleport = {x=1349, y=1504, z=7} if isPlayerGuild(cid) == TRUE then if sto_ativ == 1 or sto_ativ == -1 then guildname = getPlayerGuildName(cid) guild = getPlayerGuildId(cid) guild_sto = getGlobalStorageValue(storages[3]) if guild ~= guild_sto then setPlayerStorageValue(cid,guild_sto,guild) if getPlayerStorageValue(cid,storages[1]) == -1 then setPlayerStorageValue(cid,storages[1],0) end sto_vezes = getPlayerStorageValue(cid,storages[1]) setGlobalStorageValue(storages[3],getPlayerGuildId(cid)) setPlayerStorageValue(cid,storages[1], sto_vezes + 1) sto_vezes_total = getPlayerStorageValue(cid,storages[1]) doBroadcastMessage("[Castle24HRS] O(a) Jogador(a) "..getCreatureName(cid).." Acabou De Conquistar O "..castle_one_name.." Para A Guild \""..guildname.."\" Pela "..sto_vezes_total.."ª Vez. Premio: 20% A Mais De Exp.", 22) doCreatureSay(cid, "[Castle24HRS] Sua Guild Ganhou 20% A Mais De Experiencia, Relogue Para Ativar!", TALKTYPE_ORANGE_1) doSendMagicEffect(position, 39) if premio_por_vezes == 1 then if getPlayerStorageValue(cid,storages[1]) == premio_vezes then if getItemWeightById(premio,1) <= getPlayerFreeCap(cid) then doBroadcastMessage("[NewhaCastle] O "..getCreatureName(cid).." ganhou uma(o) "..getItemNameById(premio).." como recompensa das suas "..premio_vezes.." conquistas!", 21) doPlayerAddItem(cid, premio,premio_cont) doPlayerSendTextMessage(cid, 18, "[Castle24HRS] Voce recebeu o(a) "..getItemNameById(premio).." como recompensa das suas "..premio_vezes.." conquistas!") ----------------------------------------------- -- if premio_reset == 1 then -- setPlayerStorageValue(cid,storages[1],0) -- Resetar a contagem end -- ----------------------------------------------- -- else doPlayerSendTextMessage(cid, 18, "[Castle24HRS] Voce nao tem capacidade para ganhar o item. Vamos verificar novamente em 10 segundos!") addEvent(additem,10000,cid,premio,premio_cont,premio_reset) end end end else doPlayerSendCancel(cid,"[Castle24HRS] Este Castelo Ja Foi Conquistado Pela Sua Guild!") doSendMagicEffect(position, 2) end else doPlayerSendCancel(cid,"[Castle24HRS] O Sistema Esta Desativado") end else doPlayerSendCancel(cid,"[Castle24HRS] É Nescessario Ter Uma Guild Para Dominar O Castelo!") doSendMagicEffect(position, 2) end end ------------------------- por pc98 function additem(cid,premio,premio_cont,premio_reset) if getItemWeightById(premio,1) <= getPlayerFreeCap(cid) then doPlayerAddItem(cid, premio,premio_cont) doPlayerSendTextMessage(cid, 18, "[Castle24HRS] Voce recebeu o(a) "..getItemNameById(premio).." como recompensa das suas "..premio_vezes.." conquistas!") if premio_reset == 1 then setPlayerStorageValue(cid,storages[1],0) end stopEvent(additem) else doPlayerSendTextMessage(cid, 18, "[Castle24HRS] Voce nao tem capacidade para ganhar o item. Verificando novamente em 10 segundos!") addEvent(additem,10000,cid) end end ------------------------- por pc98 function isPlayerGuild(cid) if getPlayerGuildName(cid) ~= "" then return TRUE else return FALSE end end >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> script localizado em Movements esse script \/ nao avisa quando tem gente invadindo castlewar2.lua function onStepIn(cid, item, position, fromPosition) local n, g = getCreatureName(cid), getPlayerGuildName(cid) if getPlayerGuildId(cid) == 0 then doPlayerSendCancel(cid, "[Castle24HRS] Apenas Jogadores Com Guild E Acima De Level 300 Podem Entrar Nessa Zona.") doTeleportThing(cid, fromPosition, false) return true end if getPlayerStorageValue(cid, 9952) - os.time() < 1 then setPlayerStorageValue(cid, 9952, os.time() + 250 * 1000) broadcastMessage(n .." Esta Invadindo O [Castle24HRS24hrs] Para A Guild [" .. g .. "].", MESSAGE_STATUS_WARNING) end return true end >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> -
[Encerrado] [AJUDA] REMOVER CODIGOS MODERN ACC
um tópico no fórum postou Emanueldk Tópicos Sem Resposta
como remover os codigos da senha do phpmyadmin, ao invez de aparecer o password aparece codigos -
-
[Encerrado] [PEDIDO] PROIBIDO USAR MAGIA EM TAL LUGAR
um tópico no fórum postou Emanueldk Tópicos Sem Resposta
galera alguem poderia desenvolver um script que impede de alguem usar shunkanido ou teleport em tal area? pq eu botei o castler 24h em meu servidor de dbo e se eles usaram essas tecnicas nao terá graça né, dou rep+ pra quem me ajudar -
[Resolvido] [PEDIDO] PAGINA PARA MODERN ACC
pergunta respondeu ao Emanueldk de Emanueldk em Resolvidos
vlw -
[Resolvido] [PEDIDO] PAGINA PARA MODERN ACC
pergunta respondeu ao Emanueldk de Emanueldk em Resolvidos
vlw brother, esqueci de por o tfs, e sim ele é 0.4 -
pessoal eu tou com um pequeno problema em desenvolver 2 tipos de paginas para meu site modern acc, se algum de voces puderem me ajudar, cara ficarei muito feliz 1° uma pagina que mostra quem da staff ta on pode ser qualquer um Tutor, Senior Tutor, GM, GOD e se alguem novo entrasse para a staff a pagina adicionar o nome dele, ou eu ter que adicionar o nome na pagina. 2° uma pagina que mostra os comandos que alguem da staff usou, e também mostrasse o dia e a hora que ele usou alguem me ajuda pf?
-
[Encerrado] ALGUEM ME AJUDA A CONFIGURAR O EXP DO MEU DBO
um tópico no fórum postou Emanueldk Tópicos Sem Resposta
alguem me fala onde é que eu mexo no exp do meu ot "dbo" pq ta muito dificil de upar, e eu também peço que me falem o x que é pra botar pq eu nao manjo nisso tipo, eu nao quero que upe muito rapido e que nao seja muito dificil de upar, entao me ajudem ae pf -
é possivel fazer ums script de invasao automatica? mais de um modo modificado, tipo em tal dia e tal hora irá acontecer essa invasao na cidade e deixara o pvp desligado para que ninguem morra para os player apenas para os bixos, e essa invasao tera uma quantidade de bixo espalhada pelo mapa e quando os bixos morrer ligar o pvp de volta
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.