-
Total de itens
2183 -
Registro em
-
Última visita
-
Dias Ganhos
23
Histórico de Reputação
-
SkyLigh recebeu reputação de RigBy em !buyexp Talkaction
Fala galera tava sem nada pra fazer e sem net, e foi quando tive uma ideia de um comando de comprar exp parece meio sem sentido mais se você utiliza donate em seu servidor pode ser útil.
Vá em data/talkactions/scripts e crie um arquivo.lua chamada buyexp.lua apos isso cole o seguinte código dentro :
local config = { item = 2157, --- ID DO ITEM QUE SERA REMOVIDO count = 10, --- QUANTIA DO ITEM QUE SERA REMOVIDO exp = 1000, --- QUANTIA DE EXP QUE VAI SER ADICIONADA efeito = 61 --- ID DO EFEITO AO COMPRAR EXP } function onSay(cid, words, param) if doPlayerRemoveItem(cid,config.item,config.count) == TRUE then doPlayerAddExp(cid, config.exp) doPlayerSendTextMessage(cid, TALKTYPE_ORANGE_1, "Você recebeu ".. config.exp .." de exp") doSendMagicEffect(getCreaturePosition(cid), config.efeito) else doPlayerSendTextMessage(cid, TALKTYPE_ORANGE_1, "Desculpe você não tem ".. config.count .." moedas donate para comprar exp") doSendMagicEffect(getPlayerPosition(cid), CONST_ME_POFF) end return true end Apos isso vá em talkactions.xml e adicione a seguinte tag :
<talkaction words="!buyexp" event="script" value="buyexp.lua"/> Apos isso seu sistema de comprar exp vai está instalado.
Créditos :
-
SkyLigh deu reputação a Yan Oliveira em Sistema Quest em Janela
Tutorial refeito em: https://www.xtibia.com/forum/topic/251549-quest-log-em-janela/?tab=comments#comment-1759135
-
-
-
SkyLigh recebeu reputação de Lumus em [Encerrado]UntraxBR - A nova era.
que dlç de projeto <3 parabéns tá ficando foda.
-
SkyLigh deu reputação a Lumus em Give a present
Como funciona
/giveto Player, gold coin (ou item id), 41
-
SkyLigh deu reputação a Lumus em [Encerrado]UntraxBR - A nova era.
Agradeço Daniel em nome de toda à equipe.
Atualizando...
Nova cidade....
Breve mais fotos dela.
-
SkyLigh deu reputação a Lumus em [Encerrado]UntraxBR - A nova era.
Hail Ekz! Nosso projeto está a todo vapor como vocês podem conferir aqui.
Este tópico será para exibição de imagens de nosso servidor, e outras informações sobre o mesmo. Esperamos que vocês gostem!
Equipe
Nossa equipe atual está composta por 3 membros:
Untrax - Administrador/mapper/scripter
MudrocK - Webmaster/designer
Eden - beta tester
Versão 10.80
Finalmente atualizamos nossa versão para a mais recente, 10.80. Agradeço toda ajuda do Mitsuig que foi muito prestativo quando solicitei a sua ajuda. Muito obrigado. O UntraxBR agradece toda sua ajuda e tempo disponibilizado para nos ajudar!
Show Off
Créditos ao Daniel.
Novas caves/monstros.
Nova ilha
Templo com NPC para ajuda.
Novos monstros.
,
O que existe neste local? Aguarde.
Explore as montanhas.
Soldado, sentido!
Cuidado, as aparências enganam....
Novas fotos todos os dias!
-
SkyLigh recebeu reputação de maikons em Problemas com espaços no final
--[[
PERFECT UPGRADE SYSTEM
2.0
Criado por Oneshot
É proibido a venda ou a cópia sem os devidos créditos desse script.
]]--
UpgradeHandler = {
levels = {
[1] = {90, false, false},
[2] = {80, false, false},
[3] = {70, false, false},
[4] = {60, true, false},
[5] = {40, true, true}
},
broadcast = 8,
attributes = {
["attack"] = 1,
["defense"] = 1,
["armor"] = 1
},
message = {
console = "Trying to refine %s to level +%s with %s%% success rate.",
success = "You have upgraded %s to level +%s",
fail = "You have failed in upgrade of %s to level +%s",
downgrade = "The upgrade level of %s has downgraded to +%s",
erase = "The upgrade level of %s has been erased.",
maxlevel = "The targeted %s is already on max upgrade level.",
notupgradeable = "This item is not upgradeable.",
broadcast = "The player %s was successful in upgrading %s to level +%s.\nCongratulations!!",
invalidtool = "This is not a valid upgrade tool.",
toolrange = "This upgrade tool can only be used in items with level between +%s and +%s"
},
tools = {
[8306] = {range = {0, 10}, info = {chance = 0, removeable = true}},
[8300] = {range = {0, 10}, info = {chance = 0, removeable = true}}
},
isEquipment = function(self)
local weaponType = self:getItemWeaponType()
return ((weaponType > 0 and weaponType < 7) or self.item.armor ~= 0)
end,
setItemName = function(self, name)
return doItemSetAttribute(self.item.uid, "name", name)
end,
chance = function(self)
local chances = {}
chances.upgrade = (self.levels[self.item.level + 1][1] or 100)
chances.downgrade = (self.item.level * 5)
chances.erase = (self.item.level * 3)
return chances
end
}
function UpgradeHandler:new(item)
local obj, ret = {}
obj.item = {}
obj.item.level = 0
obj.item.uid = item.uid
for key, value in pairs(getItemInfo(item.itemid)) do
obj.item[key] = value
end
ret = setmetatable(obj, {__index = function(self, index)
if _G[index] then
return (setmetatable({callback = _G[index]}, {__call = function(self, ...)
return self.callback(item.uid, ...)
end}))
else
return UpgradeHandler[index]
end
end})
if ret:isEquipment() then
ret:update()
return ret
end
return false
end
function UpgradeHandler:update()
self.item.level = (tonumber(self:getItemName():match("%+(%d+)")) or 0)
end
function UpgradeHandler:refine(uid, item)
if not self.item then
doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_BLUE, self.message.notupgradeable)
return "miss"
end
local tool = self.tools[item.itemid]
if(tool == nil) then
doPlayerSendTextMessage(uid, MESSAGE_EVENT_DEFAULT, self.message.invalidtool)
return "miss"
end
if(self.item.level > #self.levels) then
doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_RED, self.message.maxlevel:format(self.item.name))
return "miss"
end
if(self.item.level < tool.range[1] or self.item.level >= tool.range[2]) then
doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_RED, self.message.toolrange:format(unpack(tool.range)))
return "miss"
end
local chance = (self:chance().upgrade + tool.info.chance)
doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_BLUE, self.message.console:format(self.item.name, (self.item.level + 1), math.min(100, chance)))
if(tool.info.removeable == true) then
doRemoveItem(item.uid, 1)
end
if chance * 100 > math.random(1, 10000) then
doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_ORANGE, self.message.success:format(self.item.name, (self.item.level + 1)))
if (self.item.level + 1) >= self.broadcast then
doBroadcastMessage(self.message.broadcast:format(getCreatureName(uid), self.item.name, (self.item.level + 1)))
end
self:setItemName((self.item.level > 0 and self:getItemName():gsub("%+(%d+)", "+".. (self.item.level + 1)) or (self:getItemName() .." +1")))
for key, value in pairs(self.attributes) do
if getItemAttribute(self.item.uid, key) ~= nil or self.item[key] ~= 0 then
doItemSetAttribute(self.item.uid, key, (self.item.level > 0 and getItemAttribute(self.item.uid, key) or self.item[key]) + value)
end
end
return "success"
else
if item.itemid == 8300 then
if self.item.level > 0 then
self:setItemName(self:getItemName():gsub("%+(%d+)",""))
for key, value in pairs(self.attributes) do
if getItemAttribute(self.item.uid, key) ~= nil or self.item[key] ~= 0 then
doItemSetAttribute(self.item.uid, key, getItemAttribute(self.item.uid, key) - self.item.level * value)
end
end
end
else
doRemoveItem(self.item.uid, 1)
end
doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_BLUE, item.itemid == 8300 and "Your item level has been reseted." or "You have broken your item while trying to upgrade it.")
end
end
-
SkyLigh recebeu reputação de Bruninho Santos em Fruit Picking (Colheita de fruta)
Parabéns cara muito foda
-
SkyLigh recebeu reputação de Bruninho Santos em Colheita de frutas
http://www.xtibia.com/forum/topic/235235-fruit-picking-colheita-de-fruta/
-
SkyLigh deu reputação a L3K0T em Remakes Magias Tibia 10.53x
CONTEÚDO REMOVIDO: AGORA VOCÊ VAI TER QUE TER CRIATIVIDADE OU SE PENDURAR-SE NAS COSTA DE ALGUÉM, MENOS NA MINHA - BOA SORTE!
error 404 - I do not serve the forum I retired.
-
SkyLigh deu reputação a Animal Pak em Teleport Scroll
Em actions/actions.xml adicione:
<action itemid="8189" script="tpscroll.lua" /> Em actions/scripts crie um arquivo tpscroll.lua e dentro coloque:
function onUse(cid, item,frompos, item2, topos) templo = getPlayerMasterPos(cid) posicion = getCreaturePosition(cid) if item.itemid == 8189 then if (getCreatureCondition(cid, CONDITION_INFIGHT) == FALSE) then getThingfromPos(posicion) doSendMagicEffect(getCreaturePosition(cid), 36) doTeleportThing(cid, templo, TRUE) doRemoveItem(item.uid,1) doSendMagicEffect(getCreaturePosition(cid), 36) return true else doPlayerSendCancel(cid,"Não pode se teletransportar durante o battle.") doSendMagicEffect(getCreaturePosition(cid), 2) end end end Créditos:
boniyasha
-
SkyLigh recebeu reputação de Bruninho Santos em Colocar restrições no teleporte
function onSay(cid, words, param) if getCreatureCondition(cid, CONDITION_INFIGHT) then doPlayerSendTextMessage(cid, 22, "Você precisa está sem batte para cê teleportado") return true end pos = {x=220, y=451, z=7} doSendMagicEffect(getPlayerPosition(cid),53) doPlayerSendCancel(cid,"Teleportado!") doTeleportThing(cid,pos) end
Movido para seção de resolvidos.
-
SkyLigh recebeu reputação de Bruninho Santos em Loteria
http://www.xtibia.com/forum/topic/232949-tfs-04-new-lottery-system/
-
-
-
SkyLigh deu reputação a Administrador em Nova seção para Projetos OpenTibia
Vou avaliar isso, obrigado pelo feedback ^^
-
SkyLigh deu reputação a Administrador em Nova seção para Projetos OpenTibia
Fala galera, venho anunciar a nova seção do xtibia. Alguns membros estavam reclamando da má organização a respeito de show off de projetos. Pois então, foi criado a seção Projetos OpenTibia. A seção já está em andamento e os projetos já podem ser postados.
Regras Da seção
• Você pode postar apenas um tópico por projeto nesta seção. Este, deve conter informações sobre seu projeto em desenvolvimento.
• Tópicos inativos por 30 à 60 dias serão movidos para a lixeira pública.
• É proibido referências à formação de equipe. Para isto, utilize a seção Formação de Equipes.
• Caso seu projeto seja um servidor e ele já esteja online, você pode continuar atualizando o tópico deste com novos updates do servidor.
• Evite a divulgação direta do servidor nesta seção, para isto, utilize a seção Anúncio de OTServers.
• Todos os tópicos serão avaliados antes de serem aprovados.
Crie já seu tópico e mostre à comunidade o que você está desenvolvendo. Quem sabe consegue um incentivo maior...
Comentem, abraços!
-
SkyLigh recebeu reputação de maikons em Problemas com espaços no final
--[[ PERFECT UPGRADE SYSTEM 2.0 Criado por Oneshot É proibido a venda ou a cópia sem os devidos créditos desse script. ]]-- UpgradeHandler = { levels = { [1] = {90, false, false}, [2] = {80, false, false}, [3] = {70, false, false}, [4] = {60, true, false}, [5] = {40, true, true} }, broadcast = 8, attributes = { ["attack"] = 1, ["defense"] = 1, ["armor"] = 1 }, message = { console = "Trying to refine %s to level +%s with %s%% success rate.", success = "You have upgraded %s to level +%s", fail = "You have failed in upgrade of %s to level +%s", downgrade = "The upgrade level of %s has downgraded to +%s", erase = "The upgrade level of %s has been erased.", maxlevel = "The targeted %s is already on max upgrade level.", notupgradeable = "This item is not upgradeable.", broadcast = "The player %s was successful in upgrading %s to level +%s.\nCongratulations!!", invalidtool = "This is not a valid upgrade tool.", toolrange = "This upgrade tool can only be used in items with level between +%s and +%s" }, tools = { [8306] = {range = {0, 10}, info = {chance = 0, removeable = true}}, [8300] = {range = {0, 10}, info = {chance = 0, removeable = true}} }, isEquipment = function(self) local weaponType = self:getItemWeaponType() return ((weaponType > 0 and weaponType < 7) or self.item.armor ~= 0) end, setItemName = function(self, name) return doItemSetAttribute(self.item.uid, "name", name) end, chance = function(self) local chances = {} chances.upgrade = (self.levels[self.item.level + 1][1] or 100) chances.downgrade = (self.item.level * 5) chances.erase = (self.item.level * 3) return chances end } function UpgradeHandler:new(item) local obj, ret = {} obj.item = {} obj.item.level = 0 obj.item.uid = item.uid for key, value in pairs(getItemInfo(item.itemid)) do obj.item[key] = value end ret = setmetatable(obj, {__index = function(self, index) if _G[index] then return (setmetatable({callback = _G[index]}, {__call = function(self, ...) return self.callback(item.uid, ...) end})) else return UpgradeHandler[index] end end}) if ret:isEquipment() then ret:update() return ret end return false end function UpgradeHandler:update() self.item.level = (tonumber(self:getItemName():match("%+(%d+)")) or 0) end function UpgradeHandler:refine(uid, item) if not self.item then doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_BLUE, self.message.notupgradeable) return "miss" end local tool = self.tools[item.itemid] if(tool == nil) then doPlayerSendTextMessage(uid, MESSAGE_EVENT_DEFAULT, self.message.invalidtool) return "miss" end if(self.item.level > #self.levels) then doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_RED, self.message.maxlevel:format(self.item.name)) return "miss" end if(self.item.level < tool.range[1] or self.item.level >= tool.range[2]) then doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_RED, self.message.toolrange:format(unpack(tool.range))) return "miss" end local chance = (self:chance().upgrade + tool.info.chance) doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_BLUE, self.message.console:format(self.item.name, (self.item.level + 1), math.min(100, chance))) if(tool.info.removeable == true) then doRemoveItem(item.uid, 1) end if chance * 100 > math.random(1, 10000) then doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_ORANGE, self.message.success:format(self.item.name, (self.item.level + 1))) if (self.item.level + 1) >= self.broadcast then doBroadcastMessage(self.message.broadcast:format(getCreatureName(uid), self.item.name, (self.item.level + 1))) end self:setItemName((self.item.level > 0 and self:getItemName():gsub("%+(%d+)", "+".. (self.item.level + 1)) or (self:getItemName() .." +1"))) for key, value in pairs(self.attributes) do if getItemAttribute(self.item.uid, key) ~= nil or self.item[key] ~= 0 then doItemSetAttribute(self.item.uid, key, (self.item.level > 0 and getItemAttribute(self.item.uid, key) or self.item[key]) + value) end end return "success" else if item.itemid == 8300 then if self.item.level > 0 then self:setItemName(self:getItemName():gsub("%+(%d+)", "")) for key, value in pairs(self.attributes) do if getItemAttribute(self.item.uid, key) ~= nil or self.item[key] ~= 0 then doItemSetAttribute(self.item.uid, key, getItemAttribute(self.item.uid, key) - self.item.level * value) end end end else doRemoveItem(self.item.uid, 1) end doPlayerSendTextMessage(uid, MESSAGE_STATUS_CONSOLE_BLUE, item.itemid == 8300 and "Your item level has been reseted." or "You have broken your item while trying to upgrade it.") end end acho que agora vai
-
SkyLigh recebeu reputação de Bruninho Santos em Teletransportar para house por talk
Fala galera, eu estava querendo botar um sistema no meu servidor que um player deu a ideia e curti bastante até que resolvi colocar e com isso acabei fazendo um código simples para o sistema.
O QUE ELE FAZ :
O sistema lhe transportara para sua house caso você tenha uma, através de uma talkaction que você digita !house caso você esteja sem battle você sera teletransportado cê não vai aparecer, uma mensagem avisando que não é posível.
Vá em data/scripts/talkactions.xml e adicione a seguinte tag : <talkaction words="!house" script="house.lua"/> Agora vá em data/talkactions/scripts e crie o arquivo house.lua com o seguinte conteúdo:
local efeito = 30 --- id do feito quando cê teletransportar function onSay(cid, words, param) if getCreatureCondition(cid, CONDITION_INFIGHT) then doPlayerSendTextMessage(cid, 22, "Você precisa está sem batte para se teletransportar") return true end if getHouseByPlayerGUID(getPlayerGUID(cid)) then doTeleportThing(cid, getHouseEntry(getHouseByPlayerGUID(getPlayerGUID(cid)))) doSendMagicEffect(getCreaturePosition(cid), efeito) doPlayerSendTextMessage(cid, 22, "Você foi teleportado para sua house.") else doPlayerSendTextMessage(cid, 22, "Você não tem uma house infelizmente.") end return true end Logo em seguida de um /reload talkactions e o sistema vai estar funcionando normalmente.
-
-
SkyLigh recebeu reputação de SkyDarkyes em Background/logo
Resolvido? se possível marque melhor resposta para que eu possa mover
Movido para entregues.
-
SkyLigh recebeu reputação de SkyDarkyes em Background/logo
Esqueci de alterar a fonte sapkoaspkoas, coloquei as 2 com fonte do naruto
---------
-
SkyLigh deu reputação a Lumus em [Encerrado]UntraxBR - A nova era. Junte-se a nos!
Agradecemos! Boa sorte em seu projeto também.
<3 Seu gato, agradeço!
Obrigado Daniel, seu apoio está sendo fundamental!
Obrigado! Você foi respondido, verifique seu e-mail por favor.
Cuidado, as aparências enganam....
-
Quem Está Navegando 0 membros estão online
- Nenhum usuário registrado visualizando esta página.