Ir para conteúdo

Summ

Membro
  • Registro em

  • Última visita

Tudo que Summ postou

  1. seu ? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . acho que não ? https://www.tumblr.com/search/rdj%20baby%20boy vou mudar só por bom senso mesmo...
  2. Summ postou uma resposta no tópico em Eventos de Mapping
    os 2 estão muito foda, fica até difícil escolher um, mas meu voto vai pro 2, gostei muito desse estilo "dark".
  3. Ambos videos e apostilas ... Galera eu e o Snowsz DLÇ , vamos começar a aprender C# com os vídeos quem quiser se juntar a nós, mande pm pra ele ou pra mim
  4. (Video2Brain) Curso Fundamental de After Effects CS6 100% Photoshop CS6 – 6GB AlgaWorks – Fundamentos Java e OO Art e Color – Adriano Gianini ASP, Fireworks, javascript, php, sql,xml, jogos emflash Canal dos Concursos – Portuguˆs – 5GB Canal dos Concursos – Racioc¡nio L¢gico 4GB CERS – Direito Constitucional Come‡ando do Zero 6GB CERS – Portuguˆs Come‡ando do Zero – 5GB Cinema 4D – Release 15 – 6GB Clavis – Curso de Auditoria de Seguran‡a em Aplica‡äes Web (COMPLETO).rar.1 Clavis – Curso de Auditoria de Seguran‡a em Aplica‡äes Web (COMPLETO).rar Clavis – Teste de InvasÆo em Redes e Sistemas ( COMPLETO ).rar Cole‡Æo Aprenda F cil ViolÆo – Completo – 5GB Concurso Banco do Brasil 2012 – Completo 47GB Concurso Caixa Economica + Banco do Brasil 2012 – 24GB Concurso CEF – Conhecimentos Banc rios – 14GB Criando o Caos no Photoshop 5GB Curso – HTML Curso 101 Dicas de Photoshop Curso Abobe ilustrator cs4 Curso Android – B sico 4GB Curso Asp.Net – Completo Curso C Sharp – DevMedia Curso Certifica‡Æo Linux LPI – N¡vel 1 Curso Completo de PHP, ASP, SQL, XML, JavaScript Curso Completo de Programaçãoo.rar Curso Criando uma aplica‡Æo client.server no Visual Studio 2005 (Curso B sico) Curso de Conserto de Placa-mÆe + Eletr“nica Aplicada … Inform tica 4GB Curso de Eletr“nica 5GB Curso de Eletronica em 5 DVD (Video Aula) Curso De Firewall – Revista+Cd Hacker Curso de Fotografia e V¡deo Digital – Completo 9GB Curso de HTML e CSS Essencial Curso De Infraestructura Windows Server 2003 Curso de Inglˆs [English Way] – Completo – 35GB Curso de Inglˆs English Way – Completo – 65GB Curso de Java – Completo 12GB Curso de Photoshop Curso de Php com Mysql (Programmer Web) By Viiniloko Curso de PHP com MySQL, AJAX e XML Curso de PHP Curso de wordpress – vol 2 – MX MASTERS (1) Curso de wordpress – vol 2 – MX MASTERS Curso Dreamweaver CS6 – Adriano Gianini_by_D.Azrael.rar Curso Interativo Access Curso Photoshop CS5 Completo – Adriano Gianini Curso PHP 5 Completo – Adriano Gianini 4GB Curso PHP 5 Completo – Adriano Gianini.rar Curso Pr‚-Vestibular Completo – 4GB Curso Pr‚-Vestibular Completo 32GB Curso Web design Fabio Goody.rar Dam sio – Direito Concurso da Pol¡cia Federal 2013 – 9GB Direito Administrativo Come‡ando do Zero 15GB Identidade Visual – Adriano Gianini Insanity Workout 12GB JavaScript em Video – Aulas[CM] By LilianeGomes Logica de Programa‡Æo 2014.rar Luciano Augusto – Photoshop Total Luciano Augusto – Unity 3D Total Lynda – ASP.NET MVC 4 Essential Training Matem tica Come‡ando do Zero – Renato Saraiva 11GB Material para Concursos P£blicos e Aprendizagem Estudantil 9GB MJailton – Curso Completo de MySQL MJailton – Curso Completo de PHP, CSS e HTML MX Masters – Desenvolvendo Sites Nos Padräes Web Com Tableless mxmasters WordPress.iso P90X – Extreme Home Fitness – Completo 8 GB Pack Cursos iMasters (Tutorias) Photoshop & Fotografia – A Arte da Imagem Conceitual 4GB Pol¡cia Federal – Renato Saraiva 40 GB Portuguˆs Completo – Prof. Marcelo Bernardo 8GB Prof. Neri – SQL e Banco de Dados 12GB Prof. Neri Neitzke – Curso Algoritmo e L¢gica de Programa‡Æo (3 DVDS) Prof. Neri Neitzke – Curso Android Avan‡ado Com GPS e Mapas Prof. Neri Neitzke – Curso Android Avan‡ado Prof. Neri Neitzke – Curso Android B sico Prof. Neri Neitzke – Curso ASP.NET com C# Prof. Neri Neitzke – Curso Banco de dados SQL e Modelagem (3 DVDS) Prof. Neri Neitzke – Curso C# Sharp (2 DVDS) Prof. Neri Neitzke – Curso C# Sharp DVD1 Prof. Neri Neitzke – Curso C# Sharp DVD2 Prof. Neri Neitzke – Curso de Android Completo (B sico, Avan‡ado I, Avan‡ado II) Prof. Neri Neitzke – Curso de Java EE DVD1 Prof. Neri Neitzke – Curso de Java EE DVD2 Prof. Neri Neitzke – Curso de PHP com Mysql e Dreamweaver CS4 (2 DVDS) Prof. Neri Neitzke – Curso Delphi Interbase Prof. Neri Neitzke – Curso Delphi Super Avan‡ado (2 DVDS) Prof. Neri Neitzke – Curso Delphi Super Avan‡ado DVD1 Prof. Neri Neitzke – Curso Delphi Super Avan‡ado DVD2 Prof. Neri Neitzke – Curso HTML, JavaScript, CSS DVD1 Prof. Neri Neitzke – Curso HTML, JavaScript, CSS DVD2 Prof. Neri Neitzke – Curso Java com Hibernate (DVD 1) Prof. Neri Neitzke – Curso Java com Hibernate (DVD 2 e DVD 3) Prof. Neri Neitzke – Curso Java SE I Estoque Prof. Neri Neitzke – Curso Oracle PL-SQL Forms Reports (3 DVDS) – Senha = pr0mp7 Prof. Neri Neitzke – Curso PHP O.O Carrinho de Compras – Senha = pr0mp7 Prof. Neri Neitzke – Gerador Java (2 DVDS) Prof. Neri Neitzke – Java 16 DVDS – Senha = pr0mp7 Prof. Neri Neitzke – Moodle Programa‡Æo Android [B sico] 4GB School Of Net – Curso de PHP – Imersao POO com PHP School Of Net – Curso PHP 5 POO School of Net – PHP Extreme – Workshop Online de PHP 5 – POO School of Net – Zend Framework – Desenvolvimento Profissional Com PHP No PadrÆo MVC T2TI – Curso de PHP T2TI – Curso OpenSwing T2TI – Dominando o MySQL T2TI – Dominando o Oracle T2TI – Jasper IReports T2TI – Java ECF + TEF T2TI – Java Hands On T2TI – JavaScript Starter T2TI – Siscom Java Desktop T2TI – Web Programmer – JSP Treinamentos TI – Curso ASP.NET Com C# Avan‡ado Treinamentos TI – Curso ASP.NET Com C# B sico Treinamentos TI – Curso Visual C# Avan‡ado Treinamentos TI – Curso Visual C# B sico Universidade XTI – Curso Java Universidade XTI – Curso Javascript Universidade XTI – Curso JQuery UpInside – Curso de SEO em PHP UpInside – Curso Fireworks Para Web UpInside – Curso PRO Jquery UpInside – Curso Pro PHP UpInside – Portal Imobili rio com PHP UpInside – Pro Tableless – Padräes Web Win8.1 Pro X86X64+IE11+Dec2013.iso – 4GB Windows 7 Professional SP1 [Fevereiro2014] – 5,5 GB Windows 8.1 Atualizado 14.01.14 + Aplicativos-Senhorff – 7,7 GB Zumba Fitness 24GB Zumba Fitness Gold – Live It Up 9GB Pack com 133 Cursos Torrents separados Créditos 1000% : Anderson
  5. o website dele não tinha painel admin ele teve que adicionar via comando : INSERT INTO `shop_offer` (`points`, `category`, `type`, `item`, `count`, `description`, `name`) VALUES ('10', '2', '5', '2160', '1', 'Descrição', 'NomeTeste');
  6. lolking is rulex
  7. Tenta assim : local free = { -- ["nome da city"] = {posx, posy, posz} ["yalahar"] = {1555, 2576, 6}, ["anknor"] = {487, 261, 6}, ["goroma"] = {1367, 195, 6}, ["smallville"] = {1995, 2394, 6}, ["venonh"] = {238, 370, 6}, ["alfon"] = {114, 282, 6}, ["dorion"] = {31, 79, 6} } local vip = { ["everwood"] = {1086, 10311, 6}, ["falelfia"] = {1348, 1155, 6}, ["nunca"] = {114, 282, 6} } local cost = 100 local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) npcHandler.topic = {} 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 for city, tp in pairs(free) do if msgcontains(msg, city) then npcHandler:say('você tem certeza que quer viajar por 100 gold coin ?', cid) npcHandler.topic[cid] = 1 elseif msgcontains(msg, 'yes') and npcHandler.topic[cid] == 1 then if doPlayerRemoveMoney(cid, cost) then doTeleportThing(cid, {x=tp[1], y=tp[2], z=tp[3]}) npcHandler:say('Let\'s GO', cid) npcHandler.topic[cid] = 0 else npcHandler:say('Desculpe, você não tem dinheiro suficiente', cid) npcHandler.topic[cid] = 0 end end end for citys, tps in pairs(vip) do if msgcontains(msg, citys) then npcHandler:say('você tem certeza que quer viajar por 100 gold coin ?', cid) npcHandler.topic[cid] = 2 elseif msgcontains(msg, 'yes') and npcHandler.topic[cid] == 2 then if(getPlayerVipDays(cid) > 0) then if doPlayerRemoveMoney(cid, cost) then doTeleportThing(cid, {x=tps[1], y=tps[2], z=tps[3]}) npcHandler:say('Let\'s GO', cid) npcHandler.topic[cid] = 0 else npcHandler:say('Desculpe, você não tem dinheiro suficiente', cid) npcHandler.topic[cid] = 0 end else npcHandler:say('Você não tem VIP!', cid) npcHandler.topic[cid] = 0 end end end if msgcontains(msg, 'no') then npcHandler:say('Tchau! Volte Logo', cid) npcHandler.topic[cid] = 0 end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  8. function onUse(cid, item, topos) local doors = { [88651] = {vocation = {1, 5, 2, 6}, messageFail = "Sorry, you need to be a Sorcerer or Druid to pass."}, [88653] = {vocation = {3, 7}, messageFail = "Sorry, you need to be a Paladin or Royal Paladin to pass."}, [88654] = {vocation = {4, 8}, messageFail = "Sorry, you need to be a Knight or Elite Knight to pass."} } if isInArray(doors[item.actionid].vocation, getPlayerVocation(cid)) then doTeleportThing(cid, toPosition, true) doTransformItem(item.uid, item.itemid + 1) else return doPlayerSendCancel(cid, doors[item.actionid].messageFail) end return true end
  9. Summ postou uma resposta no tópico em Suporte Tibia OTServer
    config.php $config['site']['newaccount_premdays'] = 10;
  10. function onUse(cid, item, topos) local doors = { [88651] = {vocation = {1, 5, 2, 6}, messageFail = "Sorry, you need to be a Sorcerer or Druid to pass."}, [88653] = {vocation = {3, 7}, messageFail = "Sorry, you need to be a Paladin or Royal Paladin to pass."}, [88654] = {vocation = {4, 8}, messageFail = "Sorry, you need to be a Knight or Elite Knight to pass."} } if isInArray(doors[item.actionid].vocation, getPlayerVocation(cid)) then doTeleportThing(cid, toPosition) doTransformItem(item.uid, item.itemid + 1) else return doPlayerSendCancel(cid, doors[item.actionid].messageFail) end return true end <action actionid="88651;88653;88654" event="script" value="portavocation.lua"/>
  11. Excelente trabalho, mas como veio de você, então já era esperado isso hahaha, rep+
  12. local table = { stg = 99487, -- Não mudar stg2 = 99488, -- Não mudar itemid = 3184 -- Id do item que irá ganhar } local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) npcHandler.topic = {} 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 if getPlayerStorageValue(cid, table.stg) > 0 then if getPlayerStorageValue(cid, table.stg2) < 1 then if msgcontains(msg, 'mendigo') then npcHandler:say('Ah e voce amigo, eu era aquele mendigo sim, aconteceu varias coisas e aqui estou hahaha... brincadeiras a parte, tenho {algo} pra te dar por ter me ajudado.', cid) npcHandler.topic[cid] = 1 elseif msgcontains(msg:lower(), 'algo') and npcHandler.topic == 1 then npcHandler:say('Sim, faça bom proveito disso.', cid) doPlayerAddItem(cid, table.itemid, 1) setPlayerStorageValue(cid, table.stg2, 1) npcHandler.topic[cid] = 0 end else npcHandler:say('Foi muito bom te conhecer cara, te considero até hoje', cid) npcHandler.topic[cid] = 0 end else npcHandler:say('Nem te conheço cara... vá embora', cid) npcHandler.topic[cid] = 0 end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  13. Editei o script lá em cima...
  14. 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) doRemoveCreature(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()) Dps da o feedback do tópico do npc mendigo se funcionou ou não ... vou dar uma olhada no de change name e já edito aqui.
  15. Na verdade o primeiro script é funcional sim, mas como ele não colocou a função pro char deslogar, o sex só é mudado ao deslogar, basta adiciona o : doRemoveCreature(cid)
  16. mendigo.lua local table = { stg = 99487, -- Não mudar cost = 1000, -- Quantia a ser doada pos = {x = xxxx, y = xxx, z = x} -- Pos que vai ser teleportado onde vai encontrar o outro NPC } local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) npcHandler.topic = {} 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 if getPlayerStorageValue(cid, table.stg) > 0 then npcHandler:say('Obrigado amigo de bom coracao, voce ja me ajudou.', cid) return true else if msgcontains(msg, 'ajudar') then npcHandler:say('Voce teria '..table.cost..' gps pra me ajudar ?', cid) npcHandler.topic[cid] = 1 elseif msgcontains(msg, 'sim') and npcHandler.topic[cid] == 1 then if doPlayerRemoveMoney(cid, table.cost) then npcHandler:say('Obrigado!', cid) doTeleportThing(cid, table.pos) setPlayerStorageValue(cid, table.stg, 1) else npcHandler:say('Voce tem pouco dinheiro! Melhor guardar, para não passar pela minha situacao', cid) end npcHandler.topic[cid] = 0 elseif msgcontains(msg, 'nao') then npcHandler.topic[cid] = 0 npcHandler:say('Espero que voce nunca precise de ajuda.', cid) end end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) mendigo.xml <?xml version="1.0" encoding="UTF-8"?> <npc name="Mendigo" script="data/npc/scripts/mendigo.lua" walkinterval="25" floorchange="0" access="5" lookdir="1" > <health now="150" max="150"/> <look type="133" head="95" body="86" legs="86" feet="38" addons="3"/> <parameters> <parameter key="message_greet" value="Ola |PLAYERNAME|! Voce pode me {ajudar}?"/> </parameters> <voices interval="10"> <voice text="Sera que alguma pessoa poderia me ajudar?" yell="0"/> </voices> </npc> rico.lua local table = { stg = 99487, -- Não mudar stg2 = 99488, -- Não mudar itemid = xxxx -- Id do item que irá ganhar } local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) npcHandler.topic = {} 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 if getPlayerStorageValue(cid, table.stg) > 0 then if getPlayerStorageValue(cid, table.stg2) < 1 then if msgcontains(msg, 'mendigo') then npcHandler:say('Ah é você amigo, eu era aquele mendigo sim, aconteceu varias coisas e aqui estou hahaha... brincadeiras a parte, tenho {algo} pra te dar por ter me ajudado', cid) npcHandler.topic[cid] = 1 elseif msgcontains(msg, 'algo') npcHandler.topic == 1 then npcHandler:say('Sim, faça bom proveito disso.') doPlayerAddItem(cid, table.itemid, 1) setPlayerStorageValue(cid, table.stg2, 1) end else npcHandler:say('Foi muito bom te conhecer cara, te considero até hoje') npcHandler.topic[cid] = 0 end else npcHandler:say('Nem te conheço cara... vá embora') npcHandler.topic[cid] = 0 end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) rico.xml <?xml version="1.0" encoding="UTF-8"?> <npc name="Rico" script="data/npc/scripts/rico.lua" walkinterval="25" floorchange="0" access="5" lookdir="1" > <health now="150" max="150"/> <look type="133" head="95" body="86" legs="86" feet="38" addons="3"/> <parameters> <parameter key="message_greet" value="Ola |PLAYERNAME|! Se eu te fala-se que eu era um mendigo tu acreditaria ?"/> </parameters> </npc> Configurações : mendigo.lua = pos = {x = xxxx, y = xxx, z = x} -- Pos que vai ser teleportado onde vai encontrar o outro NPC rico.lua = itemid = xxxx -- Id do item que irá ganhar Agradecimentos ao Bruno Minervino por ter me ajudado e ensinado.
  17. #editado #editado dnv u.u
  18. Eu quero fazer um pedido de um avatar 190 x 340 com meu nome centralizado na parte inferior do avatar/imagem. algo tipo assim : Mas com essa imagem : Agradeço desde já.
  19. tem como liberar as sources ?
  20. Tenta agora : local chance = { ['leafmon'] = 999, ['abra'] = 60, ['kadabra'] = 30, ['alakazam'] = 5, ['gastly'] = 60, ['haunter'] = 30, ['gengar'] = 5, ['aipom'] = 50, ['ambipom'] = 5, ['machop'] = 70, ['machoke'] = 35, ['machamp'] = 6, ['bellsprout'] = 100, ['weepinbell'] = 60, ['victreebel'] = 10, ['tentacool'] = 70, ['tentacruel'] = 5, ['geodude'] = 80, ['graveler'] = 36, ['golem'] = 7, ['ponyta'] = 60, ['rapidash'] = 10, ['slowpoke'] = 80, ['slowbro'] = 20, ['magnemite'] = 70, ['magneton'] = 15, ['magnezone'] = 5, ['farfetchd'] = 40, ['doduo'] = 90, ['dodrio'] = 20, ['seel'] = 65, ['dewgong'] = 5, ['grimer'] = 90, ['muk'] = 10, ['shellder'] = 65, ['cloyster'] = 5, ['elekid'] = 50, ['magby'] = 50, ['tyrogue'] = 50, ['pichu'] = 50, ['onix'] = 15, ['drowzee'] = 65, ['hypno'] = 5, ['krabby'] = 100, ['kingler'] = 20, ['corphish'] = 90, ['crawdaunt'] = 15, ['voltorb'] = 80, ['electrode'] = 15, ['exeggcute'] = 60, ['exeggutor'] = 6, ['cubone'] = 80, ['marowak'] = 5, ['hitmonlee'] = 2, ['hitmonchan'] = 2, ['lickitung'] = 30, ['koffing'] = 90, ['weezing'] = 15, ['rhyhorn'] = 50, ['rhydon'] = 5, ['chansey'] = 3, ['tangela'] = 50, ['kangaskhan'] = 25, ['horsea'] = 99, ['seadra'] = 15, ['kingdra'] = 2, ['togepi'] = 60, ['togetic'] = 10, ['shuppet'] = 40, ['banette'] = 3, ['duskull'] = 40, ['dusclops'] = 3, ['goldeen'] = 99, ['seaking'] = 18, ['buizel'] = 18, ['staryu'] = 50, ['starmie'] = 5, ['mime jr'] = 45, ['mr.mime'] = 4, ['scyther'] = 2, ['smoochum'] = 45, ['jynx'] = 3, ['electabuzz'] = 3, ['magmar'] = 2, ['pinsir'] = 40, ['tauros'] = 35, ['magikarp'] = 999, ['gyarados'] = 4, ['lapras'] = 10, ['ditto'] = 1, ['eevee'] = 18, ['vaporeon'] = 2, ['flareon'] = 2, ['jolteon'] = 2, ['porygon'] = 2, ['omanyte'] = 20, ['omastar'] = 2, ['kabuto'] = 20, ['kabutops'] = 2, ['aerodactyl'] = 2, ['snorlax'] = 5, ['articuno'] = 1, ['zapdos'] = 1, ['moltres'] = 1, ['dratini'] = 25, ['dragonair'] = 5, ['dragonite'] = 1, ['celebi'] = 1, ['lugia'] = 1, ['mew'] = 1, ['mewtwo'] = 1, ['beedrill'] = 20, ['bulbasaur'] = 40, ['ivysaur'] = 6, ['venusaur'] = 2, ['charmander'] = 40, ['charmeleon'] = 6, ['charizard'] = 2, ['squirtle'] = 40, ['wartortle'] = 6, ['blastoise'] = 2, ['caterpie'] = 999, ['metapod'] = 75, ['butterfree'] = 20, ['weedle'] = 999, ['kakuna'] = 75, ['pidgey'] = 90, ['pidgeotto'] = 30, ['pidgeot'] = 7, ['rattata'] = 300, ['raticate'] = 60, ['spearow'] = 80, ['fearow'] = 10, ['ekans'] = 60, ['arbok'] = 10, ['pikachu'] = 70, ['raichu'] = 5, ['sandshrew'] = 80, ['sandslash'] = 7, ['nidoran F'] = 80, ['nidorina'] = 10, ['nidoqueen'] = 2, ['nidoran M'] = 80, ['nidorino'] = 10, ['nidoking'] = 2, ['clefairy'] = 38, ['clefable'] = 4, ['vulpix'] = 60, ['ninetales'] = 5, ['jigglypuff'] = 39, ['wigglytuff'] = 5, ['zubat'] = 99, ['golbat'] = 30, ['crobat'] = 3, ['oddish'] = 120, ['gloom'] = 40, ['vileplume'] = 5, ['paras'] = 90, ['parasect'] = 15, ['venonat'] = 70, ['venomoth'] = 9, ['diglett'] = 80, ['dugtrio'] = 15, ['meowth'] = 80, ['persian'] = 35, ['psyduck'] = 60, ['golduck'] = 3, ['mankey'] = 65, ['primeape'] = 9, ['growlithe'] = 50, ['arcanine'] = 2, ['poliwag'] = 85, ['poliwhirl'] = 10, ['politoed'] = 3, ['poliwrath'] = 3, ['riolu'] = 30, ['lucario'] = 2, ['elder charizard'] = 1, ['crystal onix'] = 1, ['red gyarados'] = 1, ['shiny horsea'] = 1, ['shiny abra'] = 1, ['shiny seadra'] = 1, ['shiny krabby'] = 1, ['shiny kingler'] = 1, ['shiny tentacruel'] = 1, ['shiny paras'] = 1, ['shiny parasect'] = 1, ['shiny raticate'] = 1, ['shiny muk'] = 1, ['shiny growlithe'] = 1, ['shiny arcanine'] = 1, ['shiny butterfree'] = 1, ['shiny electrode'] = 1, ['shiny raichu'] = 1, ['shiny venomoth'] = 1, ['ivysaur2'] = 1, ['charmeleon2'] = 1, ['wartortle2'] = 1, ['pidgeotto2'] = 1, ['spearow2'] = 1, ['nidorina2'] = 1, ['nidorino2'] = 1, ['vulpix2'] = 1, ['paras2'] = 1, ['psyduck2'] = 1, ['growlithe2'] = 1, ['poliwhirl2'] = 1, ['kadabra2'] = 1, ['machoke2'] = 1, ['weepinbell2'] = 1, ['tentacool2'] = 1, ['riolu2'] = 1, ['scyther2'] = 1, ['graveler2'] = 1, ['shellder2'] = 1, ['haunter2'] = 1, ['drowzee2'] = 1, ['exeggcute2'] = 1, ['seadra2'] = 1, ['togepi2'] = 1, ['rhyhorn2'] = 1, ['magikarp2'] = 1, ['omanyte2'] = 1, ['kabuto2'] = 1, ['smoochum2'] = 1, ['mime jr2'] = 1, ['dragonair2'] = 1, ['shiny krabby2'] = 1, ['shiny tentacool2'] = 1, ['shiny horsea2'] = 1 } local ID_GREATBALL = 11832 local ID_SUPERBALL = 11835 local ID_ULTRABALL = 11829 local ID_MASTERBALL = 2554 local ID_CAPTUROU = 24 local ID_NAO_CAPTUROU = 23 local pokebolas = { [2149] = {2531,"Pokeball"}, [2147] = {2653,"Superball"}, [2146] = {2652,"Greatball"}, [2150] = {2654,"Ultraball"}, [2521] = {2195,"Masterball"} } local level = { ['leafmon'] = 5, ['abra'] = 5, ['kadabra'] = 40, ['alakazam'] = 80, ['machop'] = 15, ['machoke'] = 40, ['machamp'] = 70, ['bellsprout'] = 5, ['weepinbell'] = 20, ['victreebel'] = 50, ['tentacool'] = 15, ['tentacruel'] = 70, ['geodude'] = 5, ['graveler'] = 35, ['golem'] = 65, ['ponyta'] = 10, ['rapidash'] = 50, ['slowpoke'] = 5, ['slowbro'] = 50, ['magnemite'] = 10, ['magneton'] = 40, ['farfetchd'] = 25, ['duduo'] = 15, ['dodrio'] = 45, ['seel'] = 15, ['dewgong'] = 65, ['grimer'] = 10, ['muk'] = 40, ['shellder'] = 5, ['cloyster'] = 60, ['gastly'] = 90, ['haunter'] = 50, ['gengar'] = 10, ['onix'] = 50, ['drowzee'] = 18, ['hypno'] = 55, ['krabby'] = 5, ['klinger'] = 35, ['voltorb'] = 5, ['electrode'] = 40, ['exeggcute'] = 8, ['exeggutor'] = 45, ['cubone'] = 15, ['marowak'] = 52, ['hitmonlee'] = 70, ['hitmonchan'] = 65, ['lickitung'] = 40, ['koffing'] = 10, ['weezing'] = 38, ['rhyhorn'] = 20, ['rhydon'] = 68, ['chansey'] = 50, ['tangela'] = 30, ['kangaskhan'] = 70, ['horsea'] = 5, ['seadra'] = 36, ['goldeen'] = 5, ['seaking'] = 32, ['staryu'] = 15, ['starmie'] = 40, ['mr.Mime'] = 60, ['scyther'] = 80, ['jynx'] = 70, ['electabuzz'] = 72, ['magmar'] = 72, ['pinsir'] = 10, ['tauros'] = 25, ['magikarp'] = 1, ['gyarados'] = 70, ['lapras'] = 40, ['ditto'] = 100, ['eevee'] = 15, ['vaporeon'] = 50, ['flareon'] = 50, ['jolteon'] = 50, ['porygon'] = 40, ['omanyte'] = 20, ['omastar'] = 10, ['kabuto'] = 20, ['kabutops'] = 10, ['snorlax'] = 35, ['articuno'] = 150, ['zapdos'] = 150, ['moltres'] = 150, ['dratini'] = 10, ['dragonair'] = 50, ['dragonite'] = 80, ['mew'] = 350, ['mewtwo'] = 200, ['beedrill'] = 25, ['bulbasaur'] = 5, ['ivysaur'] = 35, ['venusaur'] = 75, ['charmander'] = 5, ['charmeleon'] = 35, ['charizard'] = 75, ['squirtle'] = 5, ['wartortle'] = 35, ['blastoise'] = 75, ['caterpie'] = 1, ['metapod'] = 5, ['butterfree'] = 25, ['weedle'] = 1, ['kakuna'] = 5, ['pidgey'] = 5, ['pidgeotto'] = 20, ['pidgeot'] = 65, ['rattata'] = 1, ['raticate'] = 20, ['spearow'] = 5, ['fearow'] = 45, ['ekans'] = 10, ['arbok'] = 32, ['pikachu'] = 18, ['raichu'] = 42, ['sandshrew'] = 13, ['sandslash'] = 58, ['nidoranFE'] = 10, ['nidorina'] = 30, ['nidoqueen'] = 60, ['nidoranMA'] = 10, ['nidorino'] = 30, ['nidoking'] = 60, ['clefairy'] = 40, ['clefable'] = 10, ['vulpix'] = 10, ['ninetales'] = 60, ['jigglypuff'] = 5, ['wigglytuff'] = 40, ['zubat'] = 6, ['golbat'] = 28, ['oddish'] = 5, ['gloom'] = 25, ['vileplume'] = 50, ['paras'] = 5, ['parasect'] = 50, ['venonat'] = 13, ['venomoth'] = 40, ['diglett'] = 5, ['dugtrio'] = 40, ['meowth'] = 5, ['persian'] = 30, ['psyduck'] = 18, ['golduck'] = 55, ['mankey'] = 10, ['primeape'] = 50, ['growlithe'] = 18, ['arcanine'] = 80, ['poliwag'] = 5, ['poliwhirl'] = 25, ['poliwrath'] = 60 } -- Vá adicionando mais acima, como está ali "" local function capturou(params) doSendMagicEffect(getCreaturePosition(params.cid), 173) doPlayerSendTextMessage(params.cid, 25, 'Parabens você capturou um ('..params.monster..').') item = doCreateItemEx(params.ball) doItemSetAttribute(item, "name", ""..params.monster.." "..params.ball2) doItemSetAttribute(item, "level", params.level) doItemSetAttribute(item, "aid", params.hp) doPlayerAddItemEx(params.cid, item, true) end local function naocapturou(params) end function onUse(cid, item, fromPosition, itemEx, toPosition) local monster = getItemName(itemEx.uid):match("dead (.*)") if item.itemid == ID_GREATBALL then chances = (chance[monster]) * 3 elseif item.itemid == ID_SUPERBALL then chances = (chance[monster]) * 4 elseif item.itemid == ID_ULTRABALL then chances = (chance[monster]) * 6 elseif item.itemid == ID_MASTERBALL then chances = (chance[monster]) * 10000 end if math.random(1,1000) <= chances then if item.itemid == 2149 then doSendMagicEffect(toPosition, 24) elseif item.itemid == 2147 then doSendMagicEffect(toPosition, 202) elseif item.itemid == 2146 then doSendMagicEffect(toPosition, 198) elseif item.itemid == 2150 then doSendMagicEffect(toPosition, 200) elseif item.itemid == 2521 then doSendMagicEffect(toPosition, 24) end local hpmax = 0 local ball = pokebolas[item.itemid] addEvent(capturou, 4000, {cid = cid, monster = monster, ball = ball[1], ball2 = ball[2], level = level[monster], hp = hpmax}) doRemoveItem(itemEx.uid, 1) doRemoveItem(item.uid, 1) else if item.itemid == 2149 then doSendMagicEffect(toPosition, 23) elseif item.itemid == 2147 then doSendMagicEffect(toPosition, 201) elseif item.itemid == 2146 then doSendMagicEffect(toPosition, 197) elseif item.itemid == 2150 then doSendMagicEffect(toPosition, 199) elseif item.itemid == 2521 then doSendMagicEffect(toPosition, 203) end doRemoveItem(itemEx.uid, 1) doRemoveItem(item.uid, 1) end return true end
  21. http://www.tibiaking.com/forum/topic/17059-alavanca-que-venda-mana-potions/
  22. Tenta : function onSay(cid, words, param) local table = { newLevel = 8, exp = 4200, level = 350, idPLayer = getPlayerGUID(cid), skull = SKULL_RED } if not getPlayerSkullType(cid) == skull then if getTileInfo(getCreaturePosition(cid)).protection then if getPlayerLevel(cid) >= table.level then setResets(cid, 1) db.executeQuery("UPDATE `players` SET `level`= "..table.newLevel..", `experience`= "..table.exp.." WHERE `players`.`id`= "..table.idPLayer) doRemoveCreature(cid) else doPlayerSendCancel(cid, "Você precisa do level "..table.level.." ou mais para resetar.") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) end else doPlayerSendTextMessage(cid, 19 , "Você precisa estar em protection zone pra poder resetar.") end else doPlayerSendTextMessage(cid, 19, "Apenas players sem red skull podem resetar.") end return true end
  23. Summ postou uma resposta no tópico em Suporte Tibia OTServer
    porque ?
  24. Summ postou uma resposta no tópico em Suporte Tibia OTServer
    buymount.lua function onUse(cid, item, frompos, itemEx, topos) local table = { mount = xxx, -- Id mount cost = xxx, -- Preço da mount stg = xxx -- storage que será adiciona ao player que tem a mount, usa uma inexistente ex : 9478941 } if getPlayerStorageValue(cid, table.stg) < 1 then if doPlayerRemoveMoney(cid, table.cost) then doPlayerAddMount(cid, table.mount) doPlayerSendTextMessage(cid, 22, "Sua mount foi adicionada!") doSendMagicEffect(getPlayerPosition(cid), 13) setPlayerStorageValue(cid, table.stg, 1) else return doPlayerSendCancel(cid, "Você não possui money suficiente para a compra!") end else return doPlayerSendCancel(cid, "Você já possui a mount!") end return true end actions.XML <action actionid="8599" event="script" value="buymount.lua"/> Lembre-se de coloca no rme na alavanca ACTION ID "8599" ...

Informação Importante

Confirmação de Termo