Ir para conteúdo
  • Cadastre-se

Scripting Bug, Player Não Tira Dano De Outro Player


Posts Recomendados

Eu Posso Está Postando No Lugar Errado, Movam Para O Lugar Certo Por Favor

 

Eu Uso A Distro OTX 2.90, Meu Servidor É 8.6, Eu Não Faço A Minima Ideia De Que Está Causando Esse Erro, Eu Apenas Vou Deixar Alguns Arquivos Ai Em Baixo, Eu Não Sei Se Esse Bug Começou Antes Ou Depois Que Eu Tirei A Linha <event type="login" name="FirstItems" event="script" value="firstitems.lua"/> Do CreatureScripts.Xml, Que Esse Script Tem A Função De Dar Equipamentos Assim Que Você Cria Um Personagem Novo, Mais Eu Só Fui Ver Isso Mesmo Depois Que Eu Removi Essa Linha...

 

Por Que Eu Removi?

Por Que Depois Que Eu Passei A Suar Mysql Quando Você Criava Um Personagem Novo, Vinha Com 2 Set Full Inicias Em 3 Bps Diferentes

 

Eu Coloquei A Linha Novamente Mais O Erro Continua, Então O Motivo Do Bug Não Deve Ser Isso...

 

Vídeo De Um Player Atacando O Outro

 

Foto Da Distro, Não Da Nenhum Erro

Spoiler

668102648_20180711_1052031.thumb.jpg.949633ecede091b2efc425a6c25504ba.jpg

 

Meu Config.Lua

Spoiler

    ownerName = "Werner"
    ownerEmail = ""
    url = "werner.com"
    location = "Brazil"    

    motd = "Baixe O Nosso Cliente Para Evitar Debugs, Nao Precisam Entrar Com O IpChanger"
    serverName = "Tibia Alpha"
    loginMessage = "Bem vindo Ao Tibia Alpha."
    displayGamemastersWithOnlineCommand = false

    sqlType = "mysql"
    sqlHost = "localhost"
    sqlPort = 3306
    sqlUser = "root"
    sqlPass = ""
    sqlDatabase = "Tibia Alpha"
    sqlFile = "forgottenserver.s3db"
    sqlKeepAlive = 0
    mysqlReadTimeout = 1000
    mysqlWriteTimeout = 1000
    mysqlReconnectionAttempts = 5
    encryptionType = "sha1"

    worldId = 0
    ip = "127.0.0.1"
    worldType = "open"
    bindOnlyGlobalAddress = false
    loginPort = 7171
    gamePort = "7172"
    statusPort = 7171
    loginOnlyWithLoginServer = false

    accountManager = false
    namelockManager = true
    newPlayerChooseVoc = true
    newPlayerSpawnPosX = 331
    newPlayerSpawnPosY = 44
    newPlayerSpawnPosZ = 6
    newPlayerTownId = 1
    newPlayerLevel = 8
    newPlayerMagicLevel = 0
    generateAccountNumber = false
    generateAccountSalt = false

    fragsLimit = 12 * 60 * 60
    fragsSecondLimit = 1 * 24 * 60 * 60
    fragsThirdLimit = 1 * 24 * 60 * 60

    fragsToRedSkull = 100
    fragsSecondToRedSkull = 700
    fragsThirdToRedSkull = 3800
    redSkullLength = 1 * 24 * 60 * 60

    fragsToBlackSkull = 200
    fragsSecondToBlackSkull = 3500
    fragsThirdToBlackSkull = 14000
    blackSkulledDeathHealth = 40
    blackSkulledDeathMana = 0
    blackSkullLength = 2 * 24 * 60 * 60
    useBlackSkull = true

    notationsToBan = 3
    warningsToFinalBan = 4
    warningsToDeletion = 5
    banLength = 7 * 24 * 60 * 60
    killsBanLength = 7 * 24 * 60 * 60
    finalBanLength = 30 * 24 * 60 * 60
    ipBanLength = 2 * 24 * 60 * 60
    fragsToBanishment = 7
    fragsSecondToBanishment = 21
    fragsThirdToBanishment = 41

    protectionLevel = 100
    pvpTileIgnoreLevelAndVocationProtection = true
    pzLocked = 1 * 30 * 1000
    huntingDuration = 1 * 60 * 1000
    criticalHitMultiplier = 1
    displayCriticalHitNotify = false
    removeWeaponAmmunition = false
    removeWeaponCharges = false
    removeRuneCharges = false
    whiteSkullTime = 4 * 60 * 1000
    advancedFragList = false
    useFragHandler = true
    noDamageToSameLookfeet = false
    showHealthChange = true
    showManaChange = false
    showHealthChangeForMonsters = false
    showManaChangeForMonsters = false
    fieldOwnershipDuration = 3 * 1000
    stopAttackingAtExit = true
    loginProtectionPeriod = 1 * 1000
    deathLostPercent = 7
    stairhopDelay = 0.5 * 1000
    pushCreatureDelay = 0.1 * 1000
    deathContainerId = 1987
    gainExperienceColor = 210
    addManaSpentInPvPZone = true
    recoverManaAfterDeathInPvPZone = true
    squareColor = 0
    broadcastBanishments = false
    maxViolationCommentSize = 60
    violationNameReportActionType = 2

    rsaPrime1 = "14299623962416399520070177382898895550795403345466153217470516082934737582776038882967213386204600674145392845853859217990626450972452084065728686565928113"
    rsaPrime2 = "7630979195970404721891201847792002125535401292779123937207447574596692788513647179235335529307251350570728407373705564708871762033017096809910315212884101"
    rsaPublic = "65537"
    rsaModulus = "109120132967399429278860960508995541528237502902798129123468757937266291492576446330739696001110603907230888610072655818825358503429057592827629436413108566029093628212635953836686562675849720620786279431090218017681061521755056710823876476444260558147179707119674283982419152118103759076030616683978566631413"
    rsaPrivate = "46730330223584118622160180015036832148732986808519344675210555262940258739805766860224610646919605860206328024326703361630109888417839241959507572247284807035235569619173792292786907845791904955103601652822519121908367187885509270025388641700821735345222087940578381210879116823013776808975766851829020659073"

        optionalWarAttackableAlly = true
        fistBaseAttack = 7
        criticalHitChance = 7
        noDamageToGuildMates = false
        noDamageToPartyMembers = false

        rookLevelTo = 5
        rookLevelToLeaveRook = 8
        rookTownId = 1
        useRookSystem = true

        paralyzeDelay = 1400
        premiumDaysToAddByGui = 0

        useCapacity = true
        defaultDepotSize = 500
        defaultDepotSizePremium = 1000
        enableProtectionQuestForGM = true
        cleanItemsInMap = false
        playerFollowExhaust = 1000

        monsterSpawnWalkback = true
        allowBlockSpawn = true
        classicEquipmentSlots = true

        NoShareExpSummonMonster = false

        enableLootBagDisplay = false
        highscoreDisplayPlayers = 10
        updateHighscoresAfterMinutes = 30
        attackImmediatelyAfterLoggingIn = false
        exhaustionNPC = false
        exhaustionInSecondsNPC = 0.5

        manualVersionConfig = false
        versionMin = 860
        versionMax = 860
        versionMsg = "Only clients with protocol 8.60 allowed!"

    loginTries = 10
    retryTimeout = 5 * 1000
    loginTimeout = 30 * 1000
    maxPlayers = 200
    displayOnOrOffAtCharlist = false
    onePlayerOnlinePerAccount = true
    allowClones = 0
    statusTimeout = 10
    replaceKickOnLogin = true
    forceSlowConnectionsToDisconnect = false
    premiumPlayerSkipWaitList = true
    packetsPerSecond = 1000
    loginProtectionTime = 1

    deathListEnabled = true
    deathListRequiredTime = 1 * 60 * 1000
    maxDeathRecords = 5
    multipleNames = false

        retroPVP = false
        deathAssistCount = 20

        blessings = true
        blessingOnlyPremium = false
        blessingReductionBase = 30
        blessingReductionDecrement = 5
        eachBlessReduction = 8
            useFairfightReduction = true
            fairFightTimeRange = 60
            pvpBlessingThreshold = 40

    externalGuildWarsManagement = false
    ingameGuildManagement = false
    levelToFormGuild = 100
    premiumDaysToFormGuild = 0
    guildNameMinLength = 4
    guildNameMaxLength = 20

    buyableAndSellableHouses = true
    houseNeedPremium = false
    bedsRequirePremium = false
    levelToBuyHouse = 200
    housesPerAccount = 1
    houseRentAsPrice = false
    housePriceAsRent = false
    housePriceEachSquare = 1000
    houseRentPeriod = "weekly"
    houseCleanOld = 8 * 24 * 60 * 60
    guildHalls = false
    houseSkipInitialRent = true
    houseProtection = true

    timeBetweenActions = 200
    timeBetweenExActions = 1000
    timeBetweenCustomActions = 0
    checkCorpseOwner = true
    hotkeyAimbotEnabled = true
    maximumDoorLevel = 999
    tradeLimit = 100
    canOnlyRopePlayers = false

    mapAuthor = "Johnao"
    randomizeTiles = true
    houseDataStorage = "binary-tilebased"
    storeTrash = true
    cleanProtectedZones = true
    mapName = "Baiak Barao.otbm"

    mailMaxAttempts = 5
    mailBlockPeriod = 30 * 60 * 1000
    mailAttemptsFadeTime = 5 * 60 * 1000
    mailboxDisabledTowns = ""

    daemonize = false
    defaultPriority = "higher"
    niceLevel = 5
    serviceThreads = 1
    coresUsed = "-1" 
    startupDatabaseOptimization = true
    removePremiumOnInit = true
    confirmOutdatedVersion = false
    skipItemsVersionCheck = true

    maxMessageBuffer = 9

    dataDirectory = "data/"
    logsDirectory = "data/logs/"
    disableOutfitsForPrivilegedPlayers = false
    bankSystem = true
    spellNameInsteadOfWords = false
    emoteSpells = true
    unifiedSpells = false
    promptExceptionTracerErrorBox = true
    storePlayerDirection = false
    savePlayerData = true
    monsterLootMessage = 3
    monsterLootMessageType = 25
    separateViplistPerCharacter = false
    vipListDefaultLimit = 50
    vipListDefaultPremiumLimit = 100

    allowChangeOutfit = true
    allowChangeColors = true
    allowChangeAddons = true
    addonsOnlyPremium = false

    ghostModeInvisibleEffect = true
    ghostModeSpellEffects = true

    idleWarningTime = 14 * 60 * 1000
    idleKickTime = 15 * 60 * 1000
    expireReportsAfterReads = 1
    playerQueryDeepness = -1
    protectionTileLimit = 20
    houseTileLimit = 4
    tileLimit = 10

    freePremium = false
    premiumForPromotion = false
    updatePremiumStateAtStartup = true
    
    enableCast = "true"

    experienceStages = true
    rateExperience = 350
    rateExperienceFromPlayers = 0
    levelToOfflineTraining = 8
    rateSkill = 25
    rateSkillOffline = 0.5
    rateMagic = 10
    rateMagicOffline = 0.5
    rateLoot = 8.0
    rateSpawnMin = 1
    rateSpawnMax = 2
    formulaLevel = 5.0
    formulaMagic = 1.0

        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 = 40 * 60
    staminaRatingLimitBottom = 14 * 60
    staminaLootLimit = 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 = 8
    globalSaveMinute = 0
    shutdownAtGlobalSave = true
    cleanMapAtGlobalSave = false

    minRateSpawn = 1
    maxRateSpawn = 3
    deSpawnRange = 2
    deSpawnRadius = 50

    maxPlayerSummons = 2
    teleportAllSummons = true
    teleportPlayerSummons = true

    disableLuaErrors = false
    adminLogs = true
    displayPlayersLogging = true
    prefixChannelLogs = ""
    runFile = "server/run.log"
    outputLog = "server/out.log"
    truncateLogOnStartup = false
    logPlayersStatements = false

    managerPort = 7171
    managerLogs = true
    managerPassword = ""
    managerLocalhostOnly = true
    managerConnectionsLimit = 1

    adminPort = 7171
    adminPassword = ""
    adminLocalhostOnly = true
    adminConnectionsLimit = 1
    adminRequireLogin = true
    adminEncryption = ""
    adminEncryptionData = ""

    saveGlobalStorage = false
    bufferMutedOnSpellFailure = false
 

 

