• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Mysql Unjustified kills/frags

bleeblahblork

New Member
Joined
Aug 12, 2009
Messages
117
Reaction score
0
My server doesn't do something right when it comes to unjustified kills or frags.

Example:
If I kill a player I can use the command "!frags", and it will show the proper frags and time till removal.

Although, when I relog the character, and use the command "!frags" it will say "You do not have any unjustified frag."

This is without the time being done.

I think this is a problem in my mysql database, but I am not sure.

It would be great if someone could help me.

If anyone has any ideas please let me know. I have a server that is acting like a pvp-enforced, but its a pvp

thank you in advance.
 
This is my config

-- The Forgotten Server Config
-- Account manager
accountManager = "no"
namelockManager = "yes"
newPlayerChooseVoc = "yes"
newPlayerSpawnPosX = 100
newPlayerSpawnPosY = 40
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 10
newPlayerMagicLevel = 2
generateAccountNumber = "no"
-- Banishments
notationsToBan = 13
warningsToFinalBan = 14
warningsToDeletion = 15
banLength = 5 * 24 * 60 * 60
finalBanLength = 30 * 24 * 60 * 60
ipBanishmentLength = 1 * 24 * 60 * 60
broadcastBanishments = "yes"
killsToBan = 10
maxViolationCommentSize = 200
autoBanishUnknownBytes = "no"
-- Battle
worldType = "pvp"
protectionLevel = 50
pvpTileIgnoreLevelAndVocationProtection = "yes"
killsToRedSkull = 6
pzLocked = 40 * 1000
criticalHitChance = 10
criticalHitMultiplier = 1
displayCriticalHitNotify = "yes"
removeWeaponAmmunition = "yes"
removeWeaponCharges = "yes"
removeRuneCharges = "yes"
timeToDecreaseFrags = 18 * 60 * 60 * 1000
whiteSkullTime = 10 * 60 * 1000
noDamageToSameLookfeet = "no"
experienceByKillingPlayers = "yes"
showHealingDamage = "yes"
showHealingDamageForMonsters = "yes"
fieldOwnershipDuration = 1 * 1000
stopAttackingAtExit = "yes"
oldConditionAccuracy = "no"
loginProtectionPeriod = 2 * 1000
deathLostPercent = 20
stairhopDelay = 0 * 1000
gainExperienceColor = 215
-- Connection config
worldId = 0
ip = ""
loginPort = 7171
gamePort = 7172
adminPort = 7171
statusPort = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = "666"
motd = "Welcome to A World Unknown"
displayOnOrOffAtCharlist = "no"
onePlayerOnlinePerAccount = "no"
allowClones = 0
serverName = "A-World-Unknown"
loginMessage = "Please direct any bugs, complaints, or questions to the forum."
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = "yes"
forceSlowConnectionsToDisconnect = "no"
loginOnlyWithLoginServer = "no"
-- Database
sqlType = "mysql"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = ""
sqlPass = ""
sqlDatabase = ""
sqlFile = ""
sqlKeepAlive = 0
mysqlReadTimeout = 10
mysqlWriteTImeout = 10
passwordType = "plain"
-- Deathlist
deathListEnabled = "yes"
maxDeathRecords = 10
-- Guilds
ingameGuildManagement = "no"
levelToFormGuild = 1
guildNameMinLength = 4
guildNameMaxLength = 22
-- Highscores
highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 120
-- Houses
buyableAndSellableHouses = "yes"
houseNeedPremium = "yes"
bedsRequirePremium = "no"
levelToBuyHouse = 50
housesPerAccount = 100
houseRentAsPrice = "no"
housePriceAsRent = "yes"
housePriceEachSquare = 1000
houseRentPeriod = "monthly"
-- Item usage
timeBetweenActions = 200
timeBetweenExActions = 1000
checkCorpseOwner = "no"
hotkeyAimbotEnabled = "yes"
-- Map
mapName = "world"
mapAuthor = "Brandon"
randomizeTiles = "yes"
useHouseDataStorage = "no"
storeTrash = "yes"
cleanProtectedZones = "yes"
-- Startup
defaultPriority = "realtime"
niceLevel = 5
coresUsed = "-1"
optimizeDatabaseAtStartup = "yes"
removePremiumOnInit = "yes"
-- Muted buffer
maxMessageBuffer = 4
bufferMutedOnSpellFailure = "no"
-- Miscellaneous
dataDirectory = "data/"
kickIdlePlayerAfterMinutes = 10
allowChangeOutfit = "yes"
allowChangeColors = "yes"
allowChangeAddons = "yes"
disableOutfitsForPrivilegedPlayers = "no"
bankSystem = "yes"
saveGlobalStorage = "yes"
ghostModeInvisibleEffect = "no"
displaySkillLevelOnAdvance = "yes"
spellNameInsteadOfWords = "no"
emoteSpells = "yes"
expireReportsAfterReads = 1
promptExceptionTracerErrorBox = "yes"
storePlayerDirection = "no"
playerQueryDeepness = 2
-- Premium-related
freePremium = "yes"
premiumForPromotion = "yes"
-- Blessings
blessingsOnlyPremium = "no"
blessingReductionBase = 30
blessingReductionDecreament = 5
eachBlessReduction = 1
-- Rates
experienceStages = "yes"
rateExperience = 20
rateSkill = 20
rateMagic = 20
rateLoot = 2
rateSpawn = 2
-- Stamina
rateStaminaLoss = 1
rateStaminaGain = 1000 / 2
rateStaminaThresholdGain = 200
staminaRatingLimitTop = 41 * 60
staminaRatingLimitBottom = 14 * 60
rateStaminaAboveNormal = 3
rateStaminaUnderNormal = 0.2
staminaThresholdOnlyPremium = "no"
-- Party
experienceShareRadiusX = 50
experienceShareRadiusY = 50
experienceShareRadiusZ = 1
experienceShareLevelDifference = 2 / 3
extraPartyExperienceLimit = 20
extraPartyExperiencePercent = 5
-- Global save
globalSaveEnabled = "yes"
globalSaveHour = 5
shutdownAtGlobalSave = "no"
cleanMapAtGlobalSave = "yes"
-- Spawns
deSpawnRange = 2
deSpawnRadius = 25
-- Summons
maxPlayerSummons = 1
teleportAllSummons = "no"
teleportPlayerSummons = "no"
-- Status
ownerName = "Brandon"
ownerEmail = "[email protected]"
url = "http://a-world-unknown.game-server.cc/"
location = "USA"
displayGamemastersWithOnlineCommand = "no"
-- Logs
adminLogsEnabled = "yes"
displayPlayersLogging = "yes"
prefixChannelLogs = "yes"
runeFile = ""
outLogName = ""
errorLogName = ""
truncateLogsOnStartup = "no"
 
Back
Top