[HELp] auto loot

Find the proper support area, Saga-Version.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
sancak
Posts: 77
Joined: Thu Mar 04, 2010 10:15 pm

[HELp] auto loot

Post by sancak »

If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision ct 2.3 last revision:
L2JDP Revision ct 2.3 last revision:

Hi i want a loot system.. just for 2 items (id 57 and 9143) is it possible or how can i make it... thankx for your answers
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: [HELp] auto loot

Post by jurchiks »

find in code where the Config.AUTO_LOOT is and check how it's done, and edit it to just pick up your two items.
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.
sancak
Posts: 77
Joined: Thu Mar 04, 2010 10:15 pm

Re: [HELp] auto loot

Post by sancak »

i think i find smt in L2attackable.java but i'm not sure, is it true?

Code: Select all

 // Check if the autoLoot mode is activeif (isFlying()|| (!isRaid() && Config.AUTO_LOOT)|| (isRaid() && Config.AUTO_LOOT_RAIDS))	player.doAutoLoot(this, item); // Give the item(s) to the L2PcInstance that has killed the L2Attackable		else	dropItem(player, item); // drop the item on the ground 
should i edit this?
player.doAutoLoot(this, item);
Post Reply