How can I create a NPC buffer into my server?
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 11
- Joined: Tue Sep 20, 2011 8:57 pm
How can I create a NPC buffer into my server?
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:5080
L2JDP Revision Number:8545
Hello,
I'm a newbies and could you help me to create a NPC buffer in my server?
Is there a guide complete that I can consult to create the NPC buffer?
Thanks for your help
Bye
» Find Revision
L2J Revision Number:5080
L2JDP Revision Number:8545
Hello,
I'm a newbies and could you help me to create a NPC buffer in my server?
Is there a guide complete that I can consult to create the NPC buffer?
Thanks for your help
Bye
- IMBAL
- Posts: 53
- Joined: Fri Aug 26, 2011 3:54 pm
- Location: Elmore
Re: How can I create a NPC buffer into my server?
You have to find and buffer and after that "drop" it into your server files.
/ You can use this one.
viewtopic.php?f=73&t=22078&hilit=buffer
Drop the folder of the buffer into the /game/data/scripts/custom/.*
and after that find at the /game/data/ a file named *scripts.cfg
into the you have to add a line custom/BufferFolderName/__init__.py
Example: custom/NPCBuffer/__init__.py
- Ofc the buffer will have and some .sql files. Just execute them!
/ You can use this one.
viewtopic.php?f=73&t=22078&hilit=buffer
Drop the folder of the buffer into the /game/data/scripts/custom/.*
and after that find at the /game/data/ a file named *scripts.cfg
into the you have to add a line custom/BufferFolderName/__init__.py
Example: custom/NPCBuffer/__init__.py
- Ofc the buffer will have and some .sql files. Just execute them!
-
- Posts: 441
- Joined: Mon May 05, 2014 10:15 am
Re: How can I create a NPC buffer into my server?
L2J Revision Number:6445
L2JDP Revision Number:9641
hi i I'm a newbies to
I try to put this npc buffer in to my server
but if try to execute batch file buf.sql
i got this error:
[Err] 1054 - Unknown column 'aggro' in 'field list'
[Err] INSERT INTO `custom_npc` (`id`, `idTemplate`, `name`, `serverSideName`, `title`, `serverSideTitle`, `class`, `collision_radius`, `collision_height`, `level`, `sex`, `type`, `attackrange`, `hp`, `mp`, `hpreg`, `mpreg`, `str`, `con`, `dex`, `int`, `wit`, `men`, `exp`, `sp`, `patk`, `pdef`, `matk`, `mdef`, `atkspd`, `critical`, `aggro`, `matkspd`, `rhand`, `lhand`, `enchant`, `walkspd`, `runspd`, `targetable`, `show_name`, `dropHerbGroup`, `basestats`) VALUES
(999999, 30361, 'Buffer', 1, 'YourServerName', 1, 'LineageNpcEV.trap_ironcastle', 14, 25, 85, 'female', 'L2Npc', 40, 20000, 164, 1.15, 1.21, 40, 43, 30, 21, 20, 20, 0, 0, 40000, 50000, 50000, 50000, 999, 1, 0, 333, 0, 0, 0, 80, 120, 0, 0, 0, 0);
[Msg] Finished - Unsuccessfully
--------------------------------------------------
how do i resolve it
ty
sorry for my bade english
L2JDP Revision Number:9641
hi i I'm a newbies to
I try to put this npc buffer in to my server
but if try to execute batch file buf.sql
i got this error:
[Err] 1054 - Unknown column 'aggro' in 'field list'
[Err] INSERT INTO `custom_npc` (`id`, `idTemplate`, `name`, `serverSideName`, `title`, `serverSideTitle`, `class`, `collision_radius`, `collision_height`, `level`, `sex`, `type`, `attackrange`, `hp`, `mp`, `hpreg`, `mpreg`, `str`, `con`, `dex`, `int`, `wit`, `men`, `exp`, `sp`, `patk`, `pdef`, `matk`, `mdef`, `atkspd`, `critical`, `aggro`, `matkspd`, `rhand`, `lhand`, `enchant`, `walkspd`, `runspd`, `targetable`, `show_name`, `dropHerbGroup`, `basestats`) VALUES
(999999, 30361, 'Buffer', 1, 'YourServerName', 1, 'LineageNpcEV.trap_ironcastle', 14, 25, 85, 'female', 'L2Npc', 40, 20000, 164, 1.15, 1.21, 40, 43, 30, 21, 20, 20, 0, 0, 40000, 50000, 50000, 50000, 999, 1, 0, 333, 0, 0, 0, 80, 120, 0, 0, 0, 0);
[Msg] Finished - Unsuccessfully
--------------------------------------------------
how do i resolve it
ty
sorry for my bade english
-
- Posts: 73
- Joined: Wed May 31, 2006 6:26 pm
- Location: Holland
- Contact:
Re: How can I create a NPC buffer into my server?
Hey Attila,
Try this one. it should be correct for ur revision.
Greetings Dasoldier.
Try this one. it should be correct for ur revision.
Code: Select all
INSERT INTO `custom_npc` (`id`, `idTemplate`, `name`, `serverSideName`, `title`, `serverSideTitle`, `class`, `collision_radius`, `collision_height`, `level`, `sex`, `type`, `attackrange`, `hp`, `mp`, `hpreg`, `mpreg`, `str`, `con`, `dex`, `int`, `wit`, `men`, `exp`, `sp`, `patk`, `pdef`, `matk`, `mdef`, `atkspd`, `critical`, `matkspd`, `rhand`, `lhand`, `enchant`, `walkspd`, `runspd`, `dropHerbGroup`, `basestats`) VALUES(999999, 30361, 'Buffer', 1, 'YourServerName', 1, 'LineageNpcEV.trap_ironcastle', 14, 25, 85, 'female', 'L2Npc', 40, 20000, 164, 1.15, 1.21, 40, 43, 30, 21, 20, 20, 0, 0, 40000, 50000, 50000, 50000, 999, 1, 333, 0, 0, 0, 80, 120, 0, 0);
-
- Posts: 441
- Joined: Mon May 05, 2014 10:15 am
Re: How can I create a NPC buffer into my server?
thanks is works )
-
- Posts: 441
- Joined: Mon May 05, 2014 10:15 am
Re: How can I create a NPC buffer into my server?
if i try to spawn him i got this
your target cannot be found ?
your target cannot be found ?
-
- Posts: 73
- Joined: Wed May 31, 2006 6:26 pm
- Location: Holland
- Contact:
Re: How can I create a NPC buffer into my server?
Go to gameserver/config/general.properties
And change CustomNpcTable from False to True.
Or insert the npc in the normal npc table.
↓↓↓ Better solution down here↓↓↓
And change CustomNpcTable from False to True.
Or insert the npc in the normal npc table.
↓↓↓ Better solution down here↓↓↓
Last edited by dasoldier on Mon May 05, 2014 9:18 pm, edited 1 time in total.
- St3eT
- Posts: 961
- Joined: Sun Mar 07, 2010 6:50 pm
-
- Posts: 441
- Joined: Mon May 05, 2014 10:15 am
Re: How can I create a NPC buffer into my server?
[quote="dasoldier"]Go to gameserver/config/general.properties
And change CustomNpcTable from False to True.
Or insert the npc in the normal npc table.
L2J Revision Number:6445
L2JDP Revision Number:9641
tanks it work to make CustomNpcTable from False to True
but now i got a other problem
I don't get to see a name above the buffer
at table cunstom_npc i got put at the names i won to se
but on server i dont se the name ?
And change CustomNpcTable from False to True.
Or insert the npc in the normal npc table.
L2J Revision Number:6445
L2JDP Revision Number:9641
tanks it work to make CustomNpcTable from False to True
but now i got a other problem
I don't get to see a name above the buffer
at table cunstom_npc i got put at the names i won to se
but on server i dont se the name ?
-
- Posts: 73
- Joined: Wed May 31, 2006 6:26 pm
- Location: Holland
- Contact:
Re: How can I create a NPC buffer into my server?
This is because there is no npcaidata for that npc:
999999 is the npcid you may need to alter this if you changed the npc ID
Note... it is Better to use the YANBuffer from FBIagent.
Code: Select all
INSERT INTO `custom_npcaidata` VALUES(999999,7,15,0,0,0,0,0,0,0,0,0,0,0,NULL,0,NULL,0,0,'fighter')
Note... it is Better to use the YANBuffer from FBIagent.
-
- Posts: 441
- Joined: Mon May 05, 2014 10:15 am
Re: How can I create a NPC buffer into my server?
L2J Revision Number:6445dasoldier wrote:This is because there is no npcaidata for that npc:999999 is the npcid you may need to alter this if you changed the npc IDCode: Select all
INSERT INTO `custom_npcaidata` VALUES(999999,7,15,0,0,0,0,0,0,0,0,0,0,0,NULL,0,NULL,0,0,'fighter')
Note... it is Better to use the YANBuffer from FBIagent.
L2JDP Revision Number:9641
Thanks man
but now i got a other question
if put the buffer to the server and i make a reload server the buffer is gone
how i make it so the buffer stay on the server after a relode server?
-
- Posts: 73
- Joined: Wed May 31, 2006 6:26 pm
- Location: Holland
- Contact:
Re: How can I create a NPC buffer into my server?
Go to game>config>general.properties
And change this from false to true.
And change this from false to true.
Code: Select all
# Default: FalseCustomSpawnlistTable = True # Option to save GM spawn only in the custom table.# Default: FalseSaveGmSpawnOnCustom = True
-
- Posts: 441
- Joined: Mon May 05, 2014 10:15 am
Re: How can I create a NPC buffer into my server?
Thanks for helping medasoldier wrote:Go to game>config>general.properties
And change this from false to true.Code: Select all
# Default: FalseCustomSpawnlistTable = True # Option to save GM spawn only in the custom table.# Default: FalseSaveGmSpawnOnCustom = True
-
- Posts: 1
- Joined: Thu Jan 14, 2016 2:51 pm
Re: How can I create a NPC buffer into my server?
Holla dudes.
Can someone help with buffer on High Five v1.4 10-11-2015 ?
I use YANBuffer and when i execute sql file i get:
I need to create table named l2jgs.custom_npc in navicat l2jgs database and repeatly execute sql file?How i can create table?
I also try Scheme Buffer and follow set up steps,but unfortunately it also dont work.
Or what i need to do to add buffs to built in buffer (ID 1000003)
Thanks.
Can someone help with buffer on High Five v1.4 10-11-2015 ?
I use YANBuffer and when i execute sql file i get:
Code: Select all
[Err] 1146 - Table 'l2jgs.custom_npc' doesn't exist
[Err] INSERT INTO `buffer_buff_list` (`id`, `buffClass`, `buffType`, `buffOrder`, `buffId`, `buffLevel`, `buffDesc`, `forClass`, `canUse`) VALUES
(1, 1, 'buff', 27, 4, 2, '+66 Speed', 0, 1),
(2, 5, 'cubic', 1, 10, 8, 'Use magic that inflicts damage on one enemy.', 0, 1),
(3, 5, 'cubic', 2, 22, 7, 'Absorbs HP from 1 enemy & gives them<br1>tothe caster.', 0, 1),
(4, 5, 'cubic', 3, 33, 8, 'Decreases P.Atk, P.Def. & Atk.Spd. of 1 enemy.', 0, 1),
(5, 5, 'cubic', 4, 67, 7, 'Restores HP of the caster in a certain<br1>rate.', 0, 1),
(6, 1, 'buff', 7, 77, 2, '+12% Physical Attack.', 0, 1),
(7, 1, 'buff', 10, 78, 2, '+25% Physical Attack.', 0, 1),
(8, 1, 'buff', 32, 82, 3, '+15% Physical Defence, -6 Evasion.', 0, 1),
(9, 1, 'buff', 31, 91, 2, '+12% Physical Defence.', 0, 1),
(10, 2, 'resist', 2, 112, 4, '+40% Bow, +20% Crossbow Resistance.', 0, 1),
(11, 1, 'buff', 41, 121, 6, '+35% Max HP', 0, 1),
(12, 9, 'others', 17, 123, 3, '+30% Magic Defence.', 0, 1),
(13, 1, 'buff', 16, 131, 3, '+10 Accuracy, -10% Physical Defence.', 0, 1),
(14, 1, 'buff', 25, 230, 2, '+33 Speed.', 0, 1),
(15, 7, 'song', 6, 264, 1, '+25% Physical Defence.', 0, 1),
(16, 7, 'song', 8, 265, 1, '+20% HP Regeneration.', 0, 1),
(17, 7, 'song', 2, 266, 1, '+3 Evasion.', 0, 1),
(18, 7, 'song', 5, 267, 1, '+30% Magic Defence.', 0, 1),
(19, 7, 'song', 4, 268, 1, '+20 Speed.', 0, 1),
(20, 7, 'song', 1, 269, 1, 'Doubles Critical Rate.', 0, 1),
(21, 7, 'song', 16, 270, 1, '+20 Dark Resistance.', 0, 1),
(22, 6, 'dance', 5, 271, 1, '+12% Physical Attack.', 0, 1),
(23, 6, 'dance', 7, 272, 1, '+4 Accuracy.', 0, 1),
(24, 6, 'dance', 2, 273, 1, '+20% Magic Attack.', 0, 1),
(25, 6, 'dance', 6, 274, 1, '+35% Critical Attack Power.', 0, 1),
(26, 6, 'dance', 4, 275, 1, '+15% Attack Speed.', 0, 1),
(27, 6, 'dance', 1, 276, 1, '+30% Casting Speed, +40 Resist Cancel.', 0, 1),
(28, 6, 'dance', 11, 277, 1, '+20 Holy Resistance.', 0, 1),
(29, 5, 'cubic', 5, 278, 6, 'Poisons an enemy.', 0, 1),
(30, 2, 'resist', 16, 287, 3, 'Resists +40 Cancel, +80 Stun, Root,<br1>Sleep, Paralisis.', 0, 1),
(31, 9, 'others', 28, 297, 2, '+10% P.Dmg. & SkillDmg. in PvP. If<br1>D.Sword +12% Atk.Spd.', 0, 1),
(32, 1, 'buff', 39, 303, 4, '+25% Max MP.', 0, 1),
(33, 7, 'song', 10, 304, 1, '+30% Max HP', 0, 1),
(34, 7, 'song', 3, 305, 1, 'Reflects damage by 20%.', 0, 1),
(35, 7, 'song', 14, 306, 1, '+30 Fire Resistance.', 0, 1),
(36, 6, 'dance', 12, 307, 1, '+30 Water Resistance.', 0, 1),
(37, 7, 'song', 15, 308, 1, '+30 Wind Resistance.', 0, 1),
(38, 6, 'dance', 13, 309, 1, '+30 Earth Resistance.', 0, 1),
(39, 6, 'dance', 8, 310, 1, 'Absorbs 8% inflicted damage.', 0, 1),
(40, 6, 'dance', 10, 311, 1, '-30% Environment Damage.', 0, 1),
(41, 7, 'song', 11, 349, 1, '-20% M/P Skill Reuse Time, -5% M/P<br1>Skill MP Cons.', 0, 1),
(42, 7, 'song', 7, 363, 1, '+20% MP Regeneration, -10% M.Skill MP<br1>Cons.', 0, 1),
(43, 7, 'song', 12, 364, 1, '-10% P.Skill Reuse Time, -20% P./D./S.<br1>Skills MP Cons.', 0, 1),
(44, 6, 'dance', 3, 365, 1, 'Doubles Magic Critical Rate.', 0, 1),
(45, 6, 'dance', 16, 366, 1, '-50% Speed, Silent Move.', 0, 1),
(46, 8, 'special', 3, 395, 1, '+5400 P.Def, +4050 M.Def., +5 Spd.,<br1>+80 Cancel Res.', 0, 1),
(47, 8, 'special', 16, 396, 1, '+8 Accuracy, +500 P./M.Atk., +100<br1>Atk./Cast.Spd., +20 Spd., +80 Canc. Res.,<br1>+2 HP Reg. Pw., -25% P.Def., -25 M.Def.', 0, 1),
(48, 1, 'buff', 44, 415, 3, '-30% P.Skill MP consumption.', 0, 1),
(49, 1, 'buff', 45, 416, 3, '-20% P.Skill Reuse Time.', 0, 1),
(50, 1, 'buff', 21, 439, 1, 'Reflects 20% Dmg.', 0, 1),
(51, 5, 'cubic', 6, 449, 4, 'Continuosly hates & holds an enemy.', 0, 1),
(52, 1, 'buff', 13, 482, 2, '+30% Critical Rate & Power, -20% P.Def.', 0, 1),
(53, 7, 'song', 17, 529, 1, '+30 Fire, Water, Earth, Wind Resistance.', 0, 1),
(54, 6, 'dance', 14, 530, 1, '+30 Dark & Holy Resistance.', 0, 1),
(55, 1, 'buff', 6, 761, 1, '+100 Physical Attack.', 0, 1),
(56, 7, 'song', 13, 764,
[Msg] Finished - Unsuccessfully
--------------------------------------------------
I also try Scheme Buffer and follow set up steps,but unfortunately it also dont work.
Or what i need to do to add buffs to built in buffer (ID 1000003)
Thanks.