
Solutions
-
tataboy67's post in (Resolvido)Movements was marked as the answerNão coloque Destination no teleport... Apenas coloque o uniqueID
-
tataboy67's post in (Resolvido)Sistema Simples de Forja was marked as the answer@lazarus321
SCRIPT:
local craft = { level = 1, -- nivel necessario items = { -- itens necessários para que os players entrem. [1] = {item = 2160, count = 10}, [2] = {item = 2159, count = 10}, -- [3] = {item = ItemID, count = Quantidade} }, craftedItem = {2493, 1}, -- item craftado, quantidade } function onUse(player, item, fromPosition, itemEx, toPosition) if player:getLevel() < craft.level then player:sendTextMessage(MESSAGE_STATUS_SMALL, "Voce nao possui nivel necessario.") player:getPosition():sendMagicEffect(CONST_ME_POFF) return true end for k, v in pairs(craft.items) do if player:getItemCount(v.item) < v.count then player:sendTextMessage(MESSAGE_STATUS_SMALL, "Voce nao possui os items necessarios.") player:getPosition():sendMagicEffect(CONST_ME_POFF) return true end end for k, v in pairs(craft.items) do player:removeItem(v.item, v.count) end player:addItem(craft.craftedItem[1], craft.craftedItem[2]) player:removeItem(item.itemid, 1) player:sendTextMessage(MESSAGE_STATUS_DEFAULT, "Parabens, voce craftou: "..craft.craftedItem[2].."x "..ItemType(craft.craftedItem[1]):getName()..".") player:getPosition():sendMagicEffect(50) return true end TAG:
<action itemid="27058" script="Item_Troca.lua" /> Aqui está funcionando perfeitamente ! ?
-
tataboy67's post in (Resolvido)Spear infinita was marked as the answer@magrelo751
removeWeaponAmmunition = false
Mude para true
-
tataboy67's post in (Resolvido)Meu Server Global 10.99 não tem CM was marked as the answerBom não sei se estou certo mas.... Se for para tentar ajudar, valeu a intenção:
Tente adicionar uma quarta linha com o ID = 4 e nome de CM.
Mais ou menos assim:
-
tataboy67's post in (Resolvido)RME e client 8.6 was marked as the answerTibia 8.60 (OLD)
(upei no 4shared pois ele faz scan sozinho !)
Se não funcionar me avise...
-
tataboy67's post in (Resolvido)Lista de Funcoens OTX 10.99 was marked as the answer@DevMorgan
Funções de interface:
Actions function onUse(player, item, fromPosition, target, toPosition, isHotkey) Chatchannels function canJoin(player) function onSpeak(player, type, message) Creaturescripts function onLogin(player) function onLogout(player) function onThink(creature, interval) function onPrepareDeath(creature, killer) function onDeath(creature, corpse, killer, mostDamageKiller, lastHitUnjustified) function onKill(creature, target) function onAdvance(player, skill, oldLevel, newLevel) function onModalWindow(player, modalWindowId, buttonId, choiceId) function onTextEdit(player, item, text) function onHealthChange(creature, attacker, primaryDamage, primaryType, secondaryDamage, secondaryType, origin) function onManaChange(creature, attacker, manaChange, origin) function onExtendedOpcode(player, opcode, buffer) Globalevents function onThink(interval, lastExecution) function onStartup() function onShutdown() function onRecord(current, old) function onTime() Movements function onStepIn(creature, item, toPosition, fromPosition) function onStepOut(creature, item, toPosition, fromPosition) function onEquip(player, item, slot) function onDeEquip(player, item, slot) function onAddItem(moveitem, tileitem, pos) function onRemoveItem(moveitem, tileitem, pos) Npc function onCreatureAppear(cid) function onCreatureDisappear(cid) function onCreatureSay(cid, type, msg) function onThink(interval, lastExecution) Spells function onCastSpell(creature, variant) Talkactions function onSay(player, words, param) Weapons function onUseWeapon(player, variant)
Funções TFS 1.2 (Funciona para o OTX 10.99)
TFS 1.2 Functions
Espero ter ajudado...
Creditos:
cbrm (otland)
vulcan_ (otland)
-
tataboy67's post in (Resolvido)Ajuda em script :/ was marked as the answerJÁ FIZ FUNCIONAR, PODE FECHAR O TÓPICO !
-
tataboy67's post in (Resolvido)bug no browse field was marked as the answererro consertado !
apenas coloque o action ID (8000) ou qualquer outro no item que vc não quer que puxe !
pode fechar o topico !
-
tataboy67's post in (Resolvido)[AJUDA] Bug na criação de item was marked as the answeropa
ja consegui resolver meu problema...
Dentro da pasta do meu servidor (Lib/script) tinha um arquivo chamado evolution.lua
-
tataboy67's post in (Resolvido)[AJUDA] Por favor ajudem a achar um server pokelute com megas e lendas. was marked as the answerGaroto, estou com 2 bases do pokelute oficial...
Peço que me adicione no skype ! tataboy67 (Nome vai estar como Luis, e imagem de 1 kyurem)
Obrigado.
+Rep