well this is your code
Code:
public void setBuySetup(int offerId) {
itemId = -1;
minPrice = 0;
basicPrice = 0;
maxPrice = 0;
itemPrice = 0;
itemAmount = 0;
p.currentSlot = offerId;
p.getPackets().sendConfig(1109, -1);
p.getPackets().sendConfig(1110, 0);
p.getPackets().sendConfig(1111, 0);
p.getPackets().sendConfig(1113, 1);
p.getPackets().sendConfig(1113, 0);
p.getPackets().sendConfig(1112, -1);
p.getPackets().sendConfig(1112, offerId);
offerType = 1;
// Object[] o = new Object[]{"Grand Exchange Item Search"};
//p.getPackets().setGeSearch(o);
}
try remove the slashes
so it should look like this
Code:
public void setBuySetup(int offerId) {
itemId = -1;
minPrice = 0;
basicPrice = 0;
maxPrice = 0;
itemPrice = 0;
itemAmount = 0;
p.currentSlot = offerId;
p.getPackets().sendConfig(1109, -1);
p.getPackets().sendConfig(1110, 0);
p.getPackets().sendConfig(1111, 0);
p.getPackets().sendConfig(1113, 1);
p.getPackets().sendConfig(1113, 0);
p.getPackets().sendConfig(1112, -1);
p.getPackets().sendConfig(1112, offerId);
offerType = 1;
Object[] o = new Object[]{"Grand Exchange Item Search"};
p.getPackets().setGeSearch(o);
}