joao33 29 Postado Dezembro 4, 2011 Share Postado Dezembro 4, 2011 bom ta aew meu config galera ajudem digam onde eu ponho qntos frags no dia mes .. pega red skull e qnto tempo demora pra sair me ensinem a editar essa parte do config vlw rep mais++ accountManager = falsenamelockManager = true newPlayerChooseVoc = true newPlayerSpawnPosX = 32360 newPlayerSpawnPosY = 31782 newPlayerSpawnPosZ = 7 newPlayerTownId = 2 newPlayerLevel = 8 newPlayerMagicLevel = 2 generateAccountNumber = false redSkullLength = 1 * 24 * 60 * 60 blackSkullLength = 2 * 24 * 60 * 60 dailyFragsToRedSkull = 6 weeklyFragsToRedSkull = 20 monthlyFragsToRedSkull = 60 dailyFragsToBlackSkull = dailyFragsToRedSkull weeklyFragsToBlackSkull = weeklyFragsToRedSkull monthlyFragsToBlackSkull = monthlyFragsToRedSkull dailyFragsToBanishment = dailyFragsToRedSkull weeklyFragsToBanishment = weeklyFragsToRedSkull monthlyFragsToBanishment = monthlyFragsToRedSkull blackSkulledDeathHealth = 40 blackSkulledDeathMana = 0 useBlackSkull = true useFragHandler = true advancedFragList = true notationsToBan = 3 warningsToFinalBan = 4 warningsToDeletion = 5 banLength = 2 * 24 * 60 * 60 killsBanLength = 2 * 24 * 60 * 60 finalBanLength = 2 * 24 * 60 * 60 ipBanishmentLength = 2 * 24 * 60 * 60 broadcastBanishments = false maxViolationCommentSize = 200 violationNameReportActionType = 2 autoBanishUnknownBytes = false worldType = "open" protectionLevel = 50 pvpTileIgnoreLevelAndVocationProtection = true pzLocked = 60 * 1000 huntingDuration = 60 * 1000 criticalHitChance = 0 criticalHitMultiplier = 0 displayCriticalHitNotify = false removeWeaponAmmunition = false removeWeaponCharges = true removeRuneCharges = false whiteSkullTime = 10 * 60 * 1000 noDamageToSameLookfeet = false showHealingDamage = false showHealingDamageForMonsters = false fieldOwnershipDuration = 5 * 1000 stopAttackingAtExit = false oldConditionAccuracy = false loginProtectionPeriod = 10 * 1000 deathLostPercent = 10 stairhopDelay = 2 * 1000 pushCreatureDelay = 2 * 1000 deathContainerId = 1987 gainExperienceColor = 215 addManaSpentInPvPZone = true squareColor = 0 allowFightback = true worldId = 0 ip = "netflix.servegame.com" bindOnlyConfiguredIpAddress = false loginPort = 7171 gamePort = 7172 adminPort = 7171 statusPort = 7171 loginTries = 10 retryTimeout = 5 * 1000 loginTimeout = 60 * 1000 maxPlayers = 3000 motd = "BEM VINDOS" displayOnOrOffAtCharlist = false onePlayerOnlinePerAccount = false allowClones = false serverName = "Server" loginMessage = "Seja bem vindo ao Server" statusTimeout = 5 * 60 * 1000 replaceKickOnLogin = true forceSlowConnectionsToDisconnect = false loginOnlyWithLoginServer = false premiumPlayerSkipWaitList = false sqlType = "mysql" sqlHost = "localhost" sqlPort = 3306 sqlUser = "root" sqlPass = "" sqlDatabase = "otserv" sqlFile = "otserv.s3db" sqlKeepAlive = 0 mysqlReadTimeout = 5000 mysqlWriteTimeout = 5000 encryptionType = "sha1" deathListEnabled = true deathListRequiredTime = 2 * 60 * 1000 deathAssistCount = 19 maxDeathRecords = 5 ingameGuildManagement = false levelToFormGuild = 25 premiumDaysToFormGuild = 0 guildNameMinLength = 4 guildNameMaxLength = 20 highscoreDisplayPlayers = 10 updateHighscoresAfterMinutes = 15 buyableAndSellableHouses = true houseNeedPremium = true bedsRequirePremium = true levelToBuyHouse = 50 housesPerAccount = 0 houseRentAsPrice = false housePriceAsRent = false housePriceEachSquare = 5000 houseRentPeriod = "never" houseCleanOld = 0 guildHalls = true timeBetweenActions = 200 timeBetweenExActions = 1000 checkCorpseOwner = true hotkeyAimbotEnabled = true maximumDoorLevel = 500 mapName = "world.otbm" mapAuthor = "Natan" randomizeTiles = true useHouseDataStorage = false storeTrash = true cleanProtectedZones = true mailboxDisabledTowns = "-1" defaultPriority = "high" niceLevel = 5 coresUsed = "-1" optimizeDatabaseAtStartup = true removePremiumOnInit = true confirmOutdatedVersion = false maxMessageBuffer = 20 bufferMutedOnSpellFailure = false dataDirectory = "data/" allowChangeOutfit = true allowChangeColors = true allowChangeAddons = true disableOutfitsForPrivilegedPlayers = false bankSystem = true saveGlobalStorage = true displaySkillLevelOnAdvance = true spellNameInsteadOfWords = false emoteSpells = false promptExceptionTracerErrorBox = true storePlayerDirection = false monsterLootMessage = 3 monsterLootMessageType = 25 separateViplistPerCharacter = false ghostModeInvisibleEffect = true ghostModeSpellEffects = true idleWarningTime = 14 * 60 * 1000 idleKickTime = 15 * 60 * 1000 expireReportsAfterReads = 1 playerQueryDeepness = 2 maxItemsPerPZTile = 0 maxItemsPerHouseTile = 0 freePremium = true premiumForPromotion = true blessingOnlyPremium = true blessingReductionBase = 30 blessingReductionDecreament = 5 eachBlessReduction = 8 experienceStages = true rateExperience = 50.0 rateExperienceFromPlayers = 0 rateSkill = 85 rateMagic = 65 rateLoot = 8 rateSpawn = 2 rateMonsterHealth = 1.0 rateMonsterMana = 1.0 rateMonsterAttack = 1.0 rateMonsterDefense = 1.0 minLevelThresholdForKilledPlayer = 0.9 maxLevelThresholdForKilledPlayer = 1.1 rateStaminaLoss = 1 rateStaminaGain = 3 rateStaminaThresholdGain = 12 staminaRatingLimitTop = 41 * 60 staminaRatingLimitBottom = 14 * 60 rateStaminaAboveNormal = 1.5 rateStaminaUnderNormal = 0.5 staminaThresholdOnlyPremium = true experienceShareRadiusX = 30 experienceShareRadiusY = 30 experienceShareRadiusZ = 1 experienceShareLevelDifference = 2 / 3 extraPartyExperienceLimit = 20 extraPartyExperiencePercent = 5 experienceShareActivity = 2 * 60 * 1000 globalSaveEnabled = false globalSaveHour = 1 shutdownAtGlobalSave = false cleanMapAtGlobalSave = false deSpawnRange = 2 deSpawnRadius = 50 maxPlayerSummons = 2 teleportAllSummons = false teleportPlayerSummons = false ownerName = "God server" ownerEmail = "natanbeckman@hotmail.com" url = "http://www.server.com" displayGamemastersWithOnlineCommand = true adminLogsEnabled = false displayPlayersLogging = true prefixChannelLogs = "" runFile = "" outLogName = "" errorLogName = "" truncateLogsOnStartup = false Link para o comentário https://xtibia.com/forum/topic/174217-red-black-skull/ Compartilhar em outros sites More sharing options...
dreigon67 16 Postado Dezembro 4, 2011 Share Postado Dezembro 4, 2011 redSkullLength = 1 * 24 * 60 * 60 -- tempo em que o red skull ficará blackSkullLength = 2 * 24 * 60 * 60 --tempo em que o black skull ficará dailyFragsToRedSkull = 6 --frags diarios para red skull weeklyFragsToRedSkull = 20 --frags semanais para pegar red skull monthlyFragsToRedSkull = 60 -- frags mensais para pegar red skull dailyFragsToBlackSkull = dailyFragsToRedSkull --frags diarios para black(acho melhor n mecher) weeklyFragsToBlackSkull = weeklyFragsToRedSkull --frags seemanais para black(acho melhor n mecher) monthlyFragsToBlackSkull = monthlyFragsToRedSkull --frags mensais para black(acho melhor n mecher) dailyFragsToBanishment = dailyFragsToRedSkull weeklyFragsToBanishment = weeklyFragsToRedSkull monthlyFragsToBanishment = monthlyFragsToRedSkull blackSkulledDeathHealth = 40 blackSkulledDeathMana = 0 useBlackSkull = true useFragHandler = true advancedFragList = true Link para o comentário https://xtibia.com/forum/topic/174217-red-black-skull/#findComment-1144323 Compartilhar em outros sites More sharing options...
joao33 29 Postado Dezembro 4, 2011 Autor Share Postado Dezembro 4, 2011 eu ja tinha entendido aquilo mais nao entendi mesmo essa parte redSkullLength = 1 * 24 * 60 * 60 -- tempo em que o red skull ficará blackSkullLength = 2 * 24 * 60 * 60 --tempo em que o black skull ficará QUAL NUMERO QUE REPRESENTA OS DIAS Q IRÁ FICAR???? PQ EU PUIS NO MEU OT TEM GENTE Q FIKO MO TEMPAO 3 DIAS. DE RED SKULL E TALZ E NAO SAIU Link para o comentário https://xtibia.com/forum/topic/174217-red-black-skull/#findComment-1144331 Compartilhar em outros sites More sharing options...
dreigon67 16 Postado Dezembro 4, 2011 Share Postado Dezembro 4, 2011 (editado) qual seu ot? e seu loader? pq isso muda de ot para ot redSkullLength = 1(dia) * 24(horas) * 60 (minutos)* 60(segundos) -- tempo em que o red skull ficará blackSkullLength = 2 (dia)* 24(hora) * 60 (minuto)* 60(segundos) --tempo em que o black skull ficará é assim que o meu ot é configurado ----------------edit---------------- e se não funcionar eu explico como funciona: Funciona assim: o tempo é em milissegundos, ou seja: 1000 = 1 segundo, mas para facilitar, é dividido esse tempo assim: 1000 = 1 segundo; * = vezes. ou seja coloca 1000 * 60 é igual a 60 segundos ai vai aumentando de minuto em minuto, assim: 1000 * 60 * 60 (1 hora) 1000 * 60 * 60 * 24 (1 dia) e assim por diante... o * (vezes) é só patra facilitar a organização Fonte: LucasM010203 Editado Dezembro 4, 2011 por Epyrus Link para o comentário https://xtibia.com/forum/topic/174217-red-black-skull/#findComment-1144337 Compartilhar em outros sites More sharing options...
joao33 29 Postado Dezembro 4, 2011 Autor Share Postado Dezembro 4, 2011 N entendi configura dos dois modos pra mim?? tipow quero q red dure 2 dias black 3 plx te do 2 rep + se vc configurar certo Link para o comentário https://xtibia.com/forum/topic/174217-red-black-skull/#findComment-1144347 Compartilhar em outros sites More sharing options...
dreigon67 16 Postado Dezembro 4, 2011 Share Postado Dezembro 4, 2011 ok, do primeiro jeito ficaria assim exatamente assim: redSkullLength = 2 *0* 0 * 0 -- tempo em que o red skull ficará blackSkullLength = 3 *0* 0* 0 --tempo em que o black skull ficará do segundo assim: redSkullLength = 2 *12* 60 * 60 -- tempo em que o red skull ficará blackSkullLength = 2 *24* 60* 60 --tempo em que o black skull ficará n sou mt bom com essa parte do lua mas acho q um dos dois estão certo teste os dois Link para o comentário https://xtibia.com/forum/topic/174217-red-black-skull/#findComment-1144362 Compartilhar em outros sites More sharing options...
joao33 29 Postado Dezembro 4, 2011 Autor Share Postado Dezembro 4, 2011 vo ver se vai funfa se funfa eu do rep mais amanha Link para o comentário https://xtibia.com/forum/topic/174217-red-black-skull/#findComment-1144411 Compartilhar em outros sites More sharing options...
Vinc 101 Postado Dezembro 4, 2011 Share Postado Dezembro 4, 2011 @Epyrus o primeiro n é, é o segundo mesmo porque se fosse pra separa as string usaria-se uma virgula, n asterisco asterisco em lua é reservado para multiplicações. Link para o comentário https://xtibia.com/forum/topic/174217-red-black-skull/#findComment-1144595 Compartilhar em outros sites More sharing options...
dreigon67 16 Postado Dezembro 4, 2011 Share Postado Dezembro 4, 2011 tinha esquecido disso até pq depois vi q tava 0 vezes 2 O,o Link para o comentário https://xtibia.com/forum/topic/174217-red-black-skull/#findComment-1144597 Compartilhar em outros sites More sharing options...
joao33 29 Postado Dezembro 6, 2011 Autor Share Postado Dezembro 6, 2011 Nao entendi Qual o geito que irá resolver meu problema??? pq do 1 método só alguns red sairam e outros nao Link para o comentário https://xtibia.com/forum/topic/174217-red-black-skull/#findComment-1145931 Compartilhar em outros sites More sharing options...
dreigon67 16 Postado Dezembro 6, 2011 Share Postado Dezembro 6, 2011 o 2º metodo Link para o comentário https://xtibia.com/forum/topic/174217-red-black-skull/#findComment-1146044 Compartilhar em outros sites More sharing options...
joao33 29 Postado Dezembro 6, 2011 Autor Share Postado Dezembro 6, 2011 Oks mai so método dois quanto tempo o red vai fikar e o black? Link para o comentário https://xtibia.com/forum/topic/174217-red-black-skull/#findComment-1146472 Compartilhar em outros sites More sharing options...
jhon992 371 Postado Dezembro 7, 2011 Share Postado Dezembro 7, 2011 (editado) Assim tu vai entender melhor: redSkullLength = 30 * 24 * 60 * 60 blackSkullLength = 45 * 24 * 60 * 60 No redSkullLength e no blackSkullLength muda apenas a primeira parte se quiser apenas alterar os dias, 30 = 30 dias. Muda como desejar. Ou seja, no script acima o red dura 30 dias e o black 45 dias. Se quiser 24 hras ou menos usa assim: redSkullLength = 24 * 60 * 60 blackSkullLength = 22 * 60 * 60 E muda o 24 como quiser. Ou seja, no script acima o red dura 24 hras e o black 22 hras. É isso aew, acho que esta bem explicado. Créditos pro @Epyrus! Editado Dezembro 7, 2011 por Jhon992 Link para o comentário https://xtibia.com/forum/topic/174217-red-black-skull/#findComment-1146490 Compartilhar em outros sites More sharing options...
joao33 29 Postado Dezembro 7, 2011 Autor Share Postado Dezembro 7, 2011 Hj dei o rep pro epyrus amanha eu dou o teu espero que funcione vlw Link para o comentário https://xtibia.com/forum/topic/174217-red-black-skull/#findComment-1146621 Compartilhar em outros sites More sharing options...
Posts Recomendados