Ir para conteúdo

tataboy67

Membro
  • Registro em

  • Última visita

Tudo que tataboy67 postou

  1. tataboy67 postou uma resposta no tópico em Mapas de Tibia
    Opa beleza kk, é que foi meu primeiro mapa que fiz esse ai haha... dai postei e fiquei sabendo só agora que precisa de scan, mas como eu n sei fazer scan Mas sim ! é sim a casa em cima da agua, teria que colocar algo em baixo hehe... foi mal, eq eu n manjava muito de mapping
  2. Qual o item que está tentando modificar?
  3. Ahhh dessa eu não sabia kk, vlw vod
  4. Então eu não sei amigo... realmente aqui está funcionando perfeitamente ! (OTX 3.0 - Malucooo) TFS 1.3
  5. @DigoleraBlow Tem certeza que está colocando a posição do jogador correta ?
  6. local reloadTypes = { ["all"] = { targetType = RELOAD_TYPE_ALL, name = "all" }, ["action"] = { targetType = RELOAD_TYPE_ACTIONS, name = "actions" }, ["actions"] = { targetType = RELOAD_TYPE_ACTIONS, name = "actions" }, ["chat"] = { targetType = RELOAD_TYPE_CHAT, name = "chatchannels" }, ["channel"] = { targetType = RELOAD_TYPE_CHAT, name = "chatchannels" }, ["chatchannels"] = { targetType = RELOAD_TYPE_CHAT, name = "chatchannels" }, ["config"] = { targetType = RELOAD_TYPE_CONFIG, name = "config" }, ["configuration"] = { targetType = RELOAD_TYPE_CONFIG, name = "config" }, ["creaturescript"] = { targetType = RELOAD_TYPE_CREATURESCRIPTS, name = "creature scripts" }, ["creaturescripts"] = { targetType = RELOAD_TYPE_CREATURESCRIPTS, name = "creature scripts" }, ["events"] = { targetType = RELOAD_TYPE_EVENTS, name = "events" }, ["global"] = { targetType = RELOAD_TYPE_GLOBAL, name = "global.lua" }, ["globalevent"] = { targetType = RELOAD_TYPE_GLOBALEVENTS, name = "globalevents" }, ["globalevents"] = { targetType = RELOAD_TYPE_GLOBALEVENTS, name = "globalevents" }, ["items"] = { targetType = RELOAD_TYPE_ITEMS, name = "items" }, ["monster"] = { targetType = RELOAD_TYPE_MONSTERS, name = "monsters" }, ["monsters"] = { targetType = RELOAD_TYPE_MONSTERS, name = "monsters" }, ["modules"] = { targetType = RELOAD_TYPE_MODULES, name = "modules" }, ["mod"] = { targetType = RELOAD_TYPE_MODULES, name = "modules" }, ["mount"] = { targetType = RELOAD_TYPE_MOUNTS, name = "mounts" }, ["mounts"] = { targetType = RELOAD_TYPE_MOUNTS, name = "mounts" }, ["move"] = { targetType = RELOAD_TYPE_MOVEMENTS, name = "movements" }, ["movement"] = { targetType = RELOAD_TYPE_MOVEMENTS, name = "movements" }, ["movements"] = { targetType = RELOAD_TYPE_MOVEMENTS, name = "movements" }, ["npc"] = { targetType = RELOAD_TYPE_NPCS, name = "npcs" }, ["npcs"] = { targetType = RELOAD_TYPE_NPCS, name = "npcs" }, ["quest"] = { targetType = RELOAD_TYPE_QUESTS, name = "quests" }, ["quests"] = { targetType = RELOAD_TYPE_QUESTS, name = "quests" }, ["raid"] = { targetType = RELOAD_TYPE_RAIDS, name = "raids" }, ["raids"] = { targetType = RELOAD_TYPE_RAIDS, name = "raids" }, ["spell"] = { targetType = RELOAD_TYPE_SPELLS, name = "spells" }, ["spells"] = { targetType = RELOAD_TYPE_SPELLS, name = "spells" }, ["talk"] = { targetType = RELOAD_TYPE_TALKACTIONS, name = "talk actions" }, ["talkaction"] = { targetType = RELOAD_TYPE_TALKACTIONS, name = "talk actions" }, ["talkactions"] = { targetType = RELOAD_TYPE_TALKACTIONS, name = "talk actions" }, ["weapon"] = { targetType = RELOAD_TYPE_WEAPONS, name = "weapons" }, ["weapons"] = { targetType = RELOAD_TYPE_WEAPONS, name = "weapons" } } function onSay(player, words, param) if not player:getGroup():getAccess() then return true end if player:getAccountType() < ACCOUNT_TYPE_GOD then return false end logCommand(player, words, param) local reloadType = reloadTypes[param and param:lower()] if not reloadType then player:sendTextMessage(MESSAGE_EVENT_ADVANCE, "Reload type not found.") return false end Game.reload(reloadType.targetType) player:sendTextMessage(MESSAGE_EVENT_ADVANCE, string.format("Reloaded %s.", reloadType.name)) return false end (Esse é o que eu uso atualmente em meu servidor...) @amora murder Tag: <talkaction words="/reload" separator=" " script="reload.lua" />
  7. @admelite Na verdade tem sim, ma pasta Lib possui 1 arquivo que lá tem 1 forma baseada no nivel do jogador... Se você remover o nível do jogador dessa formula, fará com que o hit básico do pokemon sempre de a mesma quantidade de dano. Porem pelo fato de eu não mexer a um bom tempo com PDA, desconheço qual é esse arquivo (mas eu sei que tem) Tente dar uma procura pelas pastas ai... acredito que seja na Lib sim !
  8. function onUse(cid, item, fromPosition, itemEx, toPosition) local config = { s = 11126, -- storage level = 8, -- level minimo time = 1100, -- tempo em minutos para voltar a abrir a chest item = {{7590, 10},{2173, 1},{7589, 10},{7620, 10},{7591, 10},{7588, 10},{7618, 10},{8472, 10},{8473, 10},{2789, 25},{2160, 1},{2152, 25},{2639, 1},{8306, 25},{2268, 25},{2273, 25},{2274, 25},{2214, 1},{2165, 1} } -- items sortiados(pode adicionar mais) } if getPlayerLevel(cid) < config.level then return doPlayerSendCancel(cid, "Você deve ter pelo menos level ".. config.level .." para abrir a Chest.") elseif getPlayerStorageValue(cid, config.s) >= os.time() then local minutos = math.floor((getPlayerStorageValue(cid, config.s) - os.time())/(60)) return doPlayerSendTextMessage(cid, 25, "You already got your reward today, wait ".. (minutos < 0 and 0 or minutos) .." minuts to pick up again.") end local r = math.random(7, #config.item) local item, amount = config.item[r][1], config.item[r][2] doPlayerAddItem(cid, item, amount) setPlayerStorageValue(cid, config.s, os.time()+config.time*60) doSendMagicEffect(getPlayerPosition(cid), 30) doPlayerSendTextMessage(cid, 25, "You daily reward "..amount.."x "..getItemNameById(item)..".") return true end Não testado ! /\ veja se funciona.
  9. Bom amigo, não sei se ajuda mas... Está ai o topico que o garoto explica como hookar as DLLs para que vc possa ter em seu servidor o pokebar e movebar
  10. tente mudar todos os: <talkaction cmd="" script="" /> e troque todos por words. Assim: <talkaction words="" script="" /> Teste e ve se funciona !
  11. Com toda certeza Lyu ! Me manda 1 mensagem lá no discord... Já tem algo em mente?
  12. KSDAKASKD Vlw vod hahahah
  13. Opa tudo bem? Atualmente estou estudando um pouco programação e venho trabalhando bastante no intuito de melhorar o meu nível profissional de scripter. EU Estou a procura de uma equipe dedicada para que eu possa participar e tentar trabalhar um pouco em algum projeto legal (de preferencia com tfs 1.1+). Quem quiser trocar uma ideia comigo em relação a projetos, mande uma mensagem no meu Discord: Tataboy67 #4934
  14. <talkaction words="!ta;/ta" access="6" event="script" value="createitemall.lua"/> <talkaction log="yes" words="/i" access="6" event="script" value="createitem.lua"/> Tente criar um item usando o comando dentro do jogo: /ta 2160,10 @Lndot
  15. <data/talkactions/talkactions.xml>
  16. Qual seria sua Tag no talkactions.xml ?
  17. Não tinha registrado não ! Mas agora já consegui ... Talvez eu poste ele depois. tem 2 meses que eu estava com o problema kk, foi criado 3 de junho mas vlw kot
  18. function onSay(cid, words, param, channel) if(param == '') then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Command param required.") return true end local t = string.explode(param, ",") local ret = RETURNVALUE_NOERROR local pos = getCreaturePosition(cid) local id = tonumber(t[1]) if(not id) then errors(false) id = getItemIdByName(t[1]) errors(true) if(not id) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Item with such name does not exists.") return true end end local amount = 100 if(t[2]) then amount = t[2] end local item = doCreateItemEx(id, amount) if(t[3] and getBooleanFromString(t[3])) then if(t[4] and getBooleanFromString(t[4])) then pos = getCreatureLookPosition(cid) end ret = doTileAddItemEx(pos, item) else ret = doPlayerAddItemEx(cid, item, true) end if(ret ~= RETURNVALUE_NOERROR) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Couldn't add item: " .. t[1]) return true end doDecayItem(item) if(not isPlayerGhost(cid)) then doSendMagicEffect(pos, CONST_ME_MAGIC_RED) end return true end Teste esse ! Lembrando script não é meu... @Créditos ao Best Baiak @Lndot
  19. Qual o id da "boots of waterwalking".
  20. Pera, eu não entendi muito bem... Essa parte de adicionar o premium, você deve limitar para que o sistema de VIP só funcione em characters e não em accounts, sacou? Vamos supor que um jogador faça uma Quest e pegue um item de VIP Days, ele usa e ganha 3 dias de vip em todos os Character's... Porem você tem de alterar o script de VIP, para que quando adicionar o VIP, ele adicione apenas em 1 char e não em toda a conta, entendeu?
  21. Você modificou o nome do item em items.xml? @amora murder
  22. if updateSkills then player:addOfflineTrainingTries(SKILL_SHIELD, trainingTime / 4) end -- /\ -- Em sua função de adicionar SKILL_SHIELD está divindo o valor por 4, tente ir diminuindo o valor... Exemplo: if updateSkills then player:addOfflineTrainingTries(SKILL_SHIELD, trainingTime / 3) end -- OU if updateSkills then player:addOfflineTrainingTries(SKILL_SHIELD, trainingTime / 2) end @amora murder
  23. local config = { level = 30, days = 7 } function onAdvance(player, oldlevel, newlevel) if player:getLevel() >= config.level and player:getStorageValue(player:getAccountId(player)+321) <= 0 then doPlayerAddPremiumDays(player, config.days) player:setStorageValue(player:getAccountId(player)+321, 1) doPlayerSendTextMessage(player, MESSAGE_INFO_DESCR, "Você ganhou "..config.days.." dias de premium por alcançar level "..config.level.." em pelo menos um char de sua account. Você não irá ganhar de novo caso upe level "..config.level.." em outro char para pegar sua premium basta relogar.") end return true end Testa ai, não fiz o teste !
  24. Parabéns, seu tópico de conteúdo foi aprovado! Muito obrigado pela sua contribuição, nós do Tibia King agradecemos. Seu conteúdo com certeza ajudará à muitos outros, você recebeu +1 REP.

Informação Importante

Confirmação de Termo