Ir para conteúdo

Macedo98

Membro
  • Registro em

  • Última visita

Tudo que Macedo98 postou

  1. Obrigado amigo
  2. tenta usar o /cliport e mexer os itens...
  3. Por favor movieBr ajude um amigo do TibiaKing
  4. Alguém sabe onde está o Download do baiaknew+Baiaksource? Procurei todas as datapacks e não achei o mapa que tenha esses dois baiaks juntos...
  5. https://www.mediafire.com/?t6sa5rwwdl1vbsv divirtam-se amiguinhos
  6. Postado Novembro 26 · Denunciar Post Eu tenho um heart system aqui com deathbroadcast e queria adicionar uma unica tag colocar descrição de quem matou o player e em qual level alguem ajuda? OBS: TFS 3.0 local config = { affected = 100, -- how many players (deathAssits) from table deathList should this script be executed for? killStorageValue = 3943, deathStorageValue = 3944, -- commands for the texts (those inside of ||, example: |KILLS| to show skills): KILLS, KILLERNAME, TARGETNAME rewardItem = { use = true, itemid = 5943, minLevel = false, -- false if you don't want any level req minLevelDiff = false, -- false if you don't want any level diff req (negative numbers allowed). }, killMessage = { use = true, text = "You owned |TARGETNAME|! You have now |KILLERKILLS| kills!", messageClass = MESSAGE_STATUS_CONSOLE_BLUE }, broadcastMessage = { use = true, minLevel = false, -- false if you don't want any level req minLevelDiff = false, -- false if you don't want any level diff req (negative numbers allowed). text = "|KILLERNAME| [|KILLERLEVEL|] Matou |TARGETNAME| [|TARGETLEVEL|]! E Arracou Seu Coracao!", messageClass = MESSAGE_STATUS_CONSOLE_ORANGE }, killerAnimation = { use = false, text = "Killer!", -- Only 9 letters! No "commands" here. color = 144 }, targetAnimation = { use = false, text = "Owned!", -- Only 9 letters! No "commands" here. color = 180 } } function onDeath(cid, corpse, deathList) for i = 1, math.min(config.affected, getConfigInfo('deathAssistCount')) do local killer = deathList if(isPlayer(killer) == TRUE) then local targetKills = math.max(0, getPlayerStorageValue(cid, config.killStorageValue)) + 1 local targetDeaths = math.max(0, getPlayerStorageValue(cid, config.deathStorageValue)) + 1 local killerKills = math.max(0, getPlayerStorageValue(killer, config.killStorageValue)) + 1 local killerDeaths = math.max(0, getPlayerStorageValue(killer, config.deathStorageValue)) + 1 setPlayerStorageValue(killer, config.killStorageValue, targetKills) setPlayerStorageValue(cid, config.deathStorageValue, targetDeaths) local killerLevel = getPlayerLevel(killer) local targetLevel = getPlayerLevel(cid) local levelDiff = targetLevel - killerLevel local values = { ["KILLERKILLS"] = killerKills, ["KILLERDEATHS"] = killerDeaths, ["KILLERNAME"] = getCreatureName(killer), ["KILLERLEVEL"] = killerLevel, ["TARGETKILLS"] = targetKills, ["TARGETDEATHS"] = targetDeaths, ["TARGETNAME"] = getCreatureName(cid), ["TARGETLEVEL"] = targetLevel } function formateString(str) return(str:gsub("|([A-Z]+)|", (function(a) return values[a] end))) end if(config.rewardItem.use and (not config.rewardItem.minLevel or targetLevel >= config.rewardItem.minLevel) and (not config.rewardItem.minLevelDiff or levelDiff >= config.rewardItem.minLevelDiff)) then local uid = doPlayerAddItem(killer, config.rewardItem.itemid, 30) end if(config.killMessage.use) then doPlayerSendTextMessage(killer, config.killMessage.messageClass, formateString(config.killMessage.text)) end if(config.broadcastMessage.use and (not config.broadcastMessage.minLevel or getPlayerLevel(cid) >= config.broadcastMessage.minLevel) and (not config.broadcastMessage.minLevelDiff or levelDiff >= config.broadcastMessage.minLevelDiff)) then broadcastMessage(formateString(config.broadcastMessage.text), config.broadcastMessage.messageClass) end if(config.killerAnimation.use) then doSendAnimatedText(getCreaturePosition(killer), config.killerAnimation.text, config.killerAnimation.color) end if(config.targetAnimation.use) then doSendAnimatedText(getCreaturePosition(cid), config.targetAnimation.text, config.targetAnimation.color) end end end return true end
  7. Olá eu gostaria de uma ajudinha para achar um sistema...o script consiste no seguinte: O player vai até o npc da "task" e diz "hi", ele respondera "Olá |playername| você gostaria de realizar a missão de matar "x" hydras para conseguir um demon shield" (somente um exemplo). Ao player iniciar a "missao" toda vez que ele matar uma hydra escreverá na tela dele em forma de broadcast "Você matou (112/1000) hydras". E ao terminar a missao, automaticamente ele recebera o item e xp.
  8. Vlw manin, deu certo aqui Reputado.
  9. Olá, gostaria muito de uma ajuda simples de alguém que manja de script pls, eu tenho uma storage spell aqui porém a spells nova a qual eu queria adicionar storage tbm o script é muito grande, e eu não sei onde colocar a seguinte tag: aqui é o script da magia que eu queria adicionar a storage:
  10. UPPPPPPPPPPPPPPPPPPPPPP PLSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
  11. ALGUEM PF?
  12. Ele funcionava, porém ele vinha só o coração na bag, queria adicionar a descrição no coração de quem matou e em que level, porém quando eu coloco a tag ele não funciona mais e tipo eu n manjo em script mas sei que a tag é essa estou querendo ajuda pra colocar somente a descrição no coração! Alguém pode me ajudar?
  13. Usei esse script subyth e não veio nem o coraçao na bag alguém me ajuda pls, não deu nennhum erro na tfs Alguém pra me ajudar? PLS
  14. Coração não veio denovo
  15. Agora eu matei o cara e o coração nem veio na bag...
  16. Vlw WhiteBubble deu certo xD falta de atenção nossa aqui vlw
  17. Eu tenho um heart system aqui com deathbroadcast e queria adicionar uma unica tag nele onde eu adiciono? local config = { affected = 100, -- how many players (deathAssits) from table deathList should this script be executed for? killStorageValue = 3943, deathStorageValue = 3944, -- commands for the texts (those inside of ||, example: |KILLS| to show skills): KILLS, KILLERNAME, TARGETNAME rewardItem = { use = true, itemid = 5943, minLevel = false, -- false if you don't want any level req minLevelDiff = false, -- false if you don't want any level diff req (negative numbers allowed). }, killMessage = { use = true, text = "You owned |TARGETNAME|! You have now |KILLERKILLS| kills!", messageClass = MESSAGE_STATUS_CONSOLE_BLUE }, broadcastMessage = { use = true, minLevel = false, -- false if you don't want any level req minLevelDiff = false, -- false if you don't want any level diff req (negative numbers allowed). text = "|KILLERNAME| [|KILLERLEVEL|] Matou |TARGETNAME| [|TARGETLEVEL|]! E Arracou Seu Coracao!", messageClass = MESSAGE_STATUS_CONSOLE_ORANGE }, killerAnimation = { use = false, text = "Killer!", -- Only 9 letters! No "commands" here. color = 144 }, targetAnimation = { use = false, text = "Owned!", -- Only 9 letters! No "commands" here. color = 180 } } function onDeath(cid, corpse, deathList) for i = 1, math.min(config.affected, getConfigInfo('deathAssistCount')) do local killer = deathList if(isPlayer(killer) == TRUE) then local targetKills = math.max(0, getPlayerStorageValue(cid, config.killStorageValue)) + 1 local targetDeaths = math.max(0, getPlayerStorageValue(cid, config.deathStorageValue)) + 1 local killerKills = math.max(0, getPlayerStorageValue(killer, config.killStorageValue)) + 1 local killerDeaths = math.max(0, getPlayerStorageValue(killer, config.deathStorageValue)) + 1 setPlayerStorageValue(killer, config.killStorageValue, targetKills) setPlayerStorageValue(cid, config.deathStorageValue, targetDeaths) local killerLevel = getPlayerLevel(killer) local targetLevel = getPlayerLevel(cid) local levelDiff = targetLevel - killerLevel local values = { ["KILLERKILLS"] = killerKills, ["KILLERDEATHS"] = killerDeaths, ["KILLERNAME"] = getCreatureName(killer), ["KILLERLEVEL"] = killerLevel, ["TARGETKILLS"] = targetKills, ["TARGETDEATHS"] = targetDeaths, ["TARGETNAME"] = getCreatureName(cid), ["TARGETLEVEL"] = targetLevel } function formateString(str) return(str:gsub("|([A-Z]+)|", (function(a) return values[a] end))) end if(config.rewardItem.use and (not config.rewardItem.minLevel or targetLevel >= config.rewardItem.minLevel) and (not config.rewardItem.minLevelDiff or levelDiff >= config.rewardItem.minLevelDiff)) then local uid = doPlayerAddItem(killer, config.rewardItem.itemid, 30) end if(config.killMessage.use) then doPlayerSendTextMessage(killer, config.killMessage.messageClass, formateString(config.killMessage.text)) end if(config.broadcastMessage.use and (not config.broadcastMessage.minLevel or getPlayerLevel(cid) >= config.broadcastMessage.minLevel) and (not config.broadcastMessage.minLevelDiff or levelDiff >= config.broadcastMessage.minLevelDiff)) then broadcastMessage(formateString(config.broadcastMessage.text), config.broadcastMessage.messageClass) end if(config.killerAnimation.use) then doSendAnimatedText(getCreaturePosition(killer), config.killerAnimation.text, config.killerAnimation.color) end if(config.targetAnimation.use) then doSendAnimatedText(getCreaturePosition(cid), config.targetAnimation.text, config.targetAnimation.color) end end end return true end esse é o system queria agora adicionar uma legenda ao coraçao com essa tag...onde adiciono ela? doItemSetAttribute(add, "description","Esse coração é de "..getPlayerName(target).." que foi morto no level "..getPlayerLevel(target).." por "..getPlayerName(cid)..".")
  18. Estranhooo
  19. Se tira o event script ninguem pode usar...
  20. Ainda Sorcerer heala com a de kina, olha:
  21. <rune name="Mana Rune" id="2296" allowfaruse="0" charges="1" lvl="250" maglv="2" exhaustion="900" aggressive="0" needtarget="1" blocktype="solid" event="script" value="custom spells/mage rune.lua"/> <vocation id="Sorcerer"/> <vocation id="Master Sorcerer"/> <rune name="Druid Rune" id="2300" allowfaruse="0" charges="1" lvl="250" maglv="2" exhaustion="900" aggressive="0" needtarget="1" blocktype="solid" event="script" value="custom spells/druid rune.lua"/> <vocation id="Druid"/> <vocation id="Elder Druid"/> <rune name="Knight Rune" id="2280" allowfaruse="0" charges="1" lvl="250" maglv="2" exhaustion="900" aggressive="0" needtarget="1" blocktype="solid" event="script" value="custom spells/knight rune.lua"/> <vocation id="Knight"/> <vocation id="Elite Knight"/> <rune name="Paladin Rune" id="2312" allowfaruse="0" charges="1" lvl="250" maglv="2" exhaustion="900" aggressive="0" needtarget="1" blocktype="solid" event="script" value="custom spells/paladin rune.lua"/> <vocation id="Paladin"/> <vocation id="Royal Paladin"/>
  22. Tipo eu coloquei la no spells e todas vocacoes podem usar ainda porque será?
  23. Como assim tipo, é no spells e no actions? Não entendi perdão
  24. meu deus my bad, sabe onde tinha colocado esse script? No actions kkkkkk mals ae man vlw! ops deu esse erro aqui lek [Warning - Event::loadScript] Event onCastSpell not found (data/spells/scripts/custom spells/mage rune.lua) Mudei o script da mana rune pra essa! local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_MANADRAIN) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MAGIC_BLUE) setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, 1) setCombatParam(combat, COMBAT_PARAM_AGGRESSIVE, 0) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, 0, 4000, 0, 8000) function onCastSpell(cid, var) doCreatureSay(cid, "Free Rune", TALKTYPE_ORANGE_1) return doCombat(cid, combat, var) end
  25. Olá clã eu tenho um script de mana runa aqui só que o problema dele é que ele heala todas as vocations eu queria que somente ,druid (elder) usa-se segue abaixo o script: local MIN = 3000 local MAX = 6000 local exhaust = createConditionObject(CONDITION_EXHAUST) setConditionParam(exhaust, CONDITION_PARAM_TICKS, (getConfigInfo('timeBetweenExActions') - 100)) function onUse(cid, item, fromPosition, itemEx, toPosition) if isPlayer(itemEx.uid) == FALSE then return FALSE end if hasCondition(cid, CONDITION_EXHAUST_HEAL) == TRUE then doPlayerSendDefaultCancel(cid, RETURNVALUE_YOUAREEXHAUSTED) return TRUE end if(getPlayerLevel(itemEx.uid) < 250) then doPlayerSendTextMessage(cid, 22, "Somente lvl 250!") return TRUE end if(isInArray({2,6}, getPlayerVocation(cid)) or getPlayerLevel(itemEx.uid) < 250) then if doCreatureAddHealth(itemEx.uid, math.random(MIN, MAX)) == LUA_ERROR then end doSendAnimatedText(getPlayerPosition(cid), "Free Rune", TEXTCOLOR_BLUE) return TRUE end if doPlayerAddMana(itemEx.uid, math.random(MIN, MAX)) == LUA_ERROR then return FALSE end doAddCondition(cid, exhaust) doSendMagicEffect(getThingPos(itemEx.uid), CONST_ME_MAGIC_BLUE) doSendAnimatedText(getPlayerPosition(cid), "Free Rune", TEXTCOLOR_BLUE) return TRUE end Todas vocations estão conseguindo usar, ele está healando normal porque?

Informação Importante

Confirmação de Termo