Spoil

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
kornom
Posts: 227
Joined: Thu Sep 26, 2013 3:48 pm

Spoil

Post by kornom »

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

How do I add spoil data in to mobs DROP list? Used to be -1 for category but i cannot put - in there, just one..
So how I modify it from ingame?
Hyrelius
Posts: 257
Joined: Thu Dec 16, 2010 5:16 am

Re: Spoil

Post by Hyrelius »

What branch are you on? Stable or Unstable? I am not sure, but I think perhaps it changed?

In stable branch it looks like you could use "addDropData(L2DropData, Integer)" in "L2NpcTemplate" to add drop data to npc templates. This method is called in "loadNpcsDrop(...)"-method in NpcTable-class where it parses contents from relevant SQL drop-list-tables.
Since it seems the lists stay mutable, I suppose a script could easily get the NpcTemplate and add drops there - programmatically.
Image
I don't mind helping - however: I only do so if I want to.
No support for other server packs than L2J.
kornom
Posts: 227
Joined: Thu Sep 26, 2013 3:48 pm

Re: Spoil

Post by kornom »

Unstable
kornom
Posts: 227
Joined: Thu Sep 26, 2013 3:48 pm

Re: Spoil

Post by kornom »

so what category spoi belongs to? maybe 2?
Cresceus
Posts: 238
Joined: Tue Jan 15, 2008 8:20 am
Location: Germany

Re: Spoil

Post by Cresceus »

It seems to be still -1.
kornom
Posts: 227
Joined: Thu Sep 26, 2013 3:48 pm

Re: Spoil

Post by kornom »

Do how do I put in - symbol in unstable in order to add/modify spoil?
Post Reply