Ir para conteúdo

Líderes

Conteúdo Popular

Exibindo conteúdo com a maior reputação em 08/21/22 em todas áreas

  1. AJUDA NPC 8.60

    Strikerzerh reagiu a MatteusDeli por uma resposta no tópico

    1 ponto
    @Strikerzerh Boa noite XML do Npc <?xml version="1.0" encoding="UTF-8"?> <npc name="Traveller" script="data/npc/scripts/traveler.lua" walkinterval="1000" floorchange="0"> <health now="100" max="100"/> <look type="128" head="96" body="99" legs="76" feet="115" addons="1"/> </npc> Na pasta data/npc/scripts crie um arquivo chamado traveler.lua e adicione isso dentro: local TELEPORT_EFFECT = 10 local config = { ['Demonland'] = { position = { x=160, y=54, z=7 }, items = { [2160] = { count = 1 }, [2124] = { count = 1 } } }, ['Orc Hall'] = { position = { x=160, y=54, z=7 }, items = { [8299] = { count = 1 }, } }, -- [DESTINO] = { -- position = { x=160, y=54, z=7 }, -- items = { -- [ITEM_ID] = { count = QUANTIDADE_DO_ITEM }, -- } -- }, } 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 if (not checkDestinyExists(msg)) then selfSay('Este lugar nao existe. Por favor diga outro.', cid) return false end local destinyData = getDestinyData(msg) if msgcontains(string.lower(msg), string.lower(destinyData.destiny)) then local items = {} for item, data in pairs(destinyData.data.items) do if (getPlayerItemCount(cid, item) < data.count) then table.insert(items, { item = item }) end end if (#items <= 0) then removePlayerItems(cid, destinyData.data.items) doTeleportThing(cid, destinyData.data.position) doSendMagicEffect(getThingPos(cid), TELEPORT_EFFECT) selfSay('Ate mais.', cid) return true end selfSay('Voce nao possui todos os itens necessarios para viajar.', cid) end return TRUE end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new()) function checkDestinyExists(destiny) for dest, _ in pairs(config) do if (string.lower(dest) == string.lower(destiny)) then return true end end return false end function getDestinyData(destiny) for dest, data in pairs(config) do if (string.lower(dest) == string.lower(destiny)) then return { destiny = dest, data = data } end end end function removePlayerItems(cid, items) for item, data in pairs(items) do doPlayerRemoveItem(cid, item, data.count) end end
  2. BOTMOVES ( POKETIBIA )

    MasterteoxBr reagiu a najatheus por uma resposta no tópico

    1 ponto
    Acabei desenvolvendo um pequeno programa para os jogadores de poketibia, o programa vai acabar soltando todos os moves do pokemon, segue o video abaixo : https://streamable.com/6dof5b Link do programa : https://www.mediafire.com/file/8e7a1kws1lvqb7f/BOT_MOVES.exe/file scan do programa : https://www.virustotal.com/gui/file/0444f10dc9aee1cfbc00ff245dc4142dde99612d83210bc548e159332cbba2a2 Link do código fonte : https://github.com/najatheus1/BOTMOVES-POKETIBIA
  3. Nao li direito, mas entendi pelo titulo que vc quer mudar o poder de dano, o dano fica no configuration.lua, Abra ele (Esta na pasta lib) e procure o pokemon e mude o "f" move7 = {name = "Solar Beam", level = 31, cd = 54, dist = 1, target = 0, f = 135, t = "grass"}, No Caso, o 135 ali é a força do ataque, cd é o tempo que pra atacar novamente.. target: se precisa estar atacando um pokemon ou nao pra usar o ataque(0 nao precisa , 1 = precisa atacar). Espero Ajudar
Líderes está configurado para São Paulo/GMT-03:00

Informação Importante

Confirmação de Termo