Meu Loguin.Lua

Spoiler

local config = {
    loginMessage = getConfigValue('loginMessage'),
    useFragHandler = getBooleanFromString(getConfigValue('useFragHandler'))
}


function onLogin(cid)
        if getCreatureOutfit(cid).lookType == 306 and getPlayerStorageValue(cid, 121219) ~= 1 then
            doCreatureChangeOutfit(cid, getPlayerSex(cid) == 0 and {lookType = 136} or {lookType = 128})
        end
    
        if(getBooleanFromString(getConfigValue('accountManager')) == false) then
        if (getCreatureName(cid) == "Account Manager") then
            return doRemoveCreature(cid, true)
        end
    end
    
    
    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
            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
    if getPlayerStorageValue(cid, 54304) > 0 then
         doPlayerSetStorageValue(cid, 54304, 0)
     end
    doCreatureSay(getCreatureByName("[Server Information]"), "Seja Bem Vindo Ao Tibia Alpha, Somos Uma Equipe Bem Atenciosa. Em Breve Tera Mais Servidores Alpha. Servidores Alpha Sempre Estara Em Double Points Para Doacoes Acima De R$20,00.", TALKTYPE_PRIVATE, false, cid)
    if getPlayerLevel(cid) < 717217 then 
registerCreatureEvent(cid, "AdvanceTeleport")
end


     registerCreatureEvent(cid, "castAttack")
     registerCreatureEvent(cid, "castHits")
     registerCreatureEvent(cid, "castLogout")
     registerCreatureEvent(cid, "DesertDeath")
     registerCreatureEvent(cid, "DesertCombat")
    registerCreatureEvent(cid, "DeathSystem")
    registerCreatureEvent(cid, "BattleDeath")
    registerCreatureEvent(cid, "ZombieThink")
    registerCreatureEvent(cid, "ZombieDeath")
     registerCreatureEvent(cid, "BattleCombat")
    registerCreatureEvent(cid, "FireStorm")
    registerCreatureEvent(cid, "AuraLogin")
    registerCreatureEvent(cid, "morte")
    registerCreatureEvent(cid, "otlist")
    registerCreatureEvent(cid, "ArmyKill")
    registerCreatureEvent(cid, "entrosaLogout")    
     registerCreatureEvent(cid, "ctf")
     registerCreatureEvent(cid, "zombieevent")
    registerCreatureEvent(cid, "Idle")
    registerCreatureEvent(cid, "tpquest")
    registerCreatureEvent(cid, "CombatDodge")
    registerCreatureEvent(cid, "recompensa")
    registerCreatureEvent(cid, "SkullAmulet")
    registerCreatureEvent(cid, "BountyHunter")
    registerCreatureEvent(cid, "PlayerDeath")
    registerCreatureEvent(cid, "rewardpoints")
    registerCreatureEvent(cid, "autoloot")
    registerCreatureEvent(cid, "Auto Loot")
    registerCreatureEvent(cid, "RecordIp")
    if (InitArenaScript ~= 0) then
    InitArenaScript = 1
    -- make arena rooms free
        for i = 42300, 42309 do
            setGlobalStorageValue(i, 0)
            setGlobalStorageValue(i+100, 0)
        end
    end
    registerCreatureEvent(cid, "Mail")
    if(getPlayerOperatingSystem(cid) >= CLIENTOS_OTCLIENT_LINUX) then
        registerCreatureEvent(cid, "ExtendedOpcode")
    end

    registerCreatureEvent(cid, "ReportBug")
    if(config.useFragHandler) then
        registerCreatureEvent(cid, "SkullCheck")
    end

