Ir para conteúdo

Tricoder

Héroi
  • Registro em

  • Última visita

Tudo que Tricoder postou

  1. Screenshot Instalando Coloque onde você quiser no characterprofile.php; <?php /*/ / Znote AAC 1.4+ detailed character info (HP, MP, lvL, Exp, skills) / HTML code based on code from Gesior /*/ $tableWidth = 540; if ($config['TFSVersion'] != 'TFS_10') { $playerData = mysql_select_multi("SELECT `value` FROM `player_skills` WHERE `player_id`='$user_id' LIMIT 7;"); $playerData['fist'] = $playerData[0]['value']; unset($playerData[0]); $playerData['club'] = $playerData[1]['value']; unset($playerData[1]); $playerData['sword'] = $playerData[2]['value']; unset($playerData[2]); $playerData['axe'] = $playerData[3]['value']; unset($playerData[3]); $playerData['dist'] = $playerData[4]['value']; unset($playerData[4]); $playerData['shield'] = $playerData[5]['value']; unset($playerData[5]); $playerData['fish'] = $playerData[6]['value']; unset($playerData[6]); $player = mysql_select_single("SELECT `health`, `healthmax`, `mana`, `manamax`, `experience`, `maglevel`, `level` FROM `players` WHERE `id`='$user_id' LIMIT 1;"); $playerData['magic'] = $player['maglevel']; $playerData['exp'] = array( 'now' => $player['experience'], 'next' => (int)(level_to_experience($player['level']+1) - $player['experience']), 'percent' => (int)(($player['experience'] - level_to_experience($player['level'])) / (level_to_experience($player['level']+1) - $player['experience']) * 100) ); $playerData['health'] = array( 'now' => $player['health'], 'max' => $player['healthmax'], 'percent' => (int)($player['health'] / $player['healthmax'] * 100), ); $playerData['mana'] = array( 'now' => $player['mana'], 'max' => $player['manamax'], 'percent' => (int)($player['mana'] / $player['manamax'] * 100), ); } else { $player = mysql_select_single("SELECT `health`, `healthmax`, `mana`, `manamax`, `experience`, `skill_fist`, `skill_club`, `skill_sword`, `skill_axe`, `skill_dist`, `skill_shielding`, `skill_fishing`, `maglevel`, `level` FROM `players` WHERE `id`='$user_id' LIMIT 1;"); $playerData = array( 'fist' => $player['skill_fist'], 'club' => $player['skill_club'], 'sword' => $player['skill_sword'], 'axe' => $player['skill_axe'], 'dist' => $player['skill_dist'], 'shield' => $player['skill_shielding'], 'fish' => $player['skill_fishing'], 'magic' => $player['maglevel'], 'exp' => array( 'now' => $player['experience'], 'next' => (int)(level_to_experience($player['level']+1) - $player['experience']), 'percent' => (int)(($player['experience'] - level_to_experience($player['level'])) / (level_to_experience($player['level']+1) - $player['experience']) * 100) ), 'health' => array( 'now' => $player['health'], 'max' => $player['healthmax'], 'percent' => (int)($player['health'] / $player['healthmax'] * 100), ), 'mana' => array( 'now' => $player['mana'], 'max' => $player['manamax'], 'percent' => (int)($player['mana'] / $player['manamax'] * 100), ) ); } // Incase they have more health/mana than they should due to equipment bonus etc if ($playerData['exp']['percent'] > 100) $playerData['exp']['percent'] = 100; if ($playerData['health']['percent'] > 100) $playerData['health']['percent'] = 100; if ($playerData['mana']['percent'] > 100) $playerData['mana']['percent'] = 100; //data_dump($playerData, false, "Player Data"); ?> <!-- PLAYER SKILLS TABLE --> <table cellspacing="1" cellpadding="4" style="width: <?php echo $tableWidth; ?>px;"> <tr class="yellow"> <th>Fist</th> <th>Club</th> <th>Sword</th> <th>Axe</th> <th>Dist</th> <th>Shield</th> <th>Fish</th> <th>Magic</th> </tr> <tr> <td bgcolor="#D4C0A1" align="left"> <?php echo $playerData['fist']; ?> </td> <td bgcolor="#D4C0A1" align="left"> <?php echo $playerData['club']; ?> </td> <td bgcolor="#D4C0A1" align="left"> <?php echo $playerData['sword']; ?> </td> <td bgcolor="#D4C0A1" align="left"> <?php echo $playerData['axe']; ?> </td> <td bgcolor="#D4C0A1" align="left"> <?php echo $playerData['dist']; ?> </td> <td bgcolor="#D4C0A1" align="left"> <?php echo $playerData['shield']; ?> </td> <td bgcolor="#D4C0A1" align="left"> <?php echo $playerData['fish']; ?> </td> <td bgcolor="#D4C0A1" align="left"> <?php echo $playerData['magic']; ?> </td> </tr> </table> <!-- PLAYER INFO TABLE --> <table cellspacing="1" cellpadding="4" style="width: <?php echo $tableWidth; ?>px;"> <tr> <td bgcolor="#F1E0C6" align="left" width="20%"> <b>Player HP:</b> </td> <td bgcolor="#F1E0C6" align="left"> <?php echo $playerData['health']['now'].'/'.$playerData['health']['max']; ?> <div style="width: 100%; height: 3px; border: 1px solid #000;"> <div style="background: red; width: <?php echo $playerData['health']['percent']; ?>%; height: 3px;"> </div> </div> </td> </tr> <tr> <td bgcolor="#D4C0A1" align="left"> <b>Player MP:</b> </td> <td bgcolor="#D4C0A1" align="left"> <?php echo $playerData['mana']['now'].'/'.$playerData['mana']['max']; ?> <div style="width: 100%; height: 3px; border: 1px solid #000;"> <div style="background: blue; width: <?php echo $playerData['mana']['percent']; ?>%; height: 3px;"> </div> </div> </td> </tr> <tr> <td bgcolor="#D4C0A1" align="left"> <b>Player XP:</b> </td> <td bgcolor="#D4C0A1" align="left"> <?php echo number_format($playerData['exp']['now'], 0, "", " "); ?> Experience. </td> </tr> <tr> <td bgcolor="#F1E0C6" align="left"> <b>To Next Lvl:</b> </td> <td bgcolor="#F1E0C6" align="left"> Need <b><?php echo number_format($playerData['exp']['next'], 0, "", " "); ?> experience (<?php echo 100-$playerData['exp']['percent']; ?>%)</b> to Level <b><?php echo $player['level']+1; ?></b>. <div title="99.320604545 %" style="width: 100%; height: 3px; border: 1px solid #000;"> <div style="background: red; width: <?php echo $playerData['exp']['percent']; ?>%; height: 3px;"></div> </div> </td> </tr> </table> <!-- END detailed character info --> Créditos: znote
  2. No próprio link que passei já informa. Altere player:addExperience(x.exp) Para player:addMount(mountId) Entre parenteses coloque o id
  3. http://www.tibiaking.com/forum/topic/56686-sistema-de-task-mounts/#entry333458
  4. Introdução Versão: 7.6 à 10.79. Utilize o tibia.dat e tibia.spr originais. Você poderá baixar versões do Tibia neste link. items.otb oficiais. ATENÇÃO Para todos aqueles que usam mapas RL, antes de fazer quaisquer alterações ao item.otb e items.xml do RME, é recomendável arrumar seu mapa, porque os mapas disponibilizados em alguns fóruns, dependendo de sua versão, podem trazer futuros problemas por terem sido modificados em outros map editor. Requisitos Microsoft Visual C++ 2010: Windows 32B | Windows 64B Microsoft Visual C++ 2011/12: Windows 32B & 64B Microsoft Visual C++ 2013: Windows 32 & 64B Versão antiga 10.76 do items.otb RME items.otb oficial 10.78/10.79 Download | Scan | Sources Créditos hjnilsson - Sources Kruger Developers - items.otb + actualização ricker75 - Disponibilização Larissa Azhaurn - Tópico e Scan.
  5. local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local talkState = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid) npcHandler:onCreatureDisappear(cid) end function onCreatureSay(cid, type, msg) npcHandler:onCreatureSay(cid, type, msg) end function onThink() npcHandler:onThink() end function creatureSayCallback(cid, type, msg) if not npcHandler:isFocused(cid) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid local price = xxx --Preço para trocar de sexo. if msgcontains(msg:lower(), "change") or msgcontains(msg:lower(), "sex") then selfSay("Do you wanna change your sex? It will cost {"..price.." gold}.", cid) talkState[talkUser] = 1 return true elseif msgcontains(msg:lower(), "yes") and talkState[talkUser] == 1 then if doPlayerRemoveMoney(cid, price) then doPlayerSetSex(cid, getPlayerSex(cid) == 0 and 1 or 0) selfSay("You sucefully changed your sex.", cid) talkState[talkUser] = 0 return true else selfSay("You do not have enough gold.", cid) talkState[talkUser] = 0 return true end elseif msgcontains(msg:lower(), "no") and talkState[talkUser] == 1 then selfSay("Ok, bye.", cid) talkState[talkUser] = 0 return true end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) Script: zipter98
  6. Tricoder postou uma resposta no tópico em Suporte Tibia OTServer
    Tente colocando o IP Fixo do config.lua
  7. Baixe um outro servidor que não dê erro da mesma versão e transfira as pastas data/lib e data/npc/lib para o do seu servidor. (terá que substitutir)
  8. Tricoder postou uma resposta no tópico em Suporte Tibia OTServer
    Memória RAM.
  9. Tricoder postou uma resposta no tópico em Suporte Tibia OTServer
    Memória do seu computador é baixa. E precisa atualizar seu Windows, pra versão mais recente, 64 Bits.
  10. Mude o título de seu tópico para "Como montar servidor narutibia nto?" Sobre seu pedido, basta usar a ferramenta Pesquisar. http://www.tibiaking.com/forum/topic/23195-854-naruto-seven-client-descompilado-download/ http://www.tibiaking.com/forum/topic/13457-854-naruto-atarashi-online-v1-beta/ http://www.tibiaking.com/forum/topic/22825-854-naruto-online-shinobi/ http://www.tibiaking.com/forum/topic/15730-854-naruto-legend/ http://www.tibiaking.com/forum/topic/29464-server-nto/
  11. Tente trocar por essa database: https://www.mediafire.com/?pnh9ew7vxr6m7eb
  12. Afinal, que script foi usado no texto.lua?
  13. Não tenho muito conhecimento nessa parte mas vou tentar te ajudar. creaturescripts <event type="kill" name="PlayerKill" event="script" value="arenakill.lua"/> arenakill.lua function onKill(cid, target) local room = getArenaMonsterIdByName(getCreatureName(target)) if room > 0 then setPlayerStorageValue(cid, room, 1) doPlayerSendTextMessage(cid,MESSAGE_EVENT_DEFAULT,'Voce pode entrar na proxima sala !') end return TRUE end login.lua (depois do último registercreature) if (InitArenaScript ~= 0) then InitArenaScript = 1 for i = 42300, 42309 do setGlobalStorageValue(i, 0) setGlobalStorageValue(i+100, 0) end end if getPlayerStorageValue(cid, 42309) < 1 then for i = 42300, 42309 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42319) < 1 then for i = 42310, 42319 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42329) < 1 then for i = 42320, 42329 do setPlayerStorageValue(cid, i, 0) end end if getPlayerStorageValue(cid, 42355) == -1 then setPlayerStorageValue(cid, 42355, 0) end setPlayerStorageValue(cid, 42350, 0) setPlayerStorageValue(cid, 42352, 0) return true end
  14. Tricoder postou uma resposta no tópico em Mapas de Tibia
    Tamanho: 64 KB. Categoria: Mapa. Versão: 10.10 Créditos: hellpsy Download: Trojan TibiaKing.com.rar Scan: VirusTotal Screenshot;
  15. Tricoder postou uma resposta no tópico em Mapas de Tibia
    Tamanho: 72 KB. Categoria: Mapa. Versão: 10.31 Créditos: Slec Download: Elves TibiaKing.com.rar Scan: VirusTotal Screenshot;
  16. Tricoder postou uma resposta no tópico em Mapas de Tibia
    Tamanho: 14 KB. Categoria: Mapa. Versão: 10.10 Créditos: hellpsy Download: poop TibiaKing.com.rar Scan: VirusTotal Screenshot;
  17. Tricoder postou uma resposta no tópico em Mapas de Tibia
    Tamanho: 290 KB. Categoria: Mapa. Versão: 10.10 Créditos: Neon Download: Jungle Ruins TibiaKing.com.rar Scan: VirusTotal Screenshot;
  18. Tricoder postou uma resposta no tópico em Mapas de Tibia
    Tamanho: 27 KB. Categoria: Mapa. Versão: 10.31 Créditos: Slec Download: banshee TibiaKing.com.rar Scan: VirusTotal Screenshot;
  19. Tricoder postou uma resposta no tópico em Mapas de Tibia
    Categoria: Mapa. Versão: 10.x Créditos: Oldschool'er Download: bank TibiaKing.com.rar Scan: VirusTotal
  20. Tricoder postou uma resposta no tópico em Mapas de Tibia
    Categoria: Mapa. Versão: 10.x Créditos: Oldschool'er Download: boat TibiaKing.com.rar Scan: VirusTotal Screenshot;
  21. Categoria: Mapa. Versão: 10.10 Créditos: zkum Download: rook TibiaKing.com.rar Scan: VirusTotal Screenshot;
  22. Categoria: Mapa. Versão: 10.10 Créditos: zkum Download: abtracks TibiaKing.com.rar Scan: VirusTotal Screenshot;
  23. Magina! Tente alterando pra isso:
  24. Tricoder postou uma resposta no tópico em Suporte Tibia OTServer
    Baixe o arquivo: lib.rar ou esse, caso não funcione: lib.rar Vá em data/npc Apague a pasta "lib" e extraia o arquivo baixado para o mesmo diretório (data/npc) Se seu problema foi resolvido, marque esse post como melhor resposta. Se não foi, avise que tentarei ajudá-lo.

Informação Importante

Confirmação de Termo