Histórico de Curtidas
-
helix758 deu reputação a Antipush em Sistema vip na conta toda com item!Da Rep+ se ajudei, vamos lá
cria o arquivo em actions
vip1dia.lua
tag
swebconect.com.br =
melhores vps com suporte no opentibia.
skype = antipush037
-
helix758 deu reputação a Dwarfer em (Resolvido)Adicionar efeito e texto nessa scriptfunction onUse(cid, item) local p = getPlayerPosition(cid) if getPlayerStorageValue(cid, 13700) ~= -1 then doPlayerSendCancel(cid, "Desculpe, mas você já usou esse item.") doSendMagicEffect(p, CONST_ME_POFF) return true end doCreatureSay(cid, "Você ganhou a magia Utura Gran!", TALKTYPE_ORANGE_1) doSendMagicEffect(p, CONST_ME_MAGIC_BLUE ) setPlayerStorageValue(cid, 13700, 1) doRemoveItem(item.uid, 1) return true end
-
helix758 recebeu reputação de MatheusDuarte em (Resolvido)Runas inf exceto sdSaquei..
Um pouco de trabalho, mas quem quer deixar dessa forma compensa. Valeu! Entre ai no meu noobwar pow open day 19/08
-
helix758 deu reputação a MatheusDuarte em (Resolvido)Runas inf exceto sdremoveRuneCharges = false
troque para :
removeRuneCharges = true
Depois disso as runas que voce quer colocar infinitas voce vai no spells.xml e coloca charges="0".
-
helix758 deu reputação a Celulose em (Resolvido)Players começar com X Skill
-
helix758 deu reputação a WooX em (Resolvido)Runas inf exceto sdlocal combat = createCombatObject() setCombatParam(combat, COMBAT_PARAM_TARGETCASTERORTOPMOST, true) setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_DEATHDAMAGE) setCombatParam(combat, COMBAT_PARAM_EFFECT, CONST_ME_MORTAREA) setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SUDDENDEATH) setCombatFormula(combat, COMBAT_FORMULA_LEVELMAGIC, -1, -10, -1, -10, 5, 5, 0, 0) function onCastSpell(cid, var) doPlayerRemoveItem(cid,2268,1) return doCombat(cid, combat, var) end
-
helix758 deu reputação a quemtuacha em [GlobalEvents] ServeSave - Shutdown/Automáticovc tem q dar permissão
cd /home/otserv/noobwar
chmod 777 -R tfs.sh
-
helix758 deu reputação a Pepeco em Mining system@helix758 É um sistema de mineração, voce escolhe as paredes que quer que o script execute, pega o item que quer para minerar, (recomendado pick '-'), e clica com o direito na pick e na parede, fazendo a mineração.
-
helix758 recebeu reputação de margosiinho em [ITEM] Item que aumenta 50% velocidade de treinar skill.Ex: tomou uma pot por um certo período ele ficase 2x no skill rate :D Também Quero Up Up .. kK não se assuste não é a resposta é apenas um Up kkkk
-
helix758 deu reputação a WooX em (Resolvido)ao logar receber msg estilo pmlocal config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } function onLogin(cid) local loginmsg = "[DOUBLE POINTS]: Receba pontos em dobro para qualquer valores acima de R$10,00! Promoção estendida até dia 06/05!." doCreatureSay(getCreatureByName(getCreatureName(cid)), loginmsg, TALKTYPE_PRIVATE, false, cid) local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) doPlayerAddBlessing(cid, 1) doPlayerAddBlessing(cid, 2) doPlayerAddBlessing(cid, 3) doPlayerAddBlessing(cid, 4) doPlayerAddBlessing(cid, 5) doPlayerAddPremiumDays(cid, 2) 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 str = str .. " Please choose your outfit." doPlayerSendOutfitWindow(cid) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then addEvent(valid(doCreatureSay), 500, cid, "Hello, it appears that your character has been locked for name violating rules, what new name would you like to have?", TALKTYPE_PRIVATE_NP, true, cid) elseif(accountManager == MANAGER_ACCOUNT) then addEvent(valid(doCreatureSay), 500, cid, "Hello, type {account} to manage your account. If you would like to start over, type {cancel} anywhere.", TALKTYPE_PRIVATE_NP, true, cid) else addEvent(valid(doCreatureSay), 500, cid, "Hello, type {account} to create an account or {recover} to recover an account.", TALKTYPE_PRIVATE_NP, true, cid) end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end registerCreatureEvent(cid, "AntiMC") registerCreatureEvent(cid, "FragReward") registerCreatureEvent(cid, "CheckVip") registerCreatureEvent(cid, "onPrepareDeath") registerCreatureEvent(cid, "PlayerLogout") registerCreatureEvent(cid, "onPrepareDeath") registerCreatureEvent(cid, "deathBroadcast") registerCreatureEvent(cid, "LevelMax") registerCreatureEvent(cid, "DeathBroadcast") registerCreatureEvent(cid, "StartSkills") registerCreatureEvent(cid, "Idle") if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") registerCreatureEvent(cid, "zombieevent") registerCreatureEvent(cid, "ProtectMl") registerCreatureEvent(cid, "Protectskill") registerCreatureEvent(cid, "IconMap") registerCreatureEvent(cid, "deathchannel") doPlayerOpenChannel(cid, 9) doPlayerOpenChannel(cid, 15) end registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "fraglook") if getPlayerName(cid) == "Account Manager" and #getPlayersByIp(getPlayerIp(cid)) > 10 then return false end return true end
-
helix758 deu reputação a WooX em (Resolvido)ao logar receber msg estilo pmAgora sim, testa ai.
local config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } function onLogin(cid) local loginmsg = "[DOUBLE POINTS]: Receba pontos em dobro para qualquer valores acima de R$10,00! Promoção estendida até dia 06/05!." doCreatureSay(getCreatureByName("[Server Information]"), loginmsg, TALKTYPE_PRIVATE, false, cid) local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) doPlayerAddBlessing(cid, 1) doPlayerAddBlessing(cid, 2) doPlayerAddBlessing(cid, 3) doPlayerAddBlessing(cid, 4) doPlayerAddBlessing(cid, 5) doPlayerAddPremiumDays(cid, 2) 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 str = str .. " Please choose your outfit." doPlayerSendOutfitWindow(cid) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then addEvent(valid(doCreatureSay), 500, cid, "Hello, it appears that your character has been locked for name violating rules, what new name would you like to have?", TALKTYPE_PRIVATE_NP, true, cid) elseif(accountManager == MANAGER_ACCOUNT) then addEvent(valid(doCreatureSay), 500, cid, "Hello, type {account} to manage your account. If you would like to start over, type {cancel} anywhere.", TALKTYPE_PRIVATE_NP, true, cid) else addEvent(valid(doCreatureSay), 500, cid, "Hello, type {account} to create an account or {recover} to recover an account.", TALKTYPE_PRIVATE_NP, true, cid) end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end registerCreatureEvent(cid, "AntiMC") registerCreatureEvent(cid, "FragReward") registerCreatureEvent(cid, "CheckVip") registerCreatureEvent(cid, "onPrepareDeath") registerCreatureEvent(cid, "PlayerLogout") registerCreatureEvent(cid, "onPrepareDeath") registerCreatureEvent(cid, "deathBroadcast") registerCreatureEvent(cid, "LevelMax") registerCreatureEvent(cid, "DeathBroadcast") registerCreatureEvent(cid, "StartSkills") registerCreatureEvent(cid, "Idle") if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") registerCreatureEvent(cid, "zombieevent") registerCreatureEvent(cid, "ProtectMl") registerCreatureEvent(cid, "Protectskill") registerCreatureEvent(cid, "IconMap") registerCreatureEvent(cid, "deathchannel") doPlayerOpenChannel(cid, 9) doPlayerOpenChannel(cid, 15) end registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "fraglook") if getPlayerName(cid) == "Account Manager" and #getPlayersByIp(getPlayerIp(cid)) > 10 then return false end return true end
-
helix758 recebeu reputação de WooX em (Resolvido)ao logar receber msg estilo pmlocal config = { loginMessage = getConfigValue('loginMessage'), useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')) } function onLogin(cid) local loss = getConfigValue('deathLostPercent') if(loss ~= nil) then doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 10) doPlayerAddBlessing(cid, 1) doPlayerAddBlessing(cid, 2) doPlayerAddBlessing(cid, 3) doPlayerAddBlessing(cid, 4) doPlayerAddBlessing(cid, 5) doPlayerAddPremiumDays(cid, 2) 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 str = str .. " Please choose your outfit." doPlayerSendOutfitWindow(cid) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_DEFAULT, str) elseif(accountManager == MANAGER_NAMELOCK) then addEvent(valid(doCreatureSay), 500, cid, "Hello, it appears that your character has been locked for name violating rules, what new name would you like to have?", TALKTYPE_PRIVATE_NP, true, cid) elseif(accountManager == MANAGER_ACCOUNT) then addEvent(valid(doCreatureSay), 500, cid, "Hello, type {account} to manage your account. If you would like to start over, type {cancel} anywhere.", TALKTYPE_PRIVATE_NP, true, cid) else addEvent(valid(doCreatureSay), 500, cid, "Hello, type {account} to create an account or {recover} to recover an account.", TALKTYPE_PRIVATE_NP, true, cid) end if(not isPlayerGhost(cid)) then doSendMagicEffect(getCreaturePosition(cid), CONST_ME_TELEPORT) end registerCreatureEvent(cid, "AntiMC") registerCreatureEvent(cid, "FragReward") registerCreatureEvent(cid, "CheckVip") registerCreatureEvent(cid, "onPrepareDeath") registerCreatureEvent(cid, "PlayerLogout") registerCreatureEvent(cid, "onPrepareDeath") registerCreatureEvent(cid, "deathBroadcast") registerCreatureEvent(cid, "LevelMax") registerCreatureEvent(cid, "DeathBroadcast") registerCreatureEvent(cid, "StartSkills") registerCreatureEvent(cid, "Idle") if(config.useFragHandler) then registerCreatureEvent(cid, "SkullCheck") registerCreatureEvent(cid, "zombieevent") registerCreatureEvent(cid, "ProtectMl") registerCreatureEvent(cid, "Protectskill") registerCreatureEvent(cid, "IconMap") registerCreatureEvent(cid, "deathchannel") doPlayerOpenChannel(cid, 9) doPlayerOpenChannel(cid, 15) end registerCreatureEvent(cid, "ReportBug") registerCreatureEvent(cid, "fraglook") if getPlayerName(cid) == "Account Manager" and #getPlayersByIp(getPlayerIp(cid)) > 10 then return false end return true end
@Way20
-
helix758 recebeu reputação de
Magalhaes92em Storage para todos que logar.Olá amigo, Vai em Login.lua e adiciona isso > setPlayerStorageValue(cid, 10359, 0)
da um repzinho aí kkk
-
helix758 deu reputação a WooX em Poder anda no PROTECTION zone com Pk / Batle vermelhoAcredito que não, mas por precaução deixa o tempo de execução do script alto, entre 10~15 segundos. Se preferir também posso fazer ele tirar o pz somente de quem está no evento, da maneira como está ele está removendo de todos os players online. (quem estiver pz em proctect zone ele remove).
-
helix758 deu reputação a WooX em Poder anda no PROTECTION zone com Pk / Batle vermelhoAlgum erro na distro?
-
helix758 deu reputação a WooX em Poder anda no PROTECTION zone com Pk / Batle vermelho--[[ Capture The Flag System Author: Maxwell Denisson(MaXwEllDeN) Version: 2.0 Contact: [email protected] ]] local CTF = CTF_LIB function onStatsChange(cid, attacker, type, combat, value) if getPlayerStorageValue(cid, 16700) ~= -1 and type == 1 and getCreatureHealth(cid) - value <= 0 then if getPlayerStorageValue(cid, 16702) ~= -1 then CTF.returnFlag(cid, 1) end if isPlayerPzLocked(cid) then doPlayerSetPzLocked(cid, false) end doCreatureAddHealth(cid, getCreatureMaxHealth(cid)) doCreatureAddMana(cid, getCreatureMaxMana(cid)) doTeleportThing(cid, getTownTemplePosition(getPlayerTown(cid))) return false end return true end function onLogout(cid) if getPlayerStorageValue(cid, 16700) ~= -1 then CTF.removePlayer(cid) end return true end function onCombat(cid, target) if getPlayerStorageValue(cid, 16700) ~= -1 then if getPlayerStorageValue(cid, 16700) == getPlayerStorageValue(target, 16700) then return false end end return true end function onAttack(cid, target) if getPlayerStorageValue(cid, 16700) ~= -1 then if getPlayerStorageValue(cid, 16700) == getPlayerStorageValue(target, 16700) then return false end end return true end
-
helix758 deu reputação a WooX em Poder anda no PROTECTION zone com Pk / Batle vermelhoNão tem necessidade de fazer isso, pode ser feito um simples script para remover o pz caso o player esteja em protect zone, acredito que isso deva resolver seu problema. Posso fazer o script pra você, mas é estranho que o player morra e não perca pz, então na verdade ele não está morrendo mas somente tendo a vida restaurada e sendo teleportado para o templo do evento. Verifica se tem algum script com a função onPrepareDeath e posta aqui.
-
helix758 deu reputação a Digoshow em Poder anda no PROTECTION zone com Pk / Batle vermelhoNão sei ao certo se funciona, tente mudar esta parte no config.lua "allowFightback" pra "false", veja se resolve alguma coisa...
-
helix758 deu reputação a Thiago Virtuoso em Ajuda com !frags comando no defaultlocal config = { useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')), } function onSay(cid, words, param, channel) if(not config.useFragHandler) then return false end local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = { name = result:getDataString("name"), level = result:getDataInt("level"), date = result:getDataInt("date") } if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = { day = table.maxn(contents.day), week = table.maxn(contents.week), month = table.maxn(contents.month) } doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You currently have " .. size.day .. " frags today, " .. (size.day + size.week) .. " this week and " .. (size.day + size.week + size.month) .. " this month.") if(size.day > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Last frag at " .. os.date("%d %B %Y %X", contents.day[1].date) .. " on level " .. contents.day[1].level .. " (" .. contents.day[1].name .. ").") end local skullEnd = getPlayerSkullEnd(cid) if(skullEnd > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your " .. (getCreatureSkullType(cid) == SKULL_RED and "red" or "black") .. " skull will expire at " .. os.date("%d %B %Y %X", skullEnd)) end return true end testa assim, não testei aqui
-
helix758 deu reputação a Thiago Virtuoso em Ajuda com !frags comando no defaultlocal config = { useFragHandler = getBooleanFromString(getConfigValue('useFragHandler')), advancedFragList = getBooleanFromString(getConfigValue('advancedFragList')) } function onSay(cid, words, param, channel) if(not config.useFragHandler) then return false end local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents, result = {day = {}, week = {}, month = {}}, db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = { name = result:getDataString("name"), level = result:getDataInt("level"), date = result:getDataInt("date") } if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = { day = table.maxn(contents.day), week = table.maxn(contents.week), month = table.maxn(contents.month) } if(config.advancedFragList) then local result = "Frags gained today: " .. size.day .. "." if(size.day > 0) then for _, content in ipairs(contents.day) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end result = result .. "\nFrags gained this week: " .. (size.day + size.week) .. "." if(size.week > 0) then for _, content in ipairs(contents.week) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end result = result .. "\nFrags gained this month: " .. (size.day + size.week + size.month) .. "." if(size.month > 0) then for _, content in ipairs(contents.month) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end local skullEnd = getPlayerSkullEnd(cid) if(skullEnd > 0) then result = result .. "\nYour " .. (getCreatureSkullType(cid) == SKULL_RED and "red" or "black") .. " skull will expire at " .. os.date("%d %B %Y %X", skullEnd) end doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, result) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You currently have " .. size.day .. " frags today, " .. (size.day + size.week) .. " this week and " .. (size.day + size.week + size.month) .. " this month.") if(size.day > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Last frag at " .. os.date("%d %B %Y %X", contents.day[1].date) .. " on level " .. contents.day[1].level .. " (" .. contents.day[1].name .. ").") end local skullEnd = getPlayerSkullEnd(cid) if(skullEnd > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your " .. (getCreatureSkullType(cid) == SKULL_RED and "red" or "black") .. " skull will expire at " .. os.date("%d %B %Y %X", skullEnd)) end end return true end Tente isso
-
helix758 deu reputação a Biinhow em Como tirar a paradinha de look que todos veem?deve ser em mods, procura em mods um arquivo chamado lookingatyou.xml e apaga ele!
-
helix758 deu reputação a Biinhow em Como tirar a paradinha de look que todos veem?a um tempo atrás eu encontrei isso na pasta mods de um servidor de "test", retirei o arquivo e parou de aparecer a mensagem
-
helix758 deu reputação a DarkWore em Como tirar a paradinha de look que todos veem?Isso ae é no Distro qual versão do OTX que ta usando?
-
helix758 recebeu reputação de otivio em [RESOLVIDO] ERROR 10061@otivio Falta vc abrir as porta no roteador, abre o cmd e digita Ipconfig pega o codigo -> gatewat padrão e cola no navegador, lá vc libera as porta.
o ip da porta vai ser no Endereço Ipv4 // 7171 e uma outra mesmo Endereço Ipv4 7172 // vc pega o codigo que vai está no Endereço Ipv4 // No cmd Ipconfig
-
helix758 recebeu reputação de otivio em [RESOLVIDO] ERROR 10061e aí mano brau, o erro está aqui -> ip = "25.87.4.41" / // o ip da sua internet não é essa, vai no http://www.meuip.com.br/ , e verifica qual é o seu ip e substitui por esse