Advertisement
Guest User

codefix1

a guest
Sep 2nd, 2014
255
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.76 KB | None | 0 0
  1. public void setGeSearch(Object[] o) {
  2. sendConfig1(1109, -1);
  3. sendConfig1(1112, 0);
  4. sendConfig1(1113, 0);
  5. sendInterface(1, 752, 389, 7);
  6. sendRunScript(570, o);
  7. //sendInterface3(6, 752, 0, 389);
  8. }
  9. public void sendItemsLook() {
  10. OutputStream stream = new OutputStream(2);
  11. stream.writePacket(player, 159);
  12. stream.writeByte(player.isOldItemsLook() ? 1 : 0);
  13. session.write(stream);
  14. }
  15. public void setGe(int slot, int progress, int item, int price, int amount, int currentAmount) {
  16. player.getSession().write(new StaticPacketBuilder().setId(134)
  17. .addByte((byte) slot)
  18. .addByte((byte) progress)
  19. .addShort(item)
  20. .addInt(price)
  21. .addInt(amount)
  22. .addInt(currentAmount)
  23. .addInt(price * currentAmount).toStream());
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement