Ir para conteúdo
  • Cadastre-se

(Resolvido)Spear infinita


Ir para solução Resolvido por tataboy67,

Posts Recomendados

GALERA SEGUINTE, ABRI UM OT E PALADINOS ESTÃO QUASE ME AGREDINDO POR A SPEARS ESTAR ACABANDO, TAI MEU WEAPONS.XML APARTI DO ID DO ITEM, NO CASO O 2389, QUERO DEIXAR O MESMO INFINITO. ONDE MODIFICAR?

 

 

<!-- Distance weapons -->
<distance id="2389" range="6" enabled="1" exhaustion="0" script="spear.lua"></distance>
<distance id="2545" range="6" enabled="1" exhaustion="0" hitchance="80" script="poison arrow.lua"></distance>
<distance id="2546" range="6" enabled="1" exhaustion="0" hitchance="80" script="explosive arrow.lua"></distance>
<distance id="7367" range="6" enabled="1" exhaustion="0" script="enchanted spear.lua"></distance>
<distance id="7364" range="6" enabled="1" exhaustion="0" hitchance="100" script="sniper arrow.lua"></distance>
<distance id="7363" range="6" enabled="1" exhaustion="0" hitchance="100" script="piercing bolt.lua"></distance>
<distance id="7365" range="6" enabled="1" exhaustion="0" hitchance="60" script="onyx arrow.lua"></distance>
<distance id="7378" range="6" enabled="1" exhaustion="0" script="royal spear.lua"></distance>
<distance id="3965" range="6" enabled="1" exhaustion="0" script="hunting spear.lua"></distance>
<distance id="7850" range="6" enabled="1" exhaustion="0" hitchance="80" script="earth arrow.lua"></distance>

 

 

Link para o post
Compartilhar em outros sites

@magrelo751 
Se eu não estou enganado tem uma variavel dentro do config.lua que você modifica...
O problema é que eu estou fora de casa e não vou conseguir ver qual é, mas é weapons alguma coisa kk, tenta procurar por weapons...

Link para o post
Compartilhar em outros sites
43 minutos atrás, tataboy67 disse:

@magrelo751 
Se eu não estou enganado tem uma variavel dentro do config.lua que você modifica...
O problema é que eu estou fora de casa e não vou conseguir ver qual é, mas é weapons alguma coisa kk, tenta procurar por weapons...

 

Olha, eu encontrei um arquivo da spear

local combat = createCombatObject()
setCombatParam(combat, COMBAT_PARAM_BLOCKARMOR, 1)
setCombatParam(combat, COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE)
setCombatParam(combat, COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SPEAR)
setCombatFormula(combat, COMBAT_FORMULA_SKILL, -0.3, -30, -0.8, -30)

function onUseWeapon(cid, var)
    return doCombat(cid, combat, var)
end

 

logo abaixo segue o arquivo que você pediu, weapons.xml

<?xml version="1.0"?>
<weapons>
<!-- Donator and Rich Weapons -->
<wand id="11112" range="8" lvl="1000" mana="1000" enabled="1" exhaustion="0" script="uprich rod.lua"><vocation id="1"/><vocation id="5"/><vocation id="2"/><vocation id="6"/></wand>
<wand id="7451" range="7" lvl="1000" mana="500" enabled="1" exhaustion="0" script="rich rod.lua"><vocation id="1"/><vocation id="5"/><vocation id="2"/><vocation id="6"/></wand>
<wand id="6534" range="7" lvl="1000" mana="500" enabled="1" exhaustion="0" script="rich Wand.lua"><vocation id="1"/><vocation id="5"/></wand>
<wand id="10943" range="8" lvl="1000" mana="1000" enabled="1" exhaustion="0" script="uprich Wand.lua"><vocation id="1"/><vocation id="5"/></wand>
<!-- Rods -->
<wand id="2182" range="4" lvl="1" mana="0" enabled="1" exhaustion="0" script="snakebite rod.lua"><vocation id="2"/><vocation id="6"/></wand>
<wand id="2186" range="3" lvl="13" mana="3" enabled="1" exhaustion="0" script="moonlight rod.lua"><vocation id="2"/><vocation id="6"/></wand>
<wand id="2185" range="2" lvl="19" mana="5" enabled="1" exhaustion="0" script="necrotic rod.lua"><vocation id="2"/><vocation id="6"/></wand>
<wand id="2181" range="1" lvl="26" mana="8" enabled="1" exhaustion="0" script="terra rod.lua"><vocation id="2"/><vocation id="6"/></wand>
<wand id="2183" range="3" lvl="33" mana="13" enabled="1" exhaustion="0" script="hailstorm rod.lua"><vocation id="2"/><vocation id="6"/></wand>
<wand id="7409" range="4" lvl="75" mana="13" enabled="1" exhaustion="0" script="Frigo Rod.lua"><vocation id="2"/><vocation id="6"/></wand>
<wand id="7426" range="6" lvl="1000" mana="13" enabled="1" exhaustion="0" script="Donated Ring Wand.lua"><vocation id="2"/><vocation id="6"/></wand>
<!-- Wands -->
<wand id="2190" range="4" lvl="1" mana="0" enabled="1" exhaustion="0" script="wand of vortex.lua"><vocation id="1"/><vocation id="5"/></wand>
<wand id="2191" range="3" lvl="13" mana="3" enabled="1" exhaustion="0" script="wand of dragonbreath.lua"><vocation id="1"/><vocation id="5"/></wand>
<wand id="2188" range="2" lvl="19" mana="5" enabled="1" exhaustion="0" script="wand of decay.lua"><vocation id="1"/><vocation id="5"/></wand>
<wand id="2189" range="1" lvl="26" mana="8" enabled="1" exhaustion="0" script="wand of cosmic energy.lua"><vocation id="1"/><vocation id="5"/></wand>
<wand id="2187" range="3" lvl="33" mana="13" enabled="1" exhaustion="0" script="wand of inferno.lua"><vocation id="1"/><vocation id="5"/></wand>
<wand id="7410" range="4" lvl="75" mana="25" enabled="1" exhaustion="0" script="SD Wand.lua"><vocation id="1"/><vocation id="5"/></wand>
<wand id="7958" range="7" lvl="1000" mana="13" enabled="1" exhaustion="0" script="Donated SD Wand.lua"><vocation id="1"/><vocation id="5"/></wand>
<wand id="7424" range="7" lvl="75" mana="13" enabled="1" exhaustion="0" script="Heart wand.lua"><vocation id="1"/><vocation id="5"/><vocation id="2"/><vocation id="6"/></wand>
<wand id="2184" range="7" lvl="75" mana="13" enabled="1" exhaustion="0" script="newwand.lua"><vocation id="1"/><vocation id="5"/><vocation id="2"/><vocation id="6"/></wand>
<wand id="7425" range="7" lvl="1000" mana="13" enabled="1" exhaustion="0" script="legend.lua"><vocation id="1"/><vocation id="5"/><vocation id="2"/><vocation id="6"/></wand>
<!-- Distance weapons -->
<distance id="2389" range="6" enabled="1" exhaustion="0" script="spear.lua"></distance>
<distance id="2545" range="6" enabled="1" exhaustion="0" hitchance="80" script="poison arrow.lua"></distance>
<distance id="2546" range="6" enabled="1" exhaustion="0" hitchance="80" script="explosive arrow.lua"></distance>
<distance id="7367" range="6" enabled="1" exhaustion="0" script="enchanted spear.lua"></distance>
<distance id="7364" range="6" enabled="1" exhaustion="0" hitchance="100" script="sniper arrow.lua"></distance>
<distance id="7363" range="6" enabled="1" exhaustion="0" hitchance="100" script="piercing bolt.lua"></distance>
<distance id="7365" range="6" enabled="1" exhaustion="0" hitchance="60" script="onyx arrow.lua"></distance>
<distance id="7378" range="6" enabled="1" exhaustion="0" script="royal spear.lua"></distance>
<distance id="3965" range="6" enabled="1" exhaustion="0" script="hunting spear.lua"></distance>
<distance id="7850" range="6" enabled="1" exhaustion="0" hitchance="80" script="earth arrow.lua"></distance>

