mirror of
https://github.com/Rogiel/l2jserver2
synced 2025-12-06 07:32:46 +00:00
Implements dropped items on the ground
The dropped item is broadcasted to all players near by and are stored in the database, allowing them to be restored after a server restart.
This commit is contained in:
@@ -2,7 +2,7 @@ CREATE TABLE IF NOT EXISTS `item` (
|
||||
`item_id` int(12) NOT NULL,
|
||||
`template_id` int(10) NOT NULL,
|
||||
`character_id` int(12) DEFAULT NULL,
|
||||
`location` enum('PAPERDOLL','INVENTORY','WAREHOUSE') DEFAULT NULL,
|
||||
`location` enum('GROUND','PAPERDOLL','INVENTORY','WAREHOUSE') DEFAULT NULL,
|
||||
`paperdoll` enum('UNDERWEAR','HEAD','HAIR1','HAIR2','NECK','RIGHT_HAND','CHEST','LEFT_HAND','RIGHT_EAR','LEFT_EAR','GLOVES','LEGS','FEET','RIGHT_FINGER','LEFT_FINGER','LEFT_BRACELET','RIGHT_BRACELET','DECORATION_1','DECORATION_2','DECORATION_3','DECORATION_4','DECORATION_5','DECORATION_6','CLOAK,BELT') DEFAULT NULL,
|
||||
`count` int(10) NOT NULL,
|
||||
`coord_x` int(10) DEFAULT NULL,
|
||||
@@ -19,5 +19,5 @@ CREATE TABLE IF NOT EXISTS `item` (
|
||||
|
||||
INSERT INTO `item` (`item_id`, `template_id`, `character_id`, `location`, `paperdoll`, `count`, `coord_x`, `coord_y`, `coord_z`) VALUES
|
||||
(268635457, 57, 268437456, 'INVENTORY', NULL, 200000000, NULL, NULL, NULL),
|
||||
(268635459, 1, 268437456, 'PAPERDOLL', 'RIGHT_HAND', 1, NULL, NULL, NULL),
|
||||
(268635460, 1, 268437456, 'INVENTORY', NULL, 1, NULL, NULL, NULL);
|
||||
(268635459, 57, NULL, 'GROUND', NULL, 100, 147459, 24434, -1992),
|
||||
(268635460, 1, 268437456, 'INVENTORY', NULL, 1, NULL, NULL, NULL);
|
||||
Reference in New Issue
Block a user