registerCreatureEvent(cid, "GuildEvents")
registerCreatureEvent(cid, "critical")
registerCreatureEvent(cid, "BroadDeath")
registerCreatureEvent(cid, "AdvanceSave")
registerCreatureEvent(cid, "Points_Trade_Request")
registerCreatureEvent(cid, "Points_Trade")
registerCreatureEvent(cid, "GuildMotd")
registerCreatureEvent(cid, "fraglook")
registerCreatureEvent(cid, "blesscheck")
registerCreatureEvent(cid, "DeathBroadcast")
registerCreatureEvent(cid, "addons")
registerCreatureEvent(cid, "onPrepareDeath")
registerCreatureEvent(cid, "fraglook")
registerCreatureEvent(cid, "antimb")
registerCreatureEvent(cid, "antimagebomb")
registerCreatureEvent(cid, "FimVip")
registerCreatureEvent(cid, "ExpVip")
registerCreatureEvent(cid, "VipReceive")
registerCreatureEvent(cid, "redSkullAmulet")
registerCreatureEvent(cid, "FullHpMana")
registerCreatureEvent(cid, "killitem")
registerCreatureEvent(cid, "huntdeath")
registerCreatureEvent(cid, "loguthunt")
registerCreatureEvent(cid, "ReportBug")
registerCreatureEvent(cid, "CastleExp")
registerCreatureEvent(cid, "AdvEffect")
                            
registerCreatureEvent(cid, "dodge")
        registerCreatureEvent(cid, "town")
registerCreatureEvent(cid, "recompensaLvl")
if getPlayerStorageValue(cid, 48902) == -1 then
        setPlayerStorageValue(cid, 48902, 0) 
    end
    
    registerCreatureEvent(cid, "critical")


if getPlayerName(cid) == "Account Manager" and #getPlayersByIp(getPlayerIp(cid)) > 10 then
        return false
    end
 
    
 if getPlayerStorageValue(cid, 48903) == -1 and getPlayerStorageValue(cid, 48902) == -1 then
  setPlayerStorageValue(cid, 48903, 0) 
  setPlayerStorageValue(cid, 48902, 0) 
 end

 return true
end

 

Meu CreatureScripts.Xml

Spoiler

<?xml version="1.0" encoding="UTF-8"?>
<creaturescripts>
    <!-- The Loot Boss Striker -->
    <event type="kill" name="lootboss" event="script" value="lootboss.lua"/>
    <event type="login" name="lootboss" event="script" value="lootboss.lua"/>

    <!-- Auto Loot -->
    <event type="login" name="Auto_Loot_Login" event="script" value="Auto_Loot.lua"/>
    <event type="kill" name="Auto_Loot_Kill" event="script" value="Auto_Loot.lua"/>
    
    <event type="attack" name="castAttack" event="script" value="castSys.lua"/>
    <event type="statschange" name="castHits" event="script" value="castSys.lua"/>
    <event type="logout" name="castLogout" event="script" value="castSys.lua"/>
    <event type="login" name="MsgNpcShop" event="script" value="npc_shop.lua"/>
    <event type="traderequest" name="Points_Trade_Request" event="script" value="Points_Trade.lua"/>
    <event type="death" name="DeathSystem" event="script" value="DeathSystem.lua"/>
    <event type="tradeaccept" name="Points_Trade" event="script" value="Points_Trade.lua"/>
    <event type="logout" name="entrosaLogout" event="script" value="warEntrosaLogout.lua"/>
    <event type="kill" name="morte" event="script" value="morte.lua"/>
    <event type="login" name="mutado" event="script" value="mute.lua"/>
    <event type="login" name="otlist" event="script" value="otlist.lua"/>
    <event type="login" name="savePlayer" event="script" value="savePlayer.lua" />
    <event type="logout" name="savePlayer_L" event="script" value="savePlayer.lua" />
    <event type="think" name="EffectCheck" event="script" value="checkGEM.lua"/>
    <event type="login" name="EffectLogin" event="script" value="checkGEM.lua"/>
    <event type="kill" name="armyKill" event="script" value="army.lua"/>
    <event type="look" name="armyLook" event="script" value="army.lua"/>
    <event type="login" name="armyLogin" event="script" value="army.lua"/>
    <event type="login" name="AuraLogin" script="auralogin.lua"/>
    
    <!-- Battlefield Event -->
    <event type="death" name="SkullAmulet" event="script" value="preparedeath.lua"/>
    <event type="death" name="Teleportquest" event="script" value="tpquest.lua"/>
    <event type="login" name="PlayerLogin" event="script" value="login.lua"/>
    <event type="login" name="FirstItems" event="script" value="firstitems.lua"/>

    <!-- Events -->
    <event type="statschange" name="FireStorm" event="script" value="events/FireStorm.lua"/>
    <event type="statschange" name="zombieevent" event="script" value="events/zombie.lua"/>
    <event type="PrepareDeath" name="DesertDeath" event="script" value="events/DesertWAR.lua"/>
    <event type="combat" name="DesertCombat" event="script" value="events/DesertWAR.lua"/>    
    <event type="PrepareDeath" name="ctf" event="script" value="events/CTF.lua"/>
    <event type="PrepareDeath" name="BattleDeath" event="script" value="events/Battlefield.lua"/>
    <event type="combat" name="BattleCombat" event="script" value="events/Battlefield.lua"/>

    <event type="kill" name="killitem" event="script" value="lootkill.lua"/>
    <event type="advance" name="FullHpMana" event="script" value="fullhpmana.lua"/>
    <event type="advance" name="recompensa" event="script" value="recompensa_level.lua"/>
        
    
    
    <event type="kill" name="BountyHunter" script="kill.lua"/>
    
    <event type="death" name="deathnoob" event="script" value="noobsay.lua"/>
    
    <event type="death" name="huntdeath" event="script" value="death.lua"/>
    <event type="logout" name="loguthunt" event="script" value="logouthunt.lua"/>

    <event type="channeljoin" name="GuildEvents" event="script" value="guild.lua"/>
    <event type="mailreceive" name="Mail" event="script" value="mail.lua"/>
    <event type="reportbug" name="SaveReportBug" script="reportbug.lua"/>
   
        <event type="death" name="teleportmonster" script="tpmonster.lua"/>
        <event type="login" name="ExpVip" script="vipexp.lua"/>
        <event type="login" name="AdvEffect" event="script" value="vipeffect.lua"/>

    <event type="think" name="Idle" event="script" value="idle.lua"/>
    <event type="think" name="SkullCheck" event="script" value="skullcheck.lua"/>
             
    <event type="PrepareDeath" name="pvparena" script="pvparena.lua"/>
    <event type="attack" name="attackguild" script="attackguild.lua"/>
    <event type="death" name="incendio" script="incendioMonster.lua"/>
                <event type="statschange" name="CombatDodge" event="script" value="dodgecombat.lua"/>
    <event type="statschange" name="critical" event="script" value="critical.lua"/>
                
   <event type="login" name="blesscheck" event="script" value="blesscheck.lua"/>
    <event type="look" name="fraglook" script="fraglook.lua"/>
    <event type="login" name="expwoe" event="script" value="expwoe.lua"/>
    <event type="login" name="FimVip" event="script" value="fimvip.lua"/>
    
 
     <!-- WoE -->
    <event type="death" name="empe_broken" event="script" value="empe_broken.lua"/>
    <event type="death" name="pre_empes" event="script" value="pre_empes.lua"/>
    <event type="statschange" name="empe_dmg" event="script" value="empe_dmg.lua"/>
    <event type="login" name="reg_vs_guard" event="script" value="vs_guard.lua"/>
    <event type="statschange" name="vs_guard" event="script" value="vs_guard.lua"/>


    
    <!--Addons-->
    <event type="death" name="teleportmonster2" script="tpmonster2.lua"/> <!-- Jack Sparrow -->
    <event type="death" name="teleportmonster3" script="tpmonster3.lua"/> <!-- Orochimaru -->
    <event type="death" name="teleportmonster4" script="tpmonster4.lua"/> <!-- Merlin -->
    <event type="death" name="teleportmonster5" script="tpmonster5.lua"/> <!-- Constantine -->
    <event type="death" name="teleportmonster6" script="tpmonster6.lua"/> <!-- Conan o Barbaro -->
    <event type="death" name="teleportmonster7" script="tpmonster7.lua"/> <!-- Konga -->
    <event type="death" name="teleportmonster8" script="tpmonster8.lua"/> <!-- Esquimoh -->
    <event type="death" name="teleportmonster9" script="tpmonster9.lua"/> <!-- Lament of Innocence -->
    <event type="death" name="teleportmonster10" script="tpmonster10.lua"/> <!-- King Arthur -->
    <event type="death" name="teleportmonster11" script="tpmonster11.lua"/> <!-- Drako -->
    <event type="death" name="teleportmonster12" script="tpmonster12.lua"/> <!-- Chaos -->
    <event type="death" name="teleportmonster13" script="tpmonster13.lua"/> <!-- Alucard -->
    <event type="death" name="teleportmonster14" script="tpmonster14.lua"/> <!-- Symphony of the Night -->
    <event type="death" name="teleportmonster15" script="tpmonster15.lua"/> <!-- Espirito da Natureza -->
    <event type="death" name="teleportmonster16" script="tpmonster16.lua"/> <!-- Catatau -->
    <event type="death" name="teleportmonster17" script="tpmonster17.lua"/> <!-- Moby Dick -->
    <event type="death" name="teleportmonster18" script="tpmonster18.lua"/> <!-- Coringa -->
    <event type="death" name="teleportmonster19" script="tpmonster19.lua"/> <!-- Robin Hood -->
    <event type="death" name="teleportmonster20" script="tpmonster20.lua"/> <!-- Belmont's Revenge -->
    <event type="death" name="teleportmonster21" script="tpmonster21.lua"/> <!-- Gaia -->
    <event type="death" name="teleportmonster22" script="tpmonster22.lua"/> <!-- Gentleman -->    
    
    
    <!--Arena-->    
    <event type="death" name="teleportarena1" script="tparena1.lua"/>
    
    <!-- Elemental quest -->
    <event type="death" name="teleportmonster23" script="tpmonster23.lua"/> <!-- Massive Energy Elemental -->    
    <event type="death" name="teleportmonster24" script="tpmonster24.lua"/> <!-- Massive Earth Elemental -->    
    <event type="death" name="teleportmonster25" script="tpmonster25.lua"/> <!-- Massive Fire Elemental -->    
    <event type="death" name="teleportmonster26" script="tpmonster26.lua"/> <!-- Massive Water Elemental -->    
    
    </creaturescripts>

 

