Tudo que Pedro. postou
-
Sistema de Nobreza
Tava pensando em um sistema que a cada Gold, Platinum, Crystal que fosse donatado você ganhasse um ranking exemplo de 1 GP até 500k - Cavaleiro 1kk até 4kk - Barao de 5kk até 25kk - Duque de 50kk até 100kk - Rei podendo adicionar no look o título, tava pensando em fazer um título no site tb como se fosse archiv, ou a cada 1min aparecer um efeito no char diferente e subir um emote texto do ranking atual. Se alguém se interessar pela ideia, futuramente da de fazer quests, ou casas, só p tal título, ou um ranking dos mais nobres e ricos
-
(Resolvido)Modificar um script pra TFS 1.2
@edit, neném obrigado, funcionou perfeitamente, obrigado pela moral
-
(Resolvido)Modificar um script pra TFS 1.2
-- Tasksystem based TP Room system made by Zbizu for Otland.net function onStepIn(cid, item, position, fromPosition) rankStorage = 32150 -- list of ranks to display rankList = { [0] = "Beginner", [1] = "Huntsman", [2] = "Ranger", [3] = "Big Game Hunter", [4] = "Trophy Hunter", [5] = "Elite Hunter" } -- failtiers, positions to drop when failed failPos = { [1] = { [1] = {x=297, y=339, z=7}, [2] = {x=251, y=301, z=8}, [3] = {x=207, y=375, z=7} }, [2] = { [1] = {x=355, y=297, z=7}, [2] = {x=358, y=197, z=7}, [3] = {x=415, y=345, z=8} }, [3] = { [1] = {x=305, y=388, z=8}, [2] = {x=276, y=304, z=13}, [3] = {x=236, y=294, z=8} }, [4] = { [1] = {x = 746, y = 642, z = 7}, [2] = {x = 708, y = 642, z = 5}, [3] = {x = 676, y = 585, z = 7} } } -- usage: [uid] = {destination x, y, z, rank required, cost, place name, positions in failPos table to drop player if teleportation fails. Failtier 0 means 100% chance to successful teleportation} uid = { [8000] = {x=311, y=394, z=11, rank = 0, pearlscost = 0, name = "Spectral Hunters Guild", failtier = 0, effect = CONST_ME_PURPLEENERGY}, [8001] = {x=233, y=365, z=6, rank = 0, pearlscost = 2, name = "Enigma Dragon Lair", failtier = 0, effect = CONST_ME_TELEPORT}, [8002] = {x=260, y=309, z=8, rank = 0, pearlscost = 1, name = "Forbidden Mine", failtier = 0, effect = CONST_ME_TELEPORT}, [8003] = {x=313, y=298, z=7, rank = 0, pearlscost = 1, name = "Trollish Sector", failtier = 0, effect = CONST_ME_TELEPORT}, [8004] = {x=345, y=307, z=7, rank = 0, pearlscost = 1, name = "Cave of the Giants", failtier = 0, effect = CONST_ME_TELEPORT}, [8005] = {x=501, y=149, z=8, rank = 0, pearlscost = 5, name = "Jungle Temple Tunnels", failtier = 0, effect = CONST_ME_POISONAREA}, [8006] = {x=439, y=209, z=7, rank = 0, pearlscost = 5, name = "Hill of Green Nightmares", failtier = 0, effect = CONST_ME_POISONAREA}, [8007] = {x=355, y=296, z=8, rank = 0, pearlscost = 3, name = "Swampy Subregion", failtier = 0, effect = CONST_ME_POISONAREA}, [8008] = {x=679, y=331, z=5, rank = 0, pearlscost = 5, name = "Thurin Dragon Lair: Caves", failtier = 0, effect = CONST_ME_HITBYFIRE}, [8009] = {x=440, y=262, z=14, rank = 0, pearlscost = 5, name = "Demonic Residence", failtier = 0, effect = CONST_ME_HITBYFIRE}, [8010] = {x=43, y=479, z=7, rank = 0, pearlscost = 5, name = "Frohin", failtier = 0, effect = CONST_ME_TELEPORT}, [8011] = {x=396, y=184, z=6, rank = 0, pearlscost = 3, name = "destroyed part of jungle", failtier = 0, effect = CONST_ME_MORTAREA}, [8012] = {x=152, y=140, z=11, rank = 0, pearlscost = 5, name = "Abandoned Mines", failtier = 0, effect = CONST_ME_MORTAREA}, [8013] = {x=736, y=698, z=7, rank = 0, pearlscost = 5, name = "Gray Shore", failtier = 0, effect = CONST_ME_TELEPORT}, [8014] = {x=690, y=578, z=4, rank = 0, pearlscost = 5, name = "Purple Cliff", failtier = 0, effect = CONST_ME_PURPLEENERGY}, [8015] = {x=822, y=422, z=3, rank = 0, pearlscost = 5, name = "North Mines: East Wing", failtier = 0, effect = CONST_ME_MORTAREA}, [8016] = {x=204, y=375, z=7, rank = 0, pearlscost = 2, name = "Enigma Cemetery", failtier = 0, effect = CONST_ME_MORTAREA}, [8017] = {x=567, y=391, z=7, rank = 0, pearlscost = 5, name = "Thurin Dragon Lair", failtier = 0, effect = CONST_ME_HITBYFIRE}, [8018] = {x=693, y=565, z=6, rank = 0, pearlscost = 5, name = "Purple Cliff: Caves", failtier = 0, effect = CONST_ME_POISONAREA}, [8019] = {x=461, y=1155, z=7, rank = 0, pearlscost = 5, name = "Frozen Dragon Lair", failtier = 0, effect = CONST_ME_ICEAREA}, [8020] = {x=232, y=362, z=7, rank = 0, pearlscost = 2, name = "South Enigma", failtier = 0, effect = CONST_ME_TELEPORT}, [8021] = {x=328, y=320, z=11, rank = 0, pearlscost = 3, name = "Cave of The Giants: Lower Floor", failtier = 0, effect = CONST_ME_GROUNDSHAKER}, [8022] = {x=601, y=303, z=4, rank = 0, pearlscost = 5, name = "Thurin Plains", failtier = 0, effect = CONST_ME_GROUNDSHAKER}, [8023] = {x=378, y=351, z=7, rank = 0, pearlscost = 2, name = "Swampy Subregion", failtier = 0, effect = CONST_ME_POISONAREA}, [8024] = {x=884, y=87, z=6, rank = 0, pearlscost = 5, name = "Eastern Hills", failtier = 0, effect = CONST_ME_GROUNDSHAKER}, [8025] = {x=800, y=514, z=5, rank = 0, pearlscost = 4, name = "Thurin: South Mines", failtier = 0, effect = CONST_ME_GROUNDSHAKER}, [8026] = {x=797, y=203, z=5, rank = 0, pearlscost = 5, name = "Thurin: Eastern Plains", failtier = 0, effect = CONST_ME_GROUNDSHAKER}, [8027] = {x=366, y=38, z=7, rank = 0, pearlscost = 5, name = "Calassa", failtier = 0, effect = CONST_ME_TELEPORT}, [8028] = {x=833, y=674, z=7, rank = 0, pearlscost = 5, name = "Nargor", failtier = 0, effect = CONST_ME_TELEPORT}, [8029] = {x=465, y=274, z=7, rank = 0, pearlscost = 3, name = "Ancient Lizard Village", failtier = 0, effect = CONST_ME_TELEPORT}, [8030] = {x=127, y=1096, z=7, rank = 0, pearlscost = 4, name = "Frost Mansion", failtier = 0, effect = CONST_ME_ICEAREA}, [8031] = {x=434, y=997, z=6, rank = 0, pearlscost = 4, name = "Frost Mountains", failtier = 0, effect = CONST_ME_ICEAREA}, [8032] = {x=538, y=1013, z=7, rank = 0, pearlscost = 4, name = "Frost Mountains: Caves", failtier = 0, effect = CONST_ME_ICEAREA}, [8033] = {x=311, y=394, z=11, rank = 0, pearlscost = 0, name = "Spectral Hunters Guild", failtier = 0, effect = CONST_ME_PURPLEENERGY}, [8034] = {x=1105, y=1326, z=15, rank = 0, pearlscost = 5, name = "Grindstone Lair", failtier = 0, effect = CONST_ME_HITBYFIRE}, } entry = uid[item.uid] pos = {x=entry.x, y=entry.y, z=entry.z} deny = {x=311, y=392, z=9} -- player will be teleported there if he is not allowed to use the teleporter if isPlayer(cid) then rankGet = getCreatureStorage(cid, rankStorage) -- Tasksystem ranks from rankList -- I 0-4 -- II 5-9 -- III 10-19 -- IV 20-29 -- V 30-49 -- VI 50+ if (rankGet > 4 and rankGet < 10) then rank = 1 elseif (rankGet > 9 and rankGet < 20) then rank = 2 elseif (rankGet > 19 and rankGet < 30) then rank = 3 elseif (rankGet > 29 and rankGet < 50) then rank = 4 elseif (rankGet > 49) then rank = 5 else rank = 0 end if rank >= entry.rank then if doPlayerTakeItem(cid, 5022, entry.pearlscost) then fail = math.random(1, 10) if fail > 1 then doTeleportThing(cid,pos) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "[TP Room]: Teleportation to " .. entry.name .. " successful. Charged " .. entry.pearlscost .. " pearls.") if item.uid == 8000 or item.uid == 8033 then if getPlayerStorageValue(cid, 14515) < 1 then doSendMagicEffect({x = 316, y = 391, z = 11}, CONST_ME_TUTORIALARROW, cid) addEvent(doSendMagicEffect, 10, {x = 316, y = 391, z = 11}, CONST_ME_TUTORIALSQUARE, cid) end doCreatureSay(cid, "TP ROOM\nup", TALKTYPE_ORANGE_1, true, cid, {x = 311, y = 392, z = 11}) doCreatureSay(cid, "PEARLS", TALKTYPE_ORANGE_1, true, cid, {x = 317, y = 390, z = 11}) doCreatureSay(cid, "EXIT", TALKTYPE_ORANGE_1, true, cid, {x = 318, y = 394, z = 11}) return true end doCreatureSay(cid, "Entering the " .. entry.name .. ".", TALKTYPE_ORANGE_1, true, cid) else if entry.failtier <= 0 then doTeleportThing(cid,pos) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "[TP Room]: Teleportation to " .. entry.name .. " successful. Charged " .. entry.pearlscost .. " pearls.") if item.uid == 8000 or item.uid == 8033 then if getPlayerStorageValue(cid, 14515) < 1 then doSendMagicEffect({x = 316, y = 391, z = 11}, CONST_ME_TUTORIALARROW, cid) addEvent(doSendMagicEffect, 10, {x = 316, y = 391, z = 11}, CONST_ME_TUTORIALSQUARE, cid) end doCreatureSay(cid, "TP ROOM\nup", TALKTYPE_ORANGE_1, true, cid, {x = 311, y = 392, z = 11}) doCreatureSay(cid, "PEARLS", TALKTYPE_ORANGE_1, true, cid, {x = 317, y = 390, z = 11}) doCreatureSay(cid, "EXIT", TALKTYPE_ORANGE_1, true, cid, {x = 318, y = 394, z = 11}) return true end doCreatureSay(cid, "Entering the " .. entry.name .. ".", TALKTYPE_ORANGE_1, true, cid) else doTeleportThing(cid,failPos[entry.failtier][math.random(1, #failPos[entry.failtier])]) doCreatureSay(cid, "Network failure. Dropping to nearest available location.", TALKTYPE_ORANGE_1, true, cid) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "[TP Room]: Teleportation to " .. entry.name .. " failed. " .. entry.pearlscost .. " pearls used, dropped to nearest available location.") end end else doTeleportThing(cid,deny) doCreatureSay(cid, "You need " .. entry.pearlscost .. " pearls to enter the " .. entry.name .. ".", TALKTYPE_ORANGE_1, true, cid) return true end else doTeleportThing(cid,deny) doCreatureSay(cid, "Area unavailable for players under " .. rankList[entry.rank] .. " rank.", TALKTYPE_ORANGE_1, true, cid) return true end doSendMagicEffect(position, entry.effect) doSendMagicEffect(getThingPos(cid), CONST_ME_FIREAREA) doSendMagicEffect(getThingPos(cid), CONST_ME_TELEPORT) else return true end return true end
- [TFS 1.3 10.98] ALUNIA 2020 - Styller Custom
-
QUAL LINUX USAR PARA FAZER UM SERVIDOR?
eu usaria o ubuntu 14.04
-
Script
novamente adiciona a TAG no XML, e cria o lua em movements/script depois o ID que tu adicionou no XML, tu adiciona no sofá.
-
Script
só adicionar o actionID no sofa, pelo RME. <movevent event="StepIn" actionid="23239" script="testtile.lua" /> function onStepIn(cid, item, position, fromPosition) if not isPlayer(cid) then return true end if getPlayerLevel(cid) > 1 then doSendMagicEffect(position, 36) end return true end
-
Script
em creaturescript adicione <event type="death" name="Ortheus" script="ortheus.lua"/> depois crie um lua em scripts e adicione local tps = { ["Ortheus"] = {pos = {x=1248, y=741, z=14}, toPos = {x=1248, y=739, z=14}, time = 30}, } local function removeTp(tp) local t = getTileItemById(tp.pos, 5023).uid return t > 0 and doRemoveItem(t) and doSendMagicEffect(tp.pos, CONST_ME_POFF) end function onDeath(cid) local tp = tps[getCreatureName(cid)] if tp then doCreateTeleport(5023, tp.toPos, tp.pos) doCreatureSay(cid, "The teleport will disappear in "..tp.time.." seconds.", TALKTYPE_ORANGE_1) addEvent(removeTp, tp.time*1000, tp) end return true end registra em login.lua player:registerEvent("Ortheus") depois no monstro que você quer que apareça o teleport adicione a tag antes de</monster> <script> <event name="Ortheus"/> </script> </monster>
-
Mercado no TK
Sim, não vai ter mais sistemas, ou qlq tipo de script free. A pessoa que criar um baú com quest vai por pra vender, e quando colocar tenho certeza que a má fé das pessoas vai por um "script cheio de bugs" e dizer, quer ele perfeito? compra aqui.
-
Task System 1.2+
consegui corrigir da seguinte maneira eita, "minotaur", "minotaur Archer", "minotaur guard",
-
Task System 1.2+
@KotZletY Achei uns erros brutos. se a task for de minotaur por exemplo, e eu adicionar o nome de mais de 1 bixo, na hora de pedir a task ele não reconhece. assim funciona [1] = {nome = "troll", storage = 30000, assim ele não reconhece a task só se eu deixar "minotaur" only. [2] = {nome = "minotaur, minotaur archer, minotaur guard, minotaur mage", storage = 30001, @edit fixado.
-
Mercado no TK
Não acho maneiro, (minha opinião e nem quero entrar no assunto, mas fé pra vcs) assim que eu entrei no forum em 2012 eu vi um tópico seu sobre compra de OTserv e é totalmente o oposto desse sistema, o que te fez mudar de ideia?
-
Task System 1.2+
ehuaheuaheua, deixa pra lá, já to usando xd tem que ser hard, pela recompensa rs Então, eu colocaria pra ser tudo pelo default, por exemplo hi - lista de tasks dailys dai ele daria o nome, e você escolhe - dragon lord - ai ele te da a quantidade e recompensas, acho que ficaria mais bonito, organizado e limpo.
-
Task System 1.2+
troquei o tfs, não descobri porque não tava funcionando. achei um bug! por exemplo, se eu deixar um task sem ITEM só ponto e exp e na hora de falar com o npc "lista de tasks dailys ou normal, ele da esse erro e não mostra. [16] = {nome = "destroyer", storage = 40010, amount = 650, exp = 30000, pointsTask = {3, 3} deixando assim ele não funciona, mas se eu deixar assim [16] = {nome = "destroyer", storage = 40010, amount = 650, exp = 30000, pointsTask = {3, 3}, items = {id = 0, count = 0}}, ele funciona normal. Não sei porque ;s Lua Script Error: [Npc interface] data/npc/scripts/task system.lua:onCreatureSay data/lib/task system.lua:111: attempt to get length of local 'itemtable' (a nil value) stack traceback: [C]: in function '__len' data/lib/task system.lua:111: in function 'getItemsFromTable' data/npc/scripts/task system.lua:187: in function 'callback' data/npc/lib/npcsystem/npchandler.lua:431: in function 'onCreatureSay' data/npc/scripts/task system.lua:7: in function <data/npc/scripts/task system.lua:7> Ainda na parte de listas, na maioria das vezes ele não mostra a recompensa por inteira, e fica desta maneira.
-
Task System 1.2+
Tranquilo, usarei outro mas obg xd
-
Task System 1.2+
deve ser rs
-
Task System 1.2+
refiz 3 vezes amigo, continua sem funcionar xd
-
Task System 1.2+
-- Miscellaneous library dofile('data/lib/miscellaneous/miscellaneous.lua') -- Core API functions implemented in Lua dofile('data/lib/core/core.lua') -- Compatibility library for our old Lua API dofile('data/lib/compat/compat.lua') dofile('data/lib/rewardboss.lua') dofile('data/lib/modalwindow.lua') dofile('data/lib/tasksystem.lua')
-
Task System 1.2+
adicionei tudo direitinho, não deu nenhum erro ;< ele não conta nem no default e qndo dou !task ele tb fica [0]
-
Peça seu Map
já que um membro reviveu o tópico, irei fazer os mappas que não foram entregues! https://www.mediafire.com/file/vod4vnv205p319g/biblioteca860.rar https://www.virustotal.com/#/url/6b12b75c400832e945905f911d15f4c17694458e7b4554de2ca91955d2d633f6/detection https://www.mediafire.com/file/v2zc29ws2j9liej/npcsroom.rar https://www.virustotal.com/#/url/625c596f3bc7f5f4a81a7c68fb69986dc6bd5df8ca1bcd039cd4fe65ea797ddd/detection
-
Thargus ATS [ShowOFF]
- Task System 1.2+
@KotZletY nenê, fui testar aqui agora não tá contando =(- Como Mudar O Nome Do Client (No Topo Da Tela.Gerenciador De Tarefas,Barra De Ferramentas,Etc)
e se tiver + de 5? heuheuaea- RAP TibiaKing 7 Anos - Musica "Se Levantar"
caralho, tá de sacanagem KKKKKKKKKKKKKKKKKKKKK- Show OFF
curti pra caralho os jutsus do itachi! xd - Task System 1.2+
Informação Importante
Confirmação de Termo