Tudo que Muvukaa postou
-
(Resolvido)-=[TFS]=- 0.4 8.60 Quando player usa magia em area ou mata um player com sword wand rod etc servidor trava volta trava e volta trava no jogo depois volta eu não sei o que é isso
Olha ai LEKOT. creaturescripts.rar
-
[SQL] -=[TFS]=- 0.4 8.60 Ta dando esse erro no console GUI
e como se pode me auxilia
-
[SQL] -=[TFS]=- 0.4 8.69 ALGUEM PODE ME AJUDA NESSE SCRIPT PARECE QUE NÃO ESTA FUNCIONANDO ELE NÃO ATACA COM BOOSTER ATTACK STONE
O fe o booster sotne attack vai até 10000 eu queria quue quando chegasse 100 ele hitava 1kkk
-
-=[TFS]=- 0.4 8.60 Preciso de um suporte quando de use no item ele somi e aparece contdown de 30 minutos de acesso a uma area donate
da use no item player tem acesso area donate por 30 minutos depois ele é kickado o problema desse script é que ele não aparece contdown e não remove item do set ou na bp. ACTION: local storageValue = 13741 local itemID = 8981 local teleportPosition = {x = 154, y = 51, z = 7} local cooldownTime = 30 * 60 local timeInterval = 60 local countdownTextEffect = 21 local animetextEffect = 67 local animetextEffectInterval = 5 function sendBuffActiveText(cid, remainingTime) local minutes = math.floor(remainingTime / 60) local seconds = remainingTime % 60 doSendAnimatedText(getCreaturePosition(cid), "Aguarde mais " .. minutes .. " minutos e " .. seconds .. " segundos", animetextEffect) if remainingTime > 0 then addEvent(sendBuffActiveText, animetextEffectInterval * 1000, cid, remainingTime - animetextEffectInterval) end end function sendCountdownText(cid, remainingTime) local minutes = math.floor(remainingTime / 60) local seconds = remainingTime % 60 doSendAnimatedText(getCreaturePosition(cid), "Aguarde mais " .. minutes .. " minutos e " .. seconds .. " segundos", countdownTextEffect) end function onUse(cid, item, frompos, item2, topos) local lastUsageTime = getPlayerStorageValue(cid, "lastUsageTime") local currentTime = os.time() if lastUsageTime ~= -1 and currentTime < lastUsageTime + cooldownTime then local remainingTime = (lastUsageTime + cooldownTime) - currentTime sendCountdownText(cid, remainingTime) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Aguarde mais " .. math.floor(remainingTime / 60) .. " minutos e " .. remainingTime % 60 .. " segundos antes de usar novamente.") return true end if getPlayerStorageValue(cid, storageValue) ~= -1 then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você já tem acesso a essa funcionalidade.") return true end local hasUnlimitedCharges = getPlayerStorageValue(cid, "hasUnlimitedCharges") == 1 if not hasUnlimitedCharges and not doPlayerRemoveItem(cid, itemID, 1) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você precisa ter o item necessário para usar essa funcionalidade.") return true end local expirationTime = currentTime + (30 * 60) setPlayerStorageValue(cid, storageValue, expirationTime) setPlayerStorageValue(cid, "lastUsageTime", currentTime) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você ganhou acesso a essa funcionalidade por 30 minutos.") sendCountdownText(cid, 30 * 60) addEvent(function() if isPlayer(cid) then doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Seu tempo de acesso expirou.") doTeleportThing(cid, teleportPosition) setPlayerStorageValue(cid, storageValue, -1) end end, cooldownTime * 1000) addEvent(function() if isPlayer(cid) then local remainingTime = (getPlayerStorageValue(cid, storageValue) - os.time()) sendBuffActiveText(cid, remainingTime) end end, animetextEffectInterval * 1000) return true end MOVEMENTS: function onStepIn(cid, item, position, fromPosition) local sto = 13741 -- storage Aqui if isPlayer(cid) then if getPlayerStorageValue(cid, sto) >= 1 then doPlayerSendTextMessage(cid, 25, "Seja bem vindo a area.") else doTeleportThing(cid, fromPosition, true) doSendMagicEffect(getThingPos(cid), CONST_ME_MAGIC_BLUE) doPlayerSendTextMessage(cid, 25, "Voce Nao Tem Acesso!") end end return true end HQTM23A (1).mp4
-
-=[TFS]=- 0.4 8.60 Script Use Iten Por Tempo 30 Minutos
<action itemid="8981" script="access.lua"/> local storageValue = 13741 local itemID = 8981 -- Item utilizado para conceder o acesso de 72 horas local teleportPosition = {x = 154, y = 51, z = 7} -- Posição de teleporte quando o tempo acabar local timeInterval = 1 * 60 -- Intervalo de tempo em segundos (30 minutos) function onUse(cid, item, frompos, item2, topos) if getPlayerStorageValue(cid, storageValue) ~= -1 then doPlayerSendCancel(cid, "Você já tem acesso a essa funcionalidade.") return true end if not doPlayerRemoveItem(cid, itemID, 1) then doPlayerSendCancel(cid, "Você precisa ter o item necessário para usar essa funcionalidade.") return true end local currentTime = os.time() local accessTime = 72 * 60 * 60 -- Convertendo 72 horas para segundos local expirationTime = currentTime + accessTime setPlayerStorageValue(cid, storageValue, expirationTime) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Você ganhou acesso a essa funcionalidade por 72 horas.") return true end function onLogin(cid) local currentTime = os.time() local expirationTime = getPlayerStorageValue(cid, storageValue) if expirationTime ~= -1 and currentTime >= expirationTime then doTeleportThing(cid, teleportPosition, false) setPlayerStorageValue(cid, storageValue, -1) doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Seu acesso expirou. Você foi teleportado para a posição 154, 51, 7.") end local timeDifference = currentTime - getPlayerStorageValue(cid, "lastTimeCheck") if timeDifference >= timeInterval then local timeRemaining = expirationTime - currentTime local hours = math.floor(timeRemaining / 3600) local minutes = math.floor((timeRemaining % 3600) / 60) local seconds = timeRemaining % 60 local timeString = string.format("%02d:%02d:%02d", hours, minutes, seconds) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Tempo restante: " .. timeString) setPlayerStorageValue(cid, "lastTimeCheck", currentTime) end return true end PRECISO DESSE SCRIPT FUNCIONANDO NA SEGUINTE MANEIRA QUANDA DA USE NO ITEM 8981 JORNAL DE OURO O PLAYER TEM ACESSO AREA DONATE POR 30 MINUTOS MAIS COM CONTDOWN TEMPO EM VERDE NA TELA MOSTRANDO EM CONTAGEM REGRESSIVA QUANDO TEMPO O PLAYER VAI FICA NA AREA DONATE MESMO SE ELE DESLOGA NO FINAL DO TEMPO ELE É CHUTADO PRO TEMPLO MESMO SE DESLOGA E LOGA PODE SER DIAS QUE ELE FIQUE SEM LOGA PENSANDO QUE TEM BUG MAIS NÃO TEM NÃO ELE É CHUTADO QUEM PODER AJUDAR NO SCRIPT 'REVSCRIPT' EU AGRADEÇO. MOVIMENT EU JA FIZ SÓ FALTA ESSES ATRIBUTOS NO ACTION.
-
-=[TFS]=- 0.4 8.60 [SCRIPT] [SPELLS] Alguem me ajuda a converter esse script para a versão 8.60 0.4 do Tibia
alguem pode ajudar nesse script colocalo na versao 8.60
-
-=[TFS]=- 0.4 8.60 [SCRIPT] [SPELLS] Alguem me ajuda a converter esse script para a versão 8.60 0.4 do Tibia
local arrs = { { {0, 1, 0}, {1, 2, 1}, {0, 1, 0} }, { {0, 1, 1, 1, 0}, {1, 1, 0, 1, 1}, {1, 0, 2, 0, 1}, {1, 1, 0, 1, 1}, {0, 1, 1, 1, 0} }, { {0, 0, 1, 0, 1, 0, 0}, {0, 1, 0, 1, 0, 1, 0}, {1, 0, 0, 0, 0, 0, 1}, {1, 0, 0, 2, 0, 0, 1}, {1, 0, 0, 0, 0, 0, 1}, {0, 1, 0, 0, 0, 1, 0}, {0, 0, 1, 1, 1, 0, 0} }, { {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0}, {0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0}, {1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1}, {1, 1, 0, 0, 0, 2, 0, 0, 0, 1, 1}, {1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1}, {0, 1, 1, 0, 0, 0, 0, 0, 1, 1, 0}, {0, 0, 1, 1, 0, 0, 0, 1, 1, 0, 0}, {0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0} } } local combat = {} for i = 1, 4 do combat[i] = Combat() combat[i]:setParameter(COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE) combat[i]:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_HOLYAREA) combat[i]:setArea(createCombatArea(arrs[i])) function onGetFormulaValues(player, level, magicLevel) local min = (level / 5) + (maglevel * 10) local max = (level / 5) + (maglevel * 14) return -min, -max end function onTargetTile(creature, position) creature:getPosition():sendDistanceEffect(position, CONST_ANI_HOLY) end combat[i]:setCallback(CALLBACK_PARAM_LEVELMAGICVALUE, "onGetFormulaValues") combat[i]:setCallback(CALLBACK_PARAM_TARGETTILE, "onTargetTile") end local function castSpell(creatureId, variant, counter) local creature = Creature(creatureId) if not creature then return end if counter == 0 then combat[1]:execute(creature, variant) elseif counter == 100 then combat[2]:execute(creature, variant) elseif counter == 250 then combat[3]:execute(creature, variant) elseif counter == 500 then combat[4]:execute(creature, variant) end if counter < 500 then addEvent(castSpell, 50, creatureId, variant, counter + 50) end end function onCastSpell(creature, variant) castSpell(creatureId, variant, 0) return true end
-
-=[TFS]=- 0.4 8.60 [SCRIPT]-[TALKACTIONS] Pedido de Scrrip !status
storagedodge = 98798644 -- storage do dodge storagecrit = 48903 -- storage critical storage = 54676, -- Storage storage reset vip storage = 54676 reset free SORAGE VIP = 13545 Toda vez que player desloga aparece isso e se eu falar !check tambem aparece a memsagem alguem doPlayerPopupFYI pode ajudar a fazer esse script? Esse sistema. EU QUERIA ASSIM
-
(Resolvido)[EXP-FOOD] Com os IDs ai em baixo
-
(Resolvido)[EXP-FOOD] Com os IDs ai em baixo
O meu simplesmente não funciona
-
(Resolvido)[EXP-FOOD] Com os IDs ai em baixo
Não pego com player eu queria exp food igual dos baiak fusion eu tenho um baiak fusion aqui mais nao achei o script
-
(Resolvido)[EXP-FOOD] Com os IDs ai em baixo
-
(Resolvido)[EXP-FOOD] Com os IDs ai em baixo
São esses arquivos que não pegam no meu antigo (10).lua (6).lua (5).lua (9).lua
-
(Resolvido)[EXP-FOOD] Com os IDs ai em baixo
Tipo assim eu tava ja com um Sistema EXP-Food mais as ids food que não funcionava eram essa 2328 - 6541- 12599 - 8300 vo posta o script.
-
(Resolvido)[EXP-FOOD] Com os IDs ai em baixo
Ve se ta certo XML .lua você fez algo que nem um comedor de angu faria avalia se ta no geito que voce falo. <action itemid="6542" event="script" value="scriptxp.lua"/> function onUse(cid, item, fromPosition, itemEx, toPosition) local foodIds = {6542, 6543, 6544, 6545, 2328, 6541, 12599, 8300} -- IDs das comidas que irão dar EXP local expMin = 10000 -- EXP mínima que será adicionada local expMax = 1000000 -- EXP máxima que será adicionada local expGain = math.random(expMin, expMax) -- Calcula a EXP a ser adicionada de forma aleatória for _, id in ipairs(foodIds) do if item.itemid == id then doPlayerAddExp(cid, expGain) -- Adiciona a EXP ao jogador doRemoveItem(item.uid, 1) -- Remove a comida do inventário do jogador doSendMagicEffect(getCreaturePosition(cid), CONST_ME_SOUND_YELLOW) -- Emite um efeito sonoro ao comer a comida doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, string.format("Você comeu %s e recebeu %d de experiência!", getItemName(item.itemid), expGain)) -- Exibe uma mensagem para o jogador informando a EXP ganha break end end return true end
-
(Resolvido)[EXP-FOOD] Com os IDs ai em baixo
como coloco no xml do meu ot action usando os ids que te passei no primeiro post
-
(Resolvido)[EXP-FOOD] Com os IDs ai em baixo
quero exp-food com essas ids dos egg igual aqueles baiak fusion tem
-
(Resolvido)[EXP-FOOD] Com os IDs ai em baixo
<action itemid="6542" event="script" value="masterfusionvips/(1).lua"/> <action itemid="6543" event="script" value="masterfusionvips/(2).lua"/> <action itemid="6544" event="script" value="masterfusionvips/(3).lua"/> <action itemid="6545" event="script" value="masterfusionvips/(4).lua"/> <action itemid="6541" event="script" value="masterfusionvips/(5).lua"/> <action itemid="12599" event="script" value="masterfusionvips/(6).lua"/> <action itemid="8300" event="script" value="masterfusionvips/(7).lua"/> <action itemid="8300" event="script" value="masterfusionvips/(8).lua"/> <action itemid="8300" event="script" value="masterfusionvips/(9).lua"/> <action itemid="8300" event="script" value="masterfusionvips/(10).lua"/> EXP FOOD
-
Ta dando debug toda hora quando loga um char especifico da debug por favor me ajuda
- -=[TFS]=- v0.4 8.60 Command !all 12:59 [/all] --> [VIP] Winzaack - Reset [ ] Level [664]: óla /|\ storage do reset = storage = 54676 /|\
Podem fecha consegui resolve muito obrigado pra quem visualizo.- -=[TFS]=- v0.4 8.60 Command !all 12:59 [/all] --> [VIP] Winzaack - Reset [ ] Level [664]: óla /|\ storage do reset = storage = 54676 /|\
function onSay(cid, words, param, channel) if(param == "") then return doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Please type a message for broadcast.") and true end if not (exhaustion.check(cid, 1000)) then exhaustion.set(cid, 1000, 60) broadcastMessage("[/all] --> "..getPlayerName(cid) .." [".. getPlayerLevel(cid) .. "]: " .. param, MESSAGE_STATUS_CONSOLE_ORANGE) broadcastMessage("[/all] --> "..getPlayerName(cid) .." [".. getPlayerLevel(cid) .. "]: " .. param, MESSAGE_INFO_DESCR) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_RED, "Please wait "..exhaustion.get(cid, 1000).." second"..(exhaustion.get(cid, 1000) > 1 and "s" or "").." to broadcast again.") end return true end AJUDA POR FAVOR PRECISO QUE QUANDO PLAYER DIGITA !all apareça o reset [/all] --> [VIP] Winzaack - Reset [ ] Level [664]: óla- [SPELLS] -=[TFS]=- wild growth runes 0.4 v8.60 Não funciona e não aparece a parade de arvore me ajuda por favor
Obrigado @deza o problema tava na runa unica coisa que fiz foi substitui a runa por outra.- [SPELLS] -=[TFS]=- wild growth runes 0.4 v8.60 Não funciona e não aparece a parade de arvore me ajuda por favor
<item id="2269" article="a" name="wild growth rune"> <attribute key="runeSpellName" value="adevo grav vita" /> <attribute key="weight" value="120" /> <attribute key="charges" value="2" /> <item id="1499" article="a" name="rush wood"> <attribute key="type" value="magicfield" /> <attribute key="decayTo" value="0" /> <attribute key="duration" value="45" /> local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_EARTH) setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1499) function onCastSpell(cid, var) return doCombat(cid, combat, var) end <rune name="Wild Growth" id="2269" allowfaruse="1" charges="2" lvl="27" maglv="8" exhaustion="1000" blocktype="all" event="script" value="support/wild growth rune.lua"> EU NÃO SEI POR QUE NÃO QUER APARECE A WALL- [SPELLS] -=[TFS]=- wild growth runes 0.4 v8.60 Não funciona e não aparece a parade de arvore me ajuda por favor
12:38 You see 2 wild growth runes. They weigh 120.00 oz. ItemID: [2269]. local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_EARTH) setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1499) function onCastSpell(cid, var) return doCombat(cid, combat, var) end- [SPELLS] -=[TFS]=- 0.4 v8.60 NÃO DESAPARECE ESSES WALL ME AJUDA POR FAVOR
Resolveu muito obrigado - -=[TFS]=- v0.4 8.60 Command !all 12:59 [/all] --> [VIP] Winzaack - Reset [ ] Level [664]: óla /|\ storage do reset = storage = 54676 /|\
Informação Importante
Confirmação de Termo