HELP - Dont spawn customs npcs

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
xbust3r
Posts: 10
Joined: Mon Oct 11, 2010 3:11 am

HELP - Dont spawn customs npcs

Post 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
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: HELP - Dont spawn customs npcs

Post 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.
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.
jamaica
Posts: 288
Joined: Sat Jan 24, 2009 5:44 pm

Re: HELP - Dont spawn customs npcs

Post 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.]
Everybody L.I.E.S
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: HELP - Dont spawn customs npcs

Post by jurchiks »

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.
User avatar
LasTravel
Posts: 888
Joined: Tue Jan 05, 2010 12:08 am
Location: Spain

Re: HELP - Dont spawn customs npcs

Post 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.
_DS_
L2j Veteran
L2j Veteran
Posts: 3437
Joined: Wed Apr 30, 2008 8:53 am
Location: Russia

Re: HELP - Dont spawn customs npcs

Post by _DS_ »

Thanks, Captain !

But jamaica just post last sentence from jurchiks message.
Commiter of the shit
public static final int PI = 3.1415926535897932384626433832795;
xbust3r
Posts: 10
Joined: Mon Oct 11, 2010 3:11 am

Re: HELP - Dont spawn customs npcs

Post 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
User avatar
LasTravel
Posts: 888
Joined: Tue Jan 05, 2010 12:08 am
Location: Spain

Re: HELP - Dont spawn customs npcs

Post by LasTravel »

Check if exist any npc in custom_npc table with id 123456 (or you npc id -.-!)
xbust3r
Posts: 10
Joined: Mon Oct 11, 2010 3:11 am

Re: HELP - Dont spawn customs npcs

Post 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
User avatar
LasTravel
Posts: 888
Joined: Tue Jan 05, 2010 12:08 am
Location: Spain

Re: HELP - Dont spawn customs npcs

Post by LasTravel »

Delete both npc and re insert correctly.
xbust3r
Posts: 10
Joined: Mon Oct 11, 2010 3:11 am

Re: HELP - Dont spawn customs npcs

Post by xbust3r »

Problem solved, Reinstall the datapack and insert the custom tables manually. Everything works smoothly so far

Thx for the help ;)
Post Reply