Ir para conteúdo
Banner com Efeitos

Fernando Costa

Membro
  • Registro em

  • Última visita

Tudo que Fernando Costa postou

  1. auguem me ajuda a resolve esse erro aki [30/01/2016 20:45:07] [Error - TalkAction Interface] [30/01/2016 20:45:07] In a timer event called from: [30/01/2016 20:45:07] data/talkactions/scripts/move1.lua:onSay [30/01/2016 20:45:07] Description: [30/01/2016 20:45:07] (luaGetItemAttribute) Item not found isso acontece quando eu uso atake de um poke como vo colocar o print para vcs verem ae quando eu uso atake Thunder, Great Love, Great Love,Hyper Beam,e varios otros ataakes Etc Etc Ae da esse erro ae ---------------------- se eu usa atake em um lugar que nao da para ver la o otro andar ae nao acontece nada mas quando ta engual no print e eu usa atakes da o erro da distro Sera que e porq o atake vai para fora ? igual no print ? move1.lua
  2. Up me ajudem os erros meus sao os mesmos dos dele
  3. Vocês e de mas vo testar e do meu rep [22/02/2016 14:41:52] [Error - Npc interface] [22/02/2016 14:41:52] data/npc/scripts/Zeca.lua [22/02/2016 14:41:52] Description: [22/02/2016 14:41:52] data/npc/scripts/Zeca.lua:11: attempt to index global 'VoiceModule' (a nil value) [22/02/2016 14:41:52] [Warning - NpcScript::NpcScript] Cannot load script: data/npc/scripts/Zeca.lua
  4. Auguem mas passa um Scripts de npc igaul do Otpokemon ? O player fala Hi Npc Olá (Playername) Você quer ir para Augun desses lugares ? Villa Ice , Villa Fire ? player > Villa ice npc > Até mas e ele seja teleportado de graça codernada Bost ice [X: 991 | Y: 788 | Z: 7] boost hell [X: 833 | Y: 1500 | Z: 7] nome do npc pode ser Zeca PDA
  5. eu tenho so que se vc kiser pv mas vc tem q me dar uma recompeça
  6. Fernando Costa postou uma resposta no tópico em Suporte Tibia OTServer
    Para Aumentar a velocidade do pokemon vai em configuration.lua da ctrl + f e procura o pokemon quer voce kiser na parte de balanceamento e procure por isso do pokemon que vc ker muda a velocidade agility e mude para o tanto que vc kiser
  7. local msgs = {"use ", ""} function doAlertReady(cid, id, movename, n, cd) if not isCreature(cid) then return true end local myball = getPlayerSlotItem(cid, 8) if myball.itemid > 0 and getItemAttribute(myball.uid, cd) == "cd:"..id.."" then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPokeballName(myball.uid).." - "..movename.." (m"..n..") is ready!") return true end local p = getPokeballsInContainer(getPlayerSlotItem(cid, 3).uid) if not p or #p <= 0 then return true end for a = 1, #p do if getItemAttribute(p[a], cd) == "cd:"..id.."" then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, getPokeballName(p[a]).." - "..movename.." (m"..n..") is ready!") return true end end end function onSay(cid, words, param, channel) if param ~= "" then return true end if string.len(words) > 3 then return true end if #getCreatureSummons(cid) == 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need a pokemon to use moves.") return 0 end --alterado v1.5 local mypoke = getCreatureSummons(cid)[1] if getCreatureCondition(cid, CONDITION_EXHAUST) then return true end if getCreatureName(mypoke) == "Evolution" then return true end if getCreatureName(mypoke) == "Ditto" or getCreatureName(mypoke) == "Shiny Ditto" then name = getPlayerStorageValue(mypoke, 1010) --edited else name = getCreatureName(mypoke) end --local name = getCreatureName(mypoke) == "Ditto" and getPlayerStorageValue(mypoke, 1010) or getCreatureName(mypoke) local it = string.sub(words, 2, 3) local move = movestable[name].move1 if getPlayerStorageValue(mypoke, 212123) >= 1 then cdzin = "cm_move"..it.."" else cdzin = "move"..it.."" --alterado v1.5 end if it == "2" then move = movestable[name].move2 elseif it == "3" then move = movestable[name].move3 elseif it == "4" then move = movestable[name].move4 elseif it == "5" then move = movestable[name].move5 elseif it == "6" then move = movestable[name].move6 elseif it == "7" then move = movestable[name].move7 elseif it == "8" then move = movestable[name].move8 elseif it == "9" then move = movestable[name].move9 elseif it == "10" then move = movestable[name].move10 elseif it == "11" then move = movestable[name].move11 elseif it == "12" then move = movestable[name].move12 elseif it == "13" then move = movestable[name].move13 end if not move then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your pokemon doesn't recognize this move.") return true end if getPlayerLevel(cid) < move.level then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You need be atleast level "..move.level.." to use this move.") return true end if getCD(getPlayerSlotItem(cid, 8).uid, cdzin) > 0 and getCD(getPlayerSlotItem(cid, 8).uid, cdzin) < (move.cd + 2) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You have to wait "..getCD(getPlayerSlotItem(cid, 8).uid, cdzin).." seconds to use "..move.name.." again.") return true end if getTileInfo(getThingPos(mypoke)).protection then doPlayerSendCancel(cid, "Your pokemon cannot use moves while in protection zone.") return true end if getPlayerStorageValue(mypoke, 3894) >= 1 then return doPlayerSendCancel(cid, "You can't attack because you is with fear") --alterado v1.3 end --alterado v1.6 if (move.name == "Team Slice" or move.name == "Team Claw") and #getCreatureSummons(cid) < 2 then doPlayerSendCancel(cid, "Your pokemon need be in a team for use this move!") return true end --alterado v1.7 \/\/\/ if isCreature(getCreatureTarget(cid)) and isInArray(specialabilities["evasion"], getCreatureName(getCreatureTarget(cid))) then local target = getCreatureTarget(cid) if math.random(1, 100) <= passivesChances["Evasion"][getCreatureName(target)] then if isCreature(getMasterTarget(target)) then --alterado v1.6 doSendMagicEffect(getThingPos(target), 211) doSendAnimatedText(getThingPos(target), "TOO BAD", 215) doTeleportThing(target, getClosestFreeTile(target, getThingPos(mypoke)), false) doSendMagicEffect(getThingPos(target), 211) doFaceCreature(target, getThingPos(mypoke)) return true --alterado v1.6 end end end if move.target == 1 then if not isCreature(getCreatureTarget(cid)) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You don\'t have any targets.") return 0 end if getCreatureCondition(getCreatureTarget(cid), CONDITION_INVISIBLE) then return 0 end if getCreatureHealth(getCreatureTarget(cid)) <= 0 then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your have already defeated your target.") return 0 end if not isCreature(getCreatureSummons(cid)[1]) then return true end if getDistanceBetween(getThingPos(getCreatureSummons(cid)[1]), getThingPos(getCreatureTarget(cid))) > move.dist then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Get closer to the target to use this move.") return 0 end if not isSightClear(getThingPos(getCreatureSummons(cid)[1]), getThingPos(getCreatureTarget(cid)), false) then return 0 end end local newid = 0 if isSleeping(mypoke) or isSilence(mypoke) then --alterado v1.5 doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Sorry you can't do that right now.") return 0 else newid = setCD(getPlayerSlotItem(cid, 8).uid, cdzin, move.cd) end doCreatureSay(cid, ""..getPokeName(mypoke)..", "..msgs[math.random(#msgs)]..""..move.name.."!", TALKTYPE_SAY) local summons = getCreatureSummons(cid) --alterado v1.6 addEvent(doAlertReady, move.cd * 1000, cid, newid, move.name, it, cdzin) for i = 2, #summons do if isCreature(summons) and getPlayerStorageValue(cid, 637501) >= 1 then docastspell(summons, move.name) --alterado v1.6 end end docastspell(mypoke, move.name) doCreatureAddCondition(cid, playerexhaust) if useKpdoDlls then doUpdateCooldowns(cid) end return 0 end
  8. To com uma duvida aki auguem pode me ajudar ta dando esse erro na distro como arruma ? [Error - TalkAction Interface] [14/02/2016 22:09:20] In a timer event called from: [14/02/2016 22:09:20] data/talkactions/scripts/move1.lua:onSay [14/02/2016 22:09:20] Description: [14/02/2016 22:09:20] (luaGetItemAttribute) Item not found
  9. eu sou maper se quiser uns print te mando
  10. auguem me passa download do ItemEditor OTC cliente 8.54 ? e o RME para OTC cliente ?? 8.54 minha basé e o Poke SERVIDOR DASH V10 (Revolution)
  11. Fernando Costa postou uma resposta no tópico em Suporte Tibia OTServer
    pelo que vi deicha esse mesmo Torneio.xml <?xml version="1.0" encoding="UTF-8"?> <npc name="Nick" script="torneio.lua" walkinterval="999000" floorchange="0"> <health now="150" max="150"/> <look type="1806" head="20" body="100" legs="50" feet="99" corpse="111"/>] <parameters> <parameter key="message_greet" value="Ola |PLAYERNAME|. Sou o NIKE, Encarregado pelo Torneio diario caso queira entrar diga: {torneio}."/> </parameters> </npc> agr no caso substitua seu Torneio.lua por esse pegue ele todo \/\/\/ 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 if msgcontains(msg, 'torneio') or msgcontains(msg, 'enter') then if getPlayerItemCount(cid, torneio.revivePoke) >= 1 then selfSay('You can not enter the tournament with {revives}, please throw them out.', cid) return true end selfSay('You want to participate in the tournament by '..torneio.price..' gps / dollars?', cid) talkState[talkUser] = 2 elseif talkState[talkUser] == 2 then if msgcontains(msg, 'yes') or msgcontains(msg, 'sim') then if os.date("%X") < torneio.startHour or os.date("%X") > torneio.endHour then selfSay('Registration for the tournament finished, come back later.', cid) return true end if doPlayerRemoveMoney(cid, torneio.price) then doTeleportThing(cid, torneio.waitPlace) doPlayerSendTextMessage(cid, 21, "Welcome, this is the waiting room, you wait here while the tournament does not start. Start time: {"..torneio.endHour.."}.") else selfSay('You do not have enough money ('..torneio.price..').', cid) end else selfSay('Sure you do not want to participate? Okay, see you next time!', cid) talkState[talkUser] = 0 end end end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  12. Fernando Costa postou uma resposta no tópico em Suporte Tibia OTServer
    subistitua ali em npc para esse e da rep+ se der <?xml version="1.0" encoding="UTF-8"?> <npc name="Nick" script="torneio.lua" walkinterval="2000" floorchange="0"> <health now="150" max="150"/> <look type=" 1806 " head="20" body="100" legs="50" feet="99" corpse="2212"/>] <parameters> <parameter key="message_greet" value="Hello |PLAYERNAME|. If you want to participate in the tournament say: {torneio} or {enter}."/> </parameters> </npc>
  13. Auguem tem uma Base OTC para me indicar ou paçar ? ou ate mesmo se for uma boa Otc eu troco na minha PDA boa pakas so to deichando ela e que vou mecher com OTC se auguem poder chama PV
  14. Ok vlw mano fas ae pff
  15. auguem fas um script para mim ? assim quando o player criar acc vai para certo lugar mas esse nao e o caso tipo assim que ele cria na frente dele que vo colokar no rme 4 bau 1 bau e de charmander 2 bau chicorita 3 bau bulbasaur 4 bau squirtle mas observaçao quero que venha so macho tipo nao do conta de fazer isso por motivo do meu server ser errado o sexo dos pokemon eu quero que o script so venha macho mas no script tem q colocar tipo /skull 5 para vim so macho se coloca de otro geito vai vim gender porque meu server e uma bolinha
  16. E como arruma a velocidade ? para adm ta rapido mas para player ta lentâo :[ msm script ^
  17. up eu arrumei do spaw mas do /cb nao fica male fica so gender

Informação Importante

Confirmação de Termo