Ir para conteúdo
  • Cadastre-se

Muvukaa

Membro
  • Total de itens

    235
  • Registro em

  • Última visita

Tudo que Muvukaa postou

  1. function onUse(cid, item, fromPosition, itemEx, toPosition) local name = "[PET] NIVEL MAXIMO" local pet = getCreatureSummons(cid) if #pet <= 0 then doSummonMonster(cid, name) setPlayerStorageValue(pet[1], 83712, 1) else for i = 1, #pet do if getPlayerStorageValue(pet[i], 83712) == 1 then doRemoveCreature(pet[i]) return true end end doSummonMonster(cid, name) setPlayerStorageValue(pet[#pet], 83712, 1) end return true end
  2. -=[TFS]=- 0.3.6 8.60 - ME AJUDA POR FAVOR QUANDO PLAYER LOGA NO TEMPLO DA DEBUG POR QUE TEM OURO CHAR NA MESMA POSIÇÃO
  3. experienceShareRadiusX = 65000 experienceShareRadiusY = 65000 experienceShareRadiusZ = 15 experienceShareLevelDifference = 2 / 3 extraPartyExperienceLimit = 99999 extraPartyExperiencePercent = 100 experienceShareActivity = 2 * 60 * 1000
  4. -=[TFS]=- 0.3.6 - 8.60 - PET SYSTEM ITEM SUMMON 4864 ELE ATACA PROPRIO DOMADOR QUE SUMONO ELE EU QUERO QUE SUMONA SÓ 1 PET E QUE DE USE NO ITEM 4864 GUARDE O PET FAÇA ELE DESAPARECE function onUse(cid, item, fromPosition, itemEx, toPosition) local name = "[PET] NIVEL MAXIMO" local pet = getCreatureSummons(cid) if #pet <= 0 then doSummonMonster(cid, name) setPlayerStorageValue(pet[1], 83712, 1) else for i = 1, #pet do if getPlayerStorageValue(pet[i], 83712) == 1 then doRemoveCreature(pet[i]) return true end end doSummonMonster(cid, name) setPl
  5. tem que adiciona no remer's o monstro? @L3K0T só pra conferi se o player muda posição do monstro morto pra fica criando varios monstros boss position esse script impede de fazer isso?
  6. -=[SQL]=- -=[TFS]=- 0.4 - 0.3.6 - 8.60 - Tem Algum Tutorial no Forum Que Ensine a Compila Cast System Com %XP Usando Cast System Sem PASSWORD Se Ganha %XP e WAR System?
  7. -=[TFS]=- 0.4 - 0.3.6 - 8.60 - Como faço Pra Reporta Bugs CTRL + Z e Player CTRL + J Pra Onde Vai Diretório CTRL + Z e do CTRL + J
  8. function onUse(cid, item, frompos, item2, topos) if item.uid == 1624 then if getPlayerStorageValue(cid, 1624) == -1 then if getPlayerLevel(cid) >= 0 then local enoughSpace = true -- Checks if there is enough space for all the backpacks for i = 1, 42 do if not doPlayerAddItem(cid, 10518, 1) then enoughSpace = false break end end if enoughSpace then -
  9. Quero que ela reflita danos em %(da minha escolha). Padrão pode ser 10%, mas que der pra editar e não sistema aleatório, quero que o player ganha-se um storage igual a system da critical e dodge. data\creaturescripts\scripts crie um arquivo chamado reflectStone.lua e adicione isso nele: local lvldodge = 48903 local percent = 0.5 function onStatsChange(cid, attacker, type, combat, value) if type == STATSCHANGE_HEALTHLOSS or type == STATSCHANGE_MANALOSS and isCreature(attacker) then if (getPlayerStorageValue(cid, lvldodge)*3) >= math.random (0,1000) then value = math.ceil(value*(percen
  10. EU QUERIA QUE MANDASSE ESSES ITENS QUE TEM NO SCRIPT PRO DEPOT CASO PLAYER NÃO TENHA MAIS CAP BP CHEIA FULL SLOT COMPLETO CONTAINER FULL MANDASSE PRO DEPOT DO PLAYER QUE DEU USE NA CHEST NAME CITY: DEXSOFT ID 1 function onUse(cid, item, frompos, item2, topos) if item.uid == 1624 then if getPlayerStorageValue(cid, 1624) == -1 then if getPlayerLevel(cid) >= 0 then -- Adds backpacks with ID 10518 to the player's inventory for i = 1, 42 do if not doPlayerAddItem(cid, 10518, 1) then doP
  11. function onUse(cid, item, frompos, item2, topos) if item.uid == 1623 then queststatus = getPlayerStorageValue(cid,1623) if queststatus == -1 then if getPlayerLevel(cid) >= 717217 then doPlayerSendTextMessage(cid,25,"Congratulations! You've won a prize.") doPlayerAddItem(cid,2159,100000) doPlayerAddItem(cid,10518,100) setPlayerStorageValue(cid,1623,1) else doPlayerSendTextMessage(cid,22,"You need to be level 717217 to use this.") end else
  12. [05/04/2024 21:15:04] [Error - CreatureScript Interface] [05/04/2024 21:15:05] buffer:onKill [05/04/2024 21:15:05] Description: [05/04/2024 21:15:05] [string "loadBuffer"]:4: attempt to index a boolean value [05/04/2024 21:15:05] stack traceback: [05/04/2024 21:15:05] [string "loadBuffer"]:4: in function <[string "loadBuffer"]:2> [05/04/2024 21:15:05] [Error - CreatureScript Interface] [05/04/2024 21:15:05] buffer:onKill [05/04/2024 21:15:05] Description: [05/04/2024 21:15:05] (luaGetMonsterInfo) Monster not found
  13. Existe alguma maneira de tipo mostrar o tempo que falta pro boss nascer novamente? 1. o boss morreu 2. ai em cima do sqm que o boss morreu, aparece uma contagem em tempo real 3. quando essa contagem terminar o boss nasce dnv alguem sabe se da pra fazer isso? local colorMsg = "orange" local tableBoss = { ["Amazon"] = {seconds = 10, newBoss = "Amazon"} } local function timer(position, duration, color) for i = 0, (duration - 1) do addEvent(function() doSendAnimatedText(position, tostring(duration - i), color) end, i * 1000) end end function onKill(cid,
  14. fala lekot se pode me ajuda 

     

    1. L3K0T

      L3K0T

      agora vo dormir amanhã posso ver ok

    2. Muvukaa

      Muvukaa

      ok durma com Deus sonhe com os anjos fique em paz.

  15. -- Caminho para a pasta spells local spellsFolder = "data/spells/spells.xml" function onSay(cid, words, param, channel) local spells = {} -- Para armazenar os nomes das magias -- Iterar sobre os arquivos na pasta spells for fileName in io.popen("ls " .. spellsFolder):lines() do -- Verificar se o arquivo é um arquivo XML if fileName:match("%.xml$") then local filePath = spellsFolder .. fileName -- Tentar abrir e processar o arquivo XML local f, err = io.open(filePath, "r") if f then -- Ler
  16. maximumDoorLevel = 717217 Porta de nível máximo Como faço para definir 717217
  17. [02/04/2024 01:35:06] [Error - Spell Interface] [02/04/2024 01:35:06] In a timer event called from: [02/04/2024 01:35:06] data/spells/scripts/attack/samuel333.lua:onCastSpell [02/04/2024 01:35:06] Description: [02/04/2024 01:35:06] (luaDoCombat) Combat not found -- =============== COMBAT VARIABLES =============== local combat12_Brush_2 = createCombatObject() setCombatParam(combat12_Brush_2, COMBAT_PARAM_EFFECT, CONST_ME_POFF) setCombatParam(combat12_Brush_2, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_FLASHARROW) setCombatParam(combat12_Brush_2, COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE) set
  18. local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SUDDENDEATH) function damage(cid, level, maglevel) local min = 1000000000 local max = 1000000000 return -min, -max end setCombatCallback(combat, CALLBACK_PARAM_LEVELMAGICVALUE, "damage") function onCastSpell(cid, var) return doCombat(cid, combat, var) end local area = { {0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0}, {0, 0
  19. me ajuda nesse aqui Roberto: é globalevent interval "1" onThink.

     

  20. local config = { itemid = {2445, 2550, 2436, 6101, 2408, 7435, 7429, 8057}, -- IDs dos itens que serão transformados position = {x = 151, y = 55, z = 7}, -- Coordenadas dos itens a serem transformados tempo = 5, -- Tempo em segundos para o item desaparecer intervalo = 10 -- Intervalo em segundos entre a aparição de um item e outro } function changeItemsToMagicGreenEffect() local itemId = config.itemid[math.random(1, #config.itemid)] local item = doCreateItemEx(itemId, 1, config.position) -- Criar item que os jogadores não podem mover if item the
  21. IP:Rebirth-highexp.com baiak-alfrid.ddns.net onde faço download desse ot?

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo