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
[HELp] auto loot
Forum rules
READ NOW: L2j Forums Rules of Conduct
READ NOW: L2j Forums Rules of Conduct
- jurchiks
- Posts: 6769
- Joined: Sat Sep 19, 2009 4:16 pm
- Location: Eastern Europe
Re: [HELp] auto loot
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.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
-
- Posts: 77
- Joined: Thu Mar 04, 2010 10:15 pm
Re: [HELp] auto loot
i think i find smt in L2attackable.java but i'm not sure, is it true?
should i edit this?
player.doAutoLoot(this, item);
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
player.doAutoLoot(this, item);