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

deathLoss?

Evan

A splendid one to behold
Senator
Premium User
Joined
May 6, 2009
Messages
7,019
Solutions
1
Reaction score
1,029
Location
United States
Anyone know how to make it so you don't lose anything when you die?

I set this in config.lua:
Lua:
	deathLostPercent = 0

But it ain't working...
 
write this in phpmyadmin
PHP:
UPDATE `players` SET `loss_experience` = 0, `loss_mana` = 0, `loss_skills` = 0, `loss_containers` = 0, `loss_items` = 0;
 
okay, it updated all the current existing accounts, but when I made a new character, it still loses stuff

EDIT:

solved it

changed
PHP:
	`loss_experience` INT NOT NULL DEFAULT 100,
	`loss_mana` INT NOT NULL DEFAULT 100,
	`loss_skills` INT NOT NULL DEFAULT 100,
	`loss_containers` INT NOT NULL DEFAULT 100,
	`loss_items` INT NOT NULL DEFAULT 100,

to
PHP:
	`loss_experience` INT NOT NULL DEFAULT 0,
	`loss_mana` INT NOT NULL DEFAULT 0,
	`loss_skills` INT NOT NULL DEFAULT 0,
	`loss_containers` INT NOT NULL DEFAULT 0,
	`loss_items` INT NOT NULL DEFAULT 0,
 
Back
Top