• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

downgrade level remove

Na Amigo

The crazy girl
Joined
Jun 5, 2017
Messages
254
Solutions
3
Reaction score
17
Location
Egypt
if my character died it's downgrade level
i want stop the downgrade if it die i am using forgotten server 0.3.7
and gesior aac i've made into all vocation
loss_experience i changed the value to 0
and in config i changed the deathLostPercent to 0
but it's still downgraded sorry for bad english i'm not good
 
Make sure the experience you start with matches the level you are.
 
Make sure the experience you start with matches the level you are.
you mean start level i've used this following at sql query
Code:
UPDATE  `players` SET  `level` =8,
`maglevel` =0,
`experience` =4200,
`health` =185,
`healthmax` =185,
`mana` =35,
`manamax` =35,
`conditions` = NULL ,
`soul` =100,
`cap` =400,
`lastlogin` =0,
`lastip` =0,
`skull` =0,
`skulltime` =0,
`rank_id` =0,
`blessings` =0 WHERE  `level` <8;
 
Try executing this in your database.

Code:
UPDATE `players` SET `death_loss`= 0 WHERE 1;

Then edit the players table structure and make sure death_loss is default 0.
 
Try executing this in your database.

Code:
UPDATE `players` SET `death_loss`= 0 WHERE 1;

Then edit the players table structure and make sure death_loss is default 0.
i've post this at my database it send this message
Code:
Error
SQL query:

UPDATE  `players` SET  `death_loss` =0 WHERE 1

MySQL said: Documentation

#1054 - Unknown column 'death_loss' in 'field list'
 
Hi @Na Amigo
Just a quick question have you changed PLAYERLOSS_EXPERIENCE in Login.lua ?
I'm using tfs 0.3.6 and when I've changed this to 0 after my character died I didn't lose any level exp or skill exp.

It looks something like this:
LUA:
function onLogin(cid)
    local loss = getConfigValue('deathLostPercent')
    if(loss ~= nil) then
        doPlayerSetLossPercent(cid, PLAYERLOSS_EXPERIENCE, loss * 0)
    end

Regards
Goku97
 

Similar threads

Back
Top