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

Reset My ot problem

deivil70

New Member
Joined
Nov 8, 2015
Messages
3
Reaction score
0
Hey guys i need to reset players data,lvl,house owners, everything like i want to make the server back to 0 without deleting my account manager
Iam also using sqlite (sqlite studio etc) not Mysql or phpmyadmin or any of these
any ideas please :D?
 
RESET CHARACTERS back to level 8:
Code:
UPDATE players SET level=8, health=150, healthmax=150, experience=0, looktype=128, mana=100, manamax=100, posx=1003, posy=996, posz=7, loss_experience=10, deleted=0;

reset accounts(premium points & premium days)
Code:
UPDATE accounts SET premdays=0, premium_points=0;
Reset houses:
Code:
UPDATE houses SET owner=0;

Clear 'Kills','Deaths','Dp Items','killers','namelocks','storages','items','shop history':
Code:
DELETE * FROM killers;
DELETE * FROM player_deaths;
DELETE * FROM player_depotitems;
DELETE * FROM player_killers;
DELETE * FROM player_namelocks;
DELETE * FROM player_storage;
DELETE * FROM player_items;
DELETE * FROM z_shop_history_item;
 
RESET CHARACTERS back to level 8:
Code:
UPDATE players SET level=8, health=150, healthmax=150, experience=0, looktype=128, mana=100, manamax=100, posx=1003, posy=996, posz=7, loss_experience=10, deleted=0;

reset accounts(premium points & premium days)
Code:
UPDATE accounts SET premdays=0, premium_points=0;
Reset houses:
Code:
UPDATE houses SET owner=0;

Clear 'Kills','Deaths','Dp Items','killers','namelocks','storages','items','shop history':
Code:
DELETE * FROM killers;
DELETE * FROM player_deaths;
DELETE * FROM player_depotitems;
DELETE * FROM player_killers;
DELETE * FROM player_namelocks;
DELETE * FROM player_storage;
DELETE * FROM player_items;
DELETE * FROM z_shop_history_item;
sorry but iam a new bie where do i put these?
 
Do you use sqlite or mySQL?

if you use sqlite and forgotten server, try to delete "forgotten.s3db?? " or something like that.
if you have a clean backup of it ofcourse! always have clean backups mate :)

if you use mySQL i dont actually know :o i guess its the same tho, delete" schema.sql?? " and do a new database with a fresh schema.sql :)
 
@deivil70 visit your PhpMyAdmin page ( http://localhost/phpmyadmin ) or ( http://yourSERVERipaddress/phpmyadmin )http://localhost/phpmyadmin
1. Login on your PhpMyAdmin page.
2T65l5rSl.png


2. Choose your database (where all accounts and players are saved.)
9hi-ss1NI.png

3. Go to SQL tab.
qdwKxakrH.png

4. Paste the code & click RUN.
eZk-jqL4L.png
 
Back
Top