[Question] Some NPCs properties... need help

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
qbert
Posts: 26
Joined: Sun Aug 09, 2009 6:06 am

[Question] Some NPCs properties... need help

Post by qbert »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:3695
L2JDP Revision Number:6775

Well frist I want to create a NPC who trade ONLY with members of the clan who own a castle, i have the HTML and XML ready but i dont know how to set this :(

Is there any way to make some NPCs dissapear during Sieges? or make them unavaliable for anybody (like guard who give the attackers and defenders info)

And finally, i want to create a NPC who spawns every X mins in many locations, like Merchant of Mammon does...


Any help with this issues will be greatly appreciated :)
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: [Question] Some NPCs properties... need help

Post by jurchiks »

about the random spawning, i think there was a table in database for that, like npcid, loc1, loc2, respawntime, or at least that's how i would imagine it
about the specific-players-only npc, check that very same guard html, if there is nothing there, than probably it's done in core
if such things exist in server already, you just need to find them and fit them to your needs, i'd say you're lazy...
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.
Post Reply