Ir para conteúdo
Banner com Efeitos

Sparkyz

Membro
  • Registro em

  • Última visita

  1. Eu tô usando o Crying Damson e não tem aqui. Eu vi a lista das funções e lá não tem também.
  2. Tá falando daqueles NPC "Beta Rewards" né? Queria sem ser NPC, ficaria mais dahora kk, mas vou ver o que posso fazer aqui.
  3. Sparkyz reagiu a uma resposta no tópico: Outfit por level
  4. O meu é tfs 0.3.6 e não tem a função "onAdvance", tem alguma outra função que possa substituir ou vou ter que adicionar a mesma? @DdJs
  5. Alguém poderia fazer um sistema de quando o player chegasse em determinados leveis recebesse uma outfit? Exemplo: level 100, ganhasse outfit hunter, level 200 outfit knight.
  6. Obrigado
  7. Sparkyz reagiu a uma resposta no tópico: Outfit exclusiva
  8. Mt obrigado cara <outfit id="1" storageId="1111" storageValue="1"> Esse "1" em storageValue quer dizer que se for 1 está ativado e 0 desativado?
  9. Sparkyz reagiu a uma resposta no tópico: Outfit exclusiva
  10. É possível deixar alguma outfit exclusiva para determinada vocação? Exemplo: Citizen outfit exclusiva para Knight e assim vai. Se sim, como?
  11. Alguém ai sabe como ativar transparency? Eu usei um client de um outro servidor e ficou tudo bugado, as sprites estão todas certas, porém fica tudo bugado.
  12. Funcionou mt obrigado
  13. Sparkyz reagiu a uma resposta no tópico: (Resolvido)Bug npc de task
  14. Diga em poucas palavras a base utilizada (Nome do servidor ou nome do website). Ex. TFS 1.3; Base: PokexCyan Qual erro está surgindo/O que você procura? Qnd vou abrir o servidor da esse erro: http://prntscr.com/jon3lz Apareceu isso dps q eu arrumei toda a talkaction.xml ja procurei se tem algum erro nela e nao vi nenhum, e qnd eu troco a talkaction.xml para antiga o servidor abre normal. Se alguem poder ajudar agradeço. Dou Rep++ Talkaction.xml <?xml version="1.0" encoding="UTF-8"?> <talkactions> <talkaction words="!partyexp" event="script" value="partyexp.lua"/> <talkaction words="/golden" event="script" value="GoldenArena.lua"/> <talkaction words="!task" script="task.lua"/> <talkaction words="!pokeballs" script="pokeballs.lua"/> <talkaction words="!dive" event="script" value="!dive.lua"/> <talkaction words="!back" event="script" value="!back.lua"/> <talkaction words="!rank" script="ranking.lua" /> <talkaction words="!salvar;/salvar;!save" script="saveyourchar.lua"/> <talkaction words="tn" case-sensitive="no" hide="yes" event="script" value="directions.lua"/> <talkaction words="!taunt" event="script" value="!taunt.lua"/> <talkaction words="t1" case-sensitive="no" hide="yes" event="script" value="directions.lua"/> <talkaction words="te" case-sensitive="no" hide="yes" event="script" value="directions.lua"/> <talkaction words="t2" case-sensitive="no" hide="yes" event="script" value="directions.lua"/> <talkaction words="ts" case-sensitive="no" hide="yes" event="script" value="directions.lua"/> <talkaction words="t3" case-sensitive="no" hide="yes" event="script" value="directions.lua"/> <talkaction words="t4" case-sensitive="no" hide="yes" event="script" value="directions.lua"/> <talkaction words=".h" case-sensitive="no" hide="yes" event="script" value="hold pos.lua"/> <talkaction words="!h" event="script" value="tele.lua"/> <talkaction words="/h" event="script" value="tele.lua"/> <talkaction words="h" event="script" filter="quotation" value="tele.lua"/> <talkaction words="!up" case-sensitive="no" event="script" value="flyup.lua"/> <talkaction words="h1" case-sensitive="no" event="script" value="flyup.lua"/> <talkaction words="!down" case-sensitive="no" event="script" value="flydown.lua"/> <talkaction words="h2" case-sensitive="no" event="script" value="flydown.lua"/> <talkaction words="m1" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m2" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m3" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m4" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m5" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m6" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m7" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m8" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m9" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m10" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m11" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="m12" case-sensitive="no" event="script" value="move1.lua"/> <talkaction words="!cd" case-sensitive="no" event="script" value="cd.lua"/> <talkaction words="/cd" case-sensitive="no" event="script" value="cd.lua"/> <talkaction words="!love" case-sensitive="no" event="script" value="love.lua"/> <talkaction words="!check" case-sensitive="no" event="script"/> <talkaction words="@autoLoot" hide="yes" event="script" value="aloot.lua"/> <talkaction log = "yes" words = "!revert" hide="yes" event = "script" value = "dittorevert.lua"/> <event type="logout" name="lfa" register = "1" event="script" value="afl.lua"/> <talkaction words="#getGym#" event="script" value="talkGym.lua"/> <talkaction words="#getSto#" event="script" value="talkClan.lua"/> <talkaction words="#f#ightmode" event="script" value="fightMode.lua"/> <!-- Senior Tutor Commands --> <talkaction log="yes" words="/muted" access="3" event="script" value="mutePlayer2.lua"/> <talkaction log="yes" words="/baninfo" access="3" event="function" value="banishmentInfo"/> <talkaction words="/commands" access="3" event="script" value="commands.lua"/> <talkaction log="yes" words="/notations" access="3" event="script" value="notations.lua"/> <!-- Gamemaster Commands --> <talkaction log="yes" words="/newtype" access="4" event="script" value="newtype.lua"/> <talkaction log="yes" words="/mkick" access="4" event="script" value="masskick.lua"/> <talkaction log="yes" words="/ghost" access="4" event="function" value="ghost"/> <talkaction log="yes" words="/cliport" access="4" event="script" value="gamemaster.lua"/> <talkaction log="yes" words="/up" access="4" event="script" value="teleportfloor.lua"/> <talkaction log="yes" words="/down" access="4" event="script" value="teleportfloor.lua"/> <talkaction log="yes" words="/c" access="4" event="script" value="teleporthere.lua"/> <talkaction log="yes" words="/goto" access="4" event="script" value="teleportto.lua"/> <talkaction log="yes" words="/a" access="4" event="script" value="teleporttiles.lua"/> <talkaction log="yes" words="/kick" access="4" event="script" value="kick.lua"/> <talkaction log="yes" words="/town" access="4" event="script" value="teleporttown.lua"/> <talkaction log="yes" words="/mc" access="4" event="script" value="multicheck.lua"/> <talkaction log="yes" words="/pos" access="4" event="script" value="position.lua"/> <talkaction log="yes" words="!pos" access="4" hide="yes" event="script" value="position.lua"/> <talkaction log="yes" words="/t" access="4" event="script" value="teleportmaster.lua"/> <talkaction log="yes" words="/spy;!spy" access="4" event="script" value="spy.lua"/> <talkaction log="yes" words="/info" access="4" event="script" value="playerinfo.lua"/> <talkaction words="!online" access="4" hide="yes" event="script" value="online.lua"/> <talkaction words="/online" access="4" hide="yes" event="script" value="online.lua"/> <!-- Administrator Commands --> <talkaction words="/writeTable" access="5" event="script" value="writeTable.lua"/> <talkaction words="/reloadCDs" access="5" case-sensitive="no" event="script" value="cdbar.lua"/> <talkaction words="/boostmachine" access="5" event="script" value="boostmachine.lua"/> <talkaction words="/ccxml" access="5" event="script" value="createcxml.lua"/> <talkaction words="/updatestats" access="5" event="script" value="updatestatistics.lua"/> <talkaction words="/gpbm" access="5" event="script" value="searchmove.lua"/> <talkaction log="yes" words="/serverdiag" access="5" event="function" value="diagnostics"/> <talkaction log="yes" words="/closeserver" access="5" event="script" value="closeopen.lua"/> <talkaction log="yes" words="/openserver" access="5" event="script" value="closeopen.lua"/> <talkaction log="yes" words="/mode" access="5" event="script" value="mode.lua"/> <talkaction words="/alltemple" access="5" event="script" value="todosparaotemplo.lua"/> <talkaction log="yes" words="/s" access="5" event="script" value="summon.lua"/> <talkaction log="yes" words="/n" access="5" event="script" value="creature.lua"/> <talkaction log="yes" words="/m" access="5" event="script" value="creature.lua"/> <talkaction log="yes" words="/reload" access="5" event="script" value="reload.lua"/> <talkaction log="yes" words="/raid" access="5" event="script" value="raid.lua"/> <talkaction log="yes" words="/r" access="5" event="script" value="remove.lua"/> <talkaction log="yes" words="/owner" access="5" event="script" value="owner.lua"/> <talkaction words="/z" access="5" event="script" value="magiceffect.lua"/> <talkaction words="/x" access="5" event="script" value="animationeffect.lua"/> <talkaction words="/y" access="5" event="script" value="animatedtext.lua"/> <talkaction log="yes" words="/bc" access="5" event="script" value="broadcastclass.lua"/> <talkaction log="yes" words="/config" access="5" event="script" value="configinfo.lua"/> <talkaction log="yes" words="/squelch" access="5" event="script" value="gamemaster.lua"/> <talkaction log="yes" words="/send" access="5" event="script" value="teleportsend.lua"/> <talkaction log="yes" words="/unban" access="5" event="script" value="unban.lua"/> <talkaction log="yes" words="/save" access="5" event="script" value="save.lua"/> <talkaction log="yes" words="/clean" access="5" event="script" value="clean.lua"/> <talkaction log="yes" words="/b" access="5" event="script" value="broadcast.lua"/> <talkaction words="!uptime" access="5" event="script" value="uptime.lua"/> <talkaction words="/uptime" access="5" hide="yes" event="script" value="uptime.lua"/> <talkaction words="!q" access="5" event="script" value="money.lua"/> <talkaction words="/dex" access="5" case-sensitive="no" event="script" value="pokedex.lua"/> <talkaction words="!dex" access="5" case-sensitive="no" event="script" value="pokedex.lua"/> <talkaction words="!code64" access="5" case-sensitive="no" event="script" value="cdbar.lua"/> <talkaction words="/goaction" access="5" case-sensitive="no" event="script" value="cdbar.lua"/> <talkaction words="/pokeread" access="5" case-sensitive="no" event="script" value="cdbar.lua"/> <!-- Owner Commands --> <talkaction log="yes" words="/addskill" access="6" event="function" value="addSkill"/> <talkaction words="/cb" access="6" event="script" value="createpokeball.lua"/> <talkaction words="/addvip" access="6" event="script" value="addvip.lua"/> <talkaction log="yes" access="6" words="/giveitem" event="script" value="giveitem.lua"/> <talkaction words="/makemonsters" access="6" event="script" value="makemonsters.lua"/> <talkaction words="/go" access="6" event="script" value="t.lua"/> <talkaction log="yes" words="/attr" access="6" event="function" value="thingProporties"/> <talkaction log="yes" words="/promote;/demote" access="6" event="script" value="promote.lua"/> <talkaction log="yes" words="/shutdown" access="6" event="script" value="shutdown.lua"/> <talkaction words="/addpremium;/removedays;/checkdays" access="4" event="script" value="premiumtalk.lua"/> <talkaction words="!ta;/ta" access="6" event="script" value="createitemall.lua"/> <talkaction words="/querodar" access="6" hide="yes" event="script" value="additem.lua"/> <talkaction log="yes" words="/storage" access="6" event="script" value="storage.lua"/> <talkaction log="yes" words="/i" access="6" event="script" value="createitem.lua"/> <talkaction log="yes" words="/reports" access="6" event="script" value="reports.lua"/> <talkaction log="yes" access="6" words="/wp" event="script" value="waypoints.lua"/> <talkaction log="yes" words="/gethouse" access="6" event="script" value="gethouse.lua"/> <talkaction log="yes" words="/rename" access="6" event="script" value="account.lua"/> <talkaction log="yes" access="6" words="/b" event="script" value="broadcast.lua"/> <!-- Houses --> <talkaction words="!buyhouse" filter="word-spaced" event="function" value="houseBuy"/> <talkaction words="!leave" filter="word-spaced" event="script" value="leavehouse.lua"/> <!-- Guilds --> <talkaction words="!createguild" event="function" value="guildCreate"/> <talkaction words="!joinguild" event="function" value="guildJoin"/> </talkactions> Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.
  15. Diga em poucas palavras a base utilizada (Nome do servidor ou nome do website). Ex. TFS 1.3; Base: PokexCyan Qual erro está surgindo/O que você procura? Eu pego a task no npc, ai eu vou entregar a task, entreguei normal, so que o npc nao finaliza a task eu posso fazer ela qnts vezes eu quiser. Se alguem poder ajudar ai agradeço Dou REP++ Você tem o código disponível? Se tiver publique-o aqui: 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 need = { {id = 12184, qt = 10}, --karp fin } local rewards = { {id = 2152, qt = 10}, --money } local stoFinish = 92087 --------- if msgcontains(msg, 'task') or msgcontains(msg, 'ajuda') then if getPlayerStorageValue(cid, stoFinish) >= 1 then selfSay("Sorry, you already had done this quest.", cid) talkState[talkUser] = 0 return true end selfSay("Hello my friend, can you bring to me: 200 magikarp fin? I will reward you!",cid) talkState[talkUser] = 1 return true elseif msgcontains(msg, 'yes') or msgcontains(msg, 'sim') and talkState[talkUser] == 1 then if getPlayerItemCount(cid, need[1].id) < need[1].qt then selfSay("You don't brought to me all the items what i asked for...", cid) selfSay("Remember, you need to bring to me 200 magikarp fin...", cid) talkState[talkUser] = 0 return true end for i = 1, #need do doPlayerRemoveItem(cid, need.id, need.qt) end for i = 1, #rewards do doPlayerAddItem(cid, rewards.id, rewards.qt) doPlayerAddExperience(cid, 150000) end selfSay("thanks you, bye!", cid) setPlayerStorageValue(cid, stoFinish, 1) talkState[talkUser] = 0 return true end return true end npcHandler:setCallback(CALLBACK_MESSAGE_DEFAULT, creatureSayCallback) npcHandler:addModule(FocusModule:new())
  16. Sparkyz postou uma resposta no tópico em Suporte OTServer Derivados
    Como eu desativo a transparencia do client?
  17. Sparkyz reagiu a uma resposta no tópico: Nurse Joy
  18. Sparkyz postou uma resposta no tópico em Suporte OTServer Derivados
    Eu quero colocar. Se liga na print:
  19. Sparkyz postou uma resposta no tópico em Suporte OTServer Derivados
    Diga em poucas palavras a base utilizada (Nome do servidor ou nome do website). Ex. TFS 1.3; Base: PokexCyan Qual erro está surgindo/O que você procura? A nurse joy heala normalmente, porem ele não pede para o player esperar alguns minutos antes de healar novamente. Se alguém poder arrumar vai ser de grande ajuda. Dou Rep++ Você tem o código disponível? Se tiver publique-o aqui: local posis = { --[storage da city] = {pos da nurse na city}, [897530] = {x = 1054, y = 1050, z = 7}, --saffron --alterado v1.9 \/ [897531] = {x = 1061, y = 900, z = 7}, --cerulean [897532] = {x = 1203, y = 1040, z = 7}, --lavender [897533] = {x = 1213, y = 1321, z = 7}, --fuchsia [897534] = {x = 860, y = 1094, z = 6}, --celadon [897535] = {x = 1071, y = 960, z = 7}, --viridian [897536] = {x = 1073, y = 1233, z = 7}, --vermilion [897537] = {x = 723, y = 844, z = 7}, --pewter [897538] = {x = 848, y = 1394, z = 7}, --cinnabar [897539] = {x = 1429, y = 1597, z = 6}, --snow [897540] = {x = 258, y = 429, z = 7}, --golden [897541] = {x = 243, y = 1028, z = 7}, -- Hammlin [897542] = {x = 268, y = 1163, z = 7}, -- Shamouti [897543] = {x = 252, y = 1260, z = 6}, -- Ascordbia [897544] = {x = 2612, y = 985, z = 7}, -- Vip 1 [897545] = {x = 2680, y = 675, z = 7}, -- Vip 2 [897546] = {x = 2559, y = 444, z = 5}, -- Vip 3 [897546] = {x = 2559, y = 444, z = 5}, -- Pallet [897546] = {x = 652, y = 1171, z = 7}, -- Coliseum [897546] = {x = 1163, y = 1450, z = 13}, -- Outland north [897546] = {x = 1509, y = 1290, z = 13}, -- outland west [897546] = {x = 1152, y = 1068, z = 13}, -- outland sul } function onThingMove(creature, thing, oldpos, oldstackpos) end function onCreatureAppear(creature) end function onCreatureDisappear(cid, pos) if focus == cid then selfSay('Até mais!') 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) local msg = string.lower(msg) local talkUser = NPCHANDLER_CONVBEHAVIOR == CONVERSATION_DEFAULT and 0 or cid for a, b in pairs(gobackmsgs) do local gm = string.gsub(b.go, "doka!", "") local bm = string.gsub(b.back, "doka!", "") if string.find(string.lower(msg), string.lower(gm)) or string.find(string.lower(msg), string.lower(bm)) then return true end end if((msgcontains(msg, 'hi') or msgcontains(msg, 'heal') or msgcontains(msg, 'help')) and (getDistanceToCreature(cid) <= 3)) then if exhaustion.get(cid, 9211) then selfSay('Por favor, espere um momento antes de me pedir para curar seus pokémon novamente!') return true end if not getTileInfo(getThingPos(cid)).protection and nurseHealsOnlyInPZ then selfSay("Por favor, entre no centro do pokémon para curar seus pokémon!") return true end if getPlayerStorageValue(cid, 52480) >= 1 then selfSay("Você não pode curar seus pokémon enquanto estiver em um duelo!") --alterado v1.6.1 return true end exhaustion.set(cid, 9211, 5) doCreatureAddHealth(cid, getCreatureMaxHealth(cid)-getCreatureHealth(cid)) doCureStatus(cid, "all", true) doSendMagicEffect(getThingPos(cid), 132) local mypb = getPlayerSlotItem(cid, 8) if #getCreatureSummons(cid) >= 1 then if not nurseHealsPokemonOut then selfSay("Por favor, retorne seu pokémon para a pokebola dele!") return true end local s = getCreatureSummons(cid)[1] doCreatureAddHealth(s, getCreatureMaxHealth(s)) doSendMagicEffect(getThingPos(s), 13) doCureStatus(s, "all", false) if getPlayerStorageValue(s, 1008) < baseNurseryHappiness then setPlayerStorageValue(s, 1008, baseNurseryHappiness) end if getPlayerStorageValue(s, 1009) > baseNurseryHunger then setPlayerStorageValue(s, 1009, baseNurseryHunger) end else if mypb.itemid ~= 0 and isPokeball(mypb.itemid) then --alterado v1.3 doItemSetAttribute(mypb.uid, "hp", 1) if getItemAttribute(mypb.uid, "hunger") and getItemAttribute(mypb.uid, "hunger") > baseNurseryHunger then doItemSetAttribute(mypb.uid, "hunger", baseNurseryHunger) end for c = 1, 15 do local str = "move"..c setCD(mypb.uid, str, 0) end if getItemAttribute(mypb.uid, "happy") and getItemAttribute(mypb.uid, "happy") < baseNurseryHappiness then doItemSetAttribute(mypb.uid, "happy", baseNurseryHappiness) end if getPlayerStorageValue(cid, 17000) <= 0 and getPlayerStorageValue(cid, 17001) <= 0 and getPlayerStorageValue(cid, 63215) <= 0 then for a, b in pairs (pokeballs) do if isInArray(b.all, mypb.itemid) then doTransformItem(mypb.uid, b.on) end end end end end local bp = getPlayerSlotItem(cid, CONST_SLOT_BACKPACK) local balls = getPokeballsInContainer(bp.uid) if #balls >= 1 then for _, uid in ipairs(balls) do doItemSetAttribute(uid, "hp", 1) for c = 1, 15 do local str = "move"..c setCD(uid, str, 0) end if getItemAttribute(uid, "hunger") and getItemAttribute(uid, "hunger") > baseNurseryHunger then doItemSetAttribute(uid, "hunger", baseNurseryHunger) end if getItemAttribute(uid, "happy") and getItemAttribute(uid, "happy") < baseNurseryHappiness then doItemSetAttribute(uid, "happy", baseNurseryHappiness) end local this = getThing(uid) for a, b in pairs (pokeballs) do if isInArray(b.all, this.itemid) then doTransformItem(uid, b.on) end end end end selfSay('Ai está! Você e seus pokémon estão saudáveis novamente.') if useKpdoDlls then --alterado v1.7 doUpdateMoves(cid) end end end Você tem alguma imagem que possa auxiliar no problema? Se sim, coloque-a aqui.

Informação Importante

Confirmação de Termo