• 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 me plis!! xp loss bug

Bzalucard

New Member
Joined
Dec 13, 2008
Messages
3
Reaction score
0
I have a problem that could not find the solution here or on other sites and not in my humble wisdom ..

The problem is the following:
When a player dies on my server, is losing an average high of xp (about 5 lvls +) even though I bless ...
I already sought all possible solutions, already changed the loss of xp in config.lua, added more lessloss in vocations, I changed the npc bless, added



doPlayerSetLossPercent (target, PLAYERLOSS_EXPERIENCE, 1)
and
doPlayerSetLossPercent (cid, PLAYERLOSS_EXPERIENCE, 1)
archives login.lua and playerdeath.lua in Creaturescripts, to modified my file more S3DB still the problem persists.
Note: My server is already active for a long time and change the database S3DB or the executable can be quite impossible ..
Note ².: My server is 8.40 tfs 0.2.0.0 sqlite
If someone has any script, npc, is to make players lose less xp to die I'm grateful
 
Last edited:
Gesior AAC?? more excuse not know what it is, can you explain or give me another alternative?

Note ².: My server is 8.40 tfs 0.2.0.0 sqlite
I'm sorry
I'm noob even if
I'm happy to help


Plis help-me!
 
Last edited by a moderator:
add
Code:
doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, 100)
to your creaturescripts/scripts/login.lua file, restart the server, login, die and tell us if it helped.
 
Back
Top