Hi
ich hätte eine Frage:
Was genau sind die ITEM_ID_RANGES in den CONFIG's, und was bewirken die?
ich hätte eine Frage:
Was genau sind die ITEM_ID_RANGES in den CONFIG's, und was bewirken die?
ALTER TABLE `item` DROP `id`; ALTER TABLE `item` AUTO_INCREMENT = 1; ALTER TABLE `item` ADD `id` int UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST;
With this command, the players are able to pickup the Items without any button?Quote:
ITEM_ID_RANGES - are numbers of id in item table, if you drop a item in that map will start from 300000 and they count to xxxxxx.
but if you have noticed you got some number free.
If you wanna rearange your items in table "item" use this command :
Code:ALTER TABLE `item` DROP `id`; ALTER TABLE `item` AUTO_INCREMENT = 1; ALTER TABLE `item` ADD `id` int UNSIGNED NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST;
ITEM_ID_RANGES 100 1000 Spieler X drop ein Item. Da es das erste ist hat es die Id [U]100[/U]! Sofort im anschluss erstellt GM Y sich ein item. Da es das 2te ist bekommt es die ID [U]101[/U]