<!-- Enchanted Weapons -->
<wand id="12288" range="10" lvl="1000" mana="15" enabled="1" exhaustion="0" script="MillionaryStaff.lua">
<vocation id="1"/>
<vocation id="5"/>
<vocation id="2"/>
<vocation id="6"/>
</wand>

<!-- Terra Weapons -->
<melee id="7854" enabled="1" exhaustion="0" hitchance="80" script="terra weapons.lua"></melee>
<melee id="7855" enabled="1" exhaustion="0" hitchance="80" script="terra weapons.lua"></melee>
<melee id="7856" enabled="1" exhaustion="0" hitchance="80" script="terra weapons.lua"></melee>
<melee id="7857" enabled="1" exhaustion="0" hitchance="80" script="terra weapons.lua"></melee>
<melee id="7858" enabled="1" exhaustion="0" hitchance="80" script="terra weapons.lua"></melee>
<melee id="7859" enabled="1" exhaustion="0" hitchance="80" script="terra weapons.lua"></melee>
<melee id="7860" enabled="1" exhaustion="0" hitchance="80" script="terra weapons.lua"></melee>
<melee id="7861" enabled="1" exhaustion="0" hitchance="80" script="terra weapons.lua"></melee>
<melee id="7862" enabled="1" exhaustion="0" hitchance="80" script="terra weapons.lua"></melee>
<melee id="7863" enabled="1" exhaustion="0" hitchance="80" script="terra weapons.lua"></melee>
<melee id="7864" enabled="1" exhaustion="0" hitchance="80" script="terra weapons.lua"></melee>
<melee id="7865" enabled="1" exhaustion="0" hitchance="80" script="terra weapons.lua"></melee>
<melee id="7866" enabled="1" exhaustion="0" hitchance="80" script="terra weapons.lua"></melee>
<melee id="7867" enabled="1" exhaustion="0" hitchance="80" script="terra weapons.lua"></melee>
<melee id="7868" enabled="1" exhaustion="0" hitchance="80" script="terra weapons.lua"></melee>
<!-- Energy Weapons -->
<melee id="7869" enabled="1" exhaustion="0" hitchance="80" script="en weapons.lua"></melee>
<melee id="7870" enabled="1" exhaustion="0" hitchance="80" script="en weapons.lua"></melee>
<melee id="7871" enabled="1" exhaustion="0" hitchance="80" script="en weapons.lua"></melee>
<melee id="7872" enabled="1" exhaustion="0" hitchance="80" script="en weapons.lua"></melee>
<melee id="7873" enabled="1" exhaustion="0" hitchance="80" script="en weapons.lua"></melee>
<melee id="7874" enabled="1" exhaustion="0" hitchance="80" script="en weapons.lua"></melee>
<melee id="7875" enabled="1" exhaustion="0" hitchance="80" script="en weapons.lua"></melee>
<melee id="7876" enabled="1" exhaustion="0" hitchance="80" script="en weapons.lua"></melee>
<melee id="7877" enabled="1" exhaustion="0" hitchance="80" script="en weapons.lua"></melee>
<melee id="7878" enabled="1" exhaustion="0" hitchance="80" script="en weapons.lua"></melee>
<melee id="7879" enabled="1" exhaustion="0" hitchance="80" script="en weapons.lua"></melee>
<melee id="7880" enabled="1" exhaustion="0" hitchance="80" script="en weapons.lua"></melee>
<melee id="7881" enabled="1" exhaustion="0" hitchance="80" script="en weapons.lua"></melee>
<melee id="7882" enabled="1" exhaustion="0" hitchance="80" script="en weapons.lua"></melee>
<melee id="7883" enabled="1" exhaustion="0" hitchance="80" script="en weapons.lua"></melee>
<!-- Fire Weapons -->
<melee id="7744" enabled="1" exhaustion="0" hitchance="80" script="fire weapons.lua"></melee>
<melee id="7745" enabled="1" exhaustion="0" hitchance="80" script="fire weapons.lua"></melee>
<melee id="7746" enabled="1" exhaustion="0" hitchance="80" script="fire weapons.lua"></melee>
<melee id="7747" enabled="1" exhaustion="0" hitchance="80" script="fire weapons.lua"></melee>
<melee id="7748" enabled="1" exhaustion="0" hitchance="80" script="fire weapons.lua"></melee>
<melee id="7749" enabled="1" exhaustion="0" hitchance="80" script="fire weapons.lua"></melee>
<melee id="7750" enabled="1" exhaustion="0" hitchance="80" script="fire weapons.lua"></melee>
<melee id="7751" enabled="1" exhaustion="0" hitchance="80" script="fire weapons.lua"></melee>
<melee id="7752" enabled="1" exhaustion="0" hitchance="80" script="fire weapons.lua"></melee>
<melee id="7753" enabled="1" exhaustion="0" hitchance="80" script="fire weapons.lua"></melee>
<melee id="7754" enabled="1" exhaustion="0" hitchance="80" script="fire weapons.lua"></melee>
<melee id="7755" enabled="1" exhaustion="0" hitchance="80" script="fire weapons.lua"></melee>
<melee id="7756" enabled="1" exhaustion="0" hitchance="80" script="fire weapons.lua"></melee>
<melee id="7757" enabled="1" exhaustion="0" hitchance="80" script="fire weapons.lua"></melee>
<melee id="7758" enabled="1" exhaustion="0" hitchance="80" script="fire weapons.lua"></melee>
<!-- Ice Weapons -->
<melee id="7763" enabled="1" exhaustion="0" hitchance="80" script="ice weapons.lua"></melee>
<melee id="7764" enabled="1" exhaustion="0" hitchance="80" script="ice weapons.lua"></melee>
<melee id="7765" enabled="1" exhaustion="0" hitchance="80" script="ice weapons.lua"></melee>
<melee id="7766" enabled="1" exhaustion="0" hitchance="80" script="ice weapons.lua"></melee>
<melee id="7767" enabled="1" exhaustion="0" hitchance="80" script="ice weapons.lua"></melee>
<melee id="7768" enabled="1" exhaustion="0" hitchance="80" script="ice weapons.lua"></melee>
<melee id="7769" enabled="1" exhaustion="0" hitchance="80" script="ice weapons.lua"></melee>
<melee id="7770" enabled="1" exhaustion="0" hitchance="80" script="ice weapons.lua"></melee>
<melee id="7771" enabled="1" exhaustion="0" hitchance="80" script="ice weapons.lua"></melee>
<melee id="7772" enabled="1" exhaustion="0" hitchance="80" script="ice weapons.lua"></melee>
<melee id="7773" enabled="1" exhaustion="0" hitchance="80" script="ice weapons.lua"></melee>
<melee id="7774" enabled="1" exhaustion="0" hitchance="80" script="ice weapons.lua"></melee>
<melee id="7775" enabled="1" exhaustion="0" hitchance="80" script="ice weapons.lua"></melee>
<melee id="7776" enabled="1" exhaustion="0" hitchance="80" script="ice weapons.lua"></melee>
<melee id="7777" enabled="1" exhaustion="0" hitchance="80" script="ice weapons.lua"></melee>
</weapons>

