Like AngeLOT told you, You might have anyProb a script which gives them blessing? or protection of lose on death?
creaturescript
which prevent loss or adding blessings, Search in your creaturescripts
specially login.lua
for thesedoSetCreatureDropLoot
doPlayerSetLossPercent
doPlayerAddBlessing
config.lua
deathLostPercent
UPDATE `players` SET `loss_experience` = 10;
UPDATE `players` SET `loss_mana` = 10;
UPDATE `players` SET `loss_skills` = 10;
UPDATE `players` SET `loss_containers` = 10;
UPDATE `players` SET `loss_items` = 10;
death.luaProb a script which gives them blessing? or protection of lose on death?
Show us death.lua
function onPrepareDeath(cid, deathList)
if isPlayer(cid) then
if getPlayerLevel(cid) <= 1000 then
return true
end
local exp = getPlayerExperience(cid)
if getPlayerLevel(cid) <= 120000 and getPlayerLevel(cid) > 1000 then
--local lost3 = math.floor(-exp*0.0000001/100)
--doPlayerAddExperience(cid, -lost3)
doPlayerSendTextMessage(cid, 22, "You have lost experience.")
elseif getPlayerBlessing(cid, 1) == false then
--doPlayerAddLevel(cid, 1000, true)
doPlayerSendTextMessage(cid, 22, "You died without bless and lost lvls")
end
doCreatureSetPartyShield(cid,0)
local store = getPlayerStorageValue(cid,47823)
if type(store) == "number" then
setPlayerStorageValue(cid,47823,store+1)
setPlayerStorageValue(cid,23047)
end
if getPlayerStorageValue(cid,59463) == 1 then
setPlayerStorageValue(cid,59463)
setGlobalStorageValue(59955,-1)
end
--[[ if getPlayerLevel(cid) > getGlobalStorageValue(50511) then
local paraStat = getParalyzeStatistics(getPlayerByName(getCreatureName(cid)))
if paraStat then
doPlayerSendTextMessage(getPlayerByName("Hitman"),20,parastat)
for i = 1, #paraStat do
local delay = paraStat[i].timepush-paraStat[i].timepara
if (delay < 190) then
local file = io.open("data/scores/parabotters.txt", "a")
file:write("T: ".. os.date("[%dth] %X") .."N: ".. getCreatureName(cid) .."D: ".. delay .." O: ".. getPlayerNameByGUID(paraStat[i].id) .."\n")
file:close()
end
end
end ]]--
end
return true
end
Like AngeLOT told you, You might have anyProb a script which gives them blessing? or protection of lose on death?
creaturescript
which prevent loss or adding blessings, Search in your creaturescripts
specially login.lua
for thesedoSetCreatureDropLoot
doPlayerSetLossPercent
doPlayerAddBlessing
config.lua
deathLostPercent
UPDATE `players` SET `loss_experience` = 10;
UPDATE `players` SET `loss_mana` = 10;
UPDATE `players` SET `loss_skills` = 10;
UPDATE `players` SET `loss_containers` = 10;
UPDATE `players` SET `loss_items` = 10;
DoneLike AngeLOT told you, You might have anycreaturescript
which prevent loss or adding blessings, Search in yourcreaturescripts
speciallylogin.lua
for these
And also tell us what value you have in yourLUA:doSetCreatureDropLoot doPlayerSetLossPercent doPlayerAddBlessing
config.lua
Maybe paste this query too incase your server have wrong ones.LUA:deathLostPercent
SQL:UPDATE `players` SET `loss_experience` = 10; UPDATE `players` SET `loss_mana` = 10; UPDATE `players` SET `loss_skills` = 10; UPDATE `players` SET `loss_containers` = 10; UPDATE `players` SET `loss_items` = 10;