Ir para conteúdo

Orochi Elf

Membro
  • Registro em

  • Última visita

Tudo que Orochi Elf postou

  1. Vocês estão checando se está carregando o módulo ou não?
  2. Então cria a pasta MODS, e coloca . o "sendCancel", que acontece quando captura o pokemon, é o servidor enviando as informações pro client.
  3. Não testei. @OBS: Estou usando os UNIQUEIDS local spells = { [12345] = {spell = "exura", price = 100}, } -- [UniqueID] = {spell = "spellName", price = 100 - Gold coins}, function onUse(cid, item) local i = spells[item.uid] if i then if not getPlayerLearnedInstantSpell(cid, i.spell) then if(doPlayerRemoveMoney(cid, i.price) then doPlayerLearnInstantSpell(cid, i.spell) doPlayerSendTextMessage(cid, "Voce aprendeu a magia "..i.spell.." com sucesso.") return true else doPlayerSendCancel(cid, "Voce precisa de "..i.price.." gold coins, para aprender a magia "..i.spell) return true end doPlayerSendCancel(cid, "Voce ja aprendeu a magia "..i.spell) return true end end return true end
  4. Tou trabalhando firme nele pra lançar logo kk
  5. Sinceramente eu não sei o que aconteceu no seu servidor, porém aqui funciona direitinho com GM também.
  6. Pelo que li, você só criou uma variável chamada "num", e alterou na hora de enviar as informações pro client.
  7. Cara, você sabe que não ta editando nada né?, Só adicionou uma variavel que é a mesma coisa que nada.
  8. Orochi Elf postou uma resposta no tópico em Suporte & Pedidos
    Relaxa, e valeu.. mas por enquanto eu to dominando tranquilinho
  9. Orochi Elf postou uma resposta no tópico em Suporte & Pedidos
    Não confio mais na sua pessoa, seu viado EUHEAUHEAUHEEEUHAEUHEA. Depois não peça meus trampos _|_
  10. Orochi Elf postou uma resposta no tópico em Suporte & Pedidos
    Se alguem quiser fazer a layout pra eu por aqui, fiquem avontade :v
  11. Orochi Elf postou uma resposta no tópico em Suporte & Pedidos
    Porque eu não sou design pra fazer um negócio legal, e também não sei se combinaria com todos os servidores, dai eu tou fazendo desse jeito, dai se o pessoal quiser por uma background, eles põem kkk
  12. Eu tinha pensado em algo, ler a tabela no db dos items que tem no depot, e fazer abrir em alguma backpack, ou algo parecido
  13. Altera o arquivo "CatchWindow_lib.lua" por este aqui.
  14. Ok, depois você conta oq aconteceu.
  15. mas é pra ler oq mesmo? EUAHUEAHEUAHEUHAUEHUEAH <3
  16. Orochi Elf postou uma resposta no tópico em Suporte & Pedidos
    É, eu ja disse que vou por as cores "Alpha", que no caso é transparente .. kkkk
  17. Amigo, é bem básico. La no "CatchWindow_lib.lua" você procura por esta parte. if getPlayerStorageValue(cid, pk.DB_PK) <= 0 then doPlayerSendCancel(cid, "%#CatcherWindow@"..getItemInfo(pk.ID_Portrait).clientId.."@"..pokeName.."@"..pk.P_Experience.."@"..getPlayerStorageValue(cid, pk.DB_Balls)) setPlayerStorageValue(cid, pk.DB_Balls, "pb=0,gb=0,sb=0,ub=0,") doPlayerAddExp(cid, pk.P_Experience) setPlayerStorageValue(cid, pk.DB_PK, 1) end E altera por esta parte if getPlayerStorageValue(cid, pk.DB_PK) <= 0 then doPlayerSendCancel(cid, "%#CatcherWindow@"..getItemInfo(pk.ID_Portrait).clientId.."@"..pokeName.."@"..pk.P_Experience.."@"..getPlayerStorageValue(cid, pk.DB_Balls)) setPlayerStorageValue(cid, pk.DB_Balls, "pb=0,gb=0,sb=0,ub=0,") doPlayerAddExp(cid, pk.P_Experience) setPlayerStorageValue(cid, pk.DB_PK, 1) return true end doPlayerSendCancel(cid, "%#CatcherWindow@"..getItemInfo(pk.ID_Portrait).clientId.."@"..pokeName.."@0@"..getPlayerStorageValue(cid, pk.DB_Balls)) setPlayerStorageValue(cid, pk.DB_Balls, "pb=0,gb=0,sb=0,ub=0,")
  18. Quando eu for lançar a versão 1.4, eu ponho esta parte. No momento eu to focado na pokedex.
  19. Faça o bom uso. kkkk, sou gamadão no Orochi <3
  20. Amigo, no caso minha ajuda seria na parte das sourcers mesmo. setCreatureName -> Eu fiquei horas e horas tentando fazer essa função, e sem sucesso. Brun foi meganinjask pra fazer essa função. onSpawn é facil de fazer. O Erro do Items.xml, é que no caso no PDA foi criado um atributo chamado "isPokeball", que nesse distro que você está usando, não existe. este é o erro. fácil criar este atributo, mas pra que serviria? E a função, getDirectionToWalk, o que ela faria exatamente?
  21. Orochi Elf postou uma resposta no tópico em Suporte & Pedidos
    Bom.. eu só poderia colocar estes atributos, caso o servidor já tenha implantado. No caso, eu acho que o Dash Advanced já tem, né?
  22. Orochi Elf postou uma resposta no tópico em Suporte & Pedidos
    Cores "Alpha", EUHAUEHAUEHA. Olha o respeito viadinho EUHAUEHAEUEAHUEA <3
  23. Identação poor favoor amiigos. 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 msg = string.lower(msg) --------- local cfsto = { stoPr = 91230, -- storage pra ele ir fala com o npc e volta !! stoCo = 91231, -- storage q ele falou com a npc tudo certo StoM = 91232, -- sto pra prox missão stoAdd = 91233, -- sto q o npc de ceru deu pra ele q confirmo a msg } local storage = 91250 -- sto da quest completada inteira -- \/ storages da missão 2 local stoTwo = { sto1 = 91234, -- storage pra poder fala com ash sto2 = 91235, -- storage q diz q ele falou com ash sto3 = 91236, -- storage dada pra ele pode pega o clan no pvp } if (msgcontains(msg, 'info') or msgcontains(msg, 'information')) then if getPlayerStorageValue(cid, storage) >= 1 then selfSay("I do not need your help anymore.", cid) return true end talkState[talkUser] = 1 selfSay("Hello, I'm Bill, I like to know everything about pokemon, I'm needing some help to complete my research over pokemon, want to help me?", cid) elseif (msgcontains(msg, 'yes') or msgcontains(msg, 'sim')) and talkState[talkUser] == 1 then selfSay("Okay, I need you to send a message to a friend of mine, she is in cerulean, she call me for a great event pokemons of waterborne more as I am very busy with my research of all Pokemon, I can not go, you can go there telling her that I will not go?", cid) talkState[talkUser] = 2 elseif (msgcontains(msg, 'yes') or msgcontains(msg, 'ok')) and talkState[talkUser] == 2 then selfSay("Ok, I'll be waiting for you here.", cid) setPlayerStorageValue(cid, cfsto.stoPr, 1) talkState[talkUser] = 3 elseif (msgcontains(msg, 'talk') or msgcontains(msg, 'complete')) and talkState[talkUser] == 3 then selfSay("You said what i asked?", cid) talkSta[talkUser] = 4 elseif (msgcontains(msg, 'yes') or msgcontains(msg, 'sim')) and talkState[talkUser] == 4 then if getPlayerStorageValue(cid, cfsto.stoAdd) >= 1 then selfSay("Sorry, you did not do what I asked you needed.", cid) return true end selfSay("Very good, I am very grateful for helping me with this help I managed to finish my research and can find the formula of gvhd your pokemon stronger, I adptei this as the name of clan, you want to know more about this story?", cid) setPlayerStorageValue(cid, cfsto.StoM, 1) talkState[talkUser] = 5 --------------------- 1 * missão /\ ----- --\\-- --- 2 * missão \/ ---- elseif (msgcontains(msg, 'missao') or msgcontains(msg, 'help')) and talkState[talkUser] == 1 then if getPlayerStorageValue(cid, cfsto.stoM) <= 1 then selfSay("Sorry, you even helped me in the first mission!.", cid) return true end selfSay("I see a lot of interest on their part, need you Fasse me another favor, this interested?", cid) talkState[talkUser] = 2 elseif (msgcontains(msg, 'yes') or msgcontains(msg, 'sim')) and talkState[talkUser] == 2 then selfSay("Ok, I'm already almost done my research officer clans, intão I need you to talk to ash he will speak to the attribute needed to finalize the clan, can you bring me this Feedback from the ash?", cid) talkState[talkUser] = 3 elseif (msgcontains(msg, 'yes') or msgcontains(msg, 'sim')) and talkState[talkUser] == 2 then selfSay("Ok, I hope you do not make me wait too long.", cid) setPlayerStorageValue(cid, stoTwo.sto1, 1) talkState[talkUser] = 3 ---- \/ entregando a missão elseif (msgcontains(msg, 'help') or msgcontains(msg, 'help')) and talkState[talkUser] == 1 then if getPlayerStorageValue(cid, stoTwo.sto2) <= 1 then selfSay("Sorry, you even helped me in the msg mission.", cid) return true end selfSay("Our really good, I believe you are the best, when you are level 80 you can tonarsse a clan! thank you.", cid) setPlayerStorageValue(cid, storage, 1) end return true end
  24. Orochi Elf postou uma resposta no tópico em Suporte Tibia OTServer
    Bom.. isso provavelmente ta acontecendo em alguma spell que você colocou recentemente no servidor. Você lembra qual foi? Posta ai
  25. Galera kkk, o Locker é a caixa do DP das cidades kkk, onde vocês guardam seus "kks". Seguinte, eu acho que é possivel sim, porém seria necessário uma modificação nas sourcers. Eu vou dar uma estudada aqui no código, e já edito o tópico.

Informação Importante

Confirmação de Termo