HELP - Dont spawn customs npcs
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
-
- Posts: 10
- Joined: Mon Oct 11, 2010 3:11 am
HELP - Dont spawn customs npcs
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision 4420:
L2JDP Revision 7668:
Hi, i register my customs npc in the tables of the database, configure the script in the file script.cfg and copy the html files, shutdown and up my server and use the command //spawn 123456 (the id of the NPC for example) and shows me and error "your target canot be found".. too i register a npc buffer and when i use the command //spawn 2427 for example, spawn the npc and only show me the quest option =/.
I have to configure anything else? or any idea what is failing?
Thanks
» Find Revision
L2J Revision 4420:
L2JDP Revision 7668:
Hi, i register my customs npc in the tables of the database, configure the script in the file script.cfg and copy the html files, shutdown and up my server and use the command //spawn 123456 (the id of the NPC for example) and shows me and error "your target canot be found".. too i register a npc buffer and when i use the command //spawn 2427 for example, spawn the npc and only show me the quest option =/.
I have to configure anything else? or any idea what is failing?
Thanks
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: HELP - Dont spawn customs npcs
if your npc type is L2Npc and you put the files in some folder other than data/html/default, it won't show the first html page. About the "target cannot be found" it usually means the npc doesn't exist. If you put them in custom_npc table, make sure you enable that table in configs.
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 288
- Joined: Sat Jan 24, 2009 5:44 pm
Re: HELP - Dont spawn customs npcs
If you put them in custom_npc table, make sure you enable that table in configs.]jurchiks wrote:if your npc type is L2Npc and you put the files in some folder other than data/html/default, it won't show the first html page. About the "target cannot be found" it usually means the npc doesn't exist. If you put them in custom_npc table, make sure you enable that table in configs.
Everybody L.I.E.S
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: HELP - Dont spawn customs npcs
what was the point in doing that, "jamaica"?
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
- LasTravel
- Posts: 888
- Joined: Tue Jan 05, 2010 12:08 am
- Location: Spain
Re: HELP - Dont spawn customs npcs
If you don't turn on CustomNpcTable (General.properties) in configs the npcs from this table are not loaded, so can't spawn.
-
- L2j Veteran
- Posts: 3437
- Joined: Wed Apr 30, 2008 8:53 am
- Location: Russia
Re: HELP - Dont spawn customs npcs
Thanks, Captain !
But jamaica just post last sentence from jurchiks message.
But jamaica just post last sentence from jurchiks message.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
public static final int PI = 3.1415926535897932384626433832795;
-
- Posts: 10
- Joined: Mon Oct 11, 2010 3:11 am
Re: HELP - Dont spawn customs npcs
the configuration is:
and the problem remains the same.. when start my server in the console show:
#########
## Info Loaded deluxe buffer##
#########
Compildes scipt cache is disabled
Code: Select all
# Default: FalseCustomNpcTable = True# Default: FalseCustomNpcSkillsTable = True# Default: FalseCustomItemTables = True# Default: FalseCustomArmorSetsTable = True# Default: FalseCustomTeleportTable = True# Default: FalseCustomDroplistTable = True# Default: FalseCustomMerchantTables = True# Default: FalseCustomNpcBufferTables = True
#########
## Info Loaded deluxe buffer##
#########
Compildes scipt cache is disabled
- LasTravel
- Posts: 888
- Joined: Tue Jan 05, 2010 12:08 am
- Location: Spain
Re: HELP - Dont spawn customs npcs
Check if exist any npc in custom_npc table with id 123456 (or you npc id -.-!)
-
- Posts: 10
- Joined: Mon Oct 11, 2010 3:11 am
Re: HELP - Dont spawn customs npcs
Hi Lasttravel the npcs are registered in the table npc_custom of the database (2427 and 555555 specifically and use //spawn 2427 or 555555), but the problem still remains, I remember when I did the installation of the database had an error when entering the custom npcs to the table, and there is no npc registered. Maybe the problem there? thanks
- LasTravel
- Posts: 888
- Joined: Tue Jan 05, 2010 12:08 am
- Location: Spain
Re: HELP - Dont spawn customs npcs
Delete both npc and re insert correctly.
-
- Posts: 10
- Joined: Mon Oct 11, 2010 3:11 am
Re: HELP - Dont spawn customs npcs
Problem solved, Reinstall the datapack and insert the custom tables manually. Everything works smoothly so far
Thx for the help
Thx for the help
