Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Index: /trunk/Data/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java
- ===================================================================
- --- /trunk/Data/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java (revision 339)
- +++ /trunk/Data/dist/game/data/scripts/handlers/admincommandhandlers/AdminAdmin.java (revision 340)
- @@ -25,4 +25,5 @@
- import com.l2jserver.gameserver.datatables.AdminTable;
- import com.l2jserver.gameserver.datatables.DoorTable;
- +import com.l2jserver.gameserver.datatables.FakePcsTable;
- import com.l2jserver.gameserver.datatables.ItemTable;
- import com.l2jserver.gameserver.datatables.MultiSell;
- @@ -306,4 +307,9 @@
- activeChar.sendMessage("All Doors have been reloaded");
- }
- + else if (type.startsWith("fakenpc"))
- + {
- + FakePcsTable.getInstance().reloadData();
- + activeChar.sendMessage("All Fake NPC have been reloaded");
- + }
- activeChar.sendMessage("WARNING: There are several known issues regarding this feature. Reloading server data during runtime is STRONGLY NOT RECOMMENDED for live servers, just for developing environments.");
- }
- Index: /trunk/Data/dist/sql/Custom sql for server/fake_pcs/fake_pcs.sql
- ===================================================================
- --- /trunk/Data/dist/sql/Custom sql for server/fake_pcs/fake_pcs.sql (revision 340)
- +++ /trunk/Data/dist/sql/Custom sql for server/fake_pcs/fake_pcs.sql (revision 340)
- @@ -0,0 +1,75 @@
- +SET FOREIGN_KEY_CHECKS=0;
- +-- ----------------------------
- +-- Table structure for `fake_pcs`
- +-- ----------------------------
- +DROP TABLE IF EXISTS `fake_pcs`;
- +CREATE TABLE `fake_pcs` (
- + `npc_id` int(11) NOT NULL,
- + `race` int(11) NOT NULL DEFAULT '0',
- + `sex` int(11) NOT NULL DEFAULT '0',
- + `class` int(11) NOT NULL DEFAULT '0',
- + `title` varchar(255) NOT NULL,
- + `title_color` int(11) NOT NULL DEFAULT '0',
- + `name` varchar(255) NOT NULL,
- + `name_color` int(11) NOT NULL DEFAULT '0',
- + `hair_style` int(11) NOT NULL DEFAULT '0',
- + `hair_color` int(11) NOT NULL DEFAULT '0',
- + `face` int(11) NOT NULL DEFAULT '0',
- + `mount` tinyint(4) NOT NULL DEFAULT '0',
- + `team` tinyint(4) NOT NULL DEFAULT '0',
- + `hero` tinyint(4) NOT NULL DEFAULT '0',
- + `pd_under` int(11) NOT NULL DEFAULT '0',
- + `pd_under_aug` int(11) NOT NULL DEFAULT '0',
- + `pd_head` int(11) NOT NULL DEFAULT '0',
- + `pd_head_aug` int(11) NOT NULL DEFAULT '0',
- + `pd_rhand` int(11) NOT NULL DEFAULT '0',
- + `pd_rhand_aug` int(11) NOT NULL DEFAULT '0',
- + `pd_lhand` int(11) NOT NULL DEFAULT '0',
- + `pd_lhand_aug` int(11) NOT NULL DEFAULT '0',
- + `pd_gloves` int(11) NOT NULL DEFAULT '0',
- + `pd_gloves_aug` int(11) NOT NULL DEFAULT '0',
- + `pd_chest` int(11) NOT NULL DEFAULT '0',
- + `pd_chest_aug` int(11) NOT NULL DEFAULT '0',
- + `pd_legs` int(11) NOT NULL DEFAULT '0',
- + `pd_legs_aug` int(11) NOT NULL DEFAULT '0',
- + `pd_feet` int(11) NOT NULL DEFAULT '0',
- + `pd_feet_aug` int(11) NOT NULL DEFAULT '0',
- + `pd_back` int(11) NOT NULL DEFAULT '0',
- + `pd_back_aug` int(11) NOT NULL DEFAULT '0',
- + `pd_lrhand` int(11) NOT NULL DEFAULT '0',
- + `pd_lrhand_aug` int(11) NOT NULL DEFAULT '0',
- + `pd_hair` int(11) NOT NULL DEFAULT '0',
- + `pd_hair_aug` int(11) NOT NULL DEFAULT '0',
- + `pd_hair2` int(11) NOT NULL DEFAULT '0',
- + `pd_hair2_aug` int(11) NOT NULL DEFAULT '0',
- + `pd_rbracelet` int(11) NOT NULL DEFAULT '0',
- + `pd_rbracelet_aug` int(11) NOT NULL DEFAULT '0',
- + `pd_lbracelet` int(11) NOT NULL DEFAULT '0',
- + `pd_lbracelet_aug` int(11) NOT NULL DEFAULT '0',
- + `pd_deco1` int(11) NOT NULL DEFAULT '0',
- + `pd_deco1_aug` int(11) NOT NULL DEFAULT '0',
- + `pd_deco2` int(11) NOT NULL DEFAULT '0',
- + `pd_deco2_aug` int(11) NOT NULL DEFAULT '0',
- + `pd_deco3` int(11) NOT NULL DEFAULT '0',
- + `pd_deco3_aug` int(11) NOT NULL DEFAULT '0',
- + `pd_deco4` int(11) NOT NULL DEFAULT '0',
- + `pd_deco4_aug` int(11) NOT NULL DEFAULT '0',
- + `pd_deco5` int(11) NOT NULL DEFAULT '0',
- + `pd_deco5_aug` int(11) NOT NULL DEFAULT '0',
- + `pd_deco6` int(11) NOT NULL DEFAULT '0',
- + `pd_deco6_aug` int(11) NOT NULL DEFAULT '0',
- + `enchant_effect` tinyint(4) NOT NULL DEFAULT '0',
- + `pvp_flag` int(11) NOT NULL DEFAULT '0',
- + `karma` int(11) NOT NULL DEFAULT '0',
- + `fishing` tinyint(4) NOT NULL DEFAULT '0',
- + `fishing_x` int(11) NOT NULL DEFAULT '0',
- + `fishing_y` int(11) NOT NULL DEFAULT '0',
- + `fishing_z` int(11) NOT NULL DEFAULT '0',
- + `invisible` tinyint(4) NOT NULL DEFAULT '1',
- + PRIMARY KEY (`npc_id`)
- +) ENGINE=MyISAM DEFAULT CHARSET=utf8;
- +
- +-- ----------------------------
- +-- Records of fake_pcs
- +-- ----------------------------
- +INSERT INTO `fake_pcs` VALUES ('9023', '0', '0', '88', '--', '64672', 'Flash', '64672', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '16015', '0', '0', '0', '43102', '0', '43100', '0', '43101', '0', '43103', '0', '21716', '0', '0', '0', '40023', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '30', '0', '0', '0', '0', '0', '0', '0');
- Index: /trunk/Data/dist/sql/Custom sql for server/fake_pcs/fake_pcs_Npc edit.sql
- ===================================================================
- --- /trunk/Data/dist/sql/Custom sql for server/fake_pcs/fake_pcs_Npc edit.sql (revision 340)
- +++ /trunk/Data/dist/sql/Custom sql for server/fake_pcs/fake_pcs_Npc edit.sql (revision 340)
- @@ -0,0 +1,2 @@
- +INSERT INTO custom_npc VALUES ('9023', '32365', 'Finish', '1', 'Event Manager', '1', 'LineageNPC2.TP_game_staff', '5.00', '12.50', '70', 'male', 'L2Monster', '40', '2444.000000000000000', '1225.000000000000000', '0.000000000000000', '0.000000000000000', '40', '43', '30', '21', '20', '20', '0', '0', '1086.00000', '471.00000', '749.00000', '313.00000', '230', '1', '333', '0', '0', '0', '68.00000', '109.00000', '0', '0');
- +INSERT INTO custom_npcaidata VALUES ('9023', '7', '15', '0', '0', '1', '1', '1', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', null, '0', null, '0', '0', 'fighter');
Advertisement
Add Comment
Please, Sign In to add comment