DaniloNunes 1 Postado Abril 11, 2010 Share Postado Abril 11, 2010 -- Battle -- NOTE: showHealingDamageForMonsters inheritates from showHealingDamage. -- loginProtectionPeriod is the famous Tibia anti-magebomb system. -- deathLostPercent set to nil enables manual mode. worldType = "pvp" protectionLevel = 100 pvpTileIgnoreLevelAndVocationProtection = "yes" pzLocked = 5 * 1000 huntingDuration = 5 * 1000 criticalHitChance = 25 criticalHitMultiplier = 1 displayCriticalHitNotify = "no" removeWeaponAmmunition = "yes" removeWeaponCharges = "yes" removeRuneCharges = "yes" whiteSkullTime = 5 * 60 * 1000 noDamageToSameLookfeet = "no" showHealingDamage = "yes" showHealingDamageForMonsters = "no" fieldOwnershipDuration = 5 * 1000 stopAttackingAtExit = "no" oldConditionAccuracy = "no" loginProtectionPeriod = 10 * 1000 deathLostPercent = 20 stairhopDelay = 2 * 1000 pushCreatureDelay = 2 * 1000 deathContainerId = 1987 gainExperienceColor = 215 addManaSpentInPvPZone = "yes" squareColor = 0 allowFightback = "yes" GALERA QUERIA MUITO COLOCAR SISTEMA DE RED SKULL NO MEU OT.. MAIS NÃO CONSIGO.. ALGUÉM PODERIA COLOCAR UM PRA MIM? ESSE AÍ EM CIMA É DO MEU.. OBRIGADO Link para o comentário https://xtibia.com/forum/topic/130718-sistema-redskull/ Compartilhar em outros sites More sharing options...
sorox 2 Postado Abril 11, 2010 Share Postado Abril 11, 2010 qual a versao? Link para o comentário https://xtibia.com/forum/topic/130718-sistema-redskull/#findComment-861482 Compartilhar em outros sites More sharing options...
DaniloNunes 1 Postado Abril 11, 2010 Autor Share Postado Abril 11, 2010 (editado) ( OT ALISSOW 8.50 ).. OBRIGADO Editado Abril 11, 2010 por DaniloN Link para o comentário https://xtibia.com/forum/topic/130718-sistema-redskull/#findComment-861483 Compartilhar em outros sites More sharing options...
sorox 2 Postado Abril 11, 2010 Share Postado Abril 11, 2010 (editado) olha eu to com 1 vancini 8.54 aki tenta se nao der eu nao sei espera outra pessoa responde aparece assim em cima de battle -- 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 = 24 * 60 * 60 blackSkullLength = 42 * 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 = true -- 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 EDIT vc fez um topico igual a 8 min atras Editado Abril 11, 2010 por AFFNAOSEIPOOO Link para o comentário https://xtibia.com/forum/topic/130718-sistema-redskull/#findComment-861484 Compartilhar em outros sites More sharing options...
DaniloNunes 1 Postado Abril 11, 2010 Autor Share Postado Abril 11, 2010 obrigado .. mas continua sem funcionar "/ Link para o comentário https://xtibia.com/forum/topic/130718-sistema-redskull/#findComment-861582 Compartilhar em outros sites More sharing options...
sorox 2 Postado Abril 11, 2010 Share Postado Abril 11, 2010 (editado) deve ser porque o meu eh 8.55 (nao 8.54 me esqueci desse fato) e tem black skull vo ve se consigo e edito aki o post EDIT tenta agora -- 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 = 24 * 60 * 60 dailyFragsToRedSkull = 3 weeklyFragsToRedSkull = 5 monthlyFragsToRedSkull = 10 dailyFragsToBanishment = dailyFragsToRedSkull weeklyFragsToBanishment = weeklyFragsToRedSkull monthlyFragsToBanishment = monthlyFragsToRedSkull useFragHandler = true advancedFragList = true se nao for nao sei como Editado Abril 11, 2010 por AFFNAOSEIPOOO Link para o comentário https://xtibia.com/forum/topic/130718-sistema-redskull/#findComment-861588 Compartilhar em outros sites More sharing options...
DaniloNunes 1 Postado Abril 11, 2010 Autor Share Postado Abril 11, 2010 vc pode mandar o teu frags ? talkction/scripts/frags grato Link para o comentário https://xtibia.com/forum/topic/130718-sistema-redskull/#findComment-861600 Compartilhar em outros sites More sharing options...
sorox 2 Postado Abril 11, 2010 Share Postado Abril 11, 2010 (editado) EDIT agora entendi aqui esta o meu frags local config = { advancedFragList = getBooleanFromString(getConfigValue("advancedFragList")) } function onSay(cid, words, param, channel) local time = os.time() local times = {today = (time - 86400), week = (time - (7 * 86400))} local contents = {day = {}, week = {}, month = {}} local result = db.getResult("SELECT `pd`.`date`, `pd`.`level`, `p`.`name` FROM `player_killers` pk LEFT JOIN `killers` k ON `pk`.`kill_id` = `k`.`id` LEFT JOIN `player_deaths` pd ON `k`.`death_id` = `pd`.`id` LEFT JOIN `players` p ON `pd`.`player_id` = `p`.`id` WHERE `pk`.`player_id` = " .. getPlayerGUID(cid) .. " AND `k`.`unjustified` = 1 AND `pd`.`date` >= " .. (time - (30 * 86400)) .. " ORDER BY `pd`.`date` DESC") if(result:getID() ~= -1) then repeat local content = { name = result:getDataString("name"), level = result:getDataInt("level"), date = result:getDataInt("date") } if(content.date > times.today) then table.insert(contents.day, content) elseif(content.date > times.week) then table.insert(contents.week, content) else table.insert(contents.month, content) end until not result:next() result:free() end local size = { day = table.maxn(contents.day), week = table.maxn(contents.week), month = table.maxn(contents.month) } if(config.advancedFragList) then local result = "Frags gained today: " .. size.day .. "." if(size.day > 0) then for _, content in ipairs(contents.day) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end result = result .. "\nFrags gained this week: " .. (size.day + size.week) .. "." if(size.week > 0) then for _, content in ipairs(contents.week) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end result = result .. "\nFrags gained this month: " .. (size.day + size.week + size.month) .. "." if(size.month > 0) then for _, content in ipairs(contents.month) do result = result .. "\n* " .. os.date("%d %B %Y %X at ", content.date) .. content.name .. " on level " .. content.level end result = result .. "\n" end local skullEnd = getPlayerSkullEnd(cid) if(skullEnd > 0) then result = result .. "\nYour " .. (getCreatureSkullType(cid) == SKULL_RED and "red" or "black") .. " skull will expire at " .. os.date("%d %B %Y %X", skullEnd) end doPlayerPopupFYI(cid, result) else doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "You currently have " .. size.day .. " frags today, " .. (size.day + size.week) .. " this week and " .. (size.day + size.week + size.month) .. " this month.") if(size.day > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Last frag at " .. os.date("%d %B %Y %X", contents.day[1].date) .. " on level " .. contents.day[1].level .. " (" .. contents.day[1].name .. ").") end local skullEnd = getPlayerSkullEnd(cid) if(skullEnd > 0) then doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, "Your " .. (getCreatureSkullType(cid) == SKULL_RED and "red" or "black") .. " skull will expire at " .. os.date("%d %B %Y %X", skullEnd)) end end return true end espero ter ajudado Editado Abril 13, 2010 por AFFNAOSEIPOOO Link para o comentário https://xtibia.com/forum/topic/130718-sistema-redskull/#findComment-861646 Compartilhar em outros sites More sharing options...
zandro3210 5 Postado Julho 27, 2010 Share Postado Julho 27, 2010 -- Battle -- NOTE: showHealingDamageForMonsters inheritates from showHealingDamage. -- loginProtectionPeriod is the famous Tibia anti-magebomb system. -- deathLostPercent set to nil enables manual mode. worldType = "pvp" protectionLevel = 100 pvpTileIgnoreLevelAndVocationProtection = "yes" pzLocked = 5 * 1000 huntingDuration = 5 * 1000 criticalHitChance = 25 criticalHitMultiplier = 1 displayCriticalHitNotify = "no" removeWeaponAmmunition = "yes" removeWeaponCharges = "yes" removeRuneCharges = "yes" whiteSkullTime = 5 * 60 * 1000 noDamageToSameLookfeet = "no" showHealingDamage = "yes" showHealingDamageForMonsters = "no" fieldOwnershipDuration = 5 * 1000 stopAttackingAtExit = "no" oldConditionAccuracy = "no" loginProtectionPeriod = 10 * 1000 deathLostPercent = 20 stairhopDelay = 2 * 1000 pushCreatureDelay = 2 * 1000 deathContainerId = 1987 gainExperienceColor = 215 addManaSpentInPvPZone = "yes" squareColor = 0 allowFightback = "yes" GALERA QUERIA MUITO COLOCAR SISTEMA DE RED SKULL NO MEU OT.. MAIS NÃO CONSIGO.. ALGUÉM PODERIA COLOCAR UM PRA MIM? ESSE AÍ EM CIMA É DO MEU.. OBRIGADO aonde se coloca esse sistema ai ? Link para o comentário https://xtibia.com/forum/topic/130718-sistema-redskull/#findComment-912766 Compartilhar em outros sites More sharing options...
Posts Recomendados