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

just open phpmyadmin and click on empty
or
TRUNCATE TABLE `accounts`
 
On my server, some players have two mail boxes inside their depots, so i need a query to list all itemid 2594 with the same pid grouped by player_id.
 
On my server, some players have two mail boxes inside their depots, so i need a query to list all itemid 2594 with the same pid grouped by player_id.
 
PHP:
SELECT `player_id` , COUNT( * ) FROM `player_depotitems`
WHERE `itemtype` =2594 AND `pid` = `pid` GROUP BY `player_id` HAVING COUNT( * ) >1 ORDER BY `player_depotitems`.`player_id` ASC LIMIT 0 , 30
 
Help question pleased

as I can give 60 points to all players over level 200?

how I can remove the outfit and addons of the players?

as I remove the frags of the Players'


how to remove items from the homes also like this .. but in houses ..
I using houseDataStorage = "binary-tilebased"

DELETE FROM `player_depotitems` WHERE `itemtype` IN (2160, 2453, 6528, 8851, 8909, 8908, 8907, 8906, 8905, 2493, 2361, 8888, 8882, 8883, 8881, 2495, 8918, 10021, 6132, 2640, 2494, 2471, 7429, 7434, 7390, 7384, 7389, 7415, 7406, 7380, 7392, 8890, 8928, 8924, 8930, 8854)
 
i have 1 problem
i have Znote Acc 1.4 And Template Tibia.com and have problem in Latest News y Forum
string(53) "SELECT `type` FROM `accounts` WHERE `id`='3' LIMIT 1;"
(query - SQL error)
Type: select_single (select single row from database)

Unknown column 'type' in 'field list'

and not have query of !shop command

more expliqued : Conectarse
 
Why aren't you just adjusting this in config.php?
PHP:
$config['site']['newchar_towns'] = array(1);
Players will login at the position you registered for town ID 1.

Edit: You can change default position in accountmanagement.php
PHP:
                    $char_to_copy->setPosX(0);
                    $char_to_copy->setPosY(0);
                    $char_to_copy->setPosZ(0);
 
guys i have a real proplem , when i add the sql code it shows nothing no errors no confirm messages , rly nothing!
 
Tutorial for using commands in phpmyadmin? I was thinking that tutorial should be for console commands in mysql :)
 
Possible to make a sql command to give a player a group id? without going to player tables, and im using TFS 1.0
 
Back
Top