Page 1 of 1

[HELp] auto loot

Posted: Wed Jul 14, 2010 10:16 pm
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

Re: [HELp] auto loot

Posted: Thu Jul 15, 2010 9:05 am
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.

Re: [HELp] auto loot

Posted: Thu Jul 15, 2010 12:18 pm
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);