Удаление всех вещей с определённым ID у определнного персонажа.
Code
DELETE * FROM items WHERE item_id=(ид того что удалить) AND owner_id=(ИД перса, у когорого удалить)
Снижение цен во всех магазинах до 1 адены:
Code
update etcitem set price=1 where price > 1;
update weapon set price=1 where price > 1;
update armor set price=1 where price > 1;
Показ всех вещей определённого чара:
Code
mysql> select a.name,"armor",a.crystal_type,i.count,i.enchant_level from armor a, items i where a.item_id=i.item_id and i.owner_id=идчара union select a.name,"weapon",a.crystal_type,i.count,i.enchant_level from weapon a, items i where a.item_id=i.item_id and i.owner_id=идчара union select a.name,"some",a.crystal_type,i.count,i.enchant_level from etcitem a, items i where a.item_id=i.item_id and i.owner_id=идчара;
Убирает вес:
Code
update etcitem set weight=1 where weight> 1;
update weapon set weight=1 where weight> 1;
update armor set weight=1 where weight > 1;
Дропаются только адены:
Code
DELETE FROM `droplist` WHERE (`itemId`!='57') AND (`category`='-1')
Шанс дропа аден 100% вместо 70%:
Code
UPDATE `droplist` SET `droplist`.`chance`=1000000 WHERE `droplist`.`itemId`=57;
В.Куда это вписывать?
О.Заходим в Navicat,открываем нужную нам ДБ,открываем консоль(F6) и туда вписываем.