Arlaxis
www.arlaxis.com
And if I need an English course why you answer me? Envidioso mal parido. motha Fuker
¿Envidioso de tu nivel de inglés? No, gracias.
I am answering you 'cuz i wanna answer you. You are noob on open tibia servers.
And if I need an English course why you answer me? Envidioso mal parido. motha Fuker
i downloadin this tfs and using...when play use /deathlist in game
serv crash, any can help wit this?? or give me script!! ?
<talkaction words="!deathlist" event="script" value="deathlist.lua"/>
local config = {
deathAssistCount = getConfigValue('deathAssistCount') + 1,
maxDeathRecords = getConfigValue('maxDeathRecords'),
limit = ""
}
if(config.deathAssistCount > 0) then
config.limit = " LIMIT 0, " .. config.deathAssistCount
end
function onSay(cid, words, param, channel)
local target = db.getResult("SELECT `name`, `id` FROM `players` WHERE `name` = " .. db.escapeString(param) .. ";")
if(target:getID() == -1) then
doPlayerSendCancel(cid, "A player with that name does not exist.")
return true
end
local targetName, targetId = target:getDataString("name"), target:getDataInt("id")
target:free()
local str, deaths = "", db.getResult("SELECT `id`, `date`, `level` FROM `player_deaths` WHERE `player_id` = " .. targetId .." ORDER BY `date` DESC LIMIT 0, " .. config.maxDeathRecords)
if(deaths:getID() ~= -1) then
repeat
local killers = db.getResult("SELECT environment_killers.name AS monster_name, players.name AS player_name FROM killers LEFT JOIN environment_killers ON killers.id = environment_killers.kill_id LEFT JOIN player_killers ON killers.id = player_killers.kill_id LEFT JOIN players ON players.id = player_killers.player_id WHERE killers.death_id = " .. deaths:getDataInt("id") .. " ORDER BY killers.final_hit DESC, killers.id ASC" .. config.limit)
if(killers:getID() ~= -1) then
if(str ~= "") then
str = str .. "\n" .. os.date("%d %B %Y %X ", deaths:getDataLong("date"))
else
str = os.date("%d %B %Y %X ", deaths:getDataLong("date"))
end
local count, i = killers:getRows(false), 0
repeat
local monster = killers:getDataString("monster_name")
if(i == 0 or i == (count - 1)) then
monster = string.gsub(monster:gsub("an ", ""), "a ", "")
end
if(killers:getDataString("player_name") ~= "") then
if(i == 0) then
str = str .. "Killed at level " .. deaths:getDataInt("level") .. " by:\n "
elseif(i == count) then
str = str .. " and by "
elseif(i % 4 == 0) then
str = str .. ",\n "
else
str = str .. ", "
end
if(monster ~= "") then
str = str .. monster .. " summoned by "
end
str = str .. killers:getDataString("player_name")
else
if(i == 0) then
str = str .. "Died at level " .. deaths:getDataInt("level") .. " by:\n "
elseif(i == count) then
str = str .. " and by "
elseif(i % 4 == 0) then
str = str .. ",\n "
else
str = str .. ", "
end
str = str .. monster
end
i = i + 1
if(i == count) then
str = str .. "."
end
until not(killers:next())
killers:free()
end
until not(deaths:next())
deaths:free()
else
str = "No deaths recorded."
end
doPlayerPopupFYI(cid, "Deathlist for player: " .. targetName .. ".\n\n" .. str)
return true
end
Elf And TFS TEAM
The Forgotten Server PL1 (Crying Damson) Dont Have "CRASH" ONLY WRONG SCRIPTS, CAUSE MY OT IS STABLE A LOT...
Everybody Are Saying "Have Critical BUG/CRASH"...
Guys Look Your Scripts Updating They To 8.50 Correctly...
I Do That, My Server Its Perfect...
What a Have to Say? - Only THANKS To ELF AND TFS TEAM THANKS A LOT GREAT JOB GUYS...
CONGRATULATIONS!!!!
How can i update myscripts to 8.5 correctly? With 8.42 i hadn't sudden crashes. Like other people, sometimes it crashes 5 times a day, sometimes once in a couple of days.
Why players get unjust and when see !frags. (Frags today 0).
my config.lua \/
Code:-- The Forgotten Server Config -- Account manager accountManager = "yes" namelockManager = "yes" newPlayerChooseVoc = "yes" newPlayerSpawnPosX = 424 newPlayerSpawnPosY = 462 newPlayerSpawnPosZ = 7 newPlayerTownId = 1 newPlayerLevel = 8 newPlayerMagicLevel = 0 generateAccountNumber = "no" -- 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. redSkullLength = 1 * 24 * 60 * 60 blackSkullLength = 2 * 24 * 60 * 60 dailyFragsToRedSkull = 4 weeklyFragsToRedSkull = 12 monthlyFragsToRedSkull = 25 dailyFragsToBlackSkull = dailyFragsToRedSkull weeklyFragsToBlackSkull = weeklyFragsToRedSkull monthlyFragsToBlackSkull = monthlyFragsToRedSkull dailyFragsToBanishment = dailyFragsToRedSkull weeklyFragsToBanishment = weeklyFragsToRedSkull monthlyFragsToBanishment = monthlyFragsToRedSkull blackSkulledDeathHealth = 40 blackSkulledDeathMana = 0 useBlackSkull = "yes" advancedFragList = "yes" -- 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 = "yes" maxViolationCommentSize = 200 violationNameReportActionType = 2 autoBanishUnknownBytes = "no" -- Battle -- NOTE: showHealingDamageForMonsters inheritates from showHealingDamage. -- loginProtectionPeriod is the famous Tibia anti-magebomb system. -- deathLostPercent set to nil enables manual mode. worldType = "pvp" protectionLevel = 9 pvpTileIgnoreLevelAndVocationProtection = "yes" pzLocked = 60 * 1000 huntingDuration = 60 * 1000 criticalHitChance = 7 criticalHitMultiplier = 1 displayCriticalHitNotify = "no" removeWeaponAmmunition = "no" removeWeaponCharges = "no" removeRuneCharges = "yes" whiteSkullTime = 15 * 60 * 1000 noDamageToSameLookfeet = "no" showHealingDamage = "no" showHealingDamageForMonsters = "yes" fieldOwnershipDuration = 5 * 1000 stopAttackingAtExit = "no" oldConditionAccuracy = "no" loginProtectionPeriod = 10 * 1000 deathLostPercent = 12 stairhopDelay = 1 * 1000 pushCreatureDelay = 2 * 1000 deathContainerId = 1987 gainExperienceColor = 215 addManaSpentInPvPZone = "yes" squareColor = 0 allowFightback = "yes" -- Connection config worldId = 0 ip = "201.58.95.201" bindOnlyConfiguredIpAddress = "no" loginPort = 7171 gamePort = 7172 adminPort = 7171 statusPort = 7171 loginTries = 10 retryTimeout = 5 * 1000 loginTimeout = 60 * 1000 maxPlayers = 1000 motd = "Bem vindo Ao Slowtec Otserv!" displayOnOrOffAtCharlist = "no" onePlayerOnlinePerAccount = "yes" allowClones = "no" serverName = "Slowtec World" loginMessage = "Bem Vindo ao Slowtec Otserver. Agora Na Versao 8.5,PVP SO LEVEL 9+ , Experiencia por Stages.Sobre Rank diga /ranks (magic,sword etc). O grande segredo é explorar. Bom jogo!" statusTimeout = 5 * 60 * 1000 replaceKickOnLogin = "yes" forceSlowConnectionsToDisconnect = "yes" loginOnlyWithLoginServer = "no" premiumPlayerSkipWaitList = "no" -- 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 passwordType = "plain" -- Deathlist deathListEnabled = "yes" deathListRequiredTime = 1 * 60 * 1000 deathAssistCount = 19 maxDeathRecords = 5 -- Guilds ingameGuildManagement = "yes" levelToFormGuild = 50 premiumDaysToFormGuild = 0 guildNameMinLength = 4 guildNameMaxLength = 30 -- Highscores highscoreDisplayPlayers = 10 updateHighscoresAfterMinutes = 10 -- Houses buyableAndSellableHouses = "yes" houseNeedPremium = "yes" bedsRequirePremium = "yes" levelToBuyHouse = 1 housesPerAccount = 0 houseRentAsPrice = "no" housePriceAsRent = "no" housePriceEachSquare = 2000 houseRentPeriod = "never" houseCleanOld = 0 guildHalls = "no" -- Item usage timeBetweenActions = 200 timeBetweenExActions = 1000 checkCorpseOwner = "yes" hotkeyAimbotEnabled = "yes" maximumDoorLevel = 500 -- Map -- NOTE: storeTrash costs more memory, but will perform alot faster cleaning. -- useHouseDataStorage usage may be found at README. mapName = "Mag" mapAuthor = "Magnun" randomizeTiles = "yes" useHouseDataStorage = "no" storeTrash = "yes" cleanProtectedZones = "yes" mailboxDisabledTowns = "-1" -- Startup -- 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" optimizeDatabaseAtStartup = "yes" removePremiumOnInit = "yes" confirmOutdatedVersion = "no" -- Muted buffer maxMessageBuffer = 4 bufferMutedOnSpellFailure = "no" -- Miscellaneous -- NOTE: promptExceptionTracerErrorBox works only with precompiled support feature, -- called "exception tracer" (__EXCEPTION_TRACER__ flag). -- monsterLootMessage 0 to disable, 1 - only party, 2 - only player, 3 - party or player (like Tibia's) dataDirectory = "data/" allowChangeOutfit = "yes" allowChangeColors = "yes" allowChangeAddons = "yes" disableOutfitsForPrivilegedPlayers = "no" bankSystem = "yes" saveGlobalStorage = "yes" displaySkillLevelOnAdvance = "no" spellNameInsteadOfWords = "no" emoteSpells = "no" promptExceptionTracerErrorBox = "yes" storePlayerDirection = "no" monsterLootMessage = 3 monsterLootMessageType = 25 separateViplistPerCharacter = "no" -- Ghost mode ghostModeInvisibleEffect = "no" ghostModeSpellEffects = "yes" -- Limits idleWarningTime = 14 * 60 * 1000 idleKickTime = 15 * 60 * 1000 expireReportsAfterReads = 1 playerQueryDeepness = 2 maxItemsPerPZTile = 0 maxItemsPerHouseTile = 0 -- Premium-related freePremium = "no" premiumForPromotion = "yes" -- Blessings -- NOTE: blessingReduction* regards items/containers loss. -- eachBlessReduction is how much each bless reduces the experience/magic/skills loss. blessingsOnlyPremium = "yes" blessingReductionBase = 30 blessingReductionDecreament = 5 eachBlessReduction = 8 -- Rates -- NOTE: experienceStages configuration is located in data/XML/stages.xml. -- rateExperienceFromPlayers 0 to disable. experienceStages = "yes" rateExperience = 20 rateExperienceFromPlayers = 0 rateSkill = 45 rateMagic = 25 rateLoot = 2 rateSpawn = 1 -- 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 multiplying every second of logged out time, eg: -- 60 * 1000 / 3 = 20 seconds, what gives 1 stamina minute for 3 being logged off. -- rateStaminaThresholdGain is dividing in case the normal gain (that is -- multiplied by rateStaminaGain, btw.) passed above threshold, eg: -- 60 * 1000 / 3 = 20 / 4 = 5 seconds (3 * 4 = 12 minutes for 1 stamina minute). -- staminaRatingLimit* is in minutes. rateStaminaLoss = 1 rateStaminaGain = 1000 / 3 rateStaminaThresholdGain = 4 staminaRatingLimitTop = 41 * 60 staminaRatingLimitBottom = 14 * 60 rateStaminaAboveNormal = 1.5 rateStaminaUnderNormal = 0.5 staminaThresholdOnlyPremium = "yes" -- 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 = "no" globalSaveHour = 3 shutdownAtGlobalSave = "yes" cleanMapAtGlobalSave = "no" -- Spawns deSpawnRange = 2 deSpawnRadius = 50 -- Summons maxPlayerSummons = 2 teleportAllSummons = "no" teleportPlayerSummons = "no" -- Status ownerName = "Magnun" ownerEmail = "[email protected]" url = "http://Otserv.com.br" location = "Brasil" displayGamemastersWithOnlineCommand = "no" -- Logs -- NOTE: This kind of logging does not work in GUI version. -- For such, please compile the software with __GUI_LOGS__ flag. adminLogsEnabled = "no" displayPlayersLogging = "yes" prefixChannelLogs = "" runFile = "" outLogName = "" errorLogName = "" truncateLogsOnStartup = "no"