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

Players not lossing skills when dieing

Nvm, my bad, missread the topic title.

Edit: Are you sure you have the skilllosspercent values set properly?
 
I do believe you specify the skills lost upon death in the players table, in the database. Specifically the column named "loss_skills".
 
nope o.O


just player_skills

i mean...the players on my ot, can skill up, and skills WONT reset..... , but they wont lose them either...when dieing
 
my bad...loss_skills = 0 on player table..

what number should be there instead of 0?

my player samples are wrong, guess thats the problem, il ledit them as soon as i know the nuber that i should put there
 
my bad...loss_skills = 0 on player table..

what number should be there instead of 0?

my player samples are wrong, guess thats the problem, il ledit them as soon as i know the nuber that i should put there

Ah well there's your problem, that column basically says "How much % of skills shall the player loose on death?", yours is set to 0, thus players wont loose any skills upon death.
Set it to 10 and players will loose 10% of total gained skills.

And yes, its most likely the player samples which is wrong, aka. has loss_skills set to 0, and when a player is created, its created with 0 in loss_skills.
 
Back
Top