Editado por Emanueldk (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

posta o seu creaturescript.xml

 

e uma foto da sua pasta mods pra mim ver que mods tem ai no seu servidor

vodkart_logo.png

[*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*]

 

DISCORDvodkart#6090

 

Link para o post
Compartilhar em outros sites

@Vodkart 

CreatureScripts.Xml

Spoiler

<?xml version="1.0" encoding="UTF-8"?>
<creaturescripts>
    <!-- The Loot Boss Striker -->
    <event type="kill" name="lootboss" event="script" value="lootboss.lua"/>
    <event type="login" name="lootboss" event="script" value="lootboss.lua"/>

    <!-- Auto Loot -->
    <event type="login" name="Auto_Loot_Login" event="script" value="Auto_Loot.lua"/>
    <event type="kill" name="Auto_Loot_Kill" event="script" value="Auto_Loot.lua"/>
    
    <event type="attack" name="castAttack" event="script" value="castSys.lua"/>
    <event type="statschange" name="castHits" event="script" value="castSys.lua"/>
    <event type="logout" name="castLogout" event="script" value="castSys.lua"/>
    <event type="login" name="MsgNpcShop" event="script" value="npc_shop.lua"/>
    <event type="traderequest" name="Points_Trade_Request" event="script" value="Points_Trade.lua"/>
    <event type="death" name="DeathSystem" event="script" value="DeathSystem.lua"/>
    <event type="tradeaccept" name="Points_Trade" event="script" value="Points_Trade.lua"/>
    <event type="logout" name="entrosaLogout" event="script" value="warEntrosaLogout.lua"/>
    <event type="kill" name="morte" event="script" value="morte.lua"/>
    <event type="login" name="mutado" event="script" value="mute.lua"/>
    <event type="login" name="otlist" event="script" value="otlist.lua"/>
    <event type="login" name="savePlayer" event="script" value="savePlayer.lua" />
    <event type="logout" name="savePlayer_L" event="script" value="savePlayer.lua" />
    <event type="think" name="EffectCheck" event="script" value="checkGEM.lua"/>
    <event type="login" name="EffectLogin" event="script" value="checkGEM.lua"/>
    <event type="kill" name="armyKill" event="script" value="army.lua"/>
    <event type="look" name="armyLook" event="script" value="army.lua"/>
    <event type="login" name="armyLogin" event="script" value="army.lua"/>
    <event type="login" name="AuraLogin" script="auralogin.lua"/>
    
    <!-- Battlefield Event -->
    <event type="death" name="SkullAmulet" event="script" value="preparedeath.lua"/>
    <event type="death" name="Teleportquest" event="script" value="tpquest.lua"/>
    <event type="login" name="PlayerLogin" event="script" value="login.lua"/>
    <event type="login" name="FirstItems" event="script" value="firstitems.lua"/>

    <!-- Events -->
    <event type="statschange" name="FireStorm" event="script" value="events/FireStorm.lua"/>
    <event type="statschange" name="zombieevent" event="script" value="events/zombie.lua"/>
    <event type="PrepareDeath" name="DesertDeath" event="script" value="events/DesertWAR.lua"/>
    <event type="combat" name="DesertCombat" event="script" value="events/DesertWAR.lua"/>    
    <event type="PrepareDeath" name="ctf" event="script" value="events/CTF.lua"/>
    <event type="PrepareDeath" name="BattleDeath" event="script" value="events/Battlefield.lua"/>
    <event type="combat" name="BattleCombat" event="script" value="events/Battlefield.lua"/>

    <event type="kill" name="killitem" event="script" value="lootkill.lua"/>
    <event type="advance" name="FullHpMana" event="script" value="fullhpmana.lua"/>
    <event type="advance" name="recompensa" event="script" value="recompensa_level.lua"/>
        
    
    
    <event type="kill" name="BountyHunter" script="kill.lua"/>
    
    <event type="death" name="deathnoob" event="script" value="noobsay.lua"/>
    
    <event type="death" name="huntdeath" event="script" value="death.lua"/>
    <event type="logout" name="loguthunt" event="script" value="logouthunt.lua"/>

    <event type="channeljoin" name="GuildEvents" event="script" value="guild.lua"/>
    <event type="mailreceive" name="Mail" event="script" value="mail.lua"/>
    <event type="reportbug" name="SaveReportBug" script="reportbug.lua"/>
   
        <event type="death" name="teleportmonster" script="tpmonster.lua"/>
        <event type="login" name="ExpVip" script="vipexp.lua"/>
        <event type="login" name="AdvEffect" event="script" value="vipeffect.lua"/>

    <event type="think" name="Idle" event="script" value="idle.lua"/>
    <event type="think" name="SkullCheck" event="script" value="skullcheck.lua"/>
             
    <event type="PrepareDeath" name="pvparena" script="pvparena.lua"/>
    <event type="attack" name="attackguild" script="attackguild.lua"/>
    <event type="death" name="incendio" script="incendioMonster.lua"/>
                <event type="statschange" name="CombatDodge" event="script" value="dodgecombat.lua"/>
    <event type="statschange" name="critical" event="script" value="critical.lua"/>
                
   <event type="login" name="blesscheck" event="script" value="blesscheck.lua"/>
    <event type="look" name="fraglook" script="fraglook.lua"/>
    <event type="login" name="expwoe" event="script" value="expwoe.lua"/>
    <event type="login" name="FimVip" event="script" value="fimvip.lua"/>
    
 
     <!-- WoE -->
    <event type="death" name="empe_broken" event="script" value="empe_broken.lua"/>
    <event type="death" name="pre_empes" event="script" value="pre_empes.lua"/>
    <event type="statschange" name="empe_dmg" event="script" value="empe_dmg.lua"/>
    <event type="login" name="reg_vs_guard" event="script" value="vs_guard.lua"/>
    <event type="statschange" name="vs_guard" event="script" value="vs_guard.lua"/>


    
    <!--Addons-->
    <event type="death" name="teleportmonster2" script="tpmonster2.lua"/> <!-- Jack Sparrow -->
    <event type="death" name="teleportmonster3" script="tpmonster3.lua"/> <!-- Orochimaru -->
    <event type="death" name="teleportmonster4" script="tpmonster4.lua"/> <!-- Merlin -->
    <event type="death" name="teleportmonster5" script="tpmonster5.lua"/> <!-- Constantine -->
    <event type="death" name="teleportmonster6" script="tpmonster6.lua"/> <!-- Conan o Barbaro -->
    <event type="death" name="teleportmonster7" script="tpmonster7.lua"/> <!-- Konga -->
    <event type="death" name="teleportmonster8" script="tpmonster8.lua"/> <!-- Esquimoh -->
    <event type="death" name="teleportmonster9" script="tpmonster9.lua"/> <!-- Lament of Innocence -->
    <event type="death" name="teleportmonster10" script="tpmonster10.lua"/> <!-- King Arthur -->
    <event type="death" name="teleportmonster11" script="tpmonster11.lua"/> <!-- Drako -->
    <event type="death" name="teleportmonster12" script="tpmonster12.lua"/> <!-- Chaos -->
    <event type="death" name="teleportmonster13" script="tpmonster13.lua"/> <!-- Alucard -->
    <event type="death" name="teleportmonster14" script="tpmonster14.lua"/> <!-- Symphony of the Night -->
    <event type="death" name="teleportmonster15" script="tpmonster15.lua"/> <!-- Espirito da Natureza -->
    <event type="death" name="teleportmonster16" script="tpmonster16.lua"/> <!-- Catatau -->
    <event type="death" name="teleportmonster17" script="tpmonster17.lua"/> <!-- Moby Dick -->
    <event type="death" name="teleportmonster18" script="tpmonster18.lua"/> <!-- Coringa -->
    <event type="death" name="teleportmonster19" script="tpmonster19.lua"/> <!-- Robin Hood -->
    <event type="death" name="teleportmonster20" script="tpmonster20.lua"/> <!-- Belmont's Revenge -->
    <event type="death" name="teleportmonster21" script="tpmonster21.lua"/> <!-- Gaia -->
    <event type="death" name="teleportmonster22" script="tpmonster22.lua"/> <!-- Gentleman -->    
    
    
    <!--Arena-->    
    <event type="death" name="teleportarena1" script="tparena1.lua"/>
    
    <!-- Elemental quest -->
    <event type="death" name="teleportmonster23" script="tpmonster23.lua"/> <!-- Massive Energy Elemental -->    
    <event type="death" name="teleportmonster24" script="tpmonster24.lua"/> <!-- Massive Earth Elemental -->    
    <event type="death" name="teleportmonster25" script="tpmonster25.lua"/> <!-- Massive Fire Elemental -->    
    <event type="death" name="teleportmonster26" script="tpmonster26.lua"/> <!-- Massive Water Elemental -->    
    
    </creaturescripts>
 

 

Pasta Mods

Spoiler

image.thumb.png.4b3de2fd0b6c1e20e7a61a42e2dc7ada.png

 

eu editei o tópico, eu adicionei o suposto erro que eu fiz que causou esse bug, não tenho certeza de que foi isso mesmo, mais me ajudem ai pf

Link para o post
Compartilhar em outros sites

cara removi alguns script que poderiam estar afetando isso, testa desse jeito e me fala

 

<?xml version="1.0" encoding="UTF-8"?>
<creaturescripts>
    <!-- The Loot Boss Striker -->
    <event type="kill" name="lootboss" event="script" value="lootboss.lua"/>
    <event type="login" name="lootboss" event="script" value="lootboss.lua"/>

    <!-- Auto Loot -->
    <event type="login" name="Auto_Loot_Login" event="script" value="Auto_Loot.lua"/>
    <event type="kill" name="Auto_Loot_Kill" event="script" value="Auto_Loot.lua"/>
    
    <event type="logout" name="castLogout" event="script" value="castSys.lua"/>
    <event type="login" name="MsgNpcShop" event="script" value="npc_shop.lua"/>
    <event type="traderequest" name="Points_Trade_Request" event="script" value="Points_Trade.lua"/>
    <event type="death" name="DeathSystem" event="script" value="DeathSystem.lua"/>
    <event type="tradeaccept" name="Points_Trade" event="script" value="Points_Trade.lua"/>
    <event type="logout" name="entrosaLogout" event="script" value="warEntrosaLogout.lua"/>
    <event type="kill" name="morte" event="script" value="morte.lua"/>
    <event type="login" name="mutado" event="script" value="mute.lua"/>
    <event type="login" name="otlist" event="script" value="otlist.lua"/>
    <event type="login" name="savePlayer" event="script" value="savePlayer.lua" />
    <event type="logout" name="savePlayer_L" event="script" value="savePlayer.lua" />
    <event type="think" name="EffectCheck" event="script" value="checkGEM.lua"/>
    <event type="login" name="EffectLogin" event="script" value="checkGEM.lua"/>
    <event type="kill" name="armyKill" event="script" value="army.lua"/>
    <event type="look" name="armyLook" event="script" value="army.lua"/>
    <event type="login" name="armyLogin" event="script" value="army.lua"/>
    <event type="login" name="AuraLogin" script="auralogin.lua"/>
    
    <!-- Battlefield Event -->
    <event type="death" name="SkullAmulet" event="script" value="preparedeath.lua"/>
    <event type="death" name="Teleportquest" event="script" value="tpquest.lua"/>
    <event type="login" name="PlayerLogin" event="script" value="login.lua"/>
    <event type="login" name="FirstItems" event="script" value="firstitems.lua"/>

    <!-- Events -->
    <event type="PrepareDeath" name="DesertDeath" event="script" value="events/DesertWAR.lua"/> 
    <event type="PrepareDeath" name="ctf" event="script" value="events/CTF.lua"/>
    <event type="PrepareDeath" name="BattleDeath" event="script" value="events/Battlefield.lua"/>

    <event type="kill" name="killitem" event="script" value="lootkill.lua"/>
    <event type="advance" name="FullHpMana" event="script" value="fullhpmana.lua"/>
    <event type="advance" name="recompensa" event="script" value="recompensa_level.lua"/>
        
    <event type="kill" name="BountyHunter" script="kill.lua"/>
    
    <event type="death" name="deathnoob" event="script" value="noobsay.lua"/>
    
    <event type="death" name="huntdeath" event="script" value="death.lua"/>
    <event type="logout" name="loguthunt" event="script" value="logouthunt.lua"/>

    <event type="channeljoin" name="GuildEvents" event="script" value="guild.lua"/>
    <event type="mailreceive" name="Mail" event="script" value="mail.lua"/>
    <event type="reportbug" name="SaveReportBug" script="reportbug.lua"/>
   
        <event type="death" name="teleportmonster" script="tpmonster.lua"/>
        <event type="login" name="ExpVip" script="vipexp.lua"/>
        <event type="login" name="AdvEffect" event="script" value="vipeffect.lua"/>

    <event type="think" name="Idle" event="script" value="idle.lua"/>
    <event type="think" name="SkullCheck" event="script" value="skullcheck.lua"/>
             
    <event type="PrepareDeath" name="pvparena" script="pvparena.lua"/>
    <event type="attack" name="attackguild" script="attackguild.lua"/>
    <event type="death" name="incendio" script="incendioMonster.lua"/>
               
   <event type="login" name="blesscheck" event="script" value="blesscheck.lua"/>
    <event type="look" name="fraglook" script="fraglook.lua"/>
    <event type="login" name="expwoe" event="script" value="expwoe.lua"/>
    <event type="login" name="FimVip" event="script" value="fimvip.lua"/>
    
 
     <!-- WoE -->
    <event type="death" name="empe_broken" event="script" value="empe_broken.lua"/>
    <event type="death" name="pre_empes" event="script" value="pre_empes.lua"/>
    <event type="login" name="reg_vs_guard" event="script" value="vs_guard.lua"/>


    
    <!--Addons-->
    <event type="death" name="teleportmonster2" script="tpmonster2.lua"/> <!-- Jack Sparrow -->
    <event type="death" name="teleportmonster3" script="tpmonster3.lua"/> <!-- Orochimaru -->
    <event type="death" name="teleportmonster4" script="tpmonster4.lua"/> <!-- Merlin -->
    <event type="death" name="teleportmonster5" script="tpmonster5.lua"/> <!-- Constantine -->
    <event type="death" name="teleportmonster6" script="tpmonster6.lua"/> <!-- Conan o Barbaro -->
    <event type="death" name="teleportmonster7" script="tpmonster7.lua"/> <!-- Konga -->
    <event type="death" name="teleportmonster8" script="tpmonster8.lua"/> <!-- Esquimoh -->
    <event type="death" name="teleportmonster9" script="tpmonster9.lua"/> <!-- Lament of Innocence -->
    <event type="death" name="teleportmonster10" script="tpmonster10.lua"/> <!-- King Arthur -->
    <event type="death" name="teleportmonster11" script="tpmonster11.lua"/> <!-- Drako -->
    <event type="death" name="teleportmonster12" script="tpmonster12.lua"/> <!-- Chaos -->
    <event type="death" name="teleportmonster13" script="tpmonster13.lua"/> <!-- Alucard -->
    <event type="death" name="teleportmonster14" script="tpmonster14.lua"/> <!-- Symphony of the Night -->
    <event type="death" name="teleportmonster15" script="tpmonster15.lua"/> <!-- Espirito da Natureza -->
    <event type="death" name="teleportmonster16" script="tpmonster16.lua"/> <!-- Catatau -->
    <event type="death" name="teleportmonster17" script="tpmonster17.lua"/> <!-- Moby Dick -->
    <event type="death" name="teleportmonster18" script="tpmonster18.lua"/> <!-- Coringa -->
    <event type="death" name="teleportmonster19" script="tpmonster19.lua"/> <!-- Robin Hood -->
    <event type="death" name="teleportmonster20" script="tpmonster20.lua"/> <!-- Belmont's Revenge -->
    <event type="death" name="teleportmonster21" script="tpmonster21.lua"/> <!-- Gaia -->
    <event type="death" name="teleportmonster22" script="tpmonster22.lua"/> <!-- Gentleman -->    
    
    
    <!--Arena-->    
    <event type="death" name="teleportarena1" script="tparena1.lua"/>
    
    <!-- Elemental quest -->
    <event type="death" name="teleportmonster23" script="tpmonster23.lua"/> <!-- Massive Energy Elemental -->    
    <event type="death" name="teleportmonster24" script="tpmonster24.lua"/> <!-- Massive Earth Elemental -->    
    <event type="death" name="teleportmonster25" script="tpmonster25.lua"/> <!-- Massive Fire Elemental -->    
    <event type="death" name="teleportmonster26" script="tpmonster26.lua"/> <!-- Massive Water Elemental -->    
    
    </creaturescripts>

 

 

vodkart_logo.png

[*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*]

 

DISCORDvodkart#6090

 

Link para o post
Compartilhar em outros sites

@Vodkart cara funcionou, MUITO OBRIGADO MESMO, mais poderia me falar qual script que você tirou para que eu possa remover esses erro da minha distro?

image.thumb.png.88ecf26ccaf66ed7ad018294ed595f04.png

Link para o post
Compartilhar em outros sites
36 minutos atrás, Emanueldk disse:

@Vodkart cara funcionou, MUITO OBRIGADO MESMO, mais poderia me falar qual script que você tirou para que eu possa remover esses erro da minha distro?

image.thumb.png.88ecf26ccaf66ed7ad018294ed595f04.png

 

 

então eu removi os possiveis que estariam bugando, teria que ir tirando um por um pra ver qual é kk

vodkart_logo.png

[*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*]

 

DISCORDvodkart#6090

 

Link para o post
Compartilhar em outros sites

vou coloca em vermelho e vc vai testando ai

 

<?xml version="1.0" encoding="UTF-8"?>
<creaturescripts>
    <!-- The Loot Boss Striker -->
    <event type="kill" name="lootboss" event="script" value="lootboss.lua"/>
    <event type="login" name="lootboss" event="script" value="lootboss.lua"/>

    <!-- Auto Loot -->
    <event type="login" name="Auto_Loot_Login" event="script" value="Auto_Loot.lua"/>
    <event type="kill" name="Auto_Loot_Kill" event="script" value="Auto_Loot.lua"/>
    
    <event type="attack" name="castAttack" event="script" value="castSys.lua"/>
    <event type="statschange" name="castHits" event="script" value="castSys.lua"/>
    <event type="logout" name="castLogout" event="script" value="castSys.lua"/>
    <event type="login" name="MsgNpcShop" event="script" value="npc_shop.lua"/>
    <event type="traderequest" name="Points_Trade_Request" event="script" value="Points_Trade.lua"/>
    <event type="death" name="DeathSystem" event="script" value="DeathSystem.lua"/>
    <event type="tradeaccept" name="Points_Trade" event="script" value="Points_Trade.lua"/>
    <event type="logout" name="entrosaLogout" event="script" value="warEntrosaLogout.lua"/>
    <event type="kill" name="morte" event="script" value="morte.lua"/>
    <event type="login" name="mutado" event="script" value="mute.lua"/>
    <event type="login" name="otlist" event="script" value="otlist.lua"/>
    <event type="login" name="savePlayer" event="script" value="savePlayer.lua" />
    <event type="logout" name="savePlayer_L" event="script" value="savePlayer.lua" />
    <event type="think" name="EffectCheck" event="script" value="checkGEM.lua"/>
    <event type="login" name="EffectLogin" event="script" value="checkGEM.lua"/>
    <event type="kill" name="armyKill" event="script" value="army.lua"/>
    <event type="look" name="armyLook" event="script" value="army.lua"/>
    <event type="login" name="armyLogin" event="script" value="army.lua"/>
    <event type="login" name="AuraLogin" script="auralogin.lua"/>
    
    <!-- Battlefield Event -->
    <event type="death" name="SkullAmulet" event="script" value="preparedeath.lua"/>
    <event type="death" name="Teleportquest" event="script" value="tpquest.lua"/>
    <event type="login" name="PlayerLogin" event="script" value="login.lua"/>
    <event type="login" name="FirstItems" event="script" value="firstitems.lua"/>

    <!-- Events -->
    <event type="statschange" name="FireStorm" event="script" value="events/FireStorm.lua"/>
    <event type="statschange" name="zombieevent" event="script" value="events/zombie.lua"/>

    <event type="PrepareDeath" name="DesertDeath" event="script" value="events/DesertWAR.lua"/>
    <event type="combat" name="DesertCombat" event="script" value="events/DesertWAR.lua"/>    
    <event type="PrepareDeath" name="ctf" event="script" value="events/CTF.lua"/>
    <event type="PrepareDeath" name="BattleDeath" event="script" value="events/Battlefield.lua"/>
    <event type="combat" name="BattleCombat" event="script" value="events/Battlefield.lua"/>

    <event type="kill" name="killitem" event="script" value="lootkill.lua"/>
    <event type="advance" name="FullHpMana" event="script" value="fullhpmana.lua"/>
    <event type="advance" name="recompensa" event="script" value="recompensa_level.lua"/>
        
    
    
    <event type="kill" name="BountyHunter" script="kill.lua"/>
    
    <event type="death" name="deathnoob" event="script" value="noobsay.lua"/>
    
    <event type="death" name="huntdeath" event="script" value="death.lua"/>
    <event type="logout" name="loguthunt" event="script" value="logouthunt.lua"/>

    <event type="channeljoin" name="GuildEvents" event="script" value="guild.lua"/>
    <event type="mailreceive" name="Mail" event="script" value="mail.lua"/>
    <event type="reportbug" name="SaveReportBug" script="reportbug.lua"/>
   
        <event type="death" name="teleportmonster" script="tpmonster.lua"/>
        <event type="login" name="ExpVip" script="vipexp.lua"/>
        <event type="login" name="AdvEffect" event="script" value="vipeffect.lua"/>

    <event type="think" name="Idle" event="script" value="idle.lua"/>
    <event type="think" name="SkullCheck" event="script" value="skullcheck.lua"/>
             
    <event type="PrepareDeath" name="pvparena" script="pvparena.lua"/>
    <event type="attack" name="attackguild" script="attackguild.lua"/>
    <event type="death" name="incendio" script="incendioMonster.lua"/>
 <event type="statschange" name="CombatDodge" event="script" value="dodgecombat.lua"/>
    <event type="statschange" name="critical" event="script" value="critical.lua"/>

                
   <event type="login" name="blesscheck" event="script" value="blesscheck.lua"/>
    <event type="look" name="fraglook" script="fraglook.lua"/>
    <event type="login" name="expwoe" event="script" value="expwoe.lua"/>
    <event type="login" name="FimVip" event="script" value="fimvip.lua"/>
    
 
     <!-- WoE -->
    <event type="death" name="empe_broken" event="script" value="empe_broken.lua"/>
    <event type="death" name="pre_empes" event="script" value="pre_empes.lua"/>
    <event type="statschange" name="empe_dmg" event="script" value="empe_dmg.lua"/>
    <event type="login" name="reg_vs_guard" event="script" value="vs_guard.lua"/>
    <event type="statschange" name="vs_guard" event="script" value="vs_guard.lua"/>


    
    <!--Addons-->
    <event type="death" name="teleportmonster2" script="tpmonster2.lua"/> <!-- Jack Sparrow -->
    <event type="death" name="teleportmonster3" script="tpmonster3.lua"/> <!-- Orochimaru -->
    <event type="death" name="teleportmonster4" script="tpmonster4.lua"/> <!-- Merlin -->
    <event type="death" name="teleportmonster5" script="tpmonster5.lua"/> <!-- Constantine -->
    <event type="death" name="teleportmonster6" script="tpmonster6.lua"/> <!-- Conan o Barbaro -->
    <event type="death" name="teleportmonster7" script="tpmonster7.lua"/> <!-- Konga -->
    <event type="death" name="teleportmonster8" script="tpmonster8.lua"/> <!-- Esquimoh -->
    <event type="death" name="teleportmonster9" script="tpmonster9.lua"/> <!-- Lament of Innocence -->
    <event type="death" name="teleportmonster10" script="tpmonster10.lua"/> <!-- King Arthur -->
    <event type="death" name="teleportmonster11" script="tpmonster11.lua"/> <!-- Drako -->
    <event type="death" name="teleportmonster12" script="tpmonster12.lua"/> <!-- Chaos -->
    <event type="death" name="teleportmonster13" script="tpmonster13.lua"/> <!-- Alucard -->
    <event type="death" name="teleportmonster14" script="tpmonster14.lua"/> <!-- Symphony of the Night -->
    <event type="death" name="teleportmonster15" script="tpmonster15.lua"/> <!-- Espirito da Natureza -->
    <event type="death" name="teleportmonster16" script="tpmonster16.lua"/> <!-- Catatau -->
    <event type="death" name="teleportmonster17" script="tpmonster17.lua"/> <!-- Moby Dick -->
    <event type="death" name="teleportmonster18" script="tpmonster18.lua"/> <!-- Coringa -->
    <event type="death" name="teleportmonster19" script="tpmonster19.lua"/> <!-- Robin Hood -->
    <event type="death" name="teleportmonster20" script="tpmonster20.lua"/> <!-- Belmont's Revenge -->
    <event type="death" name="teleportmonster21" script="tpmonster21.lua"/> <!-- Gaia -->
    <event type="death" name="teleportmonster22" script="tpmonster22.lua"/> <!-- Gentleman -->    
    
    
    <!--Arena-->    
    <event type="death" name="teleportarena1" script="tparena1.lua"/>
    
    <!-- Elemental quest -->
    <event type="death" name="teleportmonster23" script="tpmonster23.lua"/> <!-- Massive Energy Elemental -->    
    <event type="death" name="teleportmonster24" script="tpmonster24.lua"/> <!-- Massive Earth Elemental -->    
    <event type="death" name="teleportmonster25" script="tpmonster25.lua"/> <!-- Massive Fire Elemental -->    
    <event type="death" name="teleportmonster26" script="tpmonster26.lua"/> <!-- Massive Water Elemental -->    
    
    </creaturescripts>

vodkart_logo.png

[*Ninguém será digno do sucesso se não usar suas derrotas para conquistá-lo.*]

 

DISCORDvodkart#6090

 

Link para o post
Compartilhar em outros sites

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.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

  • Conteúdo Similar

    • Por cloudrun2023
      CloudRun - Sua Melhor Escolha para Hospedagem de OTServer!
      Você está procurando a solução definitiva para hospedar seu OTServer com desempenho imbatível e segurança inigualável? Não procure mais! Apresentamos a CloudRun, sua parceira confiável em serviços de hospedagem na nuvem.
       
      Recursos Exclusivos - Proteção DDoS Avançada:
      Mantenha seu OTServer online e seguro com nossa robusta proteção DDoS, garantindo uma experiência de jogo ininterrupta para seus jogadores.
       
      Servidores Ryzen 7 Poderosos: Desfrute do poder de processamento superior dos servidores Ryzen 7 para garantir um desempenho excepcional do seu OTServer. Velocidade e estabilidade garantidas!
       
      Armazenamento NVMe de Alta Velocidade:
      Reduza o tempo de carregamento do jogo com nosso armazenamento NVMe ultrarrápido. Seus jogadores vão adorar a rapidez com que podem explorar o mundo do seu OTServer.
       
      Uplink de até 1GB:
      Oferecemos uma conexão de alta velocidade com até 1GB de largura de banda, garantindo uma experiência de jogo suave e livre de lag para todos os seus jogadores, mesmo nos momentos de pico.
       
      Suporte 24 Horas:
      Estamos sempre aqui para você! Nossa equipe de suporte está disponível 24 horas por dia, 7 dias por semana, para resolver qualquer problema ou responder a qualquer pergunta que você possa ter. Sua satisfação é a nossa prioridade.
       
      Fácil e Rápido de Começar:
      Configurar seu OTServer na CloudRun é simples e rápido. Concentre-se no desenvolvimento do seu jogo enquanto cuidamos da hospedagem.
       
      Entre em Contato Agora!
      Website: https://central.cloudrun.com.br/index.php?rp=/store/cloud-ryzen-brasil
      Email: [email protected]
      Telefone: (47) 99902-5147

      Não comprometa a qualidade da hospedagem do seu OTServer. Escolha a CloudRun e ofereça aos seus jogadores a melhor experiência de jogo possível. Visite nosso site hoje mesmo para conhecer nossos planos e começar!
       
      https://central.cloudrun.com.br/index.php?rp=/store/cloud-ryzen-brasil
       
      CloudRun - Onde a Velocidade Encontra a Confiabilidade!
       

    • Por FeeTads
      SALVE rapaziada do TK, esses dias vim pensando em novos scripts pro meu OT, e em um deles eu precisava que determinada area não contasse frag pro player que matasse outros, PORÉM eu precisava que os players que morressem nessa area ainda assim tivessem as penalidades da sua morte, procurei por ai, achei alguns scripts que apenas tiravam o SKULL e não realmente o FRAG do player.

      **script atualizado 22/10/2023** - melhorado e otimizado, levei o script pra puxar as infos por .lua / creatureScripts

      vou disponibilizar o code aqui, e o que fazer pra determinada area não contar frag.

      SOURCE OTX 2 / TFS 0.x, Funciona em TFS 1.x mudando as tags e ajeitando as sintaxes.

      vá em creatureevent.cpp

      procure por:
      else if(type == "preparedeath") _type = CREATURE_EVENT_PREPAREDEATH;
      Adiciona abaixo:
      else if(type == "nocountfrag") _type = CREATURE_EVENT_NOCOUNTFRAG;

      procure por:
      case CREATURE_EVENT_PREPAREDEATH: return "onPrepareDeath";  
      Adicione abaixo: 
      case CREATURE_EVENT_NOCOUNTFRAG: return "noCountFragArea";

      procure por:
      case CREATURE_EVENT_PREPAREDEATH: return "cid, deathList";
      Adicione abaixo:
      case CREATURE_EVENT_NOCOUNTFRAG: return "cid, target";

      agora no mesmo arquivo, vá até o final do arquivo e adicione essa função:
      uint32_t CreatureEvent::executeNoCountFragArea(Creature* creature, Creature* target) { //noCountFragArea(cid, target) if(m_interface->reserveEnv()) { ScriptEnviroment* env = m_interface->getEnv(); if(m_scripted == EVENT_SCRIPT_BUFFER) { env->setRealPos(creature->getPosition()); std::ostringstream scriptstream; scriptstream << "local cid = " << env->addThing(creature) << std::endl; scriptstream << "local target = " << env->addThing(target) << std::endl; if(m_scriptData) scriptstream << *m_scriptData; bool result = true; if(m_interface->loadBuffer(scriptstream.str())) { lua_State* L = m_interface->getState(); result = m_interface->getGlobalBool(L, "_result", true); } m_interface->releaseEnv(); return result; } else { #ifdef __DEBUG_LUASCRIPTS__ std::ostringstream desc; desc << creature->getName(); env->setEvent(desc.str()); #endif env->setScriptId(m_scriptId, m_interface); env->setRealPos(creature->getPosition()); lua_State* L = m_interface->getState(); m_interface->pushFunction(m_scriptId); lua_pushnumber(L, env->addThing(creature)); lua_pushnumber(L, env->addThing(target)); bool result = m_interface->callFunction(2); m_interface->releaseEnv(); return result; } } else { std::clog << "[Error - CreatureEvent::noCountFragArea] Call stack overflow." << std::endl; return 0; } }

      agora vá em creatureevent.h

      procure por:
      CREATURE_EVENT_PREPAREDEATH
      adicione abaixo:
      CREATURE_EVENT_NOCOUNTFRAG

      procure por:
      uint32_t executePrepareDeath(Creature* creature, DeathList deathList);
      Adicione abaixo:
      uint32_t executeNoCountFragArea(Creature* creature, Creature* target);

      agora vá em player.cpp

      procure por:
      bool Player::onKilledCreature(Creature* target, DeathEntry& entry)
      abaixo de:
      War_t enemy; if(targetPlayer->getEnemy(this, enemy)) { if(entry.isLast()) IOGuild::getInstance()->updateWar(enemy); entry.setWar(enemy); }
      Adicione o seguinte código:
      if (targetPlayer){ CreatureEventList killEvents = getCreatureEvents(CREATURE_EVENT_NOCOUNTFRAG); for (const auto &event : killEvents) { if (!event->executeNoCountFragArea(this, target)) { return true; } } }

      //

      Feito isso, tudo completo na sua source, agora é necessário adicionar o creaturescript dentro do servidor

      vá até creaturescripts/scripts
      crie um arquivo chamado, "noCountFragInArea.lua"
      e dentro dele cole o código:
       
      --[[ script feito por feetads / TibiaKing ]]-- --[[ discord: feetads / FeeTads#0246 ]]-- -- Add positions here for which you do not want to count frags local areas = { [1] = {from = {x = 91, y = 122, z = 7}, to = {x = 98, y = 127, z = 7}}, -- from = area superior esquerda / to = area inferior direita (formando um quadrado) } local onlyKillerInArea = false -- only killer need to be in area? function noCountFragArea(cid, target) if not isCreature(cid) or not isCreature(target) then return true end local posKiller = getPlayerPosition(cid) local posTarget = getPlayerPosition(target) for i = 1, #areas do local area = areas[i] if isInArea(posKiller, area.from, area.to) then if onlyKillerInArea then return false elseif isInArea(posTarget, area.from, area.to) then return false end end end return true end
      agora em creaturescripts.xml
      <event type="nocountfrag" name="fragarea" event="script" value="noCountFragInArea.lua"/>
      agora em creaturescripts/scripts/login.lua
       procure por OU semelhante a esse:
      registerCreatureEvent(cid, "AdvanceSave")
      e abaixo adicione:
      registerCreatureEvent(cid, "fragarea")

      //


      Agora tudo certo, quando quiser adiciona uma area que não pega frag, vá até o script e apenas coloque a area, igual o demonstrado no script

      Exemplo:
      local areas = { [1] = {from = {x = 91, y = 122, z = 7}, to = {x = 98, y = 127, z = 7}}, [2] = {from = {x = 1000, y = 1000, z = 7}, to = {x = 1100, y = 1100, z = 7}}, }
      assim somente colocando a area no script e abrindo o server ou dando /reload, já funcionará a area como não pegar frag.
      Esse sistema pode ser bom pra areas de pvp ativo, onde você ainda quer que o player que morrer perca os atributos, como se fosse uma morte normal, porém não conta frag pra quem matar.
      Bom pra sistemas tipo castle 48h (guild war), onde há diversas mortes e risco de pegar red, atrapalhando a war.

      Façam bom proveito dos scripts, e deixem os créditos no script rsrs

      **Eu fiz as alterações e o simples código por isso vim disponibilizar, créditos meus**
    • Por Muvuka
      Abri canal a força creaturescript acho que funcione no creaturescript cria script creaturescript
       
      <channel id="9" name="HELP" logged="yes"/>
      <channel id="12" name="Report Bugs" logged="yes"/>
      <channel id="13" name="Loot" logged="yes"/>
      <channel id="14" name="Report Character Rules Tibia Rules" logged="yes"/>
      <channel id="15" name="Death Channel"/>
      <channel id="6548" name="DexSoft" level="1"/>
      <channel id="7" name="Reports" logged="yes"/>
       
      antes de 
              if(lastLogin > 0) then adicione isso:
                      doPlayerOpenChannel(cid, CHANNEL_HELP) doPlayerOpenChannel(cid, 1,  2, 3) = 1,2 ,3 Channels, entendeu? NÃO FUNCIONA EU QUERO UM MEIO DE ABRI SEM USA A SOURCE
       
      EU NÃO CONSEGUI ABRI EU NÃO TENHO SOURCE
       
       
    • Por bolachapancao
      Rapaziada seguinte preciso de um script que ao utilizar uma alavanca para até 4 jogadores.
      Os jogadores serão teleportados para hunt durante uma hora e depois de uma hora os jogadores serão teleportados de volta para o templo.
       
      Observação: caso o jogador morra ou saia da hunt o evento hunt é cancelado.

      Estou a base canary
      GitHub - opentibiabr/canary: Canary Server 13.x for OpenTibia community.
       
    • Por RAJADAO
      .Qual servidor ou website você utiliza como base? 
      Sabrehaven 8.0
      Qual o motivo deste tópico? 
      Ajuda com novos efeitos
       
      Olá amigos, gostaria de ajuda para introduzir os seguintes efeitos no meu servidor (usando o Sabrehaven 8.0 como base), adicionei algumas runas novas (avalanche, icicle, míssil sagrado, stoneshower & Thunderstorm) e alguns novos feitiços (exevo mas san, exori san, exori tera, exori frigo, exevo gran mas frigo, exevo gran mas tera, exevo tera hur, exevo frigo hur) mas nenhum dos efeitos dessas magias parece existir no servidor, alguém tem um link para um tutorial ou algo assim para que eu possa fazer isso funcionar?
      Desculpe pelo mau inglês, sou brasileiro.

      Obrigado!


      AVALANCHE RUNE id:3161 \/
      (COMBAT_PARAM_TYPE, COMBAT_ICEDAMAGE)
      (COMBAT_PARAM_EFFECT, CONST_ME_ICEAREA)
      (COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ICE)

      STONESHOWER RUNE id:3175 \/
      (COMBAT_PARAM_TYPE, COMBAT_EARTHDAMAGE)
      (COMBAT_PARAM_EFFECT, CONST_ME_STONES)
      (COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_EARTH)

      THUNDERSTORM RUNE id:3202 \/
      (COMBAT_PARAM_TYPE, COMBAT_ENERGYDAMAGE)
      (COMBAT_PARAM_EFFECT, CONST_ME_E NERGYHIT)
      (COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_ENERGYBALL)

      ICICLE RUNE id:3158 \/
      COMBAT_ICEDAMAGE
      CONST_ME_ICEAREA
      CONST_ANI_ICE

      SANTO MÍSSIL RUNA id:3182 \/
      (COMBAT_PARAM_TYPE, COMBAT_HOLYDAMAGE)
      (COMBAT_PARAM_EFFECT, CONST_ME_HOLYDAMAGE)
      (COMBAT_PARAM_EFFECT, CONST_ME_HOLYAREA)
      (COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_HOLY)

      CONST_ME_PLANTATTACK (exevo gran mas tera)
      CONST_ME_ICETORNADO (exevo gran mas frigo)
      CONST_ME_SMALLPLANTS (exevo tera hur)
      CONST_ME_ICEAREA (exevo frigo hur)
      CONST_ME_ICEATTACK (exori frigo)
      CONST_ME_CARNIPHILA (exori tera)

      EXORI SAN \/
      (COMBAT_PARAM_DISTANCEEFFECT, CONST_ANI_SMALLHOLY)
      CONST_ME_HOLYDAM IDADE

      EXEVO MAS SAN \/
      CONST_ME_HOLYAREA
×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo