Ir para conteúdo

Líderes

Conteúdo Popular

Exibindo conteúdo com a maior reputação em 08/05/22 em todas áreas

  1. não consigo configurar o site

    Lobodu reagiu a L3K0T por uma resposta no tópico

    1 ponto
    assim worldType = "pvp" hotkeyAimbotEnabled = true protectionLevel = 100 pzLocked = 60 * 1000 removeChargesFromRunes = false removeChargesFromPotions = true removeWeaponAmmunition = false removeWeaponCharges = false timeToDecreaseFrags = 30 * 24 * 60 * 60 whiteSkullTime = 1 * 60 * 1000 stairJumpExhaustion = 2 * 1000 experienceByKillingPlayers = true expFromPlayersLevelRange = 575 dayKillsToRedSkull = 12 weekKillsToRedSkull = 70 monthKillsToRedSkull = 280 redSkullDuration = 1 blackSkullDuration = 2 orangeSkullDuration = 0 ip = "127.0.0.1" bindOnlyGlobalAddress = false loginProtocolPort = 7171 gameProtocolPort = 7172 statusProtocolPort = 7171 maxPlayers = 2000 motd = "Welcome to Deletera! Spells iguais a versao 8.60!" onePlayerOnlinePerAccount = true allowClones = false serverName = "Deletera" statusTimeout = 5 * 1000 replaceKickOnLogin = true maxPacketsPerSecond = 25 maxItem = 2000 maxContainer = 100 clientVersion = 1264 clientVersionStr = "12.64" freeDepotLimit = 2000 premiumDepotLimit = 10000 depotBoxes = 1 gamestoreByModules = true onlyPremiumAccount = false weatherRain = false thunderEffect = false freeQuests = false allConsoleLog = false deathLosePercent = -1 housePriceEachSQM = 5000 houseRentPeriod = "never" houseNeedPremiumAccount = false timeBetweenActions = 500 timeBetweenExActions = 1000 pushDelay = 1000 pushDistanceDelay = 1500 mapName = "baiakdodu" mapAuthor = "WaldirTeixeira" marketOfferDuration = 60 * 24 * 60 * 60 premiumToCreateMarketOffer = true checkExpiredMarketOffersEachMinutes = 60 maxMarketOffersAtATimePerPlayer = 100 mysqlHost = "127.0.0.1" mysqlUser = "root" mysqlPass = "vinne42362955" mysqlDatabase = "baiak" mysqlPort = 3306 mysqlSock = "" passwordType = "sha1" allowChangeOutfit = true freePremium = false kickIdlePlayerAfterMinutes = 15 maxMessageBuffer = 4 emoteSpells = true classicEquipmentSlots = false allowWalkthrough = false coinPacketSize = 25 coinImagesURL = "http://127.0.0.1/store/" classicAttackSpeed = true showScriptsLogInConsole = false serverSaveNotifyMessage = true serverSaveNotifyDuration = 5 serverSaveCleanMap = false serverSaveClose = false serverSaveShutdown = true rateExp = 10000000 rateSkill = 3500 rateLoot = 4 rateMagic = 2500 rateSpawn = 1 rateMonsterHealth = 1.0 rateMonsterAttack = 1.0 rateMonsterDefense = 1.0 deSpawnRange = 2 deSpawnRadius = 50 staminaSystem = false warnUnsafeScripts = true convertUnsafeScripts = true defaultPriority = "high" startupDatabaseOptimization = true ownerName = "Waldir" ownerEmail = "[email protected]" url = "https://deletera.net/" location = "Brazil" discordWebhookURL = ""
  2. não consigo configurar o site

    Lobodu reagiu a L3K0T por uma resposta no tópico

    1 ponto
    Remova todos os comentários e espaços no config.lua e que provavelmente vá resolver.
  3. adicionando tempo a storage

    Carlinhous1996 reagiu a xMonkey por uma resposta no tópico

    1 ponto
    Desculpe meu erro. Correção logo abaixo: -- Created by pc98 -- Edited by xMonkey local castle_one_name = "Castle", -- Nome do castelo 1 local storages = {154154,54321,123123, 123124}, -- Storages ( se vc eh iniciante, deixe como está...) -- REWARDS I N D I V I D U A I S --------- local premio_por_vezes = 1, -- Premio por vezes de conquista de castelo. (1) = Ativo (0) = Desativa. local premio_vezes = 3, -- Caso ativo, a quantidade de conquista que o player tem, para ganhar PREMIO. local premio = 10522, -- ID do Premio local premio_cont = 1, -- Quantidade do Premio local premio_reset = 1, -- Resetar o contador do premio depois que atingir a meta?? (1) = SIM (0) = NAO local resetReward = {6, "day"} -- Tempo para resetar a storage e receber novamente a recompensa -- Para deixar mais organizado, jogar essas funções em LIB (se jogar em LIB, remover o local na frente de function) -- Custom Functions (inicio) local function mathtime(table) -- by dwarfer local unit = {"sec", "min", "hour", "day"} for i, v in pairs(unit) do if v == table[2] then return table[1]*(60^(v == unit[4] and 2 or i-1))*(v == unit[4] and 24 or 1) end end return error("Bad declaration in mathtime function.") end local function getTimeString(self) local format = { {'dia', self / 60 / 60 / 24}, {'hora', self / 60 / 60 % 24}, {'minuto', self / 60 % 60}, {'segundo', self % 60} } local out = {} for k, t in ipairs(format) do local v = math.floor(t[2]) if(v > 0) then table.insert(out, (k < #format and (#out > 0 and ', ' or '') or ' e ') .. v .. ' ' .. t[1] .. (v ~= 1 and 's' or '')) end end local ret = table.concat(out) if ret:len() < 16 and ret:find('segundo') then local a, b = ret:find(' e ') ret = ret:sub(b+1) end return ret end -- Custom Functions (fim) function onUse(cid, item, frompos, item2, topos) local sto_ativ, position = getGlobalStorageValue(storages[2]), getCreaturePosition(cid) if (isPlayerGuild(cid) == true) then if (sto_ativ == 1 or sto_ativ == -1) then guildname = getPlayerGuildName(cid) guild = getPlayerGuildId(cid) guild_sto = getGlobalStorageValue(storages[3]) if (guild ~= guild_sto) then setPlayerStorageValue(cid, guild_sto, guild) if (getPlayerStorageValue(cid, storages[1]) == -1) then setPlayerStorageValue(cid, storages[1], 0) end setGlobalStorageValue(storages[3], getPlayerGuildId(cid)) setPlayerStorageValue(cid,storages[1], getPlayerStorageValue(cid, storages[1]) + 1) sto_vezes_total = getPlayerStorageValue(cid, storages[1]) doBroadcastMessage("O(a) "..getCreatureName(cid).." acabou de conquistar o ".. castle_one_name .." para a guild \"".. guildname .."\" pela ".. sto_vezes_total .."ª vez(s).", 22) doSendMagicEffect(position, 39) doRemoveItem(item.uid, 1) if (premio_por_vezes == 1) then if (getPlayerStorageValue(cid, storages[4]) - os.time() > 0) then doPlayerSendTextMessage(cid, 18, "Voce deve aguardar ".. getTimeString(getPlayerStorageValue(cid, storages[4]) - os.time()) .." para receber a recompensa novamente.") return true end if (getPlayerStorageValue(cid, storages[1]) == premio_vezes) then if (getItemWeightById(premio, 1) <= getPlayerFreeCap(cid)) then doBroadcastMessage("O ".. getCreatureName(cid) .." ganhou uma(o) ".. getItemNameById(premio) .." como recompensa das suas ".. premio_vezes .." conquistas!", 21) doPlayerAddItem(cid, premio, premio_cont) doPlayerSendTextMessage(cid, 18, "Voce recebeu o(a) ".. getItemNameById(premio) .." como recompensa das suas ".. premio_vezes .." conquistas!") if premio_reset == 1 then setPlayerStorageValue(cid,storages[1], 0) end setPlayerStorageValue(cid, storages[4], os.time() + mathtime(resetReward)) else doPlayerSendTextMessage(cid, 18, "Voce nao tem capacidade para ganhar o item. Vamos verificar novamente em 10 segundos!") addEvent(additem, 10000, cid, premio, premio_cont, premio_reset) end end end else doBroadcastMessage("O(a) ".. getCreatureName(cid) .." acabou de conquistar o ".. castle_one_name .." para a guild \"".. guildname .."\" pela ".. sto_vezes_total .."ª vez(s).", 22) doSendMagicEffect(position, 39) end else doPlayerSendCancel(cid, "O sistema está desativado") end else doPlayerSendCancel(cid, "É nescessario ter guild para dominar o castelo!") doSendMagicEffect(position, 2) end end function additem(cid, premio, premio_cont, premio_reset) if (not isPlayer(cid)) then stopEvent(additem) return true end if (getItemWeightById(premio, 1) <= getPlayerFreeCap(cid)) then doPlayerAddItem(cid, premio, premio_cont) doPlayerSendTextMessage(cid, 18, "Voce recebeu o(a) ".. getItemNameById(premio) .." como recompensa das suas ".. premio_vezes .." conquistas!") if (premio_reset == 1) then setPlayerStorageValue(cid, storages[1], 0) end setPlayerStorageValue(cid, storages[4], os.time() + mathtime(resetReward)) stopEvent(additem) else doPlayerSendTextMessage(cid, 18, "Voce nao tem capacidade para receber o item. Verificando novamente em 10 segundos!") addEvent(additem, 10000, cid) end end function isPlayerGuild(cid) if (getPlayerGuildName(cid) ~= "") then return true else return false end end
  4. Compilar cliente estendido

    Jhow ZL reagiu a ZeeroBR por uma resposta no tópico

    1 ponto
Líderes está configurado para São Paulo/GMT-03:00

Informação Importante

Confirmação de Termo