Tudo que bpm91 postou
-
(Resolvido)Bug do fire da poi
@brunonyyu é 8.6 sim kkkkk eu to modificando pra ficar old @brunonyyu pior q ta bugado msm é esse mesmo id preciso de ajuda, elas n deveriam apagar, aonde configuro? no meu itens xml ele ta assim <item id="1507" article="a" name="searing fire"> <attribute key="type" value="magicfield" /> <attribute key="decayTo" value="1508" /> <attribute key="duration" value="10" /> <attribute key="field" value="fire"> <attribute key="damage" value="300" /> </attribute> alguem pode me ajudar? eu ja modifiquei o item xml pra <attribute key="type" value="magicfield" /> <attribute key="field" value="fire"> <attribute key="damage" value="300" /> <attribute key="replaceable" value="0" /> </attribute> mas nao adianta. o mw remove o fogo. help !
-
(Resolvido)Bug do fire da poi
@brunonyyu vlw irei testar
-
(Resolvido)Bug do fire da poi
-
(Resolvido)teleport ao pisar no chao
@r0bert0lol Obrigado, irei testar quando finalizar as storages aki xd @r0bert0lol acho q fiz bosta xd local storage = { 31421, 31422, 31423, 31424, 31425, 31426, 31427, 31428 } function onStepIn(cid, item, position, fromPosition) if getPlayerStorageValue(cid, stor) <= 0 then doTeleportThing(cid, fromPosition, TRUE) elseif getPlayerStorageValue(cid, storage) >= 1 then setPlayerStorageValue(cid, storage, 0) end return TRUE end @r0bert0lol eu nao sei como faço pra fazer 1 storage pra todos mas meu script ta assim function onStepIn(cid, item, frompos, item2, topos) playerpos = getPlayerPosition(cid) novapos2 = {x = 33363, y = 31817, z = 8} novapos3 = {x = 33361, y = 31814, z = 8} novapos4 = {x = 33370, y = 31807, z = 8} novapos5 = {x = 33369, y = 31814, z = 8} if item.actionid == 35421 and isPlayer(cid) then queststatus = getPlayerStorageValue(cid, 31421) if queststatus == -1 then getThingfromPos(playerpos) setPlayerStorageValue(cid, 31421, 1) doSummonCreature("Hellhound", novapos2) doSummonCreature("Hellhound", novapos3) doSummonCreature("Demon", novapos4) doSummonCreature("Destroyer", novapos5) end return false end return true end ao passar pelo piso ele criará esses monstros, porém eu fiz varios scripts e cada script com uma storage nova, ao passar no teleport eu teria que remover as 8 storages, pra que quando alguem faça a quest de novo ele faça os montros novamente. se tiver algum palpite pra me ajudar, tentei montar o teleport pra remover os storages mas n deu certo rsrs
-
(Resolvido)teleport ao pisar no chao
@r0bert0lol digo ao invés de dar storage, ele remover os storages "exemplo remover uns 6 storages"
-
(Resolvido)teleport ao pisar no chao
@r0bert0lol estou trabalhando em uma quest, vc saberia me dizer algum script que verifica a storage e remove a storage ao passar no teleport?
-
(Resolvido)teleport ao pisar no chao
function onStepIn(cid, item, position, lastPosition) doTeleportThing(cid,{x = 33384, y = 31854, z = 8}) return true end fiz esse script pra pisar no chão e ser teleportado mas os monstros estão teleportando tb. alguem sabe como modificar apenas para player pisar?
-
(Resolvido)Ao matar boss criar teleport
@r0bert0lol ele criou o teleport mas o teleportsumiu muito rapido e tb eu tinha q configurar o teleport pra escolher pra onde eu vou .. @r0bert0lol além disso, ele aparece um corpo aonde era o teleport. usei o script dele em cima do seu deu melhor. mas a sua config deu certo @r0bert0lol porém no script dele acontece a mesma coisa. o monstro nasce aonde é o teleport. ele n deveria nascer no teleport.@ITALOx acho que consegui resolver
-
adicionar tempo ao script de alavanca
@r0bert0lol poderia me ajudar no topico de criar teleport ao matar o boss? ja tentei varios topicos n consegui =/ @r0bert0lol queria sem storage, apenas o player puxar, e com o tempo a alavancar voltar ao normal e resetar a action
-
adicionar tempo ao script de alavanca
@Celulose seria um tempo para todos, ao usar a alavanca voltará e criará o item novamente que seria uma pedra
-
Preciso Urgente de Ajuda
@Ricardo Bregantini se vc adicionou atributos ao item talvez seja isso, experimente voltar como estava antes e veja se n da debug
-
Preciso Urgente de Ajuda
@Ricardo Bregantini isso acontece porq vc nao tem a sprite dele ou modificou a sprite.
-
adicionar tempo ao script de alavanca
olá, gostaria de saber como faço pra adicionar tempo a alavanca? meu script funciona 100% so gostaria de adicionar o tempo function onUse(cid, item, frompos, item2, topos) gatepos = {x=33372, y=31982, z=8, stackpos=1} gatepos2 = {x=33373, y=31982, z=8, stackpos=1} gatepos3 = {x=33374, y=31982, z=8, stackpos=1} -- local da pedra getgate = getThingfromPos(gatepos) getgate2 = getThingfromPos(gatepos2) getgate3 = getThingfromPos(gatepos3) if item.actionid == 3113 and item.itemid == 1945 then doRemoveItem(getgate.uid,1) doRemoveItem(getgate2.uid,1) doRemoveItem(getgate3.uid,1) doCreateItem(4570,1,gatepos) doCreateItem(4570,1,gatepos2) doCreateItem(4570,1,gatepos3) doTransformItem(item.uid,item.itemid+1) elseif item.actionid == 3113 and item.itemid == 1946 then doCreateItem(1547,1,gatepos) doCreateItem(1547,1,gatepos2) doCreateItem(1547,1,gatepos3) doTransformItem(item.uid,item.itemid-1) else doPlayerSendCancel(cid,"Sorry not possible.") end return 1 end
-
(Resolvido)Ao matar boss criar teleport
existe algum script q ao matar 1 boss nasce um teleport? eu uso tfs 0.4
-
raibown shield nao funciona encantar
olá meu rainbow shield nao está encantando, ao usar os itens ele aparece a msg na tela. segue em baixo meu itens xml e meu movements. <item id="8905" article="a" name="rainbow shield"> <attribute key="description" value="Strange elemental magic flows over this shield." /> <attribute key="weight" value="6900" /> <attribute key="defense" value="30" /> <attribute key="weaponType" value="shield" /> </item> <item id="8906" article="a" name="fiery rainbow shield"> <attribute key="description" value="It has been temporarily imbued with fire magic and boosts your shielding skill." /> <attribute key="weight" value="6900" /> <attribute key="defense" value="36" /> <attribute key="weaponType" value="shield" /> <attribute key="duration" value="1200" /> <attribute key="decayTo" value="8905" /> <attribute key="skillShield" value="3" /> </item> <item id="8907" article="an" name="icy rainbow shield"> <attribute key="description" value="It has been temporarily imbued with ice magic and has a greatly increased shielding value." /> <attribute key="weight" value="6900" /> <attribute key="defense" value="39" /> <attribute key="weaponType" value="shield" /> <attribute key="duration" value="1200" /> <attribute key="decayTo" value="8905" /> </item> <item id="8908" article="a" name="sparking rainbow shield"> <attribute key="description" value="It has been temporarily imbued with energy magic and increases your speed." /> <attribute key="weight" value="6900" /> <attribute key="defense" value="36" /> <attribute key="weaponType" value="shield" /> <attribute key="duration" value="1200" /> <attribute key="decayTo" value="8905" /> <attribute key="speed" value="20" /> </item> <item id="8909" article="a" name="terran rainbow shield"> <attribute key="description" value="It has been temporarily imbued with earth magic and boosts your regeneration." /> <attribute key="weight" value="6900" /> <attribute key="defense" value="37" /> <attribute key="weaponType" value="shield" /> <attribute key="duration" value="1200" /> <attribute key="decayTo" value="8905" /> <attribute key="healthGain" value="1" /> <attribute key="healthTicks" value="3000" /> <attribute key="manaGain" value="4" /> <attribute key="manaTicks" value="3000" /> </item> agora o movements <movevent type="Equip" fromid="8905" toid="8909" slot="shield" event="function" value="onEquipItem"> </movevent> <movevent type="DeEquip" fromid="8905" toid="8909" slot="shield" event="function" value="onDeEquipItem"/> eu uso tfs 0.4
-
Frases Npc nao aparecem todas.
up
-
edição de item
alguem saberia me dizer porque o tempo do item para o decay nao mostra em tempo real? <item id="2342" article="a" name="helmet of the ancients"> <attribute key="description" value="The gem of the helmet is burned out and should be replaced." /> <attribute key="weight" value="2760" /> <attribute key="armor" value="8" /> <attribute key="slotType" value="head" /> </item> <item id="2343" article="a" name="helmet of the ancients"> <attribute key="description" value="The gem is glowing with power." /> <attribute key="weight" value="2760" /> <attribute key="armor" value="11" /> <attribute key="slotType" value="head" /> <attribute key="duration" value="1800" /> <attribute key="decayTo" value="2342" /> <attribute key="showduration" value="1" />
-
alguem pode me ajudar criar esse item?
bom eu criei uma task pra receber essa bow de recompensa. mas nao sei como configurar ela pra ficar igual. alguem poderia me ajudar criar ela? eu uso tfs 0.4 versão 8.6
-
Task System vodkart
alguem poderia me falar como faço pra alterar a task do @Vodkart pra ao invés de dar lasthit, ele apenas bater e ao morrer ja contar junto com todos os jogadores a task? ( exemplo jogador 1 e jogador 2 pedem a mesma task, ambos batem e matam o monstro, ambos ganham a task) tfs 0.4 versao 8.6 configbosses_task = {} function CheckTask(cid) for k, v in pairs(tasktabble) do if getPlayerStorageValue(cid,v.storage_start) >= 1 then return true end end return false end function finisheAllTask(cid) local config = { exp = {true,100000}, money = {true,200000}, items ={false,{{2124,2},{2173,1}}}, premium ={true,5} } local x = true for k, v in pairs(tasktabble) do if tonumber(getPlayerStorageValue(cid,v.storage)) then x = false end end if x == true then setPlayerStorageValue(cid, 521456, 0) local b = getGlobalStorageValue(63005) if b == -1 then b = 1 end if b < 11 then setGlobalStorageValue(63005,b+1) doBroadcastMessage('[Task Mission Complete] '..getCreatureName(cid)..' was the '..b..' to finish the task!.') doPlayerAddPremiumDays(cid, config.premium[1] == true and config.premium[2] or 0) doPlayerAddExp(cid, config.exp[1] == true and config.exp[2] or 0) doPlayerAddMoney(cid, config.money[1] == true and config.money[2] or 0) if config.items[1] == true then doAddItemsFromList(cid,config.items[2]) end doItemSetAttribute(doPlayerAddItem(cid, 7369), "name", "trophy "..getCreatureName(cid).." completed all the task.") end end end function HavePlayerPosition(cid, from, to) return isInRange(getPlayerPosition(cid), from, to) and true or false end function getRankStorage(cid, value, max, RankName) local str ="" str = "--[".. (RankName == nil and "RANK STORAGE" or ""..RankName.."") .."]--\n\n" local query = db.getResult("SELECT `player_id`, `value` FROM `player_storage` WHERE `key` = "..value.." ORDER BY cast(value as INTEGER) DESC;") if (query:getID() ~= -1) then k = 1 repeat if k > max then break end str = str .. "\n " .. k .. ". "..getPlayerNameByGUID(query:getDataString("player_id")).." - [" .. query:getDataInt("value") .. "]" k = k + 1 until not query:next() end return doShowTextDialog(cid, 2529, str) end function getItemsInContainerById(container, itemid) -- Function By Kydrai local items = {} if isContainer(container) and getContainerSize(container) > 0 then for slot=0, (getContainerSize(container)-1) do local item = getContainerItem(container, slot) if isContainer(item.uid) then local itemsbag = getItemsInContainerById(item.uid, itemid) for i=0, #itemsbag do table.insert(items, itemsbag) end else if itemid == item.itemid then table.insert(items, item.uid) end end end end return items end function doPlayerAddItemStacking(cid, itemid, quant) -- by mkalo local item = getItemsInContainerById(getPlayerSlotItem(cid, 3).uid, itemid) local piles = 0 if #item > 0 then for i,x in pairs(item) do if getThing(x).type < 100 then local it = getThing(x) doTransformItem(it.uid, itemid, it.type+quant) if it.type+quant > 100 then doPlayerAddItem(cid, itemid, it.type+quant-100) end else piles = piles+1 end end else return doPlayerAddItem(cid, itemid, quant) end if piles == #item then doPlayerAddItem(cid, itemid, quant) end end function getItemsFromList(items) -- by vodka local str = '' if table.maxn(items) > 0 then for i = 1, table.maxn(items) do str = str .. items[2] .. ' ' .. getItemNameById(items[1]) if i ~= table.maxn(items) then str = str .. ', ' end end end return str end function doAddItemsFromList(cid,items) -- by vodka if table.maxn(items) > 0 then for i = 1, table.maxn(items) do local count = items[2] while count > 0 do if isItemStackable(items[1]) then doPlayerAddItemStacking(cid, items[1], 1) else doPlayerAddItem(cid, items[1],1) end count = count - 1 end end end end function pairsByKeys(t, f) local a = {} for n in pairs(t) do table.insert(a, n) end table.sort(a, f) local i = 0 local iter = function () i = i + 1 if a == nil then return nil else return a, t[a] end end return iter end ]]></config> <event type="login" name="TaskLogin" event="script"><![CDATA[ function onLogin(cid) registerCreatureEvent(cid, "KillTask") return true end]]></event> <event type="kill" name="KillTask" event="script"><![CDATA[ domodlib('task_func') function onKill(cid, target, lastHit) if(isMonster(target) == true) then local n = string.lower(getCreatureName(target)) for race, mob in pairs(tasktabble) do if getPlayerStorageValue(cid,mob .storage_start) >= 1 then for i = 1,#mob.monster_race do if n == mob.monster_race then local contagem = getPlayerStorageValue(cid, mob.storage) if (contagem == -1) then contagem = 1 end if not tonumber(contagem) then return true end if contagem > mob.count then return true end if contagem > mob.count then return true end setPlayerStorageValue(cid, mob.storage, contagem+1) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,""..(contagem == mob.count and "Congratulations! You finished the task of "..race.."." or "defeated. Total [" .. contagem .. "/" .. mob.count .. "] " .. race .. ".").."") end end end end end return true end]]></event> </mod>
-
Monstros invisiveis
@ITALOx n deu
-
Monstros invisiveis
@ITALOx <?xml version="1.0" encoding="UTF-8"?> <monster name="Warlock" nameDescription="a warlock" race="blood" experience="4000" speed="220" manacost="0"> <health now="3500" max="3500"/> <look type="130" head="19" body="71" legs="128" feet="128" addons="1" corpse="6080"/> <targetchange interval="5000" chance="30"/> <strategy attack="100" defense="0"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="0"/> <flag convinceable="0"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag canpushcreatures="1"/> <flag targetdistance="4"/> <flag staticattack="90"/> <flag runonhealth="800"/> </flags> <attacks> <attack name="melee" interval="2000" skill="42" attack="50"/> <attack name="physical" interval="1000" chance="35" range="7" min="-85" max="-185"> <attribute key="shootEffect" value="energy"/> </attack> <attack name="manadrain" interval="1000" chance="17" range="7" min="-75" max="-160"/> <attack name="speed" interval="1000" chance="12" range="7" speedchange="-600" duration="40000"> <attribute key="areaEffect" value="redshimmer"/> </attack> <attack name="fire" interval="2000" chance="45" range="7" radius="3" target="1" min="-150" max="-220"> <attribute key="shootEffect" value="burstarrow"/> <attribute key="areaEffect" value="firearea"/> </attack> <attack name="firefield" interval="1000" chance="20" range="7" radius="2" target="1"> <attribute key="shootEffect" value="fire"/> </attack> <attack name="energy" interval="2000" chance="25" length="8" spread="0" min="-165" max="-245"> <attribute key="areaEffect" value="energy"/> </attack> <attack name="speed" interval="6000" chance="10" range="5" speedchange="-600" duration="20000"> <attribute key="areaEffect" value="redshimmer"/> </attack> </attacks> <defenses armor="25" defense="30"> <defense name="healing" interval="1000" chance="25" min="60" max="100"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="invisible" interval="5000" chance="50" duration="5000"> <attribute key="areaEffect" value="redshimmer"/> </defense> </defenses> <elements> <element firePercent="100"/> <element energyPercent="100"/> <element earthPercent="100"/> </elements> <immunities> <immunity paralyze="1"/> <immunity invisible="1"/> </immunities> <summons maxSummons="1"> <summon name="stone golem" interval="2000" chance="10" max="1"/> </summons> <voices interval="5000" chance="10"> <voice sentence="Learn the secret of our magic! YOUR death!"/> <voice sentence="Even a rat is a better mage than you."/> <voice sentence="We don't like intruders!"/> </voices> <loot> <item id="2148" countmax="80" chance="36500"/><!-- gold coin --> <item id="2148" countmax="70" chance="3t6500"/><!-- gold coin --> <item id="2679" countmax="5" chance="55000"/><!-- cherry --> <item id="2689" chance="22500"/><!-- bread --> <item id="2047" chance="15000"/><!-- candlestick --> <item id="2124" chance="7000"/><!-- crystal ring --> <item id="2792" countmax="5" chance="5000"/><!-- dark mushroom --> <item id="2167" chance="3000"/><!-- energy ring --> <item id="2600" chance="10000"/><!-- inkwell --> <item id="2178" chance="2500"/><!-- mind stone --> <item id="2411" chance="3000"/><!-- poison dagger --> <item id="1987" chance="100000"><!-- bag --> <inside> <item id="2436" chance="3000"/><!-- skull staff --> <item id="2151" chance="5500"/><!-- talon --> <item id="2656" chance="2000"/><!-- blue robe --> <item id="2146" chance="1400"/><!-- small sapphire --> <item id="1986" chance="800"/><!-- red tome --> <item id="2123" chance="850"/><!-- ring of the sky --> <item id="2197" chance="750"/><!-- stone skin amulet --> <item id="2466" chance="375"/><!-- golden armor --> <item id="2114" chance="100"/><!-- piggy bank --> </inside> </item> </loot> </monster>
-
Monstros invisiveis
nao ideia de onde fique.
-
Monstros invisiveis
@ITALOx talvez tenha que configurar em algum lugar aonde o invisible cancela o atk, pra liberar o atk.
-
Monstros invisiveis
@ITALOx loga mastercores.com e veja old tibia
-
Monstros invisiveis
@r0bert0lol sabe como mexer nisso?