Nanico
Membro
-
Registro em
-
Última visita
Histórico de Curtidas
-
Nanico deu reputação a .HuRRiKaNe em [8.60] Rozinx Server - Abyss OTServerInformações:
Novos items
Novas magias
Novos monstros
Eventos
Mapa Rozinx 8.6
VIP
Vocações Rozinx
Servidor estável
Alguns bugs arrumados porém contém muitos bugs ainda, deixo aqui o download para usarem como base (Se quiserem)!
Imagens:
OBS: As imagens saíram cortadas porque eu fiquei com preguiça de ajeitar kk !
Depois arrumo.
Download Servidor:
Mega
Mediafire
Scan Servidor:
Não realizei porque o arquivo ultrapassa o limite de tamanho do virustotal!
Créditos:
Rozinx Team
josediboby2012
SmoOkeR - Por ajeitar o distro, traduzir, e arrumar algumas coisas básicas.
-
Nanico deu reputação a WarW0lf em [Talkactions] Reset (Igual Rozinx)Sistema de Reset igual ao do Rozinx.
Ao resetar voce é promovida para uma classe superior.
Vá em talkactions e crie "reset.lua" e coloque isso dentro:
function onSay(cid, words, param, channel) local tabble = { ["mixed"] = {reqVoc= nil, needLevel=10000}, ["spin"] = {reqVoc= 5, needLevel=30000}, ["sacred"] = {reqVoc= 6, needLevel=60000}, ["loney"] = {reqVoc= 7, needLevel=110000}, ["falling"] = {reqVoc= 8, needLevel=130000}, ["hellborn"] = {reqVoc= 9, needLevel=250000}, ["supreme"] = {reqVoc= 10, needLevel=310000}, ["forgotten"] = {reqVoc= 11, needLevel=550000}, ["nova"] = {reqVoc= 12, needLevel=715000}, ["zealot1"] = {reqVoc= 13, needLevel=715000}, ["zealot2"] = {reqVoc= 14, needLevel=715000} } local param,config = string.lower(param),{pid = getPlayerGUID(cid),newlv = 8,life = 185,mana = 35} if not tabble[param] then doPlayerSendCancel(cid, "digite o nome correto.") return true elseif getTilePzInfo(getCreaturePosition(cid)) == false then doPlayerSendCancel(cid, "precisa estar em pz.") return true elseif getPlayerLevel(cid) < tabble[param].needLevel then doPlayerSendCancel(cid, "You need be "..tabble[param].needLevel.." level or more.") return true elseif tabble[param].reqVoc == nil and getPlayerStorageValue(cid, 887978) >= 1 then doPlayerSendCancel(cid, "você já virou mixed.") return true elseif tabble[param].reqVoc ~= nil and getPlayerVocation(cid) ~= tabble[param].reqVoc then doPlayerSendCancel(cid, "You dont have the required vocation.") return true end if tabble[param].reqVoc == nil then setPlayerStorageValue(cid, 887978, 1) end local newvoc = tabble[param].reqVoc ~= nil and (tabble[param].reqVoc+1) or 5 setPlayerStorageValue(cid, 887979, newvoc) doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) doRemoveCreature(cid) db.executeQuery("UPDATE `players` SET `level` = "..config.newlv..", `experience` = "..getExperienceForLevel(config.newlv)..",`manamax` = "..config.mana..",`health` = "..config.life..", `healthmax` = "..config.life..",`mana` = "..config.mana.." WHERE `id` = "..config.pid) return true end Após isso, adicione a linha no talkactions.xml: <talkaction words="!reset" event="script" value="reset.lua"/> Em creaturescripts/scripts/login.lua adicione isso antes do ultimo "return true": if getPlayerStorageValue(cid, 887979) ~= -1 then doPlayerSetVocation(cid, getPlayerStorageValue(cid, 887979)) end
Como funciona? Bom, se voce for querer ser mixed voce vai dizer "!reset" e no caso, pode ser qualquer vocação e ter no mínimo level 10.000.
Créditos: Vodkart e Gleison