Histórico de Curtidas
-
tev recebeu reputação de Rogex Joyz em Ao equipar x item, seu outfit mudaIntrodução: Quando o player equipa x item, o outfit dele muda para x outfit. Se ele deixa de equipar esse item, o outfit dele volta ao de antes.
Vá em data/movements/scripts e crie um arquivo changeoutfit.lua, coloque:
local look = 3 -- Coloque o ID do outfit function onEquip(cid, item) doSetCreatureOutfit(cid, {lookType = look}, -1) return true end function onDeEquip(cid, item) doRemoveCondition(cid, CONDITION_OUTFIT) return true end Agora em Movements.xml, acrescente:
<movevent type="Equip" itemid="ID DO ITEM" slot="ammo" script="changeoutfit.lua"/> <movevent type="DeEquip" itemid="ID DO ITEM" slot="ammo" script="changeoutfit.lua"/> Créditos: tev
-
tev recebeu reputação de Evollutions em [10.77] Mapa: ExysiaTamanho: 29.8 MB
Conteúdo: Há houses e spawns, tudo 100%.
Categoria: Mapa.
Versão: 10.77
Créditos: Peonso
Tópico: tev
Anexos: Scan | Download
Screenshot;
-
tev recebeu reputação de ITALOx em Mostrar a quantidade que morreu e que matou ao dar look no playerTESTADO EM TFS 0.4 E 0.6, PEÇO PARA QUE TESTEM EM OUTRAS VERSÕES, POR FAVOR.
Prévia;
Crie um arquivo KillsandDeath.lua
function onLook(cid, thing, position, lookDistance) function getDeathsAndKills(cid, type) -- by vodka local query,d = db.getResult("SELECT `player_id` FROM "..(tostring(type) == "kill" and "`player_killers`" or "`player_deaths`").." WHERE `player_id` = "..getPlayerGUID(cid)),0 if (query:getID() ~= -1) then repeat d = d+1 until not query:next() query:free() end return d end if isPlayer(thing.uid) then doPlayerSetSpecialDescription(thing.uid, "\n"..(getPlayerSex(thing.uid) == 0 and "She" or "He").." has Killed: ["..getDeathsAndKills(thing.uid, "kill").."] Players.\n"..(getPlayerSex(thing.uid) == 0 and "She" or "He").." has Died: ["..getDeathsAndKills(thing.uid, "death").."] Times") end return true end No creaturescript.xml, coloque:
<event type="look" name="showKD" event="script" value="KillsandDeath.lua"/> Em creaturescript/script/login.lua, coloque:
registerCreatureEvent(cid, "showKD") Script disponibilizado por Critico.
Tópico organizado por mim.
Abraços!
-
tev recebeu reputação de jacksonsns em [10.77] Mapa: Atlantyda WorldTamanho: 29.2 MB
Conteúdo: Há houses e spawns, tudo 100%.
Categoria: Mapa.
Versão: 10.77
Créditos: 5mok3
Tópico: tev
Anexos: Scan | Download
Screenshot;
-
tev recebeu reputação de jeffersonxvr em Ao equipar x item, seu outfit mudaIntrodução: Quando o player equipa x item, o outfit dele muda para x outfit. Se ele deixa de equipar esse item, o outfit dele volta ao de antes.
Vá em data/movements/scripts e crie um arquivo changeoutfit.lua, coloque:
local look = 3 -- Coloque o ID do outfit function onEquip(cid, item) doSetCreatureOutfit(cid, {lookType = look}, -1) return true end function onDeEquip(cid, item) doRemoveCondition(cid, CONDITION_OUTFIT) return true end Agora em Movements.xml, acrescente:
<movevent type="Equip" itemid="ID DO ITEM" slot="ammo" script="changeoutfit.lua"/> <movevent type="DeEquip" itemid="ID DO ITEM" slot="ammo" script="changeoutfit.lua"/> Créditos: tev
-
tev recebeu reputação de luanluciano93 em Player inicia no servidor com outfit determinadoIntrodução: O player já começa no servidor com outfit determinado.
Vá em \data\creaturescripts\scripts e crie um arquivo outfitfixo.lua, coloque:
function onLogin(cid) a = { -- [ID da vocation] = Outfit [1] = 128, [2] = 129, [3] = 130, [4] = 131, } b = a[getPlayerVocation(cid)] doSetCreatureOutfit(cid, {lookType = b}, -1) return true end Em creaturescripts.xml:
<event type="login" name="Outfit Fixo" script="outfitfixo.lua"/> Em [x] você deve colocar o ID da votação.
Após o = você deve colocar o ID do outfit.
Crédito: tev
-
tev recebeu reputação de martimtiburcio em Player se auto paraliza mas tem vida healada a cada x segundosIntrodução: Player se auto paraliza, porém, tem sua vida healada a cada x segundos.
Créditos: Luck
Basta criar um arquivo .lua em \data\spells\scripts com o nome que preferir e acrescentar isso:
tempo = 10 -- Tempo de duração da spell em segundos hp = 10 -- Quanto HP vai healar a cada x segundos function heal(cid) if not isCreature(cid) then return true end if getPlayerStorageValue(cid, 13978) == 1 then doCreatureAddHealth(cid, hp) addEvent(heal, 3000, cid) return true end return true end function onCastSpell(cid, var) setPlayerStorageValue(cid, 13978, 1) doPlayerSetNoMove(cid, true) heal(cid) addEvent(setPlayerStorageValue, tempo*1000, cid, 13978, -1) addEvent(doPlayerSetNoMove, tempo*1000, cid, false) return true end Não se esqueça de depois acrescentar tag no spells.xml!
-
tev recebeu reputação de Bneto em [10.77] Mapa: Eternal KingdomsTamanho: 23.6 MB
Conteúdo: Há houses e spawns, tudo 100%.
Categoria: Mapa.
Versão: 10.77
Créditos: Abc, Pozdrowienia, Krolm, Thorge, Matrix, Pozdrowienia, Ramqu, Pumba, Whale, Gaspar, Artii.
Tópico: tev
Anexos: Scan | Download
Screenshot;
-
tev recebeu reputação de s0beit em Player virando staff com apenas um comandoIntrodução: O player usa apenas um comando e vira um membro da staff, seja ele GOD, GM ou Tutor.
\data\talkactions
<talkaction words="!virargod" script="virargod.lua" /> \data\talkactions\scripts, cria o arquivo virargod.lua
function onSay(cid, words) doPlayerSetGroupId(cid, 6) doRemoveCreature(cid) return true end No caso o "6" representa o ID de GOD.
Créditos: tev
-
tev recebeu reputação de Kizue em Mostrar a quantidade que morreu e que matou ao dar look no playerTESTADO EM TFS 0.4 E 0.6, PEÇO PARA QUE TESTEM EM OUTRAS VERSÕES, POR FAVOR.
Prévia;
Crie um arquivo KillsandDeath.lua
function onLook(cid, thing, position, lookDistance) function getDeathsAndKills(cid, type) -- by vodka local query,d = db.getResult("SELECT `player_id` FROM "..(tostring(type) == "kill" and "`player_killers`" or "`player_deaths`").." WHERE `player_id` = "..getPlayerGUID(cid)),0 if (query:getID() ~= -1) then repeat d = d+1 until not query:next() query:free() end return d end if isPlayer(thing.uid) then doPlayerSetSpecialDescription(thing.uid, "\n"..(getPlayerSex(thing.uid) == 0 and "She" or "He").." has Killed: ["..getDeathsAndKills(thing.uid, "kill").."] Players.\n"..(getPlayerSex(thing.uid) == 0 and "She" or "He").." has Died: ["..getDeathsAndKills(thing.uid, "death").."] Times") end return true end No creaturescript.xml, coloque:
<event type="look" name="showKD" event="script" value="KillsandDeath.lua"/> Em creaturescript/script/login.lua, coloque:
registerCreatureEvent(cid, "showKD") Script disponibilizado por Critico.
Tópico organizado por mim.
Abraços!
-
tev recebeu reputação de Breaky em Ao equipar x item, seu outfit mudaIntrodução: Quando o player equipa x item, o outfit dele muda para x outfit. Se ele deixa de equipar esse item, o outfit dele volta ao de antes.
Vá em data/movements/scripts e crie um arquivo changeoutfit.lua, coloque:
local look = 3 -- Coloque o ID do outfit function onEquip(cid, item) doSetCreatureOutfit(cid, {lookType = look}, -1) return true end function onDeEquip(cid, item) doRemoveCondition(cid, CONDITION_OUTFIT) return true end Agora em Movements.xml, acrescente:
<movevent type="Equip" itemid="ID DO ITEM" slot="ammo" script="changeoutfit.lua"/> <movevent type="DeEquip" itemid="ID DO ITEM" slot="ammo" script="changeoutfit.lua"/> Créditos: tev
-
tev recebeu reputação de s0beit em Mostrar a quantidade que morreu e que matou ao dar look no playerTESTADO EM TFS 0.4 E 0.6, PEÇO PARA QUE TESTEM EM OUTRAS VERSÕES, POR FAVOR.
Prévia;
Crie um arquivo KillsandDeath.lua
function onLook(cid, thing, position, lookDistance) function getDeathsAndKills(cid, type) -- by vodka local query,d = db.getResult("SELECT `player_id` FROM "..(tostring(type) == "kill" and "`player_killers`" or "`player_deaths`").." WHERE `player_id` = "..getPlayerGUID(cid)),0 if (query:getID() ~= -1) then repeat d = d+1 until not query:next() query:free() end return d end if isPlayer(thing.uid) then doPlayerSetSpecialDescription(thing.uid, "\n"..(getPlayerSex(thing.uid) == 0 and "She" or "He").." has Killed: ["..getDeathsAndKills(thing.uid, "kill").."] Players.\n"..(getPlayerSex(thing.uid) == 0 and "She" or "He").." has Died: ["..getDeathsAndKills(thing.uid, "death").."] Times") end return true end No creaturescript.xml, coloque:
<event type="look" name="showKD" event="script" value="KillsandDeath.lua"/> Em creaturescript/script/login.lua, coloque:
registerCreatureEvent(cid, "showKD") Script disponibilizado por Critico.
Tópico organizado por mim.
Abraços!
-
tev recebeu reputação de s0beit em Mensagem no Broadcast quando player atinge Level xIntrodução: Aparecer uma mensagem no Broadcast quando player atingisse x level.
Créditos: LuckOake
Crie um arquivo chamado broadcastlevel.lua em creaturescripts\scripts
function isInteger(n) return math.floor(n) == n and true or false end function onAdvance(cid, skill, oldLevel, newLevel) if isInteger(newLevel/100) then broadcastMessage("O jogador "..getCreatureName(cid).." atingiu o level "..newLevel..".") end return true end login.lua (antes do último return true):
registerCreatureEvent(cid, "BroadcastLevel") creaturescripts.xml:
<event type="advance" name="BroadcastLevel" script="broadcastlevel.lua"/> Abraços!
-
tev recebeu reputação de netoxdd em Player inicia no servidor com outfit determinadoIntrodução: O player já começa no servidor com outfit determinado.
Vá em \data\creaturescripts\scripts e crie um arquivo outfitfixo.lua, coloque:
function onLogin(cid) a = { -- [ID da vocation] = Outfit [1] = 128, [2] = 129, [3] = 130, [4] = 131, } b = a[getPlayerVocation(cid)] doSetCreatureOutfit(cid, {lookType = b}, -1) return true end Em creaturescripts.xml:
<event type="login" name="Outfit Fixo" script="outfitfixo.lua"/> Em [x] você deve colocar o ID da votação.
Após o = você deve colocar o ID do outfit.
Crédito: tev
-
tev recebeu reputação de arupemba em Tutorial de como criar OT 10.x com Internet CompartilhadaOlá, procurei e não achei um tutorial ensinando a como criar um servidor de versão acima 10.x com Internet Compartilhada.
Eu parei de criar servidor na versão 8.60 e fiquei afastado do Tibia, agora que voltei, não sei como criar porque mudou tudo.
Se alguém souber algum video-aula ou até mesmo tutorial com imagens, explicando bem e com Downloads (servidor, mapa, essas coisas...) pra ajudar, peço para que poste, por favor. Creio que assim como eu, é possível que outras pessoas tenham dúvidas sobre isso e vá ajuda-las também.
Abraços e obrigado!
-
tev recebeu reputação de Bluetooth em [10.77] Mapa: NorahTamanho: 32.1 MB
Conteúdo: Há houses e spawns, tudo 100%.
Categoria: Mapa.
Versão: 10.77
Créditos: norah.pl
Tópico: tev
Anexos: Scan | Download
Screenshot;
-
tev recebeu reputação de Marlon D em [10.77] Mapa: NorahTamanho: 32.1 MB
Conteúdo: Há houses e spawns, tudo 100%.
Categoria: Mapa.
Versão: 10.77
Créditos: norah.pl
Tópico: tev
Anexos: Scan | Download
Screenshot;
-
tev recebeu reputação de darkjaques em [10.77] Mapa: NorahTamanho: 32.1 MB
Conteúdo: Há houses e spawns, tudo 100%.
Categoria: Mapa.
Versão: 10.77
Créditos: norah.pl
Tópico: tev
Anexos: Scan | Download
Screenshot;
-
tev recebeu reputação de
Magalhaes92em Mostrar a quantidade que morreu e que matou ao dar look no playerTESTADO EM TFS 0.4 E 0.6, PEÇO PARA QUE TESTEM EM OUTRAS VERSÕES, POR FAVOR.
Prévia;
Crie um arquivo KillsandDeath.lua
function onLook(cid, thing, position, lookDistance) function getDeathsAndKills(cid, type) -- by vodka local query,d = db.getResult("SELECT `player_id` FROM "..(tostring(type) == "kill" and "`player_killers`" or "`player_deaths`").." WHERE `player_id` = "..getPlayerGUID(cid)),0 if (query:getID() ~= -1) then repeat d = d+1 until not query:next() query:free() end return d end if isPlayer(thing.uid) then doPlayerSetSpecialDescription(thing.uid, "\n"..(getPlayerSex(thing.uid) == 0 and "She" or "He").." has Killed: ["..getDeathsAndKills(thing.uid, "kill").."] Players.\n"..(getPlayerSex(thing.uid) == 0 and "She" or "He").." has Died: ["..getDeathsAndKills(thing.uid, "death").."] Times") end return true end No creaturescript.xml, coloque:
<event type="look" name="showKD" event="script" value="KillsandDeath.lua"/> Em creaturescript/script/login.lua, coloque:
registerCreatureEvent(cid, "showKD") Script disponibilizado por Critico.
Tópico organizado por mim.
Abraços!
-
tev recebeu reputação de HiperGames em Mensagem no Broadcast quando player atinge Level xIntrodução: Aparecer uma mensagem no Broadcast quando player atingisse x level.
Créditos: LuckOake
Crie um arquivo chamado broadcastlevel.lua em creaturescripts\scripts
function isInteger(n) return math.floor(n) == n and true or false end function onAdvance(cid, skill, oldLevel, newLevel) if isInteger(newLevel/100) then broadcastMessage("O jogador "..getCreatureName(cid).." atingiu o level "..newLevel..".") end return true end login.lua (antes do último return true):
registerCreatureEvent(cid, "BroadcastLevel") creaturescripts.xml:
<event type="advance" name="BroadcastLevel" script="broadcastlevel.lua"/> Abraços!
-
tev recebeu reputação de Xagah em Ao equipar x item, seu outfit mudaIntrodução: Quando o player equipa x item, o outfit dele muda para x outfit. Se ele deixa de equipar esse item, o outfit dele volta ao de antes.
Vá em data/movements/scripts e crie um arquivo changeoutfit.lua, coloque:
local look = 3 -- Coloque o ID do outfit function onEquip(cid, item) doSetCreatureOutfit(cid, {lookType = look}, -1) return true end function onDeEquip(cid, item) doRemoveCondition(cid, CONDITION_OUTFIT) return true end Agora em Movements.xml, acrescente:
<movevent type="Equip" itemid="ID DO ITEM" slot="ammo" script="changeoutfit.lua"/> <movevent type="DeEquip" itemid="ID DO ITEM" slot="ammo" script="changeoutfit.lua"/> Créditos: tev
-
tev recebeu reputação de CoyoteStark em Ao equipar x item, seu outfit mudaIntrodução: Quando o player equipa x item, o outfit dele muda para x outfit. Se ele deixa de equipar esse item, o outfit dele volta ao de antes.
Vá em data/movements/scripts e crie um arquivo changeoutfit.lua, coloque:
local look = 3 -- Coloque o ID do outfit function onEquip(cid, item) doSetCreatureOutfit(cid, {lookType = look}, -1) return true end function onDeEquip(cid, item) doRemoveCondition(cid, CONDITION_OUTFIT) return true end Agora em Movements.xml, acrescente:
<movevent type="Equip" itemid="ID DO ITEM" slot="ammo" script="changeoutfit.lua"/> <movevent type="DeEquip" itemid="ID DO ITEM" slot="ammo" script="changeoutfit.lua"/> Créditos: tev
-
tev recebeu reputação de Rokister em [10.77] Mapa: NeptuneTamanho: 34 MB
Conteúdo: Há houses e spawns, tudo 100%.
Categoria: Mapa.
Versão: 10.77
Créditos: Alvanea.
Tópico: tev
Anexos: Scan | Download
Screenshot;
-
tev recebeu reputação de NOMEZ em [10.77] Mapa: ExysiaTamanho: 29.8 MB
Conteúdo: Há houses e spawns, tudo 100%.
Categoria: Mapa.
Versão: 10.77
Créditos: Peonso
Tópico: tev
Anexos: Scan | Download
Screenshot;
-
tev recebeu reputação de LucasAyres em Mostrar a quantidade que morreu e que matou ao dar look no playerTESTADO EM TFS 0.4 E 0.6, PEÇO PARA QUE TESTEM EM OUTRAS VERSÕES, POR FAVOR.
Prévia;
Crie um arquivo KillsandDeath.lua
function onLook(cid, thing, position, lookDistance) function getDeathsAndKills(cid, type) -- by vodka local query,d = db.getResult("SELECT `player_id` FROM "..(tostring(type) == "kill" and "`player_killers`" or "`player_deaths`").." WHERE `player_id` = "..getPlayerGUID(cid)),0 if (query:getID() ~= -1) then repeat d = d+1 until not query:next() query:free() end return d end if isPlayer(thing.uid) then doPlayerSetSpecialDescription(thing.uid, "\n"..(getPlayerSex(thing.uid) == 0 and "She" or "He").." has Killed: ["..getDeathsAndKills(thing.uid, "kill").."] Players.\n"..(getPlayerSex(thing.uid) == 0 and "She" or "He").." has Died: ["..getDeathsAndKills(thing.uid, "death").."] Times") end return true end No creaturescript.xml, coloque:
<event type="look" name="showKD" event="script" value="KillsandDeath.lua"/> Em creaturescript/script/login.lua, coloque:
registerCreatureEvent(cid, "showKD") Script disponibilizado por Critico.
Tópico organizado por mim.
Abraços!