How to remove alching in dementhium 637/639
Some of you may want to removing alching as it is a way to make like 2b in 20 minutes. This is a horrible way of doing it but it works.
Go to ItemOnItemHandler.java and search for:
Quote:
}
private void handleItemOnItem(Player player, Message packet) {
int interfaceId1 = packet.readShort();
packet.readShort();
int usedWithSlot = packet.readShort();
int itemUsed = packet.readLEShort();
int usedSlot = packet.readShort();
int interfaceId2 = packet.readShort();
int childId = packet.readShort();
int itemUsedWith = packet.readLEShortA();
Item firstItem = player.getInventory().get(usedSlot);
Item secondItem = player.getInventory().get(usedWithSlot);
if (interfaceId1 == 149) {
switch (childId) {
case 38:
lowAlch(player, itemUsed, usedSlot);
break;
case 59:
highAlch(player, itemUsed, usedSlot);
break;
case 17:
case 74:
default:
And remove it.
This is my first snippet so be nice :D