Jump to content
  • 0

[Search] Buffer.


Question

8 answers to this question

Recommended Posts

  • 0
Posted

SQL part

 

--
-- Base de données: `l2jgs`
--

-- --------------------------------------------------------

--
-- Structure de la table `buffer_buff_list`
--

CREATE TABLE IF NOT EXISTS `buffer_buff_list` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `buff_class` int(2) DEFAULT NULL,
  `buffType` varchar(10) DEFAULT NULL,
  `buffId` int(5) DEFAULT '0',
  `buffLevel` int(5) DEFAULT NULL,
  `forClass` tinyint(1) DEFAULT NULL,
  `canUse` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=145 ;

--
-- Contenu de la table `buffer_buff_list`
--

INSERT INTO `buffer_buff_list` (`id`, `buff_class`, `buffType`, `buffId`, `buffLevel`, `forClass`, `canUse`) VALUES
(1, 0, 'buff', 1036, 2, 2, 1),
(2, 0, 'buff', 1040, 3, 2, 1),
(3, 0, 'buff', 1043, 1, 3, 1),
(4, 0, 'buff', 1044, 3, 3, 1),
(5, 0, 'buff', 1045, 6, 2, 1),
(6, 0, 'buff', 1047, 4, 3, 1),
(7, 0, 'buff', 1048, 6, 2, 1),
(8, 0, 'buff', 1059, 3, 1, 1),
(9, 0, 'buff', 1068, 3, 0, 1),
(10, 0, 'buff', 1077, 3, 0, 1),
(11, 0, 'buff', 1085, 3, 1, 1),
(12, 0, 'buff', 1086, 2, 0, 1),
(13, 0, 'buff', 1087, 3, 3, 1),
(14, 0, 'buff', 1204, 2, 2, 1),
(15, 0, 'buff', 1240, 3, 0, 1),
(16, 0, 'buff', 1242, 3, 0, 1),
(17, 0, 'buff', 1243, 6, 3, 1),
(18, 0, 'buff', 1257, 3, 3, 1),
(19, 0, 'buff', 1268, 4, 3, 1),
(20, 0, 'buff', 1303, 2, 1, 1),
(21, 0, 'buff', 1304, 3, 3, 1),
(22, 0, 'buff', 1307, 3, 3, 1),
(23, 0, 'buff', 1311, 6, 3, 1),
(24, 0, 'buff', 1397, 3, 3, 1),
(25, 0, 'buff', 1460, 1, 3, 1),
(26, 0, 'buff', 1232, 3, 3, 1),
(27, 0, 'buff', 1238, 3, 3, 0),
(28, 0, 'special', 1323, 1, 3, 1),
(29, 0, 'special', 1388, 3, 0, 1),
(30, 0, 'special', 1389, 3, 1, 1),
(31, 1, 'song', 264, 1, 2, 1),
(32, 1, 'song', 265, 1, 3, 1),
(33, 1, 'song', 266, 1, 3, 1),
(34, 1, 'song', 267, 1, 2, 1),
(35, 1, 'song', 268, 1, 2, 1),
(36, 1, 'song', 269, 1, 0, 1),
(37, 1, 'song', 270, 1, 3, 1),
(38, 1, 'song', 304, 1, 2, 1),
(39, 1, 'song', 305, 1, 3, 1),
(40, 1, 'song', 306, 1, 3, 1),
(41, 1, 'song', 308, 1, 3, 1),
(42, 1, 'song', 349, 1, 3, 1),
(43, 1, 'song', 363, 1, 3, 1),
(44, 1, 'song', 364, 1, 3, 1),
(45, 1, 'song', 529, 1, 3, 1),
(46, 1, 'song', 764, 1, 3, 1),
(47, 1, 'song', 914, 1, 3, 1),
(48, 2, 'dance', 271, 1, 0, 1),
(49, 2, 'dance', 272, 1, 3, 1),
(50, 2, 'dance', 273, 1, 1, 1),
(51, 2, 'dance', 274, 1, 0, 1),
(52, 2, 'dance', 275, 1, 0, 1),
(53, 2, 'dance', 276, 1, 1, 1),
(54, 2, 'dance', 277, 1, 3, 1),
(55, 2, 'dance', 307, 1, 3, 1),
(56, 2, 'dance', 309, 1, 3, 1),
(57, 2, 'dance', 310, 1, 3, 1),
(58, 2, 'dance', 311, 1, 3, 1),
(59, 2, 'dance', 365, 1, 3, 1),
(60, 2, 'dance', 366, 1, 3, 0),
(61, 2, 'dance', 530, 1, 3, 1),
(62, 2, 'dance', 765, 1, 3, 1),
(63, 2, 'dance', 915, 1, 3, 1),
(64, 3, 'resist', 1461, 1, 3, 1),
(65, 3, 'chant', 1002, 3, 3, 1),
(66, 3, 'chant', 1006, 3, 3, 1),
(67, 3, 'chant', 1007, 3, 3, 1),
(68, 3, 'chant', 1009, 3, 3, 1),
(69, 3, 'chant', 1251, 2, 3, 1),
(70, 3, 'chant', 1252, 3, 3, 1),
(71, 3, 'chant', 1253, 3, 3, 1),
(72, 3, 'chant', 1284, 3, 3, 1),
(73, 3, 'chant', 1308, 3, 3, 1),
(74, 3, 'chant', 1309, 3, 3, 1),
(75, 3, 'chant', 1310, 4, 3, 1),
(76, 3, 'chant', 1362, 1, 3, 1),
(77, 3, 'special', 1499, 1, 3, 1),
(78, 3, 'special', 1500, 1, 3, 1),
(79, 3, 'special', 1501, 1, 3, 1),
(80, 3, 'special', 1502, 1, 3, 1),
(81, 3, 'special', 1503, 1, 3, 1),
(82, 3, 'special', 1504, 1, 3, 1),
(83, 3, 'special', 1519, 1, 3, 1),
(84, 4, 'others', 825, 1, 3, 1),
(85, 4, 'others', 826, 1, 3, 1),
(86, 4, 'others', 827, 1, 3, 1),
(87, 4, 'others', 828, 1, 3, 1),
(88, 4, 'others', 829, 1, 3, 1),
(89, 4, 'others', 830, 1, 3, 1),
(90, 5, 'others', 834, 1, 3, 1),
(91, 5, 'others', 1442, 1, 3, 1),
(92, 5, 'others', 1443, 1, 3, 1),
(93, 5, 'others', 1444, 1, 3, 1),
(94, 6, 'cubic', 67, 7, 3, 1),
(95, 6, 'cubic', 10, 8, 3, 1),
(96, 6, 'cubic', 22, 7, 3, 1),
(97, 6, 'cubic', 33, 8, 3, 1),
(98, 6, 'cubic', 278, 6, 3, 1),
(99, 6, 'cubic', 449, 4, 3, 1),
(100, 6, 'cubic', 1279, 9, 3, 1),
(101, 6, 'cubic', 1280, 9, 3, 1),
(102, 6, 'cubic', 1281, 9, 3, 1),
(103, 6, 'cubic', 1328, 8, 3, 0),
(104, 6, 'cubic', 1329, 9, 3, 0),
(105, 6, 'cubic', 1330, 8, 3, 0),
(106, 6, 'cubic', 779, 1, 3, 1),
(107, 7, 'special', 1062, 2, 2, 1),
(108, 7, 'special', 1355, 1, 3, 1),
(109, 7, 'special', 1356, 1, 3, 1),
(110, 7, 'special', 1357, 1, 3, 1),
(111, 7, 'special', 1363, 1, 0, 1),
(112, 7, 'special', 1413, 1, 1, 1),
(114, 7, 'special', 1457, 1, 3, 0),
(115, 7, 'special', 4699, 13, 3, 1),
(116, 7, 'special', 4700, 13, 3, 1),
(117, 7, 'special', 4702, 13, 3, 1),
(118, 7, 'special', 4703, 13, 3, 1),
(119, 8, 'resist', 1032, 3, 3, 1),
(120, 8, 'resist', 1033, 3, 3, 1),
(121, 8, 'resist', 1035, 4, 2, 1),
(122, 8, 'resist', 1078, 6, 3, 1),
(123, 8, 'resist', 1182, 3, 3, 1),
(124, 8, 'resist', 1189, 3, 3, 1),
(125, 8, 'resist', 1191, 3, 3, 1),
(126, 8, 'resist', 1259, 4, 3, 1),
(127, 8, 'resist', 1352, 1, 2, 1),
(128, 8, 'resist', 1353, 1, 2, 1),
(129, 8, 'resist', 1354, 1, 3, 1),
(130, 8, 'resist', 1392, 3, 3, 1),
(131, 8, 'resist', 1393, 3, 3, 1),
(132, 8, 'overlord', 1003, 3, 3, 1),
(133, 8, 'overlord', 1004, 3, 3, 1),
(134, 8, 'overlord', 1005, 3, 3, 1),
(135, 8, 'overlord', 1008, 3, 3, 1),
(136, 8, 'overlord', 1249, 3, 3, 1),
(137, 8, 'overlord', 1250, 3, 3, 1),
(138, 8, 'overlord', 1260, 3, 3, 1),
(139, 8, 'overlord', 1261, 2, 3, 1),
(140, 8, 'overlord', 1282, 2, 3, 1),
(141, 8, 'overlord', 1364, 1, 3, 1),
(142, 8, 'overlord', 1365, 1, 3, 1),
(143, 8, 'overlord', 1415, 1, 3, 1),
(144, 8, 'overlord', 1416, 1, 3, 1);

-- --------------------------------------------------------

--
-- Structure de la table `buffer_scheme_contents`
--

CREATE TABLE IF NOT EXISTS `buffer_scheme_contents` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `scheme_id` int(11) DEFAULT NULL,
  `skill_id` int(8) DEFAULT NULL,
  `skill_level` int(4) DEFAULT NULL,
  `buff_class` int(2) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=30 ;

-- --------------------------------------------------------

--
-- Structure de la table `buffer_scheme_list`
--

CREATE TABLE IF NOT EXISTS `buffer_scheme_list` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `player_id` varchar(40) DEFAULT NULL,
  `scheme_name` varchar(36) DEFAULT NULL,
  `mod_accepted` tinyint(1) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;

 

.py part (Adapted and fixed for H5)

 

http://www.4shared.com/file/oSJvaLY5/__init__.html

 

How to install:

-create a folder in data/scripts/custom  named 555_NPCBuffer

-import the py in the scripts.cfg

 

My files and they works fine for me.

 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..