Tudo que luanluciano93 postou
-
(Resolvido)Erro ao Adiciona Samples
Resolvido pelo autor do tópico.
-
[TFS 0.X] Banco por comando (!deposit, !balance, !withdraw)
Não precisa do TRUE, alias, é uma gambiarra do TFS esse TRUE em maiúscula! Existem varios casos do TRUE nos 3 scripts. Ficaria melhor ser editável esse id de cidade, pois rook pode ser outro town id em alguns ots! Espaçamento incorreto! Tópico aprovado, obrigado por compartilhar! Este tópico foi movido: Para: "OTServ → Scripting → Actions e TalkActions"
-
[TFS 1.2] Stamina doll
Tópico aprovado, obrigado por compartilhar! Este tópico foi movido: Para: "OTServ → Scripting → Actions e TalkActions" @Larissa Azhaurn, aconselho a começar a indentar os scripts que você posta, fica muito melhor para você e para quem lê o script ... Dei uma reescrita no código: local config = { full = 40, -- em horas refuel = 42, -- em horas } function onUse(player, item, fromPosition, itemEx, toPosition, isHotkey) local stamina = player:getStamina() / 60 if stamina < config.full then player:setStamina(config.refuel * 60) player:sendTextMessage(MESSAGE_STATUS_CONSOLE_ORANGE, "Your stamina has been refilled.") item:remove(1) else player:sendCancelMessage("Your stamina is already full.") end return true end
-
(Resolvido)[AJUDA] Mount Doll / Addon Doll / Stamina Refiller , todas do TFS 1.0
Crie o arquivo com o nome de staminadoll.lua em actins/scripts/, e coloque o código dentro, depois em actions.xml coloque esse tag: <action itemid="ITEMID" script="staminadoll.lua"/> no lugar de ITEMID coloque o id do item que será o stamina doll.
-
(Resolvido)[AJUDA] Mount Doll / Addon Doll / Stamina Refiller , todas do TFS 1.0
@marcio1234, kkk , isso é indiferente, o importante é a tag no actions.xml estar com o nome igual do arquivo que você criou.
-
OT , Não sabia aonde Postar
O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Notícias e OTServ Geral" Para: "OTServ → Suporte OTServ → Suporte de OTServ Geral"
-
Who Never
eu nunca.
-
Spells Nao Funcionam !
Poste o script dos potions ...
-
Anti DDoS Kiwi Guard
Tópico aprovado, obrigado por compartilhar. Este tópico foi movido: Para: "OTServ → Downloads → Utilitários para OTServs"
-
Faço Scripts Para Todos
ops, aqui elseif isMonster(target) faltou o then no final ... elseif isMonster(target) then
-
[PEDIDO]
-- <movevent type="StepIn" actionid="30000" event="script" value="tp_city.lua"/> function onStepIn(cid, item, position, fromPosition) local townId = 2 if isPlayer(cid) then doTeleportThing(cid, getTownTemplePosition(townId)) doPlayerSetTown(cid, townId) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You are the newest resident of " .. getTownName(townId) .. ".") end return true end
-
Faço Scripts Para Todos
-- <event type="kill" name="DeathChannel" script="death_channel.lua"/> -- <event type="login" name="DeathChannelLogin" script="death_channel.lua"/> function onLogin(cid) registerCreatureEvent(cid, "DeathChannel") return true end function onKill(cid, target) local channel_id = 12 if isPlayer(target) then doPlayerSendChannelMessage(cid, "[DEATH]", "O player ".. getCreatureName(target) .." [".. getPlayerLevel(target) .."] acaba de ser morto por ".. getCreatureName(cid) .." [".. getPlayerLevel(cid) .."]!", TALKTYPE_CHANNEL_O, channel_id) elseif isMonster(target) doPlayerSendChannelMessage(cid, "[DEATH]", "O player ".. getCreatureName(target) .." [".. getPlayerLevel(target) .."] acaba de ser morto por um ".. getCreatureName(cid) .."!", TALKTYPE_CHANNEL_O, channel_id) end return true end
-
[EVENTO] Castle 24H "Diferente"
Tópico aprovado, obrigado por compartilhar. Este tópico foi movido: Para: "OTServ → Scripting → Sistemas e MODs" Esta horrivel esse código, se possível indentar o código e usar o "code" do bbcode.
-
Página de Pagamentos [Depósito, Paypal e PagSeguro]
@marcio1234 e @kualkerun, é só arrumar essa linha: <form target="pagseguro" method="post" action="https://pagseguro.uol.com.br/checkout/checkout.jhtml">
- [TFS 1.1] Exp Scroll por Stages
- [TFS 0.3.6] Sistema de nocautear e roubar player
-
(Resolvido)SHOP SYSTEM (FOTO DO ITEM DO SHOP) PICTURE
Botão direito na imagem -> copiar URL da imagem -> verificar o caminho pela URL, se existe ..
- [TFS 1.x] Loteria
-
Random box items
editei lá!
-
TP Boss
Coloque o evento no monstro: <script> <event name="Azerus" /> </script>
-
Random box items
@adrianinho, qual versão é seu ot?
- (EXAUSTED) Alavanca !
-
[Ajuda] Portas da Inquisition não abrem
que porta?
-
TP Boss
local config = { message = "Azerus ran into teleporter! It will disappear in 2 minutes. Enter It!", teleportId = 1387, bossName = "Azerus", pos = {x=581, y=577, z=9}, {x=581, y=575, z=10}, } function onDeath(cid, corpse, killer) if getCreatureName(cid) == bossName then doCreateTeleport(config.teleportId, config.pos[1], config.pos[2]) doCreatureSay(cid, config.message, TALKTYPE_ORANGE_1) end return true end
-
Random box items
local config = { [13670] = { -- item_exemplo chances = { {from = 1, to = 1, itemId = 2238}, {from = 2, to = 50, itemId = 2237}, {from = 51, to = 100, itemId = 2115}, }, effect = CONST_ME_POFF }, } function onUse(cid, item, fromPosition, itemEx, toPosition, isHotkey) local player = Player(cid) local useId = config[item.itemid] if not useId then return false end local chance = math.random(100) for i = 1, #useId.chances do local randomItem = useId.chances[i] if chance >= randomItem.from and chance <= randomItem.to then if randomItem.itemId then local itemId, count = randomItem.itemId, randomItem.count or 1 player:addItem(itemId, count) else player:say('You found nothing useful.', TALKTYPE_MONSTER_SAY) end item:getPosition():sendMagicEffect(useId.effect) item:remove(1) break end end return true end