Jump to content

Recommended Posts

Posted

I have this small problem in my Modified NPC. I cannot see the title name above each NPC's which normally been seen. The one which had two small blues when you click  a certain NPC. All npc's are just fine except this two which I'm trying to modified. any help will do. tanx ^^, 

 

(9999,22755,'Ouch',1,'Buffer',1,'LineageMonster5.krakian','26','36',85,'male','L2NpcBuffer',40,'55817.8012671518','1846.8','187.410040552143','3',40,43,30,21,20,20,579304,58205,'12008.0135566142','578.861024','8707.81891430402','635.378064',253,4,333,0,0,0,42,180,0,1),

 

(10002,30417,'Mistah',1,'GM Shop',1,'LineageNPC.a_teleporter_FHuman','7','24',70,'male','L2Merchant',40,'2444.46819','1345.8','7.5','2.7',40,43,30,21,20,20,0,0,'688.86373','295.91597','470.40463','216.53847',253,4,333,0,0,0,50,120,0,1);

Posted

Hi mate here is the table structure: correct me if im wrong, in regular basis the ipon installing the sql in the database if such sql has an error it will definitely give you a warming. In my case the installation just work so fine but it wonders me why is it the name didn't appear. Tanx for the time ^^,

 

DROP TABLE IF EXISTS `npc`;

CREATE TABLE `npc`(

  `id` smallint(5) unsigned NOT NULL,

  `idTemplate` smallint(5) unsigned NOT NULL,

  `name` varchar(200) NOT NULL DEFAULT '',

  `serverSideName` tinyint(1) NOT NULL DEFAULT '0',

  `title` varchar(45) NOT NULL DEFAULT '',

  `serverSideTitle` tinyint(1) NOT NULL DEFAULT '0',

  `class` varchar(200) DEFAULT NULL,

  `collision_radius` decimal(6,2) DEFAULT NULL,

  `collision_height` decimal(6,2) DEFAULT NULL,

  `level` tinyint(2) DEFAULT NULL,

  `sex` enum('etc','female','male') NOT NULL DEFAULT 'etc',

  `type` varchar(22) DEFAULT NULL,

  `attackrange` smallint(4) DEFAULT NULL,

  `hp` decimal(30,15) DEFAULT NULL,

  `mp` decimal(30,15) DEFAULT NULL,

  `hpreg` decimal(30,15) DEFAULT NULL,

  `mpreg` decimal(30,15) DEFAULT NULL,

  `str` tinyint(2) NOT NULL DEFAULT '40',

  `con` tinyint(2) NOT NULL DEFAULT '43',

  `dex` tinyint(2) NOT NULL DEFAULT '30',

  `int` tinyint(2) NOT NULL DEFAULT '21',

  `wit` tinyint(2) NOT NULL DEFAULT '20',

  `men` tinyint(2) NOT NULL DEFAULT '20',

  `exp` int(9) NOT NULL DEFAULT '0',

  `sp` int(9) NOT NULL DEFAULT '0',

  `patk` decimal(12,5) DEFAULT NULL,

  `pdef` decimal(12,5) DEFAULT NULL,

  `matk` decimal(12,5) DEFAULT NULL,

  `mdef` decimal(12,5) DEFAULT NULL,

  `atkspd` smallint(4) NOT NULL DEFAULT '230',

  `critical` tinyint(1) NOT NULL DEFAULT '1',

  `matkspd` smallint(4) NOT NULL DEFAULT '333',

  `rhand` smallint(5) unsigned NOT NULL DEFAULT '0',

  `lhand` smallint(5) unsigned NOT NULL DEFAULT '0',

  `enchant` tinyint(1) NOT NULL DEFAULT '0',

  `walkspd` decimal(10,5) NOT NULL DEFAULT '60',

  `runspd` decimal(10,5) NOT NULL DEFAULT '120',

  `dropHerbGroup` tinyint(1) NOT NULL DEFAULT '0',

  `basestats` tinyint(1) NOT NULL DEFAULT '0',

  PRIMARY KEY (`id`,`idTemplate`)

) ENGINE=MyISAM DEFAULT CHARSET=utf8;

 

Posted

In order to see the name / title you have to add a row in npc_elementals and npcaidata , like this :

INSERT INTO `npc` VALUES ('10002', '13100', 'GM Shop', '1', 'ServerName', '1', 'LineageMonster2.anakim_tr', '15.50', '29.00', '55', 'female', 'L2Merchant', '40', '1673.054730000000000', '889.800000000000000', '6.500000000000000', '2.400000000000000', '40', '43', '30', '21', '20', '25', '0', '0', '388.11142', '223.63620', '265.02979', '163.64727', '253', '4', '333', '0', '0', '0', '45.00000', '180.00000', '0', '1');
INSERT INTO `npc_elementals` VALUES ('10002', '0', '0', '20', '20', '20', '20', '20', '20');
INSERT INTO `npcaidata` VALUES ('10002', '7', '15', '0', '0', '1', '1', '1', '0', '0', '0', '0', '2', '2', '0', '0', '0', '0', null, '0', null, '0', '0', 'balanced');

It's been modified since High Five !

Guest
This topic is now closed to further replies.


  • Posts

    • wts  or trade for Classic 1.5 - Classic 3.0 ,assasin 418 interface -+ assasin source pack discord bebe693
    • Lineage 2 Interlude Developer – Cliente + Datapack Hola, soy developer especializado en Lineage 2 Interlude con experiencia tanto en cliente como datapack/core. ✔ Desarrollo datapack (Java, scripts, quests, balance PvP/PvE) ✔ Fixes core / geodata / exploits ✔ Sistemas custom (events, Olympiad, instancias, mods PvP) ✔ Cliente: interface mods, system patches, .dat edits, UI personalizada ✔ Optimización y estabilidad de servidor ✔ Trabajo freelance o colaboración fija Si necesitáis soporte dev o mejoras para vuestro servidor Interlude, podéis contactarme por DM. Portfolio y ejemplos disponibles bajo petición.
    • THEY DON’T COME BACK FOR NO REASON. HERE’S WHY Our clients come from different countries and with very different tasks. But the strongest indicator of quality is simple — when a client comes back **for a second time**. This case is exactly that. The client returned with a request for a **German ID**. The requirement was clear: a document **in a male hand**, with a natural live scene and correct geographic context. What we did: ▪ accepted source files and data without unnecessary bureaucracy ▪ selected a **real street**, not a generic background ▪ built a print-ready mockup with correct scene logic ▪ sent it for approval ▪ after confirmation, delivered the **final file for printing** No templates. No “good enough”. Only solutions tailored to a specific task. Result: ▪ mockup approved on the first try ▪ client fully satisfied ▪ stays in touch We work **worldwide** — and that’s exactly why clients return. Contact us › TG: @mustang_service ( https:// t.me/ mustang_service ) › Channel: Mustang Service ( https:// t.me/ +6RAKokIn5ItmYjEx ) *All data is published with the client’s consent.* #redraw #verification #documents #case #ID
  • Topics

×
×
  • 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..