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

deathloss

Rexanilator

New Member
Joined
Oct 3, 2009
Messages
297
Reaction score
2
I have searched but have not really found the answer to my question...

I have adjusted deathloss in config.lua...

Code:
	worldType = "pvp"
	protectionLevel = 80
	pvpTileIgnoreLevelAndVocationProtection = true
	pzLocked = 60 * 800
	huntingDuration = 60 * 800
	criticalHitChance = 7
	criticalHitMultiplier = 1
	displayCriticalHitNotify = true
	removeWeaponAmmunition = false
	removeWeaponCharges = false
	removeRuneCharges = true
	whiteSkullTime = 10 * 30 * 500
	noDamageToSameLookfeet = false
	showHealingDamage = false
	showHealingDamageForMonsters = false
	fieldOwnershipDuration = 5 * 1000
	stopAttackingAtExit = true
	oldConditionAccuracy = false
	loginProtectionPeriod = 10 * 1000
	[B]deathLostPercent = 10[/B]
	stairhopDelay = 1 * 1000
	pushCreatureDelay = 2 * 1000
	deathContainerId = 1987
	gainExperienceColor = 215
	addManaSpentInPvPZone = true
	squareColor = 0
	allowFightback = true

It is defaulted to 10 - but I set it to 2 which is the percentage of deathloss I prefer...however - when I changed this to a 2 - players would die and then be dropped to lvl 1.

Is there something else that needs to be done? Right now my deathloss is too much for the higher lvls who drop like 6 lvls on death.

Rep for assistance given...
 
im trying to get no exp loss but everything people said for me doesnt work but i think its something to do with login.lua after taking a look at it when Cykotitan asked me to post it.

Edit; i also read in a post the higher it is, the less you lose in config.lua so imma test that since my ot is just a test ot atm, ill tell you if its true :)
 
Definately not the case...I set it to 20 and lost like 4 lvls....set it back to 10 and lost 2 lvls (at lvl 190). Higher definately causes more loss. But lower causes me to have issues where everyone drops to lvl 1 on death.

Using tfs 0.3.6

Rep given for assistance - please.
 
I got it working when I removed blessings from server (database = no blessings, and none will be not able to buy them ingame)
So try to disable blessings...
 
it has nothing to do with your blessings, just go to your login.lua file in ur creaturescripts and edit this line:

doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 5)

if u put loss * 20 itll have no loss.
 
Back
Top