.jpg.a7babd2e790d7149e4703c379b2602bf.jpg)
Tudo que Caronte postou
- (Resolvido)Invasao diferente
-
(Resolvido)[PEDIDO] Promote para players free account!
Eloise.lua: King Tibianus.lua:
-
Erro ao compilar source otx
Pode está faltando arquivos ou talvez #includes veja se o compilador está tendo acesso aos arquivos..., as permissões e etc...
-
(Resolvido)Mw e Wild
Se quiser o effect, de poff, igual no outro tópico: -- MW local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY) setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1497) function onCastSpell(cid, var) if getWorldType() ~= 1 then return doCombat(cid, combat, var) end return doPlayerSendCancel(cid, "Você não pode usar essa runa em no-pvp mode") and doSendMagicEffect(getThingPos(cid), CONST_ME_POFF) and false end -- WILD local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_EARTH) setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1499) function onCastSpell(cid, var) if getWorldType() ~= 1 then return doCombat(cid, combat, var) end return doPlayerSendCancel(cid, "Você não pode usar essa runa em no-pvp mode") and doSendMagicEffect(getThingPos(cid), CONST_ME_POFF) and false end
-
(Resolvido)Pz
Acho que é só mudar, essa linha em todos: return doPlayerSendCancel(cid, "You can't cast this spell in protection zone.") Para: return doPlayerSendCancel(cid, "You can't cast this spell in protection zone.") and doSendMagicEffect(getThingPos(cid), CONST_ME_POFF) and false Se você por emote spells (através do config.lua), as magias, vão ficar laranja, ou seja, não vão dar muted sofrerem spam...
-
(Resolvido)[PEDIDO] Promote para players free account!
Posta os XML/LUA deles...
-
Mapper ON
Ainda criou em show-off só de sacanagem, ban legal ele...
-
(Resolvido)Mw e Wild
Tenta aí rapidão :X -- MW local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY) setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1497) function onCastSpell(cid, var) if getWorldType() ~= 1 then return doCombat(cid, combat, var) end return doPlayerSendCancel(cid, "Você não pode usar essa runa em no-pvp mode") and false end -- WILD local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_EARTH) setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1499) function onCastSpell(cid, var) if getWorldType() ~= 1 then return doCombat(cid, combat, var) end return doPlayerSendCancel(cid, "Você não pode usar essa runa em no-pvp mode") and false end
-
Tem como eu trocar Corpse?
Bom, a maneira mais fácil de fazer, seria um script onDeath, para verificar a vocação, pega o loot do player, apagar o corpse normal, e criar o outro corpse e adicionar o item. boa noite, irei dormir, talvez eu tente fazer isso..
-
(Resolvido)Mw e Wild
no-pvp é 1 ? eu não tenho ele aqui, eu acho... -- MW local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY) setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1497) function onCastSpell(cid, var) if getWorldType() ~= 1 then return doCombat(cid, combat, var) end return doPlayerSendCancel(cid, "Você não pode usar essa runa em no-pvp mode") end -- WILD local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_EARTH) setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1499) function onCastSpell(cid, var) if getWorldType() ~= 1 then return doCombat(cid, combat, var) end return doPlayerSendCancel(cid, "Você não pode usar essa runa em no-pvp mode") end Tem que colocar o ID / nome correspondente ao modo , onde eu coloquei o 1
-
Procuro Servidor 8.6 Para Testar Novo Evento
hummm, é uma boa dar servidor para testar um script massazinho do vod pessoal, esse sedentário voltou à ativa... Porque tu ta off ? , ta usando uns bagulho aí ? aaaaahh...
-
Procuro Servidor 8.6 Para Testar Novo Evento
Cria um local aí mano...
-
eu quero saber
Não cara, vai chover hentai nessa porra ..., pau , pau e mais pau..., não vai ter pornô de qualidade...
-
(Resolvido)Mw e Wild
local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGY) setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1497) function onCastSpell(cid, var) if getWorldType() ~= WORLDTYPE_OPTIONAL then return doCombat(cid, combat, var) end return true end local combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_EARTH) setCombatParam(combat, COMBAT_PARAM_CREATEITEM, 1499) function onCastSpell(cid, var) if getWorldType() ~= WORLDTYPE_OPTIONAL then return doCombat(cid, combat, var) end return true end
-
Recentes Trabalhos - Mapping
Era, mas não ficou legal, realmente... era pra ser mapa a nível de mapper king, porém, o gosto popular e meu padrão de beleza, estão conturbados.
-
Mapper ON
O tópico foi movido para a área correta, preste mais atenção da próxima vez! Leia as regras do fórum: http://tibiaking.com/forum/topic/1281-regras-gerais/?p=7680 Este tópico foi movido: De: "OTServ → Mapping → Show Off" Para: "Diversos → Playground" Membro negativado... Parabéns, idade mental de um feto.
-
Recentes Trabalhos - Mapping
- eu quero saber
- (Resolvido)goback nao muda msg type.
- (Resolvido)[PEDIDO] ActionID para destruir paredes
De acordo como você pediu anteriormente, aí está: local walls = { -- horizontal = { [3362] = 3401, [3401] = 3400, [3400] = 3648, -- }, -- vertical = { [3361] = 3399, [3399] = 3387, [3387] = 3648, -- }, } function onUse(cid, item, toPosition, itemEx, fromPosition) if itemEx.itemid == 3387 and itemEx.actionid == 9090 then setPlayerStorageValue(cid, 4858, "v") elseif itemEx.actionid == 9090 then setPlayerStorageValue(cid, 4858, "h") end if walls[itemEx.itemid] ~= nil and itemEx.actionid == 9090 then doTransformItem(itemEx.uid, walls[itemEx.itemid] ) doItemSetAttribute(getTileItemById({ x = fromPosition.x, y = fromPosition.y, z = fromPosition.z}, walls[itemEx.itemid]).uid, "aid", 9090) doSendMagicEffect(fromPosition, CONST_ME_GROUNDSHAKER) else doPlayerSendCancel(cid, "Local de uso incorreto") doSendMagicEffect(toPosition, CONST_ME_POFF) end if walls[itemEx.itemid] == 3648 and getPlayerStorageValue(cid, 4858) == "h" then addEvent(function() doRemoveItem(getTileItemById({ x = fromPosition.x, y = fromPosition.y, z = fromPosition.z}, 3648).uid) doCreateItem(3362,1,fromPosition) doSendMagicEffect(fromPosition, CONST_ME_MAGIC_RED) doItemSetAttribute(getTileItemById({ x = fromPosition.x, y = fromPosition.y, z = fromPosition.z}, 3362).uid, "aid", 9090) end, 2000) elseif walls[itemEx.itemid] == 3648 and getPlayerStorageValue(cid, 4858) == "v" then addEvent(function() doRemoveItem(getTileItemById({ x = fromPosition.x, y = fromPosition.y, z = fromPosition.z}, 3648).uid) doCreateItem(3361,1,fromPosition) doSendMagicEffect(fromPosition, CONST_ME_MAGIC_RED) doItemSetAttribute(getTileItemById({ x = fromPosition.x, y = fromPosition.y, z = fromPosition.z}, 3361).uid, "aid", 9090) end, 2000) end return true end Só usar a mesma TAG do XML que eu te mandei, e usar actionIds = 9090 para especificar a parede, se quiser outro número, é só mudar no script, todos os 9090 à gosto- Parabéns soldado 24
https://www.youtube.com/watch?v=bfoEIgZNyX4&app=desktop- (Resolvido)[PEDIDO] ActionID para destruir paredes
Simplesmente para evitar possíveis erros,- (Resolvido)[PEDIDO] ActionID para destruir paredes
Faço sim, assim que eu tiver acesso à um personal computer (PC).- (Resolvido)[SPELL] Trap
Eu já fiz isso, só que ele ta reclamando agora que falta o FAIL, que ele não explicou direito como era... já testei o script até no tibia...- (Resolvido)[SPELL] Trap
Cara você não explica direito... local remove_time = 5 -- tempo em segundos para remover as magic wall local item_id = 5750 -- id da magic wall function onCastSpell(cid, var) if math.random(0, 100) <= 30 then if (getPlayerStorageValue(cid, 2343) - os.time()) < 0 then setPlayerStorageValue(cid, 2343, (os.time() + 15)) addEvent(doSendAnimatedText, 500, getCreaturePosition(cid), "FAIL", 180) end return doSendMagicEffect(getThingPos(cid), CONST_ME_POFF) and doPlayerSendCancel(cid, "You are exhausted in Doton Doryu Heki for: "..(getPlayerStorageValue(cid, 2343) - os.time() ).." seconds.") and false end if (getPlayerStorageValue(cid, 2343) - os.time()) > 0 then return doSendMagicEffect(getThingPos(cid), CONST_ME_POFF) and doPlayerSendCancel(cid, "You are exhausted in Doton Doryu Heki for: "..(getPlayerStorageValue(cid, 2343) - os.time() ).." seconds.") and false end setPlayerStorageValue(cid, 2343, (os.time() + 30)) local pos = getThingPosition(getCreatureTarget(cid)) posTile1 = {x=pos.x+1,y=pos.y+1,z=pos.z,stackpos=1} posTile2 = {x=pos.x+1,y=pos.y,z=pos.z,stackpos=1} posTile3 = {x=pos.x+1,y=pos.y-1,z=pos.z,stackpos=1} posTile4 = {x=pos.x,y=pos.y-1,z=pos.z,stackpos=1} posTile5 = {x=pos.x-1,y=pos.y-1,z=pos.z,stackpos=1} posTile6 = {x=pos.x-1,y=pos.y,z=pos.z,stackpos=1} posTile7 = {x=pos.x-1,y=pos.y+1,z=pos.z,stackpos=1} posTile8 = {x=pos.x,y=pos.y+1,z=pos.z,stackpos=1} posAll = {posTile1,posTile2,posTile3,posTile4,posTile5,posTile6,posTile7,posTile8} for i=1, #posAll do if isWalkable(posAll[i]) then doCreateItem(item_id, 1, posAll[i]) end end addEvent(removeItem, remove_time*1000, posAll) return true end function isWalkable(pos, creature, pz, proj) if getTileThingByPos({x = pos.x, y = pos.y, z = pos.z, stackpos = 0}).itemid == 0 then return false end local creature = getTopCreature(pos) if creature.type > 0 then return false end if getTilePzInfo(pos) and not pz then return false end local n = not proj and 3 or 2 for i = 0, 255 do pos.stackpos = i local tile = getTileThingByPos(pos) if tile.itemid ~= 0 and not isCreature(tile.uid) then if hasProperty(tile.uid, n) or hasProperty(tile.uid, 7) then return false end end end return true end function removeItem(posAll) for i=1, #posAll do for j=0, 255 do pos_stack = {x=posAll[i].x,y=posAll[i].y,z=posAll[i].z,stackpos=j} removeTile = getThingfromPos(pos_stack) if removeTile.itemid == item_id then doRemoveItem(removeTile.uid) end end end end - eu quero saber
Informação Importante
Confirmação de Termo