Tudo que arthurabreu postou
-
(Resolvido)[Pedido] Npc Reborn / Reset
e so mudar a tag (doReborn) para getPromotedVocation(voc)
-
RME Bugado
Ja está Show Spawns, é sim. Tá abrindo o Spr do meu pokémon.
-
RME Bugado
Ja tentei fazer isso, continua com os MONSTER/NPCS De Wodbo @UP UP
-
Map Pokémon
Essa é pros mappers e todos que quiserem ajudar, QUAL A MELHOR VERSÃO DO RME PARA EDITAR MAPAS DE POKÉMON? Obrigado
-
RME Bugado
Resolvi criar um WoDBO A um tempo atrás, porem eu resolvi editar um POKÉMON. Eu configurei o RME, coloquei dat/spr do pokémon, items.otb e tals. So que fica mostrando os MONSTERS/NPCS do WoDBO E os respawns não são mostrados. Ajudem
- erro invasao globalevents
-
NPC Reborn
@UP
-
NPC Reborn
@UP
-
(Resolvido)[Pedido] Npc Reborn / Reset
Veja meu tópico e veja se te ajuda, porem ele so necessita do LEVEL. Depois faço algumas modificações pra ajudar você. http://www.tibiaking.com/forum/topic/42613-npc-reborn/
-
NPC Reborn
Olá galera do TK, venho trazer para vocês uma script bem utilizada em WODBO's, porem essa é pra 8.54. Função da script: Reseta o level, da 20.000 de [life|mana] e uma nova vocação. Vá ate data/npc copie um arquivo .xml e de um novo nome(Reborn.xml) e cole isso: <npc name="Reborn Man" script="data/npc/scripts/reborn.lua" walkinterval="0" floorchange="0" access="5" level="1" maglevel="1"> <health now="100" max="100"/> <look type="118" head="57" body="59" legs="40" feet="76" addons="3"/> <parameters> <parameter key="message_greet" value="Hello |PLAYERNAME|. Reborn!" /> </parameters> </npc> Depois va ate data/npc/scripts copie um arquivo.lua e de um novo nome: (Reborn.lua) local focus = 0 local talk_start = 0 local target = 0 local following = false local attacking = false function onThingMove(creature, thing, oldpos, oldstackpos) end function onCreatureAppear(creature) end function onCreatureDisappear(cid, pos) if focus == cid then selfSay('?????.') focus = 0 talk_start = 0 end end function onCreatureTurn(creature) end function msgcontains(txt, str) return (string.find(txt, str) and not string.find(txt, '(%w+)' .. str) and not string.find(txt, str .. '(%w+)')) end function onCreatureSay(cid, type, msg) msg = string.lower(msg) if (msgcontains(msg, 'hi') and (focus == 0)) and getDistanceToCreature(cid) < 4 then selfSay('Hello. If you ready I can "Reborn" you.') focus = cid talk_start = os.clock() elseif msgcontains(msg, 'hi') and (focus ~= cid) and getDistanceToCreature(cid) < 4 then selfSay('Desculpe, ' .. getCreatureName(cid) .. '! Hey!.') elseif focus == cid then talk_start = os.clock() if msgcontains(msg, 'reborn') and getPlayerStorageValue(cid,30023) == 1 then selfSay('Sorry, but you are after reborn.') focus = 0 talk_start = 0 elseif msgcontains(msg, 'reborn') and getPlayerLevel(cid) < 300 and getPlayerStorageValue(cid,30023) ~= -1 then selfSay('Hehe, I say If you READY. You do not have 300 lvl.') elseif msgcontains(msg, 'reborn') then selfSay('Are you sure?') talk_state = 2 elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 300 and getPlayerVocation(cid) == 49 then setPlayerStorageValue(cid,30023,1) doReborn(cid, 1, 42, 82) talk_state = 0 elseif msgcontains(msg, 'yes') and talk_state == 2 then selfSay('Sorry, ' .. getCreatureName(cid) .. '! You must have got last transform.') elseif msgcontains(msg, 'bye') and getDistanceToCreature(cid) < 4 then selfSay('Good bye.') focus = 0 talk_start = 0 end end end function onThink() doNpcSetCreatureFocus(focus) if (os.clock() - talk_start) > 45 then if focus > 0 then selfSay('Next Please...') end focus = 0 end if focus ~= 0 then if getDistanceToCreature(focus) > 5 then selfSay('Good bye then.') focus = 0 end end end Para configurar a vocação atual, a vocação que vai dar reborn e a nova outfit é nessa tag: elseif msgcontains(msg, 'yes') and talk_state == 2 and getPlayerLevel(cid) >= 300 and getPlayerVocation(cid) == 49 then setPlayerStorageValue(cid,30023,1) doReborn(cid, 1, 42, 82) talk_state = 0 Adicionem isso na pasta lib/050-function pra funcionar a tag doReborn function doReborn(cid, level, looktype, vocation) db.executeQuery("UPDATE `players` SET `level` = " .. level .. " WHERE `id` = " .. getGlobalStorageValue(1000) .. ";") db.executeQuery("UPDATE `players` SET `looktype` = " .. looktype .. " WHERE `id` = " .. getGlobalStorageValue(1000) .. ";") db.executeQuery("UPDATE `players` SET `vocation` = " .. vocation .. " WHERE `id` = " .. getGlobalStorageValue(1000) .. ";") doRemoveCreature(cid) return TRUE Até a proxima galera. Creditos: DBWarrior
-
(Resolvido)condição para poder falar com o npc
quem ajudar como sempre irei dar rep ++! Não seria mais facil um item? :]
-
[PEDIDO] Bases Pokémon
Perdão, meu navegador as vezes buga e da algum double post ! UP
-
[PEDIDO] Bases Pokémon
Olá galerinha, venho pedir uma base de pokémon, não com muitos bugs. Vou começar um novo projeto, porem não acho uma boa base para servidores sérios. Somente bases de EXPERIENCE ALTA, entre outras coisas.
-
Projeto: Dragon Ball 8.54
Algum SCRIPTER, está disposto a criar um server comigo? Deixe mensagem abaixo. Server: Dragon Ball(WoDBO) Version: 8.54 Facebook: https://www.facebook.com/arthur.abreu.560
-
(Resolvido)[Pedido] Npc Reborn / Reset
ta fazendo um wodbo? caso queria ajuda manda pm ai. também tava afim de criar um
- [PEDIDO] NPC MONSTER - POKETIBIA
-
Premium que da % mais de exp
Creature script, veja melhor o tópico: http://www.tibiaking.com/forum/topic/38238-tfs-10-extra-exp-para-premium-account/
-
Error
Vocês poderiam me ajudar? preciso de um npc Função: quando o player atingir a vocação x, com o lv 250 pra cima ele pode rebornar, assim ganhando uma nova vocação e 20k de MANA E LIFE, e uma nova outfit. ganhando uma storage. pra fazer so uma vez por char. Obs: se tiver como fazer pra varias vocações. Quem jogou wodbo sabe como é Versão 8.54? Já tenho essa que achei na net, porem não funciona 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 local config = { --[Vocation] = ( Nova Vocation, New Outfit ) [21] = { 22, 137}, [254] = { 255, 351}, } function creatureSayCallback(cid, type, msg) if(not npcHandler:isFocused(cid)) then return false end local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid if msgcontains(msg, 'lol') and getPlayerStorageValue(cid,30025) == 4 then selfSay('You are reborn.', cid) focus = 0 talk_start = 0 elseif msgcontains(msg, 'reborn') and getPlayerLevel(cid) < 250 and getPlayerStorageValue(cid,30025) ~= 4 then selfSay('Hehe, I say If you READY. You do not have 250 level.', cid) elseif msgcontains(msg, 'reborn') then selfSay('Are you sure? {yes}', cid) talkState[talkUser] = 2 elseif msgcontains(msg, 'yes') and talkState[talkUser] ==2 and getPlayerLevel(cid) => 250 then local voc = config[getPlayerVocation(cid)] doPlayerSetVocation(cid, voc[1]) local outfit = {lookType = voc[2]} doCreatureChangeOutfit(cid, outfit) doPlayerAddExp(cid, -(getPlayerExperience(cid)-getExperienceForLevel(1))) setCreatureMaxHealth(cid, getCreatureMaxHealth(cid)+20000) setCreatureMaxMana(cid, getCreatureMaxMana(cid)+30000) doCreatureAddHealth(cid, getCreatureMaxHealth(cid)) doCreatureAddMana(cid, getCreatureMaxMana(cid)) setPlayerStorageValue(cid,30025,4) talkState[talkUser] = 0 elseif msgcontains(msg, 'yes') and getPlayerLevel(cid) ~= 250 then selfSay('Desculpe, ' .. getCreatureName(cid) .. '! You need level 250 to reborn.', cid) talkState[talkUser] = 0 elseif msgcontains(msg, 'yes') and talkState[talkUser] == 2 then selfSay('Sorry, ' .. getCreatureName(cid) .. '! You must revert or transform to reborn.', cid) talkState[talkUser] = 0 elseif msgcontains(msg, 'bye') and getDistanceToCreature(cid) < 4 then selfSay('Good bye.', cid) focus = 0 talk_start = 0 end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
-
[PEDIDO NPC] - NPC REBORN
Vocês poderiam me ajudar? preciso de um npc Função: quando o player atingir a vocação x, com o lv 250 pra cima ele pode rebornar, assim ganhando uma nova vocação e 20k de MANA E LIFE, e uma nova outfit. ganhando uma storage. pra fazer so uma vez por char. Obs: se tiver como fazer pra varias vocações. Quem jogou wodbo sabe como é Versão 8.54
-
Adicionar vocações
Ja deu tudo certo, rep+ pra todos.
-
Adicionar vocações
Deu certinho, desculpe. e Que eu reinciei o servidor sem salvar I LOVE YOUS
-
Adicionar vocações
Ja está fromvoc 1. olha a script <vocation id="1" name="Sorcerer" description="a sorcerer" needpremium="0" gaincap="10" gainhp="5" gainmana="30" gainhpticks="6" gainhpamount="5" gainmanaticks="3" gainmanaamount="5" manamultiplier="1.1" attackspeed="2000" soulmax="100" gainsoulticks="120" fromvoc="1"> <formula meleeDamage="1.0" distDamage="1.0" wandDamage="1.0" magDamage="1.0" magHealingDamage="1.0" defense="1.0" magDefense="1.0" armor="1.0"/> <skill fist="1.5" club="2.0" sword="2.0" axe="2.0" distance="2.0" shielding="1.5" fishing="1.1" experience="1.0"/
-
Adicionar vocações
O Problema é que quando vou criar um character, não aparece nada pra que eu escolha minha vocação. Intende? Ex: account/senha|yes/login|yes logo na conta character|nome|yes/male|yes/ pronto, a conta e criada sem vocação.
-
Adicionar vocações
Como posso adicionar as vocações na account manager? Tibia 8.54
-
[PEDIDO] Script Transform
REP+ para vocês dois, obrigada.