• 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 Death Loss - TFS 0.3

JuggaloClown

New Member
Joined
May 8, 2008
Messages
35
Reaction score
0
I'm using TFS 0.3 Rev 902 and i know the "deathLosePercent=X" in config.lua does not work. Is there a way to make it work? Maybe with vocations.xml or somewhere else?

Thanks!
 
In your players table @phpmyadmin...
There are fields called loss_experience, loss_skills etc, or something similiar, there you can change it.
 
Ty, that is good to know that works anyway!

I'm pretty new to sql though and don't know how to write queries to change them all, is there a tutorial somewhere on how to do that? Or would somewhere here be nice enough to write one for changing the exp, skills, mana, and items loss? I can give you the table and fields if needed.
 
PHP:
UPDATE players SET loss_* ='X' WHERE name ='NAME';

X = value in percents
NAME = Character name you want to change the loss.
* = one of the following: experience, mana, skills, items.

And if you want to assign it to all player remove "WHERE name ='NAME';"

so it will look like this
PHP:
UPDATE players SET loss_* ='X';
 
yw...

There is a shorter way to update all at one time tho.

PHP:
UPDATE players SET loss_experience ='X', loss_mana ='X', loss_skills ='X', loss_items ='X' WHERE name ='NAME';

Just though I'll post it if you didnt manage to get it by yourself yet :p
 
Yeah i found a way to update them all at once but i done it a little different (the nooby way, lol)
Here is how i done it, it worked too just a little longer:
PHP:
UPDATE players SET loss_experience ='4';  
UPDATE players SET loss_mana ='4';  
UPDATE players SET loss_skills ='4';  
UPDATE players SET loss_items ='4';
 
Yeah i found a way to update them all at once but i done it a little different (the nooby way, lol)
Here is how i done it, it worked too just a little longer:
PHP:
UPDATE players SET loss_experience ='4';  
UPDATE players SET loss_mana ='4';  
UPDATE players SET loss_skills ='4';  
UPDATE players SET loss_items ='4';
Good! :D Well done!
 
Back
Top