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

PHP [phpMyAdmin] Commands to edit database.

I can make a command to delete accounts without players??

ty
 
need help at this...
UPDATE 'player_skills' SET `value` = '100' WHERE `player_id` =3 AND `skillid` =4
 
Yes.

howto.jpg


Simply:

Code:
TRUNCATE TABLE `player_storage`;
 
i have save = 0 for all my chars in my server
but i want storage values, vip list, and depot items to save

how would i do that through queries?
 
im trying to delete all of a certain item from the server but im getting this error.
using [LUA[ DELETE FROM player_depotitems,
player_items,
tile_items WHERE itemtype =8877
Lua:
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE itemtype = 8877' at line 1
 
:(
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE itemtype = 9977' at line 1
I want to delete itemZZZ I get that error
I use tfs 0.2.2, latest mysql

EDIT: I fixed the code although I see the items in the houses yet
rq: I need a query to delete accounts without characteres
 
Last edited:
heya? can you make a SQL query?
>delete items of orphan houses(no owner)
 
and how can i create a god or a gm?
i never find a way to do that and
my data carpet doesn't have a players list
to change level or that stuff.
Can anybody help?
 
Code:
UPDATE account SET premdays=0;

should be

Code:
UPDATE accounts SET premdays=0;


Hehe :D
 
Could you make a SQL Query that deletes houses if player is offline for more than 5 days ?
 
is there a code to delete all houses of players that have been inactive for 10 days? Thanks.
 
Omg! Best thread ever! Been looking for this for ever! Thank you x99!
 
Back
Top