Page 1 of 1

HELP - Dont spawn customs npcs

Posted: Thu Oct 14, 2010 5:50 am
by xbust3r
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

Re: HELP - Dont spawn customs npcs

Posted: Thu Oct 14, 2010 8:47 am
by jurchiks
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.

Re: HELP - Dont spawn customs npcs

Posted: Thu Oct 14, 2010 10:29 am
by jamaica
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.
If you put them in custom_npc table, make sure you enable that table in configs.]

Re: HELP - Dont spawn customs npcs

Posted: Thu Oct 14, 2010 10:37 am
by jurchiks
what was the point in doing that, "jamaica"?

Re: HELP - Dont spawn customs npcs

Posted: Thu Oct 14, 2010 11:08 am
by LasTravel
If you don't turn on CustomNpcTable (General.properties) in configs the npcs from this table are not loaded, so can't spawn.

Re: HELP - Dont spawn customs npcs

Posted: Thu Oct 14, 2010 11:14 am
by _DS_
Thanks, Captain !

But jamaica just post last sentence from jurchiks message.

Re: HELP - Dont spawn customs npcs

Posted: Thu Oct 14, 2010 1:04 pm
by xbust3r
the configuration is:

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
and the problem remains the same.. when start my server in the console show:
#########
## Info Loaded deluxe buffer##
#########
Compildes scipt cache is disabled

Re: HELP - Dont spawn customs npcs

Posted: Thu Oct 14, 2010 1:14 pm
by LasTravel
Check if exist any npc in custom_npc table with id 123456 (or you npc id -.-!)

Re: HELP - Dont spawn customs npcs

Posted: Thu Oct 14, 2010 3:23 pm
by xbust3r
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

Re: HELP - Dont spawn customs npcs

Posted: Thu Oct 14, 2010 3:35 pm
by LasTravel
Delete both npc and re insert correctly.

Re: HELP - Dont spawn customs npcs

Posted: Fri Oct 15, 2010 2:47 pm
by xbust3r
Problem solved, Reinstall the datapack and insert the custom tables manually. Everything works smoothly so far

Thx for the help ;)