Líderes
-
-
-
-
EdsonJunior
HéroiPontos2325Total de itens
Conteúdo Popular
Exibindo conteúdo com a maior reputação em 09/25/15 em todas áreas
-
[8.54] PokeCyan [ Editado By Senhor] Atualizado 3.0 2016
Boa Noite , Boa Tarde ou Bom Dia TK's não sei a hora que vocês vão ver o Tópico Estava com meu Projeto do "Pokemon H" Fiz várias Ediçoes no Servidor Que Baixei aqui no Tibia King Mesmo e vim disponibilizá-los para vocês. Então bora ao que interessa né? • Menu: ├ Informações; ├ Edições; ├ Erros; ├ Prints; ├ Mapa ├ Download; ├ Atualização; ├ Utilitários; └ Créditos. • Informações Básicas • • Edições / Ajustes • • Erros do Servidor • • Prints• • MAPA • • Downloads • Cliente * MediaFire e Scan Servidor * MediaFire e Scan • Download Atualização 2.0 • Download: https://www.mediafire.com/?ik211gku2hdqz2t Scan : • Download Atualização 3.0 • 2016 OBS: NÃO TERÁ MAIS EDIÇÕES. • Utilitários • Remeres que usei pra editar: AQUI • Créditos • Brun Por Criar o Servidor Slicer Por Editar o Servidor Mulurka (pelas out) Stylo pelo tuto do ícone system noninhu por ajudar em alguns spells tem 2 caras tbm eu eskeci o nome deles agora que ajudaram 1 com as insignias na barra de skill e o outrio pelas scripts da liga pokemon dandanrvb pelas scripts do icone system erondino por algumas caves ih é só bjundão a all Vudi (Eu) Por editar o resto do servidor e trazer as novidades Tioj Pelas edições e Por fazer eu copiar a organização do tópico dele kk obg Kuuhaku pela cave dos geot . Held Itens By Gabriel Sales Gabriel Sales AnnaFeeh pelo script do ditto system pxg Obs: Se Está faltando algum crédito me avise pra mim colocar ( Não sei se está faltando algum) Obs: Qualquer Outra Duvida Estarei de Suporte no Tópico Obs: SENHA GOD/GOD OBS : Se Pegar o Servidor e Postar em Outro Fórum sem as minhas permissão vou pedir para o dono do forum ou site retirar o conteúdo . (Esse Conteúdo é exclusivo do TibiaKing obrigado) Se ajudei Já sabe né1 ponto
-
Versões antigas TibiaBot NG
Versões antigas TibiaBot NG
Gangrel reagiu a Iuri Machado por uma resposta no tópico
1 pontoFala ae galera, boa/bom dia/tarde/noite, vim trazer algumas versões antigas do Tibiabot NG, eu encontrei o link no google, era de um forum PL, bem famoso, e todos estavam baixando o bot, alguns estavam com link quebrado, então recuperei todos que eu consegui, logo abaixo o link respectivo as versões: TibiaBot NG 3.9 ( 7.6 ) : http://adf.ly/4elxd TibiaBot NG 4.0.11 ( 7.71 ) : http://adf.ly/4emWF TibiaBot NG 4.0.14 ( 7.72 ) : http://adf.ly/4emYn TibiaBot NG 4.5.0 ( 7.92 ) : http://adf.ly/4emjF TibiaBot NG 4.6.3 ( 8.0 ) : http://adf.ly/4emku TibiaBot NG 4.6.7 ( 8.1 ) : http://adf.ly/4emmc Desculpem a senha pra descompactar o arquivo é tibia_org_pl Créditos ao Tibia Org PL por disponibilizar as versões. Créditos a mim por recuperar os links de downloads. Rep+, não vai cair a mão. =)1 ponto -
Distros Compiladas [Linux-64x_86x] New [TFS 1.2]
Distros Compiladas [Linux-64x_86x] New [TFS 1.2]
Jhoon Stifler reagiu a tiroleivi por uma resposta no tópico
1 pontoEstarei Disponibilizando para Download algumas Distros Compilada em Linux . Distro 8.60............................ - Debian 7.8_x64 Distro 10.10...........................- Debian 7.8_x64 Distro TFS 1.0 - 10.76/10.77 - Debian 7.8_x64 Distro TFS 1.2 - 10.77 .....- Ubuntu 15.04_x86 Distro TFS 1.2 - 10.77 .....- Ubuntu 14.04_x64 Scan Distro 8.60............................ - SCAN Scan Distro 10.10.......................... - SCAN Scan Distro TFS 1.0 - 10.76/10.77 - SCAN Scan Distro TFS 1.2 - 10.77 ..........- SCAN Ubuntu 15.04 Scan Distro TFS 1.2 - 10.77 ..........- SCAN Ubuntu 14.04 Source 8.60 Source 10.10 Source TFS 1.0 - 10.76/10.77 Source TFS 1.2 - 10.77 Créditos - Tiroleivi - - Mitsuig - - luanluciano93 - - Bruno Minervino -1 ponto -
Tibia logo template
1 pontoIsso é um template pra o pessoal editar e criar sua própria logo do seu server baseado na logo do tibia.com Feito por mim e gostaria que se possível, não fosse removido o nome do tibiaking. Download: http://www.mediafire.com/download/25j524s9fnbrda3/tibialogoedited.psd1 ponto
-
Alissow Ots 5.0 [17/03/2013]
Alissow Ots 5.0 [17/03/2013]
Kakaux reagiu a Bruno Carvalho por uma resposta no tópico
1 pontolissow Server 5.0 Provavelmente vocês estão pensando "mas que diabo de OTS é esse?", afinal, já faz 2 anos desde que a ultima versão foi lançada e desde lá prometemos algo que não foi cumprido - até agora -, uma versão nova. ENFIM, TEMOS AGORA A MAIS NOVA VERSÃO DE UM DOS SERVIDORES MAIS AVACALHADOS JOGADOS DOS ULTIMOS TEMPOS. Mas eu tenho uma má noticia, está incompleto. Sim, o mapa está inacabado. Muitas coisas que eu planejei fazer nele eu não completei. Boa parte Eu ajudei a terminar, adicionando o resto dos caminhos básicos e os monstros. mas mapa inacabado não quer dizer que não está jogável, quer dizer que faltou detalhar (Ex: x:55 y: 137 z: 9, x: 104 y: 140 z: 7, etc). A ultima versão foi baixada mais de 50 mil vezes e esperamos que essa versão faça o mesmo sucesso. By Alissow Comedinha XedeguX Contribuidores: Objetivo do projeto: Criar um servidor com base na versão mais atualizada do tibia com vários sistemas onde o mapa é feito para exploração com um grande nivel de RPG. Sobre o OT/Mapa: Principais quests: -Annihilator -Inquisition Quest -Pits of inferno -Demon Oak -Solar axe quest -HOTA -MPA quest -The Challenger Monstros: -Total monstros: 10749 -Total spawn: 5000+ Cidades: -11 Cidades -200 Houses+- Raids/Invasões: -Rat -Ghazbaran -Giant spider/The old window -Ferumbras -Morgaroth Spells: -Magias balanceadas parecidas com a do tibia global Changelog Alissow OTs 3.5 [bETA] 06/08/2009 Alissow OTs 3.5 [Patch 3.5.1] 07/08/2009 Alissow OTs 3.6 10/08/2009 Alissow OTs 3.7 BETA 18/12/2009 Alissow OTs 3.7.1 18/12/2009 Alissow OTs 3.8 17/01/2010 Alissow OTs 3.8 Minor Patch 1 17/01/2010 Alissow OTs 3.9 06/02/2010 Alissow OTs 4.0 04/06/2010 Alissow OTs 4.11 11/07/2010 Alissow OTs 5.0 17/03/2013 - Atualizado para a versão 9.83 (Comedinhasss, Tfs Team) - Sistemas novos para a nova versão, montaria, war system, etc. (Comedinhasss, Tfs Team) - Rep System e Antbot Removido. (Comedinhasss) - 64 Quests reformuladas. (Comedinhasss/Alissow) - Novo sistema de dicas a cada 15 min. - (Comedinhasss) - Novo sistema de map marks ao entrar no servidor. (Comedinhasss) - Organização geral em Actions e Moveevents. (Comedinhasss) - Nova organização nos monstros agora usando os que não tem no tibia original na pasta monsters em mods. (Comedinhasss) - Npcs sem utilidade removidos (Comedinhasss) - Alavanca de runas e potions reformuladas (Comedinhasss, Alissow) - Bug PZ nas Hydras arrumado (Alissow) - Cidade principal parcialmente reformulada (Alissow) - Cidade de Flam totalmente reformulada (Alissow) - As lojas agora não são mais areas PZ (Alissow) - Corrigido erros em portas que não deveriam abrir, e portas que não deveriam fechar (Alissow) - Continente de Zao removido? (Alissow) - Arrumado bugs onde podia-se pegar items na ferumbras tower e vários outros lugares (Alissow) - Arrumado caminho da "inquisition" (Alissow) - Respawns recolocados em algumas áreas de yalahar, dragons, elfs Hydras, Dark magicians e apprentices (Alissow) - Nova entrada para arena (Svargrond) na cidade principal e funcionando! (Alissow) - Elevado nível de dificuldade da Arena (Svargrond) (Alissow) - Nova localização da Ferumbras Tower (Alissow) - Cidade de Mistyc removida? (Alissow) - Novo sistema premium igual ao global. (Comedinhasss) - Sistema de bless reformulado e agora por items. (Comedinhasss) - Sistema de portais/teleports (Comedinhasss, Alissow) - Sistema offline training (Comedinhasss, TFS) - Sistema de casamento trocado (Comedinhasss, Outros) - Spells (OTX) Imagens Download Servidor: MediaFire Tamanho: 16.09 MB Windowns: Clique Aqui Linux (Debain): Clique Aqui Scan VirusTotal: Clique Aqui Atenção - Acc do God: admin/admin - LEIA o tópico antes de postar qualquer coisa ou duvida - Reportem se houver algum bug - Favor, não use nosso distro sem o nosso consenso, obrigado. - O changelog vai ta 9.6 mais é 9.83 (Falha minha huehue') - Offline Train Level configurado no config.lua em levelToOfflineInBed - As estatuas de offline que ficam no templo não funcionam por serem enfeites - Para tirar o , previwer do nome, no config.lua em serverPreview mude para false - Todos os addons são vendidos menos o demon que eu acabei esquecendo de coloca - Comandos personalizados: /ta - itens pro sv inteiro, /tp - locais do mapa, /p - tem na minha assinatura ensinando, /e - abrir e fechar portal(open, close). - Para usar os portais você primeiro deve explorar a área indo até ela - Tem alguns segredinhos e lugares escondidos muito legais para vocês descobrirem1 ponto -
[8.60] DBRelated 1.2 Site + Data + Sources
[8.60] DBRelated 1.2 Site + Data + Sources
Ackerzin reagiu a .HuRRiKaNe por uma resposta no tópico
1 pontoInformações: Diversas Transformações como Goku GodMode, Golden Freeza, Bills entre outras! Novos sistemas! Mapa próprio! Reborn System! Diversas Quests! Diversos Items! E mais! Imagens: Download: Mediafire Scan: https://www.virustotal.com/pt/file/82bf4689784c5459e240d0ba7fd15e28b5ab8f2253c885d43aeaa875b07ded11/analysis/1437840718/ Distro(Executavel + DLL's) By Animal Pak: Download Scan: https://www.virustotal.com/pt/file/ffd037b5dfa3c6e5529490e460d075da3b4c24e8a230671a7d0c11f0dbc6d8d4/analysis/1438323955/ Créditos: DBRelated Team Animal Pak1 ponto -
[GESIOR] Task Shop TFS 1.0
1 pontoOlá, venho trazer para vocês um sistema de Task que vi em um servidor e nunca tinha encontrado em nenhum lugar antes e achei bem interessante. Como funciona? Você completa a task, ganha direito matar o boss/exp/itens 'editavel' e ganha pontos para usar no Shopping do servidor. Bom, vamos ao sistema: Em data/globalevents/scripts crie um arquivo chamado shoptask.lua e adicione o code a seguir: -- ### CONFIG ### -- message send to player by script "type" (types you can check in "global.lua") SHOP_MSG_TYPE = 18 -- time (in seconds) between connections to SQL database by shop script SQL_interval = 30 -- ### END OF CONFIG ### function onThink(interval, lastExecution) local result_plr = db.storeQuery("SELECT * FROM z_ots_shoptaskcomunication") if(result_plr ~= false) then repeat local id = tonumber(result.getDataInt(result_plr, "id")) local action = tostring(result.getDataString(result_plr, "action")) local delete = tonumber(result.getDataInt(result_plr, "delete_it")) local cid = getPlayerByName(tostring(result.getDataString(result_plr, "name"))) if(cid) then local itemtogive_id = tonumber(result.getDataInt(result_plr, "param1")) local itemtogive_count = tonumber(result.getDataInt(result_plr, "param2")) local container_id = tonumber(result.getDataInt(result_plr, "param3")) local container_count = tonumber(result.getDataInt(result_plr, "param4")) local add_item_type = tostring(result.getDataString(result_plr, "param5")) local add_item_name = tostring(result.getDataString(result_plr, "param6")) local received_item = 0 local full_weight = 0 if(add_item_type == 'container') then container_weight = getItemWeight(container_id, 1) if(isItemRune(itemtogive_id)) then items_weight = container_count * getItemWeight(itemtogive_id, 1) else items_weight = container_count * getItemWeight(itemtogive_id, itemtogive_count) end full_weight = items_weight + container_weight else full_weight = getItemWeight(itemtogive_id, itemtogive_count) if(isItemRune(itemtogive_id)) then full_weight = getItemWeight(itemtogive_id, 1) else full_weight = getItemWeight(itemtogive_id, itemtogive_count) end end local free_cap = getPlayerFreeCap(cid) if(full_weight <= free_cap) then if(add_item_type == 'container') then local new_container = doCreateItemEx(container_id, 1) local iter = 0 while(iter ~= container_count) do doAddContainerItem(new_container, itemtogive_id, itemtogive_count) iter = iter + 1 end received_item = doPlayerAddItemEx(cid, new_container) else local new_item = doCreateItemEx(itemtogive_id, itemtogive_count) received_item = doPlayerAddItemEx(cid, new_item) end if(type(received_item) == "number" and received_item == RETURNVALUE_NOERROR) then doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'You received >> '.. add_item_name ..' << from OTS shop.') db.query("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.query("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " .. id .. ";") else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. Please make place for this item in your backpack/hands and wait about '.. SQL_interval ..' seconds to get it.') end else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. It weight is '.. full_weight ..' oz., you have only '.. free_cap ..' oz. free capacity. Put some items in depot and wait about '.. SQL_interval ..' seconds to get it.') end end until not result.next(result_plr) result.free(result_plr) end return true end Em data/globalevents/globalevents.xml adicione a seguinte tag: <globalevent name="Shop" interval="60000" script="shoptask.lua" /> Pronto. A parte do servidor ta safo, vamos adicionar a database os codigos a seguir: ALTER TABLE `accounts` ADD `task_points` INTEGER(11) NOT NULL DEFAULT 0; ALTER TABLE `accounts` ADD `task_points_stats` INT NOT NULL DEFAULT '0'; CREATE TABLE `z_shoptask_offer` ( `id` int(11) NOT NULL auto_increment, `points` int(11) NOT NULL default '0', `itemid1` int(11) NOT NULL default '0', `count1` int(11) NOT NULL default '0', `itemid2` int(11) NOT NULL default '0', `count2` int(11) NOT NULL default '0', `offer_type` varchar(255) default NULL, `offer_description` text NOT NULL, `offer_name` varchar(255) NOT NULL, `pid` INT(11) NOT NULL DEFAULT '0', PRIMARY KEY (`id`)) CREATE TABLE `z_shoptask_history_item` ( `id` int(11) NOT NULL auto_increment, `to_name` varchar(255) NOT NULL default '0', `to_account` int(11) NOT NULL default '0', `from_nick` varchar(255) NOT NULL, `from_account` int(11) NOT NULL default '0', `price` int(11) NOT NULL default '0', `offer_id` int(11) NOT NULL default '0', `trans_state` varchar(255) NOT NULL, `trans_start` int(11) NOT NULL default '0', `trans_real` int(11) NOT NULL default '0', PRIMARY KEY (`id`)) CREATE TABLE `z_shoptask_history_pacc` ( `id` int(11) NOT NULL auto_increment, `to_name` varchar(255) NOT NULL default '0', `to_account` int(11) NOT NULL default '0', `from_nick` varchar(255) NOT NULL, `from_account` int(11) NOT NULL default '0', `price` int(11) NOT NULL default '0', `pacc_days` int(11) NOT NULL default '0', `trans_state` varchar(255) NOT NULL, `trans_start` int(11) NOT NULL default '0', `trans_real` int(11) NOT NULL default '0', PRIMARY KEY (`id`)) CREATE TABLE IF NOT EXISTS `z_ots_shoptaskcomunication` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `type` varchar(255) NOT NULL, `action` varchar(255) NOT NULL, `param1` varchar(255) NOT NULL, `param2` varchar(255) NOT NULL, `param3` varchar(255) NOT NULL, `param4` varchar(255) NOT NULL, `param5` varchar(255) NOT NULL, `param6` varchar(255) NOT NULL, `param7` varchar(255) NOT NULL, `delete_it` int(2) NOT NULL DEFAULT '1', PRIMARY KEY (`id`) ) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=13107; Pronto, terminamos quase tudo né? Servidor, Database.. Falta Web. Irei deixar a vocês uma php pronto para download, mas se vocês quiserem usar o de vocês basta trocar. shop_system para shoptask_system premium_points para shoptask_points premium points para shoptask points z_shop_offer para z_shoptask_offer shopsystem para shoptask z_shop_history_pacc para z_shoptask_history_pacc z_shop_history_item para z_shoptask_history_item z_ots_comunication para z_ots_shoptaskcomunication shoptask.php Agora é só adicionar no seu layout. Vá em layouts.php adicione abaixo de buypoints: <a href='?subtopic=shoptask'> <div id='submenu_shoptask' 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_shoptask' class='ActiveSubmenuItemIcon'style='background-image:url(<?PHP echo $layout_name; ?>/images/menu/icon-activesubmenu.gif);'></div> <div class='SubmenuitemLabel'>Shop Task</div> <div class='RightChain' style='background-image:url(<?PHP echo $layout_name; ?>/images/general/chain.gif);'></div> </div> </a> Bem é isso, é meio similar ao Guild Shop, porém ele usa o sistema de task. Então vamos ao sistema. Vamos em data/creaturescript/creaturescript.xml e adicione as seguintes Tags; <event type="modalwindow" name="taskw" script="task_window.lua"/> <event type="kill" name="KillingInTheNameOf" script="task.lua"/> Em seguida vá em scripts e adicione. Crie um task.lua e adicione. local questCreatures = { ["troll"] = {questStarted = 65000, questStorage = 65100, creatureStorage = 15000, killsRequired = 100, raceName = "Trolls"}, ["frost troll"] = {questStarted = 65000, questStorage = 65100, creatureStorage = 15001, killsRequired = 100, raceName = "Trolls"}, ["furious troll"] = {questStarted = 65000, questStorage = 65100, creatureStorage = 15002, killsRequired = 100, raceName = "Trolls"}, ["island troll"] = {questStarted = 65000, questStorage = 65100, creatureStorage = 15003, killsRequired = 100, raceName = "Trolls"}, ["swamp troll"] = {questStarted = 65000, questStorage = 65100, creatureStorage = 15004, killsRequired = 100, raceName = "Trolls"}, ["troll champion"] = {questStarted = 65000, questStorage = 65100, creatureStorage = 15005, killsRequired = 100, raceName = "Trolls"}, ["troll legionnaire"] = {questStarted = 65000, questStorage = 65100, creatureStorage = 15006, killsRequired = 100, raceName = "Trolls"}, ["goblin"] = {questStarted = 65001, questStorage = 65101, creatureStorage = 15007, killsRequired = 5, raceName = "Goblins"}, ["goblin assassin"] = {questStarted = 65001, questStorage = 65101, creatureStorage = 15008, killsRequired = 5, raceName = "Goblins"}, ["goblin leader"] = {questStarted = 65001, questStorage = 65101, creatureStorage = 15009, killsRequired = 5, raceName = "Goblins"}, ["goblin scavenger"] = {questStarted = 65001, questStorage = 65101, creatureStorage = 15010, killsRequired = 5, raceName = "Goblins"}, ["rotworm"] = {questStarted = 65002, questStorage = 65102, creatureStorage = 15011, killsRequired = 300, raceName = "Rotworms"}, ["carriom worm"] = {questStarted = 65002, questStorage = 65102, creatureStorage = 15012, killsRequired = 300, raceName = "Rotworms"}, ["cyclops"] = {questStarted = 65003, questStorage = 65103, creatureStorage = 15013, killsRequired = 500, raceName = "Cyclops"}, ["cyclops smith"] = {questStarted = 65003, questStorage = 65103, creatureStorage = 15014, killsRequired = 500, raceName = "Cyclops"}, ["cyclops drone"] = {questStarted = 65003, questStorage = 65103, creatureStorage = 15015, killsRequired = 500, raceName = "Cyclops"}, ["crocodile"] = {questStarted = 14007, questStorage = 14107, creatureStorage = 15016, killsRequired = 300, raceName = "Crocodiles"}, ["tarantula"] = {questStarted = 14008, questStorage = 14108, creatureStorage = 15017, killsRequired = 300, raceName = "Tarantulas"}, ["carniphila"] = {questStarted = 14009, questStorage = 14109, creatureStorage = 15018, killsRequired = 150, raceName = "Carniphilas"}, ["stone golem"] = {questStarted = 14010, questStorage = 14110, creatureStorage = 15019, killsRequired = 200, raceName = "Stone Golems"}, ["mammoth"] = {questStarted = 14011, questStorage = 14111, creatureStorage = 15020, killsRequired = 300, raceName = "Mammoths"}, ["ice golem"] = {questStarted = 14012, questStorage = 14112, creatureStorage = 15021, killsRequired = 300, raceName = "Ice Golems"}, ["quara predator scout"] = {questStarted = 14013, questStorage = 14113, creatureStorage = 15022, killsRequired = 300, raceName = "Quaras Scout"}, ["quara constrictor scout"] = {questStarted = 14013, questStorage = 14113, creatureStorage = 15023, killsRequired = 300, raceName = "Quaras Scout"}, ["quara hydromancer scout"] = {questStarted = 14013, questStorage = 14113, creatureStorage = 15024, killsRequired = 300, raceName = "Quaras Scout"}, ["quara mantassin scout"] = {questStarted = 14013, questStorage = 14113, creatureStorage = 15025, killsRequired = 300, raceName = "Quaras Scout"}, ["quara pincher scout"] = {questStarted = 14013, questStorage = 14113, creatureStorage = 15026, killsRequired = 300, raceName = "Quaras Scout"}, ["quara predator"] = {questStarted = 14014, questStorage = 14114, creatureStorage = 15027, killsRequired = 300, raceName = "Quaras"}, ["quara constrictor"] = {questStarted = 14014, questStorage = 14114, creatureStorage = 15028, killsRequired = 300, raceName = "Quaras"}, ["quara hydromancer"] = {questStarted = 14014, questStorage = 14114, creatureStorage = 15029, killsRequired = 300, raceName = "Quaras"}, ["quara mantassin"] = {questStarted = 14014, questStorage = 14114, creatureStorage = 15030, killsRequired = 300, raceName = "Quaras"}, ["quara pincher"] = {questStarted = 14014, questStorage = 14114, creatureStorage = 15031, killsRequired = 300, raceName = "Quaras"}, ["water elemental"] = {questStarted = 14015, questStorage = 14115, creatureStorage = 15032, killsRequired = 70, raceName = "Water Elementals"}, ["roaring water elemental"] = {questStarted = 14015, questStorage = 14115, creatureStorage = 15033, killsRequired = 70, raceName = "Water Elementals"}, ["slick water elemental"] = {questStarted = 14015, questStorage = 14115, creatureStorage = 15034, killsRequired = 70, raceName = "Water Elementals"}, ["massive water elemental"] = {questStarted = 14015, questStorage = 14115, creatureStorage = 15035, killsRequired = 70, raceName = "Water Elementals"}, ["earth elemental"] = {questStarted = 14016, questStorage = 14116, creatureStorage = 15036, killsRequired = 70, raceName = "Earth Elementals"}, ["jagged earth elemental"] = {questStarted = 14016, questStorage = 14116, creatureStorage = 15037, killsRequired = 70, raceName = "Earth Elementals"}, ["massive earth elemental"] = {questStarted = 14016, questStorage = 14116, creatureStorage = 15038, killsRequired = 70, raceName = "Earth Elementals"}, ["muddy earth elemental"] = {questStarted = 14016, questStorage = 14116, creatureStorage = 15039, killsRequired = 70, raceName = "Earth Elementals"}, ["energy elemental"] = {questStarted = 14017, questStorage = 14117, creatureStorage = 15040, killsRequired = 70, raceName = "Energy Elementals"}, ["charged energy elemental"] = {questStarted = 14017, questStorage = 14117, creatureStorage = 15041, killsRequired = 70, raceName = "Energy Elementals"}, ["massive energy elemental"] = {questStarted = 14017, questStorage = 14117, creatureStorage = 15042, killsRequired = 70, raceName = "Energy Elementals"}, ["overcharged energy elemental"] = {questStarted = 14017, questStorage = 14117, creatureStorage = 15043, killsRequired = 70, raceName = "Energy Elementals"}, ["fire elemental"] = {questStarted = 14018, questStorage = 14118, creatureStorage = 15044, killsRequired = 70, raceName = "Fire Elementals"}, ["blazing fire elemental"] = {questStarted = 14018, questStorage = 14118, creatureStorage = 15045, killsRequired = 70, raceName = "Fire Elementals"}, ["blistering fire elemental"] = {questStarted = 14018, questStorage = 14118, creatureStorage = 15046, killsRequired = 70, raceName = "Fire Elementals"}, ["massive fire elemental"] = {questStarted = 14018, questStorage = 14118, creatureStorage = 15047, killsRequired = 70, raceName = "Fire Elementals"}, ["mutated rat"] = {questStarted = 14019, questStorage = 14119, creatureStorage = 15048, killsRequired = 200, raceName = "Mutated Rats"}, ["giant spider"] = {questStarted = 14020, questStorage = 14120, creatureStorage = 15049, killsRequired = 500, raceName = "Giant Spiders"}, ["hydra"] = {questStarted = 14021, questStorage = 14121, creatureStorage = 15050, killsRequired = 500, raceName = "Hydras"}, ["sea serpent"] = {questStarted = 14001, questStorage = 14101, creatureStorage = 15051, killsRequired = 500, raceName = "Sea Serpents"}, ["behemoth"] = {questStarted = 14022, questStorage = 14122, creatureStorage = 15052, killsRequired = 500, raceName = "Behemoths"}, ["serpent spawn"] = {questStarted = 14002, questStorage = 14102, creatureStorage = 15053, killsRequired = 375, raceName = "Serpents Spawn"}, ["green djinn"] = {questStarted = 65022, questStorage = 65122, creatureStorage = 15054, killsRequired = 125, raceName = "Green Djinns"}, ["efreet"] = {questStarted = 65022, questStorage = 65122, creatureStorage = 15055, killsRequired = 125, raceName = "Green Djinns"}, ["blue djinn"] = {questStarted = 65023, questStorage = 65123, creatureStorage = 15056, killsRequired = 125, raceName = "Blue Djinns"}, ["marid"] = {questStarted = 65023, questStorage = 65123, creatureStorage = 15057, killsRequired = 125, raceName = "Blue Djinns"}, ["pirate buccaneer"] = {questStarted = 65024, questStorage = 65124, creatureStorage = 15058, killsRequired = 300, raceName = "Pirates"}, ["pirate corsair"] = {questStarted = 65024, questStorage = 65124, creatureStorage = 15059, killsRequired = 300, raceName = "Pirates"}, ["pirate cutthroat"] = {questStarted = 65024, questStorage = 65124, creatureStorage = 15060, killsRequired = 300, raceName = "Pirates"}, ["pirate ghost"] = {questStarted = 65024, questStorage = 65124, creatureStorage = 15061, killsRequired = 300, raceName = "Pirates"}, ["pirate marauder"] = {questStarted = 65024, questStorage = 65124, creatureStorage = 15062, killsRequired = 300, raceName = "Pirates"}, ["pirate skeleton"] = {questStarted = 65024, questStorage = 65124, creatureStorage = 15063, killsRequired = 300, raceName = "Pirates"}, ["minotaur"] = {questStarted = 14004, questStorage = 14104, creatureStorage = 15070, killsRequired = 500, raceName = "Minotaurs"}, ["necromancer"] = {questStarted = 14003, questStorage = 14103, creatureStorage = 15071, killsRequired = 1000, raceName = "Magicians"}, ["priestess"] = {questStarted = 14003, questStorage = 14103, creatureStorage = 15072, killsRequired = 1000, raceName = "Magicians"}, ["dragon"] = {questStarted = 65030, questStorage = 65130, creatureStorage = 15065, killsRequired = 500, raceName = "Dragons"}, ["dragon lord"] = {questStarted = 65030, questStorage = 65130, creatureStorage = 15066, killsRequired = 500, raceName = "Dragons"}, ["frost dragon"] = {questStarted = 65030, questStorage = 65130, creatureStorage = 15067, killsRequired = 500, raceName = "Dragons"}, ["ghastly dragon"] = {questStarted = 65030, questStorage = 65130, creatureStorage = 15068, killsRequired = 500, raceName = "Dragons"}, ["undead dragon"] = {questStarted = 65030, questStorage = 65130, creatureStorage = 15069, killsRequired = 500, raceName = "Dragons"}, ["demon"] = {questStarted = 14023, questStorage = 14123, creatureStorage = 15075, killsRequired = 6666, raceName = "Demons"} } local msgType = MESSAGE_STATUS_CONSOLE_ORANGE function onKill(cid, target, lastHit) local creature = questCreatures[getCreatureName(target):lower()] if creature then if isPlayer(target) then return true end if getCreatureStorage(cid, creature.questStarted) > 0 then if getCreatureStorage(cid, creature.questStorage) < creature.killsRequired then if getCreatureStorage(cid, creature.questStorage) < 0 then doCreatureSetStorage(cid, creature.questStorage, 0) end if (not isSummon(target)) then if getCreatureStorage(cid, creature.creatureStorage) < 0 then doCreatureSetStorage(cid, creature.creatureStorage, 0) end doCreatureSetStorage(cid, creature.questStorage, getCreatureStorage(cid, creature.questStorage) + 1) doCreatureSetStorage(cid, creature.creatureStorage, getCreatureStorage(cid, creature.creatureStorage) + 1) doPlayerSendTextMessage(cid, msgType, "[Mission]: " .. getCreatureStorage(cid,creature.questStorage) .. "/" .. creature.killsRequired .. " " .. creature.raceName .. " defeated.") end end end end return true end depois task_window e adicione; function onModalWindow(cid, modalWindowId, buttonId, choiceId) if modalWindowId ~= 1900 then return false end local rank = getCreatureStorage(cid, rankStorage) if rank < 0 then doCreatureSetStorage(cid, rankStorage, 0) end local r_string = function() if tasks[choiceId].repeatable then return "repeatable" end return "not repeatable" end local r_article_string = function (id, amount) task_item_word = "" if amount > 1 then task_item_word = task_item_word .. amount .. "x " .. getItemName(id) else if ItemType(itemId):getArticle() == "" then task_item_word = task_item_word .. getItemName(id) else task_item_word = task_item_word .. ItemType(itemId):getArticle() .. " " .. getItemName(id) end end return task_item_word end local storage_string = {[80000] = "The Snapper", [80001] = "Demodras", [80002] = "The Hide", [80003] = "The Bloodtusk", [80004] = "The Shardhead", [80005] = "Thul", [80006] = "Esmeralda", [80007] = "The Old Widow", [80008] = "The Many", [80009] = "The Leviathan", [80010] = "The Stonecracker", [80011] = "The Noxious Spawn", [80012] = "Merikh The Slaughterer", [80013] = "Fahim The Wise", [80014] = "pirate leader", [80015] = "The Horned Fox", [80016] = "Necropharus" } if buttonId == 1 then -- confirm task if getCreatureStorage(cid, tasks[choiceId].questStarted) < 1 then doCreatureSetStorage(cid, tasks[choiceId].questStarted, 1) doCreatureSetStorage(cid, tasks[choiceId].questStorage, 0) doCreatureSay(taskNPCuid, "In this mission you have to hunt " .. tasks[choiceId].killsRequired .. " " .. tasks[choiceId].raceName .. " down. Good luck!", TALKTYPE_PRIVATE_NP, false, cid, getThingPos(taskNPCuid)) else if getCreatureStorage(cid, tasks[choiceId].questStarted) == 1 then if tasks[choiceId].killsRequired > getCreatureStorage(cid, tasks[choiceId].questStorage) then doPlayerPopupFYI(cid,"Status: Active\nKills: " .. getCreatureStorage(cid, tasks[choiceId].questStorage) .. "/" .. tasks[choiceId].killsRequired .. " (" .. tasks[choiceId].killsRequired - getCreatureStorage(cid, tasks[choiceId].questStorage) .. " left)\n\nThis mission is " .. r_string() .. ".") sendTaskWindow(cid) else doCreatureSetStorage(cid, tasks[choiceId].questStarted, 2) task_reward_str = "Reward(s):\n" for i = 1, table.maxn(tasks[choiceId].rewards) do if(tasks[choiceId].rewards[i].enable) then if isInArray({"boss", "teleport", 1}, tasks[choiceId].rewards[i].type) then doTeleportThing(cid, tasks[choiceId].rewards[i].values) task_reward_str = task_reward_str .. "You have been teleported.\n" elseif isInArray({"exp", "experience", 2}, tasks[choiceId].rewards[i].type) then doPlayerAddExperience(cid, tasks[choiceId].rewards[i].values) task_reward_str = task_reward_str .. "+ " .. tasks[choiceId].rewards[i].values .. " exp\n" elseif isInArray({"item", 3}, tasks[choiceId].rewards[i].type) then doPlayerAddItem(cid, tasks[choiceId].rewards[i].values[1], tasks[choiceId].rewards[i].values[2]) task_reward_str = task_reward_str .. r_article_string(tasks[choiceId].rewards[i].values[1], tasks[choiceId].rewards[i].values[2]) .. "\n" elseif isInArray({"money", 4}, tasks[choiceId].rewards[i].type) then doPlayerAddMoney(cid, tasks[choiceId].rewards[i].values) task_reward_str = task_reward_str .. "+ " .. tasks[choiceId].rewards[i].values .. " gp\n" elseif isInArray({"storage", "stor", 5}, tasks[choiceId].rewards[i].type) then doCreatureSetStorage(cid, tasks[choiceId].rewards[i].values[1], tasks[choiceId].rewards[i].values[2]) task_reward_str = task_reward_str .. "Chance to duel " .. storage_string[tasks[choiceId].rewards[i].values[1]] .. ".\n" elseif isInArray({"points", "rank", 2}, tasks[choiceId].rewards[i].type) then db.query("UPDATE `accounts` SET `task_points` = `task_points` + " .. tasks[choiceId].rewards[i].values .. " WHERE `id` = " .. getPlayerAccountId(cid) .. ";") doCreatureSetStorage(cid, rankStorage, getCreatureStorage(cid, rankStorage) + tasks[choiceId].rewards[i].values) task_reward_str = task_reward_str .. "+ " .. tasks[choiceId].rewards[i].values .. " rank points.\n" else print("[Warning - Npc::KillingInTheNameOf] Wrong reward type: " .. (tasks[choiceId].rewards[i].type or "nil") .. ", reward could not be loaded.") end end end if task_reward_str == "Reward(s):\n" then doPlayerPopupFYI(cid,task_reward_str .. "none") else doPlayerPopupFYI(cid,task_reward_str) end doCreatureSay(taskNPCuid, "Great job" .. (((rank > 4 and rank < 10) and (", Huntsman") or (rank > 9 and rank < 20) and (", Ranger") or (rank > 19 and rank < 30) and (", Big Game Hunter") or (rank > 29 and rank < 50) and (", Trophy Hunter") or (rank > 49) and (", Elite Hunter")) or ", my Beginner") .. "! Here is your reward. Keep hunting and good luck!", TALKTYPE_PRIVATE_NP, false, cid, getThingPos(taskNPCuid)) end else if tasks[choiceId].repeatable then for i = 1, table.maxn(tasks[choiceId].rewards) do if isInArray({"storage", "stor", 5}, tasks[choiceId].rewards[i].type) then doPlayerPopupFYI(cid,"To repeat this mission again, fight with " .. storage_string[tasks[choiceId].rewards[i].values[1]] .. " first.") break end if i == table.maxn(tasks[choiceId].rewards) then doPlayerPopupFYI(cid,"You can't repeat this mission.") end end else doPlayerPopupFYI(cid,"You can't repeat this mission.") end sendTaskWindow(cid) end end elseif buttonId == 255 then doPlayerPopupFYI(cid,"Please use a button.") sendTaskWindow(cid) end return true end Agora vamos até data\lib e crie e adicione; rankStorage = 32150 THESNAPPER = {80000, 1} DEMODRAS = {80001, 1} HIDE = {80002, 1} THEBLOODTUSK = {80003, 1} SHARDHEAD = {80004, 1} THUL = {80005, 1} ESMERALDA = {80006, 1} THEOLDWIDOW = {80007, 1} THEMANY = {80008, 1} LEVIATHAN = {80009, 1} STONECRACKER = {80010, 1} THENOXIUSSPAWN = {80011, 1} MERIKHTHESLAUGHTERER = {80012, 1} FAHIMTHEWISE = {80013, 1} RANDOMPIRATEBOSS = {80014, 1} THEHORNEDFOX = {80015, 1} NECROPHARUS = {80016, 1} tasks = { [1] = {questStarted = 65000, questStorage = 65100, killsRequired = 100, raceName = "Trolls", repeatable = false, rewards = {{enable = true, type = "exp", values = 40000}, {enable = true, type = "money", values = 4000}}}, [2] = {questStarted = 65001, questStorage = 65101, killsRequired = 150, raceName = "Goblins", repeatable = false, rewards = {{enable = true, type = "exp", values = 70000}, {enable = true, type = "money", values = 5000}}}, [3] = {questStarted = 65002, questStorage = 65102, killsRequired = 300, raceName = "Rotworms", repeatable = false, rewards = {{enable = true, type = "exp", values = 100000}, {enable = true, type = "money", values = 6000}}}, [4] = {questStarted = 65003, questStorage = 65103, killsRequired = 500, raceName = "Cyclops", repeatable = false, rewards = {{enable = true, type = "exp", values = 150000}, {enable = true, type = "money", values = 8000}}}, [5] = {questStarted = 14007, questStorage = 14107, killsRequired = 300, raceName = "Crocodiles", repeatable = true, rewards = {{enable = true, type = "exp", values = 100000}, {enable = true, type = "storage", values = THESNAPPER}, {enable = true, type = "points", values = 2}}}, [6] = {questStarted = 14008, questStorage = 14108, killsRequired = 300, raceName = "Tarantulas", repeatable = true, rewards = {{enable = true, type = "exp", values = 150000}, {enable = true, type = "storage", values = HIDE}, {enable = true, type = "points", values = 2}}}, [7] = {questStarted = 14009, questStorage = 14109, killsRequired = 150, raceName = "Carniphilas", repeatable = false, rewards = {{enable = true, type = "exp", values = 250000}, {enable = true, type = "money", values = 15000}}}, [8] = {questStarted = 14010, questStorage = 14110, killsRequired = 200, raceName = "Stone Golems", repeatable = false, rewards = {{enable = true, type = "exp", values = 200000}, {enable = true, type = "money", values = 15000}}}, [9] = {questStarted = 14011, questStorage = 14111, killsRequired = 300, raceName = "Mammoths", repeatable = true, rewards = {{enable = true, type = "exp", values = 150000}, {enable = true, type = "storage", values = THEBLOODTUSK}, {enable = true, type = "points", values = 2}}}, [10] = {questStarted = 14012, questStorage = 14112, killsRequired = 300, raceName = "Ice Golems", repeatable = true, rewards = {{enable = true, type = "exp", values = 150000}, {enable = true, type = "storage", values = SHARDHEAD}, {enable = true, type = "points", values = 2}}}, [11] = {questStarted = 14013, questStorage = 14113, killsRequired = 300, raceName = "Quaras Scout", repeatable = true, rewards = {{enable = true, type = "exp", values = 250000}, {enable = true, type = "money", values = 25000}}}, [12] = {questStarted = 14014, questStorage = 14114, killsRequired = 300, raceName = "Quaras", repeatable = true, rewards = {{enable = true, type = "exp", values = 300000}, {enable = true, type = "storage", values = THUL}, {enable = true, type = "points", values = 2}}}, [13] = {questStarted = 14015, questStorage = 14115, killsRequired = 70, raceName = "Water Elementals", repeatable = false, rewards = {{enable = true, type = "exp", values = 200000}, {enable = true, type = "money", values = 20000}}}, [14] = {questStarted = 14016, questStorage = 14116, killsRequired = 70, raceName = "Earth Elementals", repeatable = false, rewards = {{enable = true, type = "exp", values = 200000}, {enable = true, type = "money", values = 20000}}}, [15] = {questStarted = 14017, questStorage = 14117, killsRequired = 70, raceName = "Energy Elementals", repeatable = false, rewards = {{enable = true, type = "exp", values = 200000}, {enable = true, type = "money", values = 20000}}}, [16] = {questStarted = 14018, questStorage = 14118, killsRequired = 70, raceName = "Fire Elementals", repeatable = false, rewards = {{enable = true, type = "exp", values = 200000}, {enable = true, type = "money", values = 20000}}}, [17] = {questStarted = 14019, questStorage = 14119, killsRequired = 200, raceName = "Mutated Rats", repeatable = true, rewards = {{enable = true, type = "exp", values = 150000}, {enable = true, type = "storage", values = ESMERALDA}, {enable = true, type = "points", values = 2}}}, [18] = {questStarted = 14020, questStorage = 14120, killsRequired = 500, raceName = "Giant Spiders", repeatable = true, rewards = {{enable = true, type = "exp", values = 250000}, {enable = true, type = "storage", values = THEOLDWIDOW}, {enable = true, type = "points", values = 2}}}, [19] = {questStarted = 14021, questStorage = 14121, killsRequired = 500, raceName = "Hydras", repeatable = true, rewards = {{enable = true, type = "storage", values = THEMANY}, {enable = true, type = "points", values = 4}}}, [20] = {questStarted = 14001, questStorage = 14101, killsRequired = 500, raceName = "Sea Serpents", repeatable = true, rewards = {{enable = true, type = "storage", values = LEVIATHAN}, {enable = true, type = "points", values = 4}}}, [21] = {questStarted = 14022, questStorage = 14122, killsRequired = 500, raceName = "Behemoths", repeatable = true, rewards = {{enable = true, type = "storage", values = STONECRACKER}, {enable = true, type = "points", values = 4}}}, [22] = {questStarted = 14002, questStorage = 14102, killsRequired = 375, raceName = "Serpents Spawn", repeatable = true, rewards = {{enable = true, type = "storage", values = THENOXIOUSSPAWN}, {enable = true, type = "points", values = 4}}}, [23] = {questStarted = 65022, questStorage = 65122, killsRequired = 125, raceName = "Green Djinns", repeatable = true, rewards = {{enable = true, type = "exp", values = 230000}, {enable = true, type = "money", values = 5000}, {enable = true, type = "storage", values = MERIKHTHESLAUGHTERER}}}, [24] = {questStarted = 65023, questStorage = 65123, killsRequired = 125, raceName = "Blue Djinns", repeatable = true, rewards = {{enable = true, type = "exp", values = 230000}, {enable = true, type = "money", values = 5000}, {enable = true, type = "storage", values = FAHIMTHEWISE}}}, [25] = {questStarted = 65024, questStorage = 65124, killsRequired = 300, raceName = "Pirates", repeatable = false, rewards = {{enable = true, type = "exp", values = 300000}, {enable = true, type = "money", values = 40000}, {enable = true, type = "storage", values = RANDOMPIRATEBOSS}}}, [26] = {questStarted = 14004, questStorage = 14104, killsRequired = 500, raceName = "Minotaurs", repeatable = false, rewards = {{enable = true, type = "storage", values = THEHORNEDFOX}}}, [27] = {questStarted = 14003, questStorage = 14103, killsRequired = 1000, raceName = "Magicians", repeatable = false, rewards = {{enable = true, type = "storage", values = NECROPHARUS}}}, [28] = {questStarted = 65030, questStorage = 65130, killsRequired = 500, raceName = "Dragons", repeatable = true, rewards = {{enable = true, type = "storage", values = DEMODRAS}, {enable = true, type = "exp", values = 400000}}}, [29] = {questStarted = 14023, questStorage = 14123, killsRequired = 6666, raceName = "Demons", repeatable = false, rewards = {{enable = true, type = "exp", values = 1000000}, {enable = true, type = "item", values = {10305,1}}}}} function getTasksStarted(cid) local tmp = {} for k, v in pairs(tasks) do if getCreatureStorage(cid, v.questStarted) == 1 then table.insert(tmp, k) end end return tmp end function getTaskByName(name) for k, v in pairs(tasks) do if v.raceName:lower() == name:lower() then return k end end return false end function sendTaskWindow(cid) taskWindow = ModalWindow(1900, "Mission Management", "Select a task:") local task_status = {} if taskWindow:getId() == 1900 then taskWindow:addButton(1, "Select") taskWindow:setDefaultEnterButton(1) taskWindow:addButton(2, "Cancel") taskWindow:setDefaultEscapeButton(2) for i = 1, #tasks do if getCreatureStorage(cid, tasks[i].questStarted) == 2 then task_status[i] = "[completed]" else if getCreatureStorage(cid, tasks[i].questStarted) == 1 then task_status[i] = "[" .. getCreatureStorage(cid, tasks[i].questStorage) .. "/" .. tasks[i].killsRequired .. "]" else if getCreatureStorage(cid, tasks[i].questStarted) < 1 then task_status[i] = tasks[i].killsRequired else task_status[i] = tasks[i].killsRequired .. " [unknown]" end end end if getCreatureStorage(cid, tasks[i].questStarted) == 1 and getCreatureStorage(cid, tasks[i].questStorage) >= tasks[i].killsRequired then taskWindow:addChoice(i, tasks[i].raceName .. " [click for reward]") else taskWindow:addChoice(i, tasks[i].raceName .. ", " .. task_status[i]) end end end taskWindow:sendToPlayer(cid) return true end Agora vamos até data\npc crie Victor.xml e adicione <?xml version="1.0" encoding="UTF-8"?> <npc name="Victor" script="Victor.lua" walkinterval="2000" floorchange="0"> <health now="150" max="150" /> <look type="131" head="76" body="20" legs="116" feet="1" addons="1" /> <parameters> <parameter key="message_greet" value="Ola, eu posso te ajudar com algumas missões, e como recompensa te darei exp e direito a matar alguns bosses diga {task}"/> </parameters> </npc> agora vamos até scripts crie Victor.lua e adicione local choose = {} 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_PRIVATE and 0 or cid if isInArray({"task", "tasks"}, msg:lower()) then selfSay("Here.", cid) taskNPCuid = getNpcCid() if getPlayerStorageValue(cid, 32150) < 0 then setPlayerStorageValue(cid, 32150, 0) end return sendTaskWindow(cid) end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) Caso vocês queiram adicionar a recompensa no próprio sistema de task de vocês basta adicionar na recompensa a seguinte query. db.query("UPDATE `accounts` SET `task_points` = `task_points` + " .. tasks[choiceId].rewards[i].values .. " WHERE `id` = " .. getPlayerAccountId(cid) .. ";") Pronto, terminamos. Créditos: Jobs. Tópico exclusivo para o TK.1 ponto
-
[Projeto] TRPokémon
1 pontoFala TibiaKing, hoje vim compartilhar com vocês meu projeto, TRPokémon. Ainda está nas primeiras fases de criação, mas conto com a ajuda de vocês pra logo logo estar online! (Base Pyrus - editada) Sistemas do servidor Caught System: 100% Go-Back System: 100% Portrait System: 100% Icon System: 100% Evolution System: 100% NPC Nurse System: 100% Pokedex System: 100% Ghost System: 100% Wild Pokemon Passive: 100% Moves System: 100% Limite de 6 Pokemons: 100% Duel System (Pela Party) 100% Ditto System: 100% Ditto Memory System: 100% Próximos sistemas Addon System Torneio System Shiny Stone System Entre outros...... Venha fazer parte da nossa equipe! Precisamos da sua colaboração! Meu Skype: gui.coruja Meu Facebook: guilherme.coruja1 ponto
-
[8.60] The Forgotten Server 1.2 - SUPORTE PARA 8.6
The Forgotten Server 1.2 - Suporte para versão 8.6 Baseado na última atualização do The Forgotten Server. Não foi testado completamente, por isso, seja cauteloso ao usar. O datapack não é totalmente compatível com 8.6 (ainda precisará remover ids mais recentes, monstros, magias, etc). GitHub: https://github.com/ninjalulz/forgottenserver/tree/8.6 Créditos Ninjalulz1 ponto
-
xPoketibia [Open source]
1 pontoOlá Galera do Tibiaking! Venho apresentar para vocês um novo projeto, o xPoketibia, o poketibia se trata de um servidor que está sendo desenvolvido para tentar substituir o PDA em termos de uso dos OT-admin (sair dessa mesmice de servidores PDA) , o mesmo será disponibilizado aqui no fórum com suas devidas versões\atualizações. Estamos usando uma base antiga que está um pouco desatualizada e com muitos bugs , não editamos o mapa ainda por isso o mapa que está sendo usado é o do dash , tentaremos ao máximo trazer incríveis mapas e sistemas. Andamento do servidor Level System: 90% Caught System: 50% Go-Back System: 50% Portrait System: 50% Evolution System: 100% NPC Nurse System: 50% Pokedex System: 50% Ghost System: 50% Wild Pokemon Passive: 50% Moves System: 90% Limite de 6 Pokemons: 50% Duel System (Pela Party) 50% Tv / Cam System 50% Próximos sistemas Order System (Com todas as habilidades [Fly, Surf, Ride, Blink, Cut, Light, Transform, Control Mind, Dig, Move]) All Pokemon Spells Boat System (Vermilion - Cinnabar) Gym System NPC's de batalha espalhados pelo mapa Vários outros sistemas que tenho em mente. Changelog do servidor: Prints: Downloads: Servidor > http://www.4shared.com/rar/VAp3P-nwba/xPoketibia_Project.html? Client > http://www.4shared.com/rar/l5iti909ba/Client_xP.html? Source > http://www.4shared.com/rar/Cb_mNAJvba/sources_xP.html? Repositório no GitHub > Quase lá ~~ creio que não precise de scan, pois o próprio 4shared faz escaneia e diz se tem vírus Equipe: Wend Silva < eu Daniel Créditos: avuenja por está ajudando com o Github é isso Galera vou indo fazendo com o tempo , não me cobrem , tenho vida social também , não é todo o dia que vou está disponível pra mexer no servidor , mas é isso nada de novo , mas apenas outro distro totalmente diferente com source , creio que vai ajudar muitas pessoas que curte o PDA, Lembrando que ele não vai ser livre de bugs , peço ajuda também para a galera que ajudem no projeto com sugestões e relatando os bugs que encontrarem. Thank you ~~1 ponto
-
Heroes Avengers
Heroes Avengers
luanluciano93 reagiu a Luke Miller por uma resposta no tópico
1 pontoOlá, é um prazer está anunciando hoje o meu projeto! Heroes Avengers será um servidor alternativo baseado nos heróis das histórias em quadrinhos, filmes, livres da MARVEL. Como um super fã dos heróis da MARVEL tive essa idéia a uns meses atrás e estou colocando em prática! O projeto já está em total desenvolvimento e com total esforço. O objetivo do jogador no Heroes Avengers é ser um herói, óbvio. O jogador como herói irá poder enfrentar aventuras deslumbrantes, enigmas incríveis e principalmente ajudar os heróis mais conhecidos do universo! Cada vocação irá seguir um herói, podendo melhorar habilidades e fazendo missões. Serão 6 tipos de heróis para você ser, irei falar um pouco de cada um. - Mecânico (Mechanic) Baseado no Homem de Ferro; mecânicos tem a habilidade de criar armaduras, objetos e armas especiais para salvar o mundo e combater vilões e monstros. Duas Classes para o Mecânico: Mecânic (Mechanic) e Mecânico Robô (Mechanic Robot). De acordo com a evolução de sua classe, mais armaduras, objetos e armas avançadas poderão criar. - Soldado (Soldier) Baseado no Capitão América e Soldado Invernal; soldados tem grandes habilidades com armas de guerrilheiro, tem suporte a armaduras especiais e são extremamente fortes. Duas Classes para o Soldado: Soldado (Soldier) e Capitão (Captain). De acordo com a evolução de sua classe, poderão desbloquear mais armas e outros objetos próprios. - Mutante (Muttant) Baseado nos X-Men; mutantes no ínicio começarão em um sonho, onde nada existe ainda, assim poderão escolher alguns tipos de poderes para começar sua jornada heróica. Os tipos de poderes são: - Gelo (Ice), baseado no Homem de Gelo (Bobby), terão grandes habilidades com gelo - Fogo (Fire), baseado no Pyro, terão grandes habilidades com fogo - Psíquico (Psychic), baseado na Jean Grey e Professor Xavier, terão grandes habilidades psíquicas - Elétrico (Electric), baseado na Tempestade, terão grandes habilidades elétricos - Força (Force), baseado no Colossus, serão extremamente fortes e com formas diferentes. - Vigilante (Vigilant) Baseado no Deadpool e Demolidor; vigilantes terão muitas habilidades especiais, armas especiais, armaduras especiais, serão grandes heróis. Duas Classes para o Vigilante. Vigilante (Vigilant) e Mercenário (Mercenary). De acordo com a evolução de sua classe terão mais habilidades e armas, etc. - Mago (Mage) Baseado na Feiticeira Scarlate, Gambit e Doutor Estranho; magos terão poderes incríveis e muito energia para usar. Duas Classes para o Mago: Mago (Mage) e Feiticeiro (Wizard). - Agente (Agent) Baseado nos Agentes da S.H.I.E.L.D., Gavião Arqueiro e Viúva Negra; terão grandes habilidades especiais, uso exclusivo de armas Duas Classes para o Agente: Agente (Agent) e Agente Especial (Special Agent). A aventura de ser um herói será simplesmente incrível! Você poderá seguir seus heróis favoritos, fazendo missões e ajudando-os como Capitão América, Homem de Ferro, Thor, Homem Aranha, Demolidor. Ainda em suas aventuras você poderá vilões que tentam dominar o mundo e destruir Os Vingadores. Serão muitos vilões como Caveira Vermelha, Ultron, Locki, Venom, Strucker. O UP Level será você matando capangas dos maiores vilões, como Robôs do Ultron, Agentes da Hidra e outros. Poderão também derrotar animais, poderão ir pra mundos diferentes como Asgard, derrotar os gigantes de gelo e muito mais! #Sistema de Idade O jogo contará com um sistema de idade, onde todos os heróis começarão com 18 anos de idade, assim completando missões, fazendo faculdade, completando missões secundárias a sua idade irá aumentar, a idade máxima será 50! O sistema será explicado mais pra frente em nosso site. Por exemplo, pra entrar em uma boate só poderá com 21 anos. #Profissões Terá um sistema onde você poderá fazer faculdade, assim que terminar as missões da faculdade você poderá pegar seu diploma e assim se tornará uma profissão, cada profissão tem um estilo diferente e missões diferentes para fazer. Após pego o diploma poderá conseguir emprego em alguns locais da cidade, assim poderá ter itens exclusivos e ganhar um dinheiro extra. As profissões serão: Engenheiro (Engenharia) Advogado (Direito) Médico (Medicina) Cientista (Ciências Jornalista (Publicidade e Propaganda) Foi baseado nas profissões dos heróis mais conhecidos como Demolidor (Advogado), Homem Aranha (Jornalista), Homem de Ferro (Engenheiro), Doutor Estranho (Médico), Hulk (Cientista) e outros que tem a mesma função destes. Será explicado com mais detalhes em breve no site. Terão locais na cidade como qualquer cidade normal do mundo. Banco Mercado Hospital Delegacia Boate Casas Lanchonete Mercado Prédios Praça outros Serão vários locais e todos podem ter missões para você desafiar. A maioria das hunts serão ocultas de cidades. Então é isso, esse tópico é apenas um resumo do que o jogo será, todas as informações serão postadas na nossa página oficial do facebook e em nosso site, em breve abriremos um forum para discussões e muito mais! QUER SABER MAIS SOBRE O JOGO? Acesse: www.heroesavengers.com Contato: [email protected] Estamos a procura de integrantes para o desenvolvimento do projeto, principalmente MAPPER, quem quiser só enviar um e-mail! Att, Luke.1 ponto -
[TALK] Broadcast com edição in-game
Olá pessoal, eu estou devendo conteúdos, essa não é minha melhor ideia, mas eu acho que é boa, pelo menos o propósito... Testado em: TFS 0.4 Em breve disponibilizarei para 1.+ -O que seria esse comando? Simplesmente, é uma broadcast ,que ao você editar pelo jogo, seja exibida automaticamente a última edição. ela não pode ser editada por script, ou pode, mas você tirará totalmente o propósito dela, que é facilitar a edição sem abrir arquivos além do seu tibia... Ao executar a talkaction: Comando sendo executado: Para deletar a mensagem: TALKACTION (COMANDO): Primeiramente, Crie dentro do arquivo: (data/talkactions/scripts/broadcastsave.lua) function onSay(cid, words, param) local stor = "pos_broad" if tostring(param) == "delete" then return doPlayerSendTextMessage(cid, 27, "Mensagem: [ "..getGlobalStorageValue(stor).." ] deletada") and setGlobalStorageValue(stor, -1) end setGlobalStorageValue(stor, tostring(param)) doPlayerSendTextMessage(cid, 27, "Voce definiu a broadcast como: [ "..param.." ]") return true end <TAG/> Talkactions.xml <talkaction words="/setbroadcast" acess="5" event="script" value="broadcastsave.lua"/> Salve-os e feche. GLOBALEVENTS: Agora coloque em: (data/globalevents/scripts/reloadbroadcast.lua) function onThink(interval) local stor = getGlobalStorageValue("pos_broad") if type(stor) == "string" or stor ~= -1 then return broadcastMessage(stor) and true end return print("BroadCast Pos-definida ainda nao foi definida ou foi deletada, \n use o comando /broadcastset (mensagem) , para defini-la") and true end <TAG/> Globalevents.xml <globalevent name="reloadbroad" interval="10000" event="script" value="reloadbroadcast.lua"/> os 10000 acima é 10 segundos, tempo que usei para testar o script, então, por favor, mude de acordo com o seu gosto... 1000 é 1 segundo, então abra a calculadora e faça os cálculos para o tempo que quiser, não pode colocar certas operações no XML. Uma demonstração das possibilidades de mensagem e broadcast: Default: Serverlog: Advance: Ignorem a hora: 00:57 quaisquer erros, por favor, reportar no tópico ou postar o link da dúvida. Obrigado desde já.1 ponto
-
(Resolvido)[URGENTE] O mundo do servidor não está aparecendo no meu site, impossibilitando a criação de contas
(Resolvido)[URGENTE] O mundo do servidor não está aparecendo no meu site, impossibilitando a criação de contas
FlasgGamer reagiu a Tricoder por uma resposta no tópico
1 pontoDisponha! Poderia marcar como melhor resposta só para o tópico ser considerado como resolvido, por favor?1 ponto -
(Resolvido)[AJUDA] Guild shop não está enviando os itens para os players
Vou tentar te ajudar... Antes de tudo, faça backup de todos os arquivos do seu shop. Em globalevents.xml verifique se há isso no arquivo: <globalevent name="shop" interval="30" script="shop.lua"/> Em data/lib/000-constant.lua ou data/lib/constant.lua, verifique se há: InitShopComunication = 0 Por último, substitua seu Shop.lua por esse: -- ### CONFIG ### -- message send to player by script "type" (types you can check in "global.lua") SHOP_MSG_TYPE = 19 -- time (in seconds) between connections to SQL database by shop script SQL_interval = 30 -- ### END OF CONFIG ### function onThink(interval, lastExecution) local result_plr = db.getResult("SELECT * FROM z_ots_comunication WHERE `type` = 'login';") if(result_plr:getID() ~= -1) then while(true) do id = tonumber(result_plr:getDataInt("id")) action = tostring(result_plr:getDataString("action")) delete = tonumber(result_plr:getDataInt("delete_it")) cid = getCreatureByName(tostring(result_plr:getDataString("name"))) if isPlayer(cid) == TRUE then local itemtogive_id = tonumber(result_plr:getDataInt("param1")) local itemtogive_count = tonumber(result_plr:getDataInt("param2")) local container_id = tonumber(result_plr:getDataInt("param3")) local container_count = tonumber(result_plr:getDataInt("param4")) local add_item_type = tostring(result_plr:getDataString("param5")) local add_item_name = tostring(result_plr:getDataString("param6")) local received_item = 0 local full_weight = 0 if add_item_type == 'container' then container_weight = getItemWeightById(container_id, 1) if isItemRune(itemtogive_id) == TRUE then items_weight = container_count * getItemWeightById(itemtogive_id, 1) else items_weight = container_count * getItemWeightById(itemtogive_id, itemtogive_count) end full_weight = items_weight + container_weight else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) if isItemRune(itemtogive_id) == TRUE then full_weight = getItemWeightById(itemtogive_id, 1) else full_weight = getItemWeightById(itemtogive_id, itemtogive_count) end end local free_cap = getPlayerFreeCap(cid) if full_weight <= free_cap then if add_item_type == 'container' then local new_container = doCreateItemEx(container_id, 1) local iter = 0 while iter ~= container_count do doAddContainerItem(new_container, itemtogive_id, itemtogive_count) iter = iter + 1 end received_item = doPlayerAddItemEx(cid, new_container) else local new_item = doCreateItemEx(itemtogive_id, itemtogive_count) received_item = doPlayerAddItemEx(cid, new_item) end if received_item == RETURNVALUE_NOERROR then doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, 'You received >> '.. add_item_name ..' << from OTS shop.') db.executeQuery("DELETE FROM `z_ots_comunication` WHERE `id` = " .. id .. ";") db.executeQuery("UPDATE `z_shop_history_item` SET `trans_state`='realized', `trans_real`=" .. os.time() .. " WHERE id = " .. id .. ";") else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. Please make place for this item in your backpack/hands and wait about '.. SQL_interval ..' seconds to get it.') end else doPlayerSendTextMessage(cid, SHOP_MSG_TYPE, '>> '.. add_item_name ..' << from OTS shop is waiting for you. It weight is '.. full_weight ..' oz., you have only '.. free_cap ..' oz. free capacity. Put some items in depot and wait about '.. SQL_interval ..' seconds to get it.') end end if not(result_plr:next()) then break end end result_plr:free() end return TRUE end1 ponto
-
[Pedido] - Script que manda um broad cast para todos no servidor.
Adiciona isso no seu login.lua: if(getPlayerGroupId(cid) >= 6) then doBroadcastMessage("O Admin acaba de logar e esta online para atende-los.", MESSAGE_STATUS_WARNING) end1 ponto
-
(Resolvido)[URGENTE] O mundo do servidor não está aparecendo no meu site, impossibilitando a criação de contas
(Resolvido)[URGENTE] O mundo do servidor não está aparecendo no meu site, impossibilitando a criação de contas
FlasgGamer reagiu a Tricoder por uma resposta no tópico
1 pontoTente: Abra htdocs > createaccount.lua e procure por "plain_world_box". Substitua plain por sha11 ponto -
PROCURO EQUIPE PARA PROJETO TIBIA
PROCURO EQUIPE PARA PROJETO TIBIA
Vilk reagiu a mateusmelo12 por uma resposta no tópico
1 pontoeu mano aqui sou mapper sei fazer tudo no mapa e meu amigo tambem quer ele me ajuda a por os pokes nas quest entao deixa nos dois entra fala passa seu skype q eu chamo voce1 ponto -
Quais os melhores servidores de poketibia atualmente?
O melhor e sem comparações é o PokeXGames. Servidor realmente sem bugs, e com uma dificuldade extremamente alta. Muito bom para jogar sério! Eles estão agora se não me engano na 4º geração (acompanhando o pokemon xy), adicionaram um sistema novo de Market. 1x por semana existem atualizações ou reformulação/remake. Estão adicionando os Megas de varios pokemons. Creio que 90% dos servidores imitam o PxG ou pegam as sprites dele. Agora realmente, o jogo não é fácil, shiny por exemplo você precisa dedicar um bom tempo para correr atrás. Estão criando com um novo sistema de profissões onde você pode ser professor/engenheiro/estilista/aventureiro. O jogo realmente é ótimo, caso jogue como FREE ACCOUNT, possui uns servidores que ainda existem fila para você entrar, acho q a capacidade é de 750~1k players por servidor (passou disso, apenas VIP entram sem esperar fila)...1 ponto
-
(Bug) OTClient
(Bug) OTClient
edumasterrr reagiu a TsplayerT por uma resposta no tópico
1 pontova na pasta data/talkaction/scripts copie outro arquivo.lua e renomeio para fightMode e cole isso dentro no talkaction.xml adicione essa tag PODE ME DAR MAIS UM REP+ PELA +1 AJUDA?1 ponto -
(Bug) OTClient
(Bug) OTClient
edumasterrr reagiu a TsplayerT por uma resposta no tópico
1 pontoALO, COM QUEM EU FALO? Vou te ajudar! vá em data/talkaction/scripts copie qualquer arquivo.lua e renomeio para talkClan e cole isso dentro agora no talkaction.xml adicione essa tag: ME AJUDE TAMBEM DANDO REP+ OBRIGADO!1 ponto -
Ajuda Erro de Querry no Distro e na DB!
1 ponto
- [Resolvido] Encher life/mana ao upar
[Resolvido] Encher life/mana ao upar
fernandobernardin reagiu a Cat por uma resposta no tópico
1 pontoComo faço para fazer o char se curar toda vez que upa lvl? '-' Os chars tão estão se curando quando upam quis dizer não estão se curando' certo? vá em data/creaturescripts/scripts e crie um script com o nome hmup function onAdvance(cid, skill, oldlevel, newlevel) if skill == SKILL__LEVEL then doCreatureAddHealth(cid, getCreatureMaxHealth(cid)) doCreatureAddMana(cid, getCreatureMaxMana(cid)) end return TRUE end ainda em data/creaturescripts/script abra o login.lua e adicione em baixo das linhas registerCreatureEvent(cid, "hmup") em data/creaturescripts/creaturescripts.xml <event type="advance" name="hmup" event="script" value="hmup.lua"/>1 ponto- [DUVIDA] Alguns Commands de Poketibia...
[DUVIDA] Alguns Commands de Poketibia...
Lucas Tibiano reagiu a principe sharingan por uma resposta no tópico
1 pontoNão é por nada não, mas Rep + como agradecimento seria Ótimo, se te ajudei você poderia pelo menos agradecer com o Rep+1 ponto- Nolis Show Off
1 pontoLíderes está configurado para São Paulo/GMT-03:00 - [Resolvido] Encher life/mana ao upar
Informação Importante
Confirmação de Termo