Tudo que Movie postou
-
[PEDIDO] aura por vocation e level
Não entendi, poderia explicar de outra maneira?
-
[PEDIDO] aura por vocation e level
Esse sistema como é para staffs não tem sistema de cura.
-
[PEDIDO] aura por vocation e level
Tem sim, o da staff eu já tenho. Vou disponibilizar. Talkactions: <talkaction words="!aurastaff" access="1" event="script" value="aurastaff.lua"/> aurastaff.lua -- CONFIGURAÇÕES aurastradf = 81462 -- storage da aura estradf = 39423 -- storage para o exhaust porcentagemadf = 10 -- chance de curar em cada volta da aura, em porcentagemadf quanthealad = 15 -- porcentagemadf do hp máximo que cada cura irá curar. (No caso, irá curar 5% do hp máximo cada cura) tempoadf = 1180 -- tempoadf para dar uma volta no player (este tempoadf foi o que achei mais agradável visualmente, é recomendável não mudar) tipoauraadf = 37 -- número do efeito da aura (efeito de distância, pode ser identificado com /x no jogo) efeitocuraadf = 65 -- número do efeito quando a cura chega ao player (efeito de posição fixa, pode ser identificado com /z no jogo) -- Função que chama a aura function efeitosAura3adf(i,tm,cid) if(isCreature(cid)) then local atualadf = getCreaturePosition(cid) local posauraadf = { {x=(atualadf.x)-1, y=(atualadf.y)-1, z=atualadf.z}, {x=atualadf.x, y=(atualadf.y)-1, z=atualadf.z}, {x=(atualadf.x)+1, y=(atualadf.y)-1, z=atualadf.z}, {x=(atualadf.x)+1, y=atualadf.y, z=atualadf.z}, {x=(atualadf.x)+1, y=(atualadf.y)+1, z=atualadf.z}, {x=atualadf.x, y=(atualadf.y)+1, z=atualadf.z}, {x=(atualadf.x)-1, y=(atualadf.y)+1, z=atualadf.z}, {x=(atualadf.x)-1, y=atualadf.y, z=atualadf.z}, } local chances = math.random(100) if(chances<=porcentagemadf/8) then doCreatureSay(cid, "STAFF!", TALKTYPE_ORANGE_1) if(i<=8 and i>1) then doSendDistanceShoot({x=posauraadf[i].x, y=posauraadf[i].y, z=posauraadf[i].z}, atualadf, tipoauraadf) else doSendDistanceShoot({x=posauraadf[1].x, y=posauraadf[1].y, z=posauraadf[1].z}, atualadf, tipoauraadf) end doSendMagicEffect(atualadf, efeitocuraadf) end if(i==8) then doSendDistanceShoot({x=posauraadf[i].x, y=posauraadf[i].y, z=posauraadf[i].z}, {x=posauraadf[1].x, y=posauraadf[1].y, z=posauraadf[1].z}, tipoauraadf) elseif(i<8) then doSendDistanceShoot({x=posauraadf[i].x, y=posauraadf[i].y, z=posauraadf[i].z}, {x=posauraadf[i+1].x, y=posauraadf[i+1].y, z=posauraadf[i+1].z}, tipoauraadf) end if(i<=8 and getPlayerStorageValue(cid, aurastradf)==2) then i = i+1 tm = tempoadf/8 return addEvent(efeitosAura3adf,tm,i,tm,cid) elseif(i>8 and getPlayerStorageValue(cid, aurastradf)==2) then return efeitosAura3adf(1,0,cid) else return TRUE end else return TRUE end end -- Função principal function onSay(cid, words, param, channel) if getPlayerStorageValue(cid, 89127) <= 0 then doPlayerSendCancel(cid, "Você precisa ter feito a quest.") return true end if(param=="on") then if getPlayerStorageValue(cid, estradf) > os.time() then doPlayerSendCancel(cid, "Espere "..(getPlayerStorageValue(cid, estradf) - os.time()).." segundos para poder habilitar aura staff novamente.") else if(getPlayerStorageValue(cid, aurastradf)==2) then doPlayerSendCancel(cid,"Sua Aura Staff já está habilitada.") elseif(getPlayerStorageValue(cid, aurastradf)==-1) then doPlayerSendCancel(cid,"Aura Staff ligada!") setPlayerStorageValue(cid, aurastradf, 2) efeitosAura3adf(1,tempoadf/8,cid) end end elseif(param=="off") then if(getPlayerStorageValue(cid, aurastradf)== 2) then setPlayerStorageValue(cid, estradf, os.time()+2) setPlayerStorageValue(cid, aurastradf, -1) doPlayerSendCancel(cid,"Aura Staff desligada!") end else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Digite '!aura on' para ligar sua aura, e '!aura off' para desligá-la.") end return true end Creaturescript: em login.lua adicione: setPlayerStorageValue(cid, 81462, -1) Para adicionar o recurso ao Staff coloque a storage 89127 no personagem.
-
Baiakinho & MegaStyller
Tá aí o link: http://www.mediafire.com/file/5tlcxiq78jbt6r1/Baiaks.rar
-
Baiakinho & MegaStyller
Ahhh, eu tenho. Vou ver se coloco pra download pra você.
-
(Resolvido)[BUG] Teleporte Automático
Qual erro a distro mostra?
- BAIAK 8.6 NOVO - VIP15 - AURA SYSTEM - EVENTOS - MAGIAS NOVAS - REFINAMENTO
- BAIAK 8.6 NOVO - VIP15 - AURA SYSTEM - EVENTOS - MAGIAS NOVAS - REFINAMENTO
- BAIAK 8.6 NOVO - VIP15 - AURA SYSTEM - EVENTOS - MAGIAS NOVAS - REFINAMENTO
- BAIAK 8.6 NOVO - VIP15 - AURA SYSTEM - EVENTOS - MAGIAS NOVAS - REFINAMENTO
-
Puxar itens com o GOD
Creio que isso é possível modificando as distros.
- BAIAK 8.6 NOVO - VIP15 - AURA SYSTEM - EVENTOS - MAGIAS NOVAS - REFINAMENTO
- BAIAK 8.6 NOVO - VIP15 - AURA SYSTEM - EVENTOS - MAGIAS NOVAS - REFINAMENTO
- BAIAK 8.6 NOVO - VIP15 - AURA SYSTEM - EVENTOS - MAGIAS NOVAS - REFINAMENTO
-
[Ajuda] Script anti divulgação
Creio que estão utilizando na distro.
- BAIAK 8.6 NOVO - VIP15 - AURA SYSTEM - EVENTOS - MAGIAS NOVAS - REFINAMENTO
- BAIAK 8.6 NOVO - VIP15 - AURA SYSTEM - EVENTOS - MAGIAS NOVAS - REFINAMENTO
-
BAIAK 8.6 NOVO - VIP15 - AURA SYSTEM - EVENTOS - MAGIAS NOVAS - REFINAMENTO
Olá a todos, criei um OTServ a um tempo atrás e não deu muito certo então resolvi deixar disponível para vocês baixarem. O que editei: - Implementação da Aura System - Boss Event diário 100% automático. - Magias novas (!spells) - Quests inéditas - Eventos funcionais - Implementado um sistema de reset 100% funcional - Áreas Donate, Supreme, Ultimate, Super UP (cave exclusiva) e Reset City. - Sistema de compra de itens no templo. - Dodge e Critical System - Refinamento System - E muito mais... Algumas imagens: Curtiu? dá um REP+ aí Download: clique aqui Scan: clique aqui Site: clique aqui O servidor vêm preparado para ser utilizado com MySQL. Em breve colocarei o site que usei para download aqui. Use a database que vêm junto com o arquivo. Créditos: 75% Baiak Fusion 25% Movie
-
[action] Roshamuul bones summon
Apresenta algum erro?
-
[action] Roshamuul bones summon
function onUse(cid, item, fromPosition, itemEx, toPosition) local config = { exaust = 933787, -- exaust storage hours = 2 } if getPlayerStorageValue(1) == 1 then setPlayerStorageValue(cid, config.exaust, os.time()+config.hours*60) doSummonCreature("Nome do Monstro", {x= , y= , z= }) end end agora é so editar as coordenadas e o nome do monstro
-
(Resolvido)login x
local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } pos = {x=927, y=927, z=7} function onLogin(cid) local maxaccbyip = 2 local accm = {} local pbi = getPlayersByIp(getPlayerIp(cid)) function antiTumb(cid) for _,player in ipairs(pbi) do if getCreatureName(player) == "Account Manager" then table.insert(accm, player) end end if #accm > maxaccbyip then print("Foi ultrapassado o limite maximo de contas online com o seguinte ip "..convertIntToIP(getPlayerIp(cid)).."\npor motivos de seguranca todos os accounts managers com esse ip foram kickados\nAnti-Nuker System 2.0") for _,player in ipairs(accm) do doRemoveCreature(player) end end return true end addEvent(antiTumb, 10, cid) local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) end local accountManager = getPlayerAccountManager(cid) if(accountManager == MANAGER_NONE) then local lastLogin, str = getPlayerLastLoginSaved(cid), config.loginMessage if(lastLogin > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) str = "Your last visit was on " .. os.date("%a %b %d %X %Y", lastLogin) .. "." else doTeleportThing(cid, pos, true) str = str .. " Please choose your outfit." doPlayerSendOutfitWindow(cid) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, it appears that your character has been namelocked, what would you like as your new name?") elseif(accountManager == MANAGER_ACCOUNT) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to manage your account and if you want to start over then type 'cancel'.") else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE, "Hello, type 'account' to create an account or type 'recover' to recover an account.") end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end registerCreatureEvent(cid, "Mail") registerCreatureEvent(cid, "GuildMotd") registerCreatureEvent(cid, "Idle") if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") end registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "AdvanceSave") registerCreatureEvent(cid, "EffectCheck") registerCreatureEvent(cid, "EffectLogin") registerCreatureEvent(cid, "Aol") registerCreatureEvent(cid, "DeusRedAol") registerCreatureEvent(cid, "RedAol") registerCreatureEvent(cid, "VocReward") registerCreatureEvent(cid, "fraglook") registerCreatureEvent(cid, "hmup") registerCreatureEvent(cid, "perdereifeto") registerCreatureEvent(cid, "SafeCombat") registerCreatureEvent(cid, "SafeTarget") registerCreatureEvent(cid, "dodge") if getPlayerStorageValue(cid, 48902) == -1 then setPlayerStorageValue(cid, 48902, 0) end if getPlayerStorageValue(cid, 48903) == -1 then setPlayerStorageValue(cid, 48903, 0) end return true end E aí? Funcionou?
-
(Resolvido)login x
Qual a coordenada que você quer que o player teletransporte?
-
(Resolvido)login x
Sim, poste seu login.lua que fica no creaturescripts
-
(Resolvido)Como proibir uso de magias e runas em uma determinada area
Só colocar área PZ e não no-pvp
-
Andar mais fluente
Se não me engano, isso é possível modificando alguns códigos da distro.