Tudo que vankk postou
-
(Resolvido)[Ajuda] ao usar spells o nome fica amarelo
Coloca emoteSpell em true no config.lua
-
Scrit Recompensa por Level (Addon/ite) TFS 1.0
Você procura as coisas antes de postar ou você já posta direto? O @luanluciano93 tem um script desse, eu já fiz uns 943876394876 scripts desse também.
-
Como colocar uma mensagem quando o player logar no otserv
Essa área não é a seção de pedidos.
-
Script efeito de magia em cima do teleporte!
Essa área é de suporte, e não pedidos, e o script que você quer tem em uns 93285293785 tópicos, basta utilizar a ferramenta Pesquisar no qual o fórum disponibiliza,
-
Criar script em lua ou programar em C++?
O desempenho não seria muito notado no Tibia, isso eu posso te garantir. Lua ftw.
-
(Resolvido)[PEDIDO] Recuperar stamina em x sqm
local config = { timeToAdd = 3, -- intervalo de tempo para adicionar. addTime = 10, -- quanto vai adicionar. } if not addSta then addSta = {} end local function addStamina(cid) if not isPlayer(cid) then addSta[cid] = nil return true end if getPlayerStamina(cid) >= 42 * 60 * 1000 then return end doPlayerSetStamina(cid, getPlayerStamina(cid) + config.addTime * 1000) doPlayerSendTextMessage(cid, 25, "Você recebeu "..config.addTime.." minutos de stamina.") addSta[cid] = addEvent(addStamina, config.timeToAdd * 60 * 1000, cid) end function onStepIn(cid) if isPlayer(cid) then addSta[cid] = addEvent(addStamina, config.timeToAdd * 60 * 1000, cid) end return true end function onStepOut(cid) if isPlayer(cid) then stopEvent(addSta[cid]) addSta[cid] = nil end return true end O sistema de Stamina do 0.4 é diferente que do o TFS 1.x. É baseado em milisegundos.
-
Promotion 10.98
Está faltando o clientId em cada vocação: https://github.com/otland/forgottenserver/blob/master/data/XML/vocations.xml E verifique os seus scripts para caso haja algum para trocar de vocação.
-
(Resolvido)[PEDIDO] Recuperar stamina em x sqm
Qualquer coisa me marca aqui no tópico que eu do uma olhada. Só que eu to suck em 0.3.6/0.4
-
(Resolvido)[RESOLVIDO] por storage em !transformar
local config = { --[vocation id] = { level, nova voc, looktype, efeito} [7] = {700, 8, 9, 114, 43902} } local storage = 123 function onSay(cid, words, param, channel) local voc = config[getPlayerVocation(cid)] if not voc then doPlayerSendCancel(cid, "Nao é possível se transformar.") return true end if getPlayerStorageValue(cid, storage) ~= 1 then doPlayerSendCancel(cid, "Nao é possível se transformar.") return true end if getPlayerLevel(cid) < voc[1] then doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Voce precisa estar no level " .. voc[1] .. " para transformar.") return true end doPlayerSetVocation(cid, voc[2]) doPlayerSendTextMessage(cid, MESSAGE_STATUS_WARNING, "Voce se transformou!") doCreatureSay(cid, "Transformar", 19) doCreatureChangeOutfit(cid, {lookType = voc[3]}) doSendMagicEffect(getCreaturePosition(cid), voc[4]) return true end
-
(Resolvido)[PEDIDO] Recuperar stamina em x sqm
Tem os dois, de um para Stamina e outro para Soul Points, da uma olhada ai, xD.
-
(Resolvido)[PEDIDO] Recuperar stamina em x sqm
Eu fiz um script desse a pouco tempo ai, dê uma pesquisada no fórum.
-
Assassin star infinita
Já pensou em testar?
-
Assassin star infinita
Procure no weapons.xml então.
-
Podcast do TK
sorry bb only discord.
-
Preciso de ajuda para editar armaduras
Modifique em seus movements.xml, só procurar pelo o ID, e então editar.
-
Gesior 2012 TFS 1.2 Não posso carregar imagens
Utiliza-se um site externo, pastebin.com, hastebin.com tantos bin por ai...
-
Assassin star infinita
No items.xml coloque o breakChance em 0.
-
Gesior 2012 TFS 1.2 Não posso carregar imagens
Serião mesmo que você postou um código de duas mil linhas num tópico? W-T-F?
-
[TFS 1.2] Prision Boss Script
Prision Bosses TFS 1.2 by vankk Eu estava com um código bem ruim dos bosses da Prision Key no Aura, e resolvi atualizar, e decidi compartilhar aqui com vocês. Caso vocês queiram ver o script em funcionamento entre já em Aura. Clique aqui para ir para o site. O sistema está bem fácil de ser configurado, está tudo em tabelas, esse script é para os bosses: Zavarash, Horadron, Terofar. data/actions/actions.xml <action itemid="22606" script="prision_bosses.lua"/> <action itemid="22605" script="prision_bosses.lua"/> <action itemid="22604" script="prision_bosses.lua"/> data/actions/prision_bosses.lua -------------THIS SCRIPT WAS MADED BY VANKK AT 15TH DECEMBER 2016 AT 4 P.M (GMT - 3) ------------- local config = { [22606] = { targetId = 22636, -- Target ID. bossName = 'Zavarash', -- boss name keyPlayerPosition = Position(296, 1650, 12), -- Where the player should be. newPosition = Position(220, 1591, 13), -- Position to teleport bossPosition = Position(216, 1587, 13), -- Boss Position centerPosition = Position(215, 1591, 13), -- Center Room exitPosition = Position(293, 1634, 12), -- Exit Position rangeX = 20, -- Range in X rangeY = 20, -- Range in Y time = 15, -- time in minutes to remove the player }, [22605] = { targetId = 22634, -- Target ID. bossName = 'Horadron', -- boss name keyPlayerPosition = Position(291, 1650, 12), -- Where the player should be. newPosition = Position(293, 1676, 13), -- Position to teleport bossPosition = Position(300, 1677, 13), -- Boss Position centerPosition = Position(296, 1678, 13), -- Center Room exitPosition = Position(293, 1634, 12), -- Exit Position rangeX = 20, rangeY = 20, time = 15, -- time in minutes to remove the player }, [22604] = { targetId = 22638, -- Target ID. bossName = 'Terofar', -- boss name keyPlayerPosition = Position(302, 1650, 12), -- Where the player should be. newPosition = Position(257, 1675, 13), -- Position to teleport bossPosition = Position(260, 1676, 13), -- Boss Position centerPosition = Position(255, 1678, 13), -- Center Room exitPosition = Position(293, 1634, 12), -- Exit Position rangeX = 20, rangeY = 20, time = 15, -- time in minutes to remove the player } } local function roomIsOccupied(centerPosition, rangeX, rangeY) local spectators = Game.getSpectators(centerPosition, false, false, rangeX, rangeX, rangeY, rangeY) if #spectators ~= 0 then return true end return false end function clearBossRoom(playerId, centerPosition, rangeX, rangeY, exitPosition) local spectators, spectator = Game.getSpectators(centerPosition, false, false, rangeX, rangeX, rangeY, rangeY) for i = 1, #spectators do spectator = spectators[i] if spectator:isPlayer() and spectator.uid == playerId then spectator:teleportTo(exitPosition) exitPosition:sendMagicEffect(CONST_ME_TELEPORT) end if spectator:isMonster() then spectator:remove() end end end function onUse(player, item, fromPosition, target, toPosition, isHotkey) local tmpConfig = config[item.itemid] if not tmpConfig then return true end if target.itemid ~= tmpConfig.targetId then return true end local creature = Tile(tmpConfig.keyPlayerPosition):getTopCreature() if not creature or not creature:isPlayer() then return true end if roomIsOccupied(tmpConfig.centerPosition, tmpConfig.rangeX, tmpConfig.rangeY) then player:sendCancelMessage("There is someone in the room.") return true end local monster = Game.createMonster(tmpConfig.bossName, tmpConfig.bossPosition) if not monster then return true end -- Send message player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'You have entered an ancient demon prison cell!') player:sendTextMessage(MESSAGE_EVENT_ADVANCE, 'You have fifteen minutes to kill and loot this boss, else you will lose that chance.') -- Let's roll addEvent(clearBossRoom, 60 * tmpConfig.time * 1000, player:getId(), tmpConfig.centerPosition, tmpConfig.rangeX, tmpConfig.rangeY, tmpConfig.exitPosition) item:remove() player:teleportTo(tmpConfig.newPosition) player:getPosition():sendMagicEffect(CONST_ME_TELEPORT) return true end Não ensinarei a configurar a tabela, isso é uma tarefa bem fácil, e para não ter nada de mão beijada também né, Esse script é exclusivo do TibiaKing, e sua postagem em outros forums é proibida. Caso utilize em algum projeto, por favor manter os créditos.
-
Incentivo para chamarem jogadores
Boa explicação.
-
Como colocar addons do tibia 10.+ em tibia 8.690
Não tem como fazer isso, só se você modificar o Cliente do Tibia 8.60, e os seus jogadores precisariam baixar o Cliente do seu servidor para poder jogar, os que não tiverem baixado o cliente do servidor, irão tomar debug assim que aparecer algum jogador com alguma das novas outfits.
-
Como Colocar Novas Addons em tibia 8.60
Não tem como fazer isso, só se você modificar o Cliente do Tibia 8.60, e os seus jogadores precisariam baixar o Cliente do seu servidor para poder jogar, os que não tiverem baixado o cliente do servidor, irão tomar debug assim que aparecer algum jogador com alguma das novas outfits.
-
Aura atrás de Mappers
up!
-
Source Poketibia - Códigos de derrubar
Pelo estilo de código merda, eu até consigo imaginar quem que fez isso, kkkkkkkkkk.
-
Anunciar monrte tfs 1.2
Adiciona esse code no playerdeath nas últimas linhas antes de fechar o script. if killer:isPlayer() then Game.broadcastMessage(string.format("The player %s was been slained by %s at level %d.", player:getName(), killer:getName(), player:getLevel()), MESSAGE_EVENT_ADVANCE) end