Link para o post
Compartilhar em outros sites

-- The Forgotten Server Config

    -- Account manager
    accountManager = true
    namelockManager = true
    newPlayerChooseVoc = true
    newPlayerSpawnPosX = 1000    
    newPlayerSpawnPosY = 1000
    newPlayerSpawnPosZ = 7
    newPlayerTownId = 1
    newPlayerLevel = 8
    newPlayerMagicLevel = 0
    generateAccountNumber = false

    -- Auto Combo Dedecter
     comboTime = 100
        comboMembers = 2
        comboFriends = 3
        comboFriendsClearTime = 5 * 60 * 1000
        comboFriendsClearInterval = 1 * 60 * 1000
        comboShowAnimation = 1  

    -- Damage Guild/Party --
    noDamageToGuildMates = false -- if true then no damage, if false then damage
    noDamageToPartyMembers = false -- if true then no damage, if false then damage


    -- Unjustified kills
    -- NOTE: *Banishment and *BlackSkull variables are >summed up<
    -- (dailyFragsToRedSkull + dailyFragsToBanishment) with their
    -- *RedSkull equivalents.
    -- Auto banishing works only if useBlackSkull set to negative.
    -- advancedFragList is not advised if you use huge frags
    -- requirements.
    redSkullLength = 30 * 24 * 60 * 60
    blackSkullLength = 45 * 24 * 60 * 60
    dailyFragsToRedSkull = 3
    weeklyFragsToRedSkull = 5
    monthlyFragsToRedSkull = 10
    dailyFragsToBlackSkull = dailyFragsToRedSkull
    weeklyFragsToBlackSkull = weeklyFragsToRedSkull
    monthlyFragsToBlackSkull = monthlyFragsToRedSkull
    dailyFragsToBanishment = dailyFragsToRedSkull
    weeklyFragsToBanishment = weeklyFragsToRedSkull
    monthlyFragsToBanishment = monthlyFragsToRedSkull
    blackSkulledDeathHealth = 40
    blackSkulledDeathMana = 0
    useBlackSkull = true
    useFragHandler = true
    advancedFragList = false

    -- Banishments
    -- violationNameReportActionType 1 = just a report, 2 = name lock, 3 = player banishment
    -- killsBanLength works only if useBlackSkull option is disabled.
    notationsToBan = 3
    warningsToFinalBan = 4
    warningsToDeletion = 5
    banLength = 7 * 24 * 60 * 60
    killsBanLength = 7 * 24 * 60 * 60
    finalBanLength = 30 * 24 * 60 * 60
    ipBanishmentLength = 1 * 24 * 60 * 60
    broadcastBanishments = true
    maxViolationCommentSize = 200
    violationNameReportActionType = 2
    autoBanishUnknownBytes = false

    -- Battle
    -- NOTE: showHealingDamageForMonsters inheritates from showHealingDamage.
    -- loginProtectionPeriod is the famous Tibia anti-magebomb system.
    -- deathLostPercent set to nil enables manual mode.
    worldType = "pvp"
    protectionLevel = 1
    pvpTileIgnoreLevelAndVocationProtection = true
    pzLocked = 30 * 100
    huntingDuration = 60 * 1000
    criticalHitChance = 7
    criticalHitMultiplier = 1
    displayCriticalHitNotify = true
    removeWeaponAmmunition = false
    removeWeaponCharges = false
    removeRuneCharges = false
    whiteSkullTime = 15 * 30 * 100
    noDamageToSameLookfeet = false
    showHealingDamage = true
    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

    -- Connection config
    worldId = 0
    ip = "hollywood.servegame.com"
    bindOnlyConfiguredIpAddress = false
    loginPort = 7171
    gamePort = 7172
    adminPort = 7171
    statusPort = 7171
    loginTries = 10
    retryTimeout = 5 * 1000
    loginTimeout = 60 * 1000
    maxPlayers = 1000
    motd = "Sejam Bem-Vindos ao HollyDooD, tenha um bom jogo!"
    displayOnOrOffAtCharlist = false
    onePlayerOnlinePerAccount = true
    allowClones = false
    serverName = "HollyWooD 8.60"
    loginMessage = "Sejam Bem-Vindos ao HollyDooD"
    statusTimeout = 5 * 60 * 1000
    replaceKickOnLogin = true
    forceSlowConnectionsToDisconnect = false
    loginOnlyWithLoginServer = false
    premiumPlayerSkipWaitList = false

    -- Database
    -- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
    -- To disable sqlKeepAlive such as mysqlReadTimeout use 0 value.
    sqlType = "sqlite"
    sqlHost = "localhost"
    sqlPort = 3306
    sqlUser = "root"
    sqlPass = ""
    sqlDatabase = "theforgottenserver"
    sqlFile = "forgottenserver.s3db"
    sqlKeepAlive = 0
    mysqlReadTimeout = 10
    mysqlWriteTimeout = 10
    encryptionType = "plain"

    -- Deathlist
    deathListEnabled = true
    deathListRequiredTime = 1 * 60 * 1000
    deathAssistCount = 19
    maxDeathRecords = 5

    -- Guilds
    ingameGuildManagement = true
    levelToFormGuild = 8
    premiumDaysToFormGuild = 0
    guildNameMinLength = 4
    guildNameMaxLength = 20

    -- Highscores
    highscoreDisplayPlayers = 15
    updateHighscoresAfterMinutes = 60

    -- Houses
    buyableAndSellableHouses = true
    houseNeedPremium = true
    bedsRequirePremium = true
    levelToBuyHouse = 1
    housesPerAccount = 0
    houseRentAsPrice = false
    housePriceAsRent = false
    housePriceEachSquare = 1000
    houseRentPeriod = "never"
    houseCleanOld = 0
    guildHalls = false

    -- Item usage
    timeBetweenActions = 200
    timeBetweenExActions = 1000
    hotkeyAimbotEnabled = true

    -- Map
    -- NOTE: storeTrash costs more memory, but will perform alot faster cleaning.
    mapName = "test"
    mapAuthor = "Komic"
    randomizeTiles = true
    storeTrash = true
    cleanProtectedZones = true
    mailboxDisabledTowns = "-1"

    -- Process
    -- NOTE: defaultPriority works only on Windows and niceLevel on *nix
    -- coresUsed are seperated by comma cores ids used by server process,
    -- default is -1, so it stays untouched (automaticaly assigned by OS).
    defaultPriority = "high"
    niceLevel = 5
    coresUsed = "-1"

    -- Startup
    optimizeDatabaseAtStartup = true
    removePremiumOnInit = true
    confirmOutdatedVersion = false

    -- Spells
    formulaLevel = 5.0
    formulaMagic = 1.0
    bufferMutedOnSpellFailure = false
    spellNameInsteadOfWords = false
    emoteSpells = true

    -- Outfits
    allowChangeOutfit = true
    allowChangeColors = true
    allowChangeAddons = true
    disableOutfitsForPrivilegedPlayers = false
    addonsOnlyPremium = true

    -- Miscellaneous
    -- NOTE: promptExceptionTracerErrorBox works only with precompiled support feature,
    -- called "exception tracer" (__EXCEPTION_TRACER__ flag).
    dataDirectory = "data/"
    bankSystem = true
    displaySkillLevelOnAdvance = false
    promptExceptionTracerErrorBox = true
    separateViplistPerCharacter = false
    maximumDoorLevel = 500
    maxMessageBuffer = 4

    -- Saving-related
    -- useHouseDataStorage usage may be found at README.
    saveGlobalStorage = true
    useHouseDataStorage = false
    storePlayerDirection = false

    -- Loot
    -- monsterLootMessage 0 to disable, 1 - only party, 2 - only player, 3 - party or player (like Tibia's)
    checkCorpseOwner = true
    monsterLootMessage = 3
    monsterLootMessageType = 25

    -- Ghost mode
    ghostModeInvisibleEffect = false
    ghostModeSpellEffects = true

    -- Limits
    idleWarningTime = 14 * 60 * 1000
    idleKickTime = 15 * 60 * 1000
    expireReportsAfterReads = 1
    playerQueryDeepness = 2
    maxItemsPerPZTile = 0
    maxItemsPerHouseTile = 0

    -- Premium-related
    freePremium = false
    premiumForPromotion = true

    -- Blessings
    -- NOTE: blessingReduction* regards items/containers loss.
    -- eachBlessReduction is how much each bless reduces the experience/magic/skills loss.
    blessingOnlyPremium = true
    blessingReductionBase = 30
    blessingReductionDecreament = 5
    eachBlessReduction = 8

    -- Rates
    -- NOTE: experienceStages configuration is located in data/XML/stages.xml.
    -- rateExperienceFromPlayers 0 to disable.
    experienceStages = true
    rateExperience = 5.0
    rateExperienceFromPlayers = 0
    rateSkill = 3.0
    rateMagic = 3.0
    rateLoot = 2.0
    rateSpawn = 1

    -- Monster rates
    rateMonsterHealth = 1.0
    rateMonsterMana = 1.0
    rateMonsterAttack = 1.0
    rateMonsterDefense = 1.0

    -- Experience from players
    -- NOTE: min~Threshold* set to 0 will disable the minimum threshold:
    -- player will gain experience from every lower leveled player.
    -- max~Threshold* set to 0 will disable the maximum threshold:
    -- player will gain experience from every higher leveled player.
    minLevelThresholdForKilledPlayer = 0.9
    maxLevelThresholdForKilledPlayer = 1.1

    -- Stamina
    -- NOTE: Stamina is stored in miliseconds, so seconds are multiplied by 1000.
    -- rateStaminaHits multiplies every hit done a creature, which are later
    -- multiplied by player attack speed.
    -- rateStaminaGain is divider of every logged out second, eg:
    -- 60000 / 3 = 20000 milliseconds, what gives 20 stamina seconds for 1 minute being logged off.
    -- rateStaminaThresholdGain is divider for the premium stamina.
    -- staminaRatingLimit* is in minutes.
    rateStaminaLoss = 1
    rateStaminaGain = 3
    rateStaminaThresholdGain = 12
    staminaRatingLimitTop = 41 * 60
    staminaRatingLimitBottom = 14 * 60
    rateStaminaAboveNormal = 1.5
    rateStaminaUnderNormal = 0.5
    staminaThresholdOnlyPremium = true

    -- Party
    -- NOTE: experienceShareLevelDifference is float number.
    -- experienceShareLevelDifference is highestLevel * value
    experienceShareRadiusX = 30
    experienceShareRadiusY = 30
    experienceShareRadiusZ = 1
    experienceShareLevelDifference = 2 / 3
    extraPartyExperienceLimit = 20
    extraPartyExperiencePercent = 5
    experienceShareActivity = 2 * 60 * 1000

    -- Global save
    -- NOTE: globalSaveHour means like 03:00, not that it will save every 3 hours,
    -- if you want such a system please check out data/globalevents/globalevents.xml.
    globalSaveEnabled = false
    globalSaveHour = 8
    shutdownAtGlobalSave = true
    cleanMapAtGlobalSave = false

    -- Spawns
    deSpawnRange = 2
    deSpawnRadius = 50

    -- Summons
    maxPlayerSummons = 2
    teleportAllSummons = false
    teleportPlayerSummons = false

    -- Status
    ownerName = ""
    ownerEmail = "@otland.net"
    url = "http://otland.net/"
    location = "Europe"
    displayGamemastersWithOnlineCommand = false

    -- Logs
    -- NOTE: This kind of logging does not work in GUI version.
    -- For such, please compile the software with __GUI_LOGS__ flag.
    adminLogsEnabled = false
    displayPlayersLogging = true
    prefixChannelLogs = ""
    runFile = ""
    outLogName = ""
    errorLogName = ""
    truncateLogsOnStartup = false
 

6 horas atrás, tataboy67 disse:

@magrelo751 
Se eu não estou enganado tem uma variavel dentro do config.lua que você modifica...
O problema é que eu estou fora de casa e não vou conseguir ver qual é, mas é weapons alguma coisa kk, tenta procurar por weapons...

 

Volte me ajudar, quando estiver disponivel, grato desde já!

Link para o post
Compartilhar em outros sites
  • Solução

@magrelo751 
removeWeaponAmmunition = false
Mude para true

Link para o post
Compartilhar em outros sites
19 horas atrás, tataboy67 disse:

@magrelo751 
removeWeaponAmmunition = false
Mude para true

 

 

19 horas atrás, tataboy67 disse:

@magrelo751 
removeWeaponAmmunition = false
Mude para true

 

Assim que chegar em casa eu testo, obrigado amigo! Como dou rep+

Link para o post
Compartilhar em outros sites
Em 08/10/2018 em 16:27, tataboy67 disse:

@magrelo751 
removeWeaponAmmunition = false
Mude para true

 

Ainda continua gastando spear, mas alguma sugestão?

Link para o post
Compartilhar em outros sites
  • 1 year later...

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo