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

Solved Dont lose skill!

Status
Not open for further replies.
more especific open config.lua and find deathLostPercent = 10
then put deathLostPercent = 0
 
1. Your server needs to be shut down, or all your players needs to be offline.
2. Login to phpMyAdmin.
3. Select players.
4. Select SQL(between Structure and Search), you will see a window where you can write.
5. Delete the text from the window( if there is any), mine always has text "SELECT * FROM `players` WHERE 1", delete it.
6. Paste this code
Code:
UPDATE players SET loss_skills = 0, loss_mana=0;
7. Press Go.

If any player is online, the changes will not affect them. It only affects the offline players.
 
Last edited:
1. Your server needs to be shut down, or all your players needs to be offline.
2. Login to phpMyAdmin.
3. Select players.
4. Select SQL(between Structure and Search), you will see a window where you can write.
5. Delete the text from the window( if there is any), mine always has text "SELECT * FROM `players` WHERE 1", delete it.
6. Paste this code
Code:
UPDATE players SET loss_skills = 0, loss_mana=0;
7. Press Go.

If any player is online, the changes will not affect them. It only affects the offline players.
no.... cuz if someone makes new caharacter the NEW CHARACTER will loss skills
 
nvm, add this in your config.lua:
Code:
	doPlayerSetLossPercent(cid, PLAYERLOSS_SKILLS, 0)
 
hey cyko can you tell me how to make when players die reset lvl to 410 I have war server and have chars like edler druid etc but when ppl make chars in the page the lvl saves. can you help me?
 
hey cyko can you tell me how to make when players die reset lvl to 410 I have war server and have chars like edler druid etc but when ppl make chars in the page the lvl saves. can you help me?
save = 0 in table players, for samples[?] too

Execute this query:
PHP:
UPDATE `players` SET `save` = 0 WHERE `group_id` < 4;
 
accountmanagement.php, add red line:
Code:
					$player->setLossItems($char_to_copy->getLossItems());
[B][COLOR="Red"]					$player->unsetSave();[/COLOR][/B]
					$player->save();
 
Status
Not open for further replies.
Back
Top