Guest User

Untitled

a guest
Jul 20th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. {$Include 'std.sinc'}
  2. {$Include 'ptimer.sinc'}
  3. {$Include 'types.sinc'}
  4. {$Include 'recall.sinc'}
  5.  
  6. var
  7. blankMaps : cardinal;
  8. color : word;
  9. i : integer;
  10. checkBag : cardinal;
  11.  
  12. const
  13. chest = $43CC8B50;
  14. blankMap_container = $44BF755E;
  15. common_container = $44BF755A;
  16. mapType = $14EB;
  17. bagType = $0E76;
  18. goldType = $0EED;
  19.  
  20.  
  21. begin
  22. while not Dead do
  23. begin
  24. useObject(chest);
  25. checkLag();
  26. useObject(common_container);
  27. checkLag();
  28. useObject(blankMap_container);
  29. checkLag();
  30.  
  31. checkBag := findtype(bagType, backpack);
  32.  
  33. if checkBag = 0 then
  34. begin
  35. findType(bagType, blankMap_container);
  36. if finditem <> 0 then grab(finditem, 1);
  37. checkBag := finditem;
  38. end
  39. else
  40. begin
  41.  
  42. checkBag := findtype(bagType, backpack);
  43. useObject(checkBag);
  44.  
  45. uoSay('.macro off');
  46. autoMenu('What you you want to create','(3)');
  47.  
  48. for i := 1 to 140 do
  49. begin
  50. useType(mapType, $0000);
  51. wait(9500);
  52. end;
  53.  
  54. moveItem(findType(bagType, backpack), 1, $44BF7553, 0, 0, 0);
  55. color := getColor(findType(mapType, backpack));
  56. recallWithCheck(makeDestination($44C50173, 2), rcRegs);
  57. checkLag;
  58.  
  59. while findType(mapType, backpack) > 0 do
  60. begin
  61. setAutoSellDelay(random(4)+4);
  62. autoSell(mapType, $0032, 150);
  63. uoSay('sell');
  64. wait(random(4000)+1500);
  65. checkLag;
  66. end;
  67.  
  68. recallWithCheck(makeDestination($44C50173, 1), rcRegs);
  69.  
  70. useObject(chest);
  71. checkLag;
  72. useObject(common_container);
  73. checkLag;
  74. while findType(goldType, backpack) > 0 do
  75. begin
  76. moveItem(findType(goldType, backpack), 50000, common_container, 0, 0, 0);
  77. wait(100);
  78. end;
  79. end;
  80.  
  81. end;
  82. end.
Add Comment
Please, Sign In to add comment