TekaZudo
seuserver.com.br
DESCRIÇÃO
Anuncie aqui neste countdown e dê maior visibilidade ao seu lançamento |
Full Global • Custom Quests • Custom Outfits • Lottery System • Version 15x
Inicia em:
--
Participar
Tudo que Tricoder postou
-
[Ajuda] Senhas, Sample e Lv inicial
@RXSora, vi agora seu tópico. Você conseguiu resolver suas dúvidas? Se não, avise que eu te ajudo!
-
Ja se tem link de tibia mc 10.82 ?
@goiabinhazero, por enquanto não!
-
[duvida] na hora de vender loot..
E que bot você usa?
-
Alguem me ajuda com esse mapa
@Enzoo, http://www.tibiaking.com/forum/topic/2464-maptracker-81-ate-871/ http://www.tibiaking.com/forum/forum/115-otservs-86x/--- Verifique nessa seção, há vários baiaks e talvez melhores do que este.
-
Tibia.dat erro RME
Está usando a versão extended? Lembrando que tem que passar o item.xml do seu server para a pasta 8.54 do mapa editor e abri-lo com o client do seu server.
-
Erros e Bugs no ot ..
Rode isso no MYSQL CREATE TABLE `guild_invites` ( `player_id` INT NOT NULL DEFAULT 0, `guild_id` INT NOT NULL DEFAULT 0, UNIQUE (`player_id`, `guild_id`), FOREIGN KEY (`player_id`) REFERENCES `players`(`id`) ON DELETE CASCADE, FOREIGN KEY (`guild_id`) REFERENCES `guilds`(`id`) ON DELETE CASCADE ) ENGINE = InnoDB; Vou tentar te ajudar por etapas. Veja se resolve o último erro.
-
[Dúvida] Bot 10.81
Também estou procurando.
-
[GESIOR 2012] Sistema de Coupom - Coupon System
Descrição Como funciona? O admin do site terá a opção de gerar um código de cupom que da x quantidade de points. Ele apenas coloca a quantidade de points que deseja gerar e então, surgirá a key para o player usar e obter os points. _______________________________________ Coupon System Execute no MySQL query: SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO"; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8 */; CREATE TABLE IF NOT EXISTS `__cornex_redeem` ( `id` int(11) NOT NULL AUTO_INCREMENT, `points` int(11) NOT NULL, `used_by` int(11) NOT NULL DEFAULT '0', `time` int(11) NOT NULL, `code` varchar(100) NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; Crie um arquivo chamado admincoupon.php dentro do diretório /pages/ <?php if(!defined('INITIALIZED')) exit; if($group_id_of_acc_logged >= $config['site']['access_admin_panel']){ function serialKey() { $chars = array_merge(range(0, 9), range('A', 'Z')); $serial = ''; $max = count($chars)-1; for($i=0;$i<20;$i++){ $serial .= (!($i % 5) && $i ? '-' : '').$chars[rand(0, $max)]; } return $serial; } if (isset($_POST['points'])) { $error = false; $points = $_POST['points']; if (empty($points)) { $error[] = "<font color='red'>Field cannot be empty</font>"; } if (!is_numeric($points)) { $error[] = "<font color='red'>Must be a number value</font>"; } if (!empty($error)) { foreach ($error as $err) { $main_content .=''.$err.'<br>'; } } if (empty($error)) { // Success $key = serialKey(); $SQL->query('INSERT INTO `__cornex_redeem` (`code`, `points`, `used_by`, `time`, `ip`) VALUES ('.$SQL->quote($key).','.$points.', 0, 0, 0)'); echo '<p><b>Key generated</b><font color="red">: '.$key.'</font></p>'; } } $main_content .= ' <form class="ui form" action="" method="POST"> <div class="six wide field"> <label>Points</label> <input type="text" name="points" placeholder="Amount of points for this code"> </div> <input class="ui submit button" type="submit" value="Create code"> </form>'; } else { $main_content .= ' <div class="ui warning message"> <div class="header"> You dont have permission to do that! </div> </div> '; } Salve o arquivo. Agora crie um arquivo chamado redeem.php novamente dentro do diretório /pages/ <?php if(!defined('INITIALIZED')) exit; if($logged){ if(isset($_POST['code'])) { $code = $SQL->quote($_POST['code']); $query = $SQL->query('SELECT * FROM `__cornex_redeem` WHERE `code` = '.$code.' LIMIT 1;'); // Key exist in database if ($query->rowCount() >= 1) { // $query = $query[0]; $result = $query->fetchAll(PDO::FETCH_ASSOC)[0]; if ($result['used_by'] > 0) { $error[] = 'Key has already been used'; } if (!empty($error)) { foreach ($error as $err) { echo $err.'<br>'; } } if (empty($error)) { $time = time(); $code = $result['code']; $points = $result['points']; $querys = sprintf('UPDATE `__cornex_redeem` SET `time`='.time().', `used_by`='.$account_logged->getId().' WHERE `code`="'.$result['code'].'" '); $SQL->query($querys); $account_logged->setPremiumPoints($account_logged->getPremiumPoints() + $points); $account_logged->save(); echo 'Amount of '.$points.' points has been added to your account!'; } } else { echo 'Key is not valid'; } } $accid = $account_logged->getID(); $main_content .= ' <form action="" method="POST"> <input type="text" name="code"> <input type="submit" value="Redeem"> </form>'; } else { $main_content .= ' <div class="ui warning message"> <div class="header"> You dont have permission to do that! </div> </div> '; } Salve o arquivo. Abra layouts/tibiarl/layout.php Para admins gerar cupons <?PHP if($group_id_of_acc_logged >= $config['site']['access_admin_panel']){ ?> <a href="?subtopic=admincoupon"> <div id="submenu_admincoupon" 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_admincoupon" class="ActiveSubmenuItemIcon" style="background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);"></div> <div id="ActiveSubmenuItemLabel_admincoupon" class="SubmenuitemLabel">Coupons</div> <div class="RightChain" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);"></div> </div> </a> <?php } ?> Para players obter points através de cupons <a href="?subtopic=redeem"> <div id="submenu_redeem" 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_redeem" class="ActiveSubmenuItemIcon" style="background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);"></div> <div id="ActiveSubmenuItemLabel_redeem" class="SubmenuitemLabel">Redeem a coupon</div> <div class="RightChain" style="background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);"></div> </div> </a> ___________________________________ Créditos Cornex raf ___________________________________ OBS. IRIA POSTAR PRA ZNOTE AAC MAS NÃO SEI SE JÁ HÁ AQUI, ENTÃO PRA EVITAR, NÃO POSTEI. CASO NÃO TENHA, ME AVISE E EU EDITO O POST.
-
O meu Shop do site do meu servidor está bugado
Que gesior é esse homi?? Tem algo além disso do Shop que está bugado? Tu baixou daqui?
-
[HOTKEY] Repor spears, stars ou qualquer tipo de munição
Script auto 200 refillammo Créditos Elfbot Brasil
-
[HOTKEY] Falar no trade automaticamente
Script auto 200 listas "Auto Trade" | sayin 'Trade' MENSAGEM | wait $rand.[2*60*1000].[3*60*1000] Créditos Elfbot Brasil
-
[HOTKEY] Deixar seu Outfit FULL
Script auto 200 setoutfitcolor '$name' $self.color1 $self.color2 $self.color3 $self.color4 3 Créditos Elfbot Brasil
-
[HOTKEY] Jogar "Great Mana Potion" usadas no chão
Script auto 1 dropitems 284 0 Créditos Elfbot Brasil
-
[HOTKEY] Cercando um inimigo com Magic Wall
Script auto 10 if [$mostshotcount.'enemy' >= 5] { set $shotfriend $mostshot.'enemy' | mwallcover $shotenemy.id | wait 1990 } Créditos Elfbot Brasil
-
[HOTKEY] Mostrar informaçoes na tela do Tibia (Exp - Exp/Hora - Tempo Restante (+)
Script auto 100 dontlist | setcaption '$name l Exp para upar: $exptnl l Exp/Hora: $exph l Tempo Restante : $formattime.$timetnl l Exp ganha nessa seção: $expgained l Tempo Jogado: $formattime.$deltatime' Créditos Elfbot Brasil
-
[HOTKEY] Tirar ss da pessoa que você matar
Script auto 100 if [$target.isplayer && $target.isonscreen && $target.hppc <= 1] savescreen Créditos Elfbot Brasil
-
[HOTKEY] Paralyze no target
Script auto 200 attack target | paralyze target | wait 300 Créditos Elfbot Brasil
-
[HOTKEY] Atacar com SD quando não estiver usando great potion
Script auto 100 if [$mppc <= 75] { while [$mppc < 90] { if [$lastmsg.content ? 'sudden death runes'] { end } gmana self | wait 1500 } } Créditos Elfbot Brasil
-
[HOTKEY] Atacar com "Exori Gran" quando não tiver player na tela e Atacar "Exori Hur" com player na tela
Script auto 100 if [$playersaround.10 == 0 && $monstersaround.1 >= 1] { istargeting say 'Exori Gran' } | if [$playersaround.10 >= 1] { istargeting say 'Exori Hur'} Créditos Elfbot Brasil
-
[HOTKEY] Atacar com qualquer magia no Target quando tiver mais de 20 de mana
Script auto 100 if [$mp >= 20] istargeting say 'NOME DA MAGIA AQUI' Créditos Elfbot Brasil
-
[HOTKEY] Usar avalanche se tiver mais de 3 monstros te atacando
Script auto 100 if [$mcount."$m.distance <= 7" >= 3] {useoncreature 3161 self | wait 900} Créditos Elfbot Brasil
-
[HOTKEY] Dar follow no amigo e atacar os bixos ao mesmo tempo
Script auto 100 isnottargeting {if [$followed.name != 'yourfriendname'] follow 'yourfriendname'} Créditos Elfbot Brasil
-
[HOTKEY] Atacar SD no target quando ele tiver X HP
Script auto 100 if [$target.hp < X && $target.haslookinfo] sd target Créditos Elfbot Brasil
-
[HOTKEY] Revidar PK (Revidar quando alguém te atacar)
Script auto 100 ifplayerattacking {if [$fileisline.'safelistpk.txt'.'$pk.name' == 0 && $pk.name != $name && $target != $pk] attack $pk.id} ou auto 1 listas 'Revidar Player' | seticontext 'Revidar' Player' | isnottargeting {if ?$attacker.isplayer] {attack $attacker.name | wait 5} Créditos Elfbot Brasil
-
[TUTORIAL] Abrir depot e mover item para uma backpack
Video Script { reachgrounditem dp | wait 1000 | end } { opengrounditem 3500 | opengrounditem 3499 | opengrounditem 3498 | opengrounditem 3497 | end } wait [$rand.500.1300] { openitemnew IDPACKPACK 1 'Locker' | end } {set $deposit 1 | wait 7000 | set $deposit 0} ---------------------- auto 1 dontlist | if [$deposit == 1] { moveitems ID 'NOME DA BACKPACK' | moveitems ID² 'NOME DA BACKPACK' | moveitems ID³ 'NOME DA BACKPACK' | end } Créditos Elfbot Brasil