• 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!

Help Don't Lose any exp

111a111

Banned User
Joined
Jan 29, 2008
Messages
78
Reaction score
0
Hello if i kill a player or die on my ot he or me nt lose exp or skill or mag lvl why??
 
okey here it is config.lua

-- The Zytarios Server Config

-- Account manager
accountManager = "yes"
namelockManager = "yes"
newPlayerChooseVoc = "no"
newPlayerSpawnPosX = 32097
newPlayerSpawnPosY = 32219
newPlayerSpawnPosZ = 7
newPlayerTownId = 1
newPlayerLevel = 1
newPlayerMagicLevel = 0
generateAccountNumber = "no"

-- Banishments
notationsToBan = 3
warningsToFinalBan = 4
warningsToDeletion = 5
banLength = 7 * 24 * 60 * 60
finalBanLength = 30 * 24 * 60 * 60
ipBanishmentLength = 1 * 24 * 60 * 60
broadcastBanishments = "yes"
killsToBan = 6
maxViolationCommentSize = 200

-- Battle
worldType = "pvp"
hotkeyAimbotEnabled = "yes"
protectionLevel = 50
pvpTileIgnoreLevelAndVocationProtection = "yes"
killsToRedSkull = 4
pzLocked = 60 * 1000
criticalHitChance = 7
displayCriticalHitNotify = "no"
removeAmmoWhenUsingDistanceWeapon = "no"
removeChargesFromRunes = "yes"
timeToDecreaseFrags = 1 * 60 * 60 * 1000
whiteSkullTime = 15 * 60 * 1000
noDamageToSameLookfeet = "no"
experienceByKillingPlayers = "no"
showHealingDamage = "no"
fieldOwnershipDuration = 5 * 1000
stopAttackingAtExit = "no"
oldConditionAccuracy = "no"

-- Connection config
worldId = 0
ip = "213.64.75.244"
port = 7171
loginTries = 10
retryTimeout = 5 * 1000
loginTimeout = 60 * 1000
maxPlayers = "1000"
motd = "Welcome to the Zytarios Server 8.4, Hosting with a dedicated."
displayOnOrOffAtCharlist = "no"
onePlayerOnlinePerAccount = "yes"
allowClones = 2
serverName = "Zytarios RPG"
loginMessage = "Welcome to the Zytarios Server 8.4, Hosting with a dedicated."
adminLogsEnabled = "no"
statusTimeout = 5 * 60 * 1000
replaceKickOnLogin = "yes"
forceSlowConnectionsToDisconnect = "no"
loginOnlyWithLoginServer = "no"

-- Database
-- NOTE: sqlFile is used only by sqlite database, and sqlKeepAlive by mysql database.
-- To disable sqlKeepAlive use 0 value.
sqlType = "sqlite"
sqlHost = "localhost"
sqlPort = 3306
sqlUser = "root"
sqlPass = "135135"
sqlDatabase = "tfs"
sqlFile = "forgottenserver.s3db"
sqlKeepAlive = 60
optimizeDatabaseAtStartup = "yes"
passwordType = "sha5"

-- Deathlist
deathListEnabled = "yes"
maxDeathRecords = 5

-- Guilds
ingameGuildManagement = "yes"
levelToFormGuild = 8
guildNameMinLength = 4
guildNameMaxLength = 20

-- Highscores
highscoreDisplayPlayers = 15
updateHighscoresAfterMinutes = 60

-- Houses
buyableAndSellableHouses = "yes"
housesPerAccount = 1
levelToBuyHouse = 50
houseRentAsPrice = "no"
housePriceAsRent = "no"
housePriceEachSQM = 5000
houseRentPeriod = "never"

-- Item usage
timeBetweenActions = 200
timeBetweenExActions = 1000

-- Map
mapName = "world"
mapAuthor = "Ates"
randomizeTiles = "yes"
cleanProtectedZones = "yes"

-- Miscellaneous
-- NOTE: defaultPriority works only on Windows
defaultPriority = "high"
maxMessageBuffer = 100
kickIdlePlayerAfterMinutes = 15
allowChangeOutfit = "yes"
allowChangeColors = "yes"
disableOutfitsForPrivilegedPlayers = "no"
displayGamemastersWithOnlineCommand = "no"
bankSystem = "yes"
saveGlobalStorage = "yes"
displaySkillLevelOnAdvance = "no"
spellNameInsteadOfWords = "no"
emoteSpells = "no"
expireReportsAfterReads = 1

-- Premium account
freePremium = "no"
removePremiumOnInit = "yes"
premiumForPromotion = "yes"
blessingsOnlyPremium = "yes"
houseNeedPremium = "yes"
bedsRequirePremium = "yes"

-- Rates
-- NOTE: experienceStages configuration is located in data/XML/stages.xml.
rateExp = 5
rateSkill = 85
rateLoot = 3
rateMagic = 15
rateSpawn = 1
extraPartyExpLimit = 20
extraPartyExpPercent = 5
experienceStages = "yes"

-- 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 = 8
shutdownAtGlobalSave = "nno"
cleanMapAtGlobalSave = "no"

-- Spawns
deSpawnRange = 2
deSpawnRadius = 50

-- Summons
maxPlayerSummons = 2
teleportAllSummons = "no" --FIXME: Doesn't work
teleportPlayerSummons = "no" --FIXME: Doesn't work

-- Status
ownerName = "Jimmy & Ates"
ownerEmail = "[email protected]"
url = "http://85.225.33.186"
location = "Europe"
 
In your database, click the SQL tab and write this in,
PHP:
UPDATE players SET `loss_experience` = 10 AND `loss_mana` = 10 AND `loss_skills` = 10 AND `loss_items` = 10;
Make sure the server is offline when you do this.
 
Back
Top