Advertisement
kakel_anders

UOS - MiB and paragonchest lootsorter

Jan 18th, 2022
295
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.05 KB | None | 0 0
  1. //Lootsorter for paragon and MiB-chests
  2. // by kakel_anders (Player UOG:Demise)
  3. //
  4. ////- Can missfire some times but a rerun usually fixes it.
  5. ////- Need containers available for Gems, Regs, Trash and 1-8tch circle scrolls.
  6. ////- Might lack a graphic or two, can easily be added through the lists.
  7. ////-Enjoy!
  8. // MUCHO CONTAINOS!
  9. unsetalias 'chest'
  10. if not @findobject 'chest'
  11. headmsg 'What container do you want to sort?'
  12. promptalias 'chest'
  13. endif
  14. if not @findobject 'Reg Bag'
  15. headmsg 'Where would you like to store your regs?'
  16. promptalias 'Reg Bag'
  17. endif
  18. if not @findobject 'Sortertrash'
  19. headmsg 'Where is your trashbarrel?'
  20. promptalias 'Sortertrash'
  21. endif
  22. if not @findobject 'Gembag'
  23. headmsg 'Where is your Gembag?'
  24. promptalias 'Gembag'
  25. endif
  26. if not @findobject 'firstcircle'
  27. headmsg 'Where do you store firstcircle scrolls?'
  28. promptalias 'firstcircle'
  29. endif
  30. if not @findobject 'secondcircle'
  31. headmsg 'Where do you store secondcircle scrolls?'
  32. promptalias 'secondcircle'
  33. endif
  34. if not @findobject 'thirdcircle'
  35. headmsg 'Where do you store thirdcircle scrolls?'
  36. promptalias 'thirdcircle'
  37. endif
  38. if not @findobject 'fourthcircle'
  39. headmsg 'Where do you store fourthcircle scrolls?'
  40. promptalias 'fourthcircle'
  41. endif
  42. if not @findobject 'fifthcircle'
  43. headmsg 'Where do you store fifthcircle scrolls?'
  44. promptalias 'fifthcircle'
  45. endif
  46. if not @findobject 'sixthcircle'
  47. headmsg 'Where do you store sixthcircle scrolls?'
  48. promptalias 'sixthcircle'
  49. endif
  50. if not @findobject 'seventhcircle'
  51. headmsg 'Where do you store seventhcircle scrolls?'
  52. promptalias 'seventhcircle'
  53. endif
  54. if not @findobject 'eighthcircle'
  55. headmsg 'Where do you store eighthcircle scrolls?'
  56. promptalias 'eighthcircle'
  57. endif
  58. //
  59. //
  60. // MUCHO LISTOS
  61. if not listexists 'firstcircle'
  62. createlist 'firstcircle'
  63. endif
  64. if not listexists 'secondcircle'
  65. createlist 'secondcircle'
  66. endif
  67. if not listexists 'thirdcircle'
  68. createlist 'thirdcircle'
  69. endif
  70. if not listexists 'fourthcircle'
  71. createlist 'fourthcircle'
  72. endif
  73. if not listexists 'fifthcircle'
  74. createlist 'fifthcircle'
  75. endif
  76. if not listexists 'sixthcircle'
  77. createlist 'sixthcircle'
  78. endif
  79. if not listexists 'seventhcircle'
  80. createlist 'seventhcircle'
  81. endif
  82. if not listexists 'eighthcircle'
  83. createlist 'eighthcircle'
  84. endif
  85. if not listexists 'Trash'
  86. createlist 'Trash'
  87. endif
  88. if not listexists 'Regs'
  89. createlist 'Regs'
  90. endif
  91. if not listexists 'Gems'
  92. createlist 'Gems'
  93. endif
  94. //Regs
  95. pushlist 'Regs' 0xf7a // Black Pearl
  96. pushlist 'Regs' 0xf7b // Blood Moss
  97. pushlist 'Regs' 0xf86 // Mandrake Root
  98. pushlist 'Regs' 0xf84 // Garlic
  99. pushlist 'Regs' 0xf85 // Ginseng
  100. pushlist 'Regs' 0xf88 // Nightshade
  101. pushlist 'Regs' 0xf8d // Spider's Silk
  102. pushlist 'Regs' 0xf8c // Sulphurous Ash
  103. pushlist 'Regs' 0xf78 // Batwing
  104. pushlist 'Regs' 0xf8e // Nox Crystal
  105. pushlist 'Regs' 0xf7d // Daemon Blood
  106. pushlist 'Regs' 0xf8a // Pig Iron
  107. pushlist 'Regs' 0xf8f // Grave Dust
  108. //Gold
  109. pushlist 'Gems' 0xeed // Gold
  110. //T-Maps
  111. pushlist 'Gems' 0x14ec // T-maps
  112. //Gems
  113. pushlist 'Gems' 0xf16 // Amethyst
  114. pushlist 'Gems' 0xf15 // Citrine
  115. pushlist 'Gems' 0xf19 // Sapphire
  116. pushlist 'Gems' 0xf25 // Amber
  117. pushlist 'Gems' 0xf21 // Star Sapphire
  118. pushlist 'Gems' 0xf10 // Emerald
  119. pushlist 'Gems' 0xf26 // Diamond
  120. pushlist 'Gems' 0xf2d // Tourmaline
  121. pushlist 'Gems' 0xf13 // Ruby
  122. pushlist 'Gems' 0xf43
  123. pushlist 'Gems' 0xf45
  124. pushlist 'Gems' 0x13fb
  125. pushlist 'Gems' 0x1443
  126. pushlist 'Gems' 0xf49
  127. pushlist 'Gems' 0xf47
  128. pushlist 'Gems' 0xf4d
  129. pushlist 'Gems' 0x143e
  130. pushlist 'Gems' 0xf4b
  131. ////Scrolls
  132. //First
  133. pushlist 'firstcircle' 0x1f2d // Reactive Armor
  134. pushlist 'firstcircle' 0x1f2e // Clumsy
  135. pushlist 'firstcircle' 0x1f2f // Create Food
  136. pushlist 'firstcircle' 0x1f30 // Feeblemind
  137. pushlist 'firstcircle' 0x1f31 // Heal
  138. pushlist 'firstcircle' 0x1f32 // Magic Arrow
  139. pushlist 'firstcircle' 0x1f33 // Night Sight
  140. pushlist 'firstcircle' 0x1f34 // Weaken
  141. //Second
  142. pushlist 'secondcircle' 0x1f35 // Agility
  143. pushlist 'secondcircle' 0x1f36 // Cunning
  144. pushlist 'secondcircle' 0x1f37 // Cure
  145. pushlist 'secondcircle' 0x1f38 // Harm
  146. pushlist 'secondcircle' 0x1f39 // Magic Trap
  147. pushlist 'secondcircle' 0x1f3a // Magic Untrap
  148. pushlist 'secondcircle' 0x1f3b // Protection
  149. pushlist 'secondcircle' 0x1f3c // Strength
  150. //Third
  151. pushlist 'thirdcircle' 0x1f3d // Bless
  152. pushlist 'thirdcircle' 0x1f3e // Fireball
  153. pushlist 'thirdcircle' 0x1f3f // Magic Lock
  154. pushlist 'thirdcircle' 0x1f40 // Poison
  155. pushlist 'thirdcircle' 0x1f41 // Telekinesis
  156. pushlist 'thirdcircle' 0x1f42 // Teleport
  157. pushlist 'thirdcircle' 0x1f43 // Unlock
  158. pushlist 'thirdcircle' 0x1f44 // Wall of Stone
  159. //Fourth
  160. pushlist 'fourthcircle' 0x1f45 // Arch Cure
  161. pushlist 'fourthcircle' 0x1f46 // Arch Protection
  162. pushlist 'fourthcircle' 0x1f47 // Curse
  163. pushlist 'fourthcircle' 0x1f48 // Fire Field
  164. pushlist 'fourthcircle' 0x1f49 // Greater Heal
  165. pushlist 'fourthcircle' 0x1f4a // Lightning
  166. pushlist 'fourthcircle' 0x1f4b // Mana Drain
  167. pushlist 'fourthcircle' 0x1f4c // Recall
  168. //Fifth
  169. pushlist 'fifthcircle' 0x1f4d // Blade Spirit
  170. pushlist 'fifthcircle' 0x1f4e // Dispel Field
  171. pushlist 'fifthcircle' 0x1f4f // Incognito
  172. pushlist 'fifthcircle' 0x1f50 // Magic Reflection
  173. pushlist 'fifthcircle' 0x1f51 // Mind Blast
  174. pushlist 'fifthcircle' 0x1f52 // Paralyze
  175. pushlist 'fifthcircle' 0x1f53 // Poison Field
  176. pushlist 'fifthcircle' 0x1f54 // Summon Creature
  177. //Sixth
  178. pushlist 'sixthcircle' 0x1f55 // Dispel
  179. pushlist 'sixthcircle' 0x1f56 // Energy Bolt
  180. pushlist 'sixthcircle' 0x1f57 // Explosion
  181. pushlist 'sixthcircle' 0x1f58 // Invisibility
  182. pushlist 'sixthcircle' 0x1f59 // Mark
  183. pushlist 'sixthcircle' 0x1f5a // Mass Curse
  184. pushlist 'sixthcircle' 0x1f5b // Paralyze Field
  185. pushlist 'sixthcircle' 0x1f5c // Reveal
  186. //Seventh
  187. pushlist 'seventhcircle' 0x1f5d // Chain Lightning
  188. pushlist 'seventhcircle' 0x1f5e // Energy Field
  189. pushlist 'seventhcircle' 0x1f5f // Flamestrike
  190. pushlist 'seventhcircle' 0x1f60 // Gate Travel
  191. pushlist 'seventhcircle' 0x1f61 // Mana Vampire
  192. pushlist 'seventhcircle' 0x1f62 // Mass Dispel
  193. pushlist 'seventhcircle' 0x1f63 // Meteor Swarm
  194. pushlist 'seventhcircle' 0x1f64 // Polymorph
  195. //Eighth
  196. pushlist 'eighthcircle' 0x1f65 // Earthquake
  197. pushlist 'eighthcircle' 0x1f66 // Energy Vortex
  198. pushlist 'eighthcircle' 0x1f67 // Ressurrection
  199. pushlist 'eighthcircle' 0x1f68 // Summon Air Elemental
  200. pushlist 'eighthcircle' 0x1f69 // Summon Daemon
  201. pushlist 'eighthcircle' 0x1f6a // Summon Earth Elemental
  202. pushlist 'eighthcircle' 0x1f6b // Summon Fire Elemental
  203. pushlist 'eighthcircle' 0x1f6c // Summon Water Elemental
  204. // Swords
  205. pushlist 'Trash' 0xf5e
  206. pushlist 'Trash' 0x13ff
  207. pushlist 'Trash' 0x13b6
  208. pushlist 'Trash' 0x13b9
  209. pushlist 'Trash' 0xf5e
  210. pushlist 'Trash' 0x1441
  211. pushlist 'Trash' 0xf61
  212. pushlist 'Trash' 0xf61
  213. // Fencing
  214. pushlist 'Trash' 0x1403
  215. pushlist 'Trash' 0xf62
  216. pushlist 'Trash' 0x1401
  217. pushlist 'Trash' 0x1405
  218. pushlist 'Trash' 0xf52
  219. // Bows
  220. pushlist 'Trash' 0xf50
  221. pushlist 'Trash' 0x26c3
  222. pushlist 'Trash' 0x13fd
  223. pushlist 'Trash' 0x26c2
  224. pushlist 'Trash' 0x13b2
  225. // Maces
  226. pushlist 'Trash' 0x143d
  227. pushlist 'Trash' 0xe89
  228. pushlist 'Trash' 0x1407
  229. pushlist 'Trash' 0x13b4
  230. pushlist 'Trash' 0x1439
  231. pushlist 'Trash' 0x143b
  232. pushlist 'Trash' 0x13b0
  233. pushlist 'Trash' 0xf5c
  234. pushlist 'Trash' 0xdf0
  235. pushlist 'Trash' 0x13f8
  236. // Shields
  237. pushlist 'Trash' 0x1b76
  238. pushlist 'Trash' 0x1b7b
  239. pushlist 'Trash' 0x1b72
  240. pushlist 'Trash' 0x1b73
  241. pushlist 'Trash' 0x1b74
  242. pushlist 'Trash' 0x1b79
  243. pushlist 'Trash' 0x1b7a
  244. pushlist 'Trash' 0x1bc3
  245. //Platemail
  246. pushlist 'Trash' 0x1408 //Close Helmet
  247. pushlist 'Trash' 0x1410 //Platemail Arms
  248. pushlist 'Trash' 0x1411 //Platemail Legs
  249. pushlist 'Trash' 0x1412 //Plate Helm
  250. pushlist 'Trash' 0x1413 //Plate Gorget
  251. pushlist 'Trash' 0x1414 //Platemail Gloves
  252. pushlist 'Trash' 0x1415 //Plate Chest
  253. pushlist 'Trash' 0x140a //Helmet
  254. pushlist 'Trash' 0x140c //Bascinet
  255. pushlist 'Trash' 0x140e //Norse Helm
  256. //Chainmail
  257. pushlist 'Trash' 0x13bb //Chainmail Coif
  258. pushlist 'Trash' 0x13be //Chainmail Leggins
  259. pushlist 'Trash' 0x13bf //Chainmail Tunic
  260. //Ringmail
  261. pushlist 'Trash' 0x13ee //Ringmail Sleeves
  262. pushlist 'Trash' 0x13eb //Ringmail Gloves
  263. pushlist 'Trash' 0x13ec //Ringmail Tunic
  264. pushlist 'Trash' 0x13f0 //Ringmail Leggins
  265. //Studded
  266. pushlist 'Trash' 0x13da //Studded Leggings
  267. pushlist 'Trash' 0x13db //Studded Tunic
  268. pushlist 'Trash' 0x13d5 //Studded Gloves
  269. pushlist 'Trash' 0x13d6 //Studded Gorget
  270. pushlist 'Trash' 0x13dc //Studded Sleeves
  271. //Leather
  272. pushlist 'Trash' 0x13c6 //Leather Gloves
  273. pushlist 'Trash' 0x13cd //Leather Sleeves
  274. pushlist 'Trash' 0x13cc //Leather Tunic
  275. pushlist 'Trash' 0x13cb //Leather Pants
  276. pushlist 'Trash' 0x13c7 //Leather Gorget
  277. pushlist 'Trash' 0x1db9 //Leather Cap
  278. //Female Armor
  279. pushlist 'Trash' 0x1c04 //Female Plate
  280. pushlist 'Trash' 0x1c0c //Female Studded Bustier
  281. pushlist 'Trash' 0x1c02 //Female Studded Armor
  282. pushlist 'Trash' 0x1c00 //Female Leather Shorts
  283. pushlist 'Trash' 0x1c08 //Female Leather Skirt
  284. pushlist 'Trash' 0x1c06 //Female Leather Armor
  285. pushlist 'Trash' 0x1c0a //Female Leather Bustier
  286. //Jewelry
  287. pushlist 'Trash' 0x1f09 // Ring
  288. pushlist 'Trash' 0x1086 // Bracelet
  289. //Misc
  290. pushlist 'Trash' 0x1718 //Wizard Hat
  291. pushlist 'Trash' 0x1714 // Widebrim Hat
  292. pushlist 'Trash' 0x26ba // Schythe
  293. pushlist 'Trash' 0x13f5 // Shepherds Hook
  294. pushlist 'Trash' 0x1719 // Bonnet
  295. pushlist 'Trash' 0x1713 // Floppyhat
  296. pushlist 'Trash' 0x1545 // Bearmask
  297. pushlist 'Trash' 0x13f6 // Skinningknife
  298. for 0 to firstcircle
  299. if findtype 'firstcircle[]' 'any' 'chest'
  300. moveitem found 'firstcircle'
  301. ignoreobject found
  302. pause 1000
  303. endif
  304. endfor
  305. for 0 to secondcircle
  306. if findtype 'secondcircle[]' 'any' 'chest'
  307. moveitem found 'secondcircle'
  308. ignoreobject found
  309. pause 1000
  310. endif
  311. endfor
  312. for 0 to thirdcircle
  313. if findtype 'thirdcircle[]' 'any' 'chest'
  314. moveitem found 'thirdcircle'
  315. ignoreobject found
  316. pause 1000
  317. endif
  318. endfor
  319. for 0 to fourthcircle
  320. if findtype 'fourthcircle[]' 'any' 'chest'
  321. moveitem found 'fourthcircle'
  322. ignoreobject found
  323. pause 1000
  324. endif
  325. endfor
  326. for 0 to fifthcircle
  327. if findtype 'fifthcircle[]' 'any' 'chest'
  328. moveitem found 'fifthcircle'
  329. ignoreobject found
  330. pause 1000
  331. endif
  332. endfor
  333. for 0 to sixthcircle
  334. if findtype 'sixthcircle[]' 'any' 'chest'
  335. moveitem found 'sixthcircle'
  336. ignoreobject found
  337. pause 1000
  338. endif
  339. endfor
  340. for 0 to seventhcircle
  341. if findtype 'seventhcircle[]' 'any' 'chest'
  342. moveitem found 'seventhcircle'
  343. ignoreobject found
  344. pause 1000
  345. endif
  346. endfor
  347. for 0 to eighthcircle
  348. if findtype 'eighthcircle[]' 'any' 'chest'
  349. moveitem found 'eighthcircle'
  350. ignoreobject found
  351. pause 1000
  352. endif
  353. endfor
  354. for 0 to Gems
  355. if findtype 'Gems[]' 'any' 'chest'
  356. moveitem found 'gembag'
  357. ignoreobject found
  358. pause 1000
  359. endif
  360. endfor
  361. for 0 to Regs
  362. if findtype 'Regs[]' 'any' 'chest'
  363. moveitem found 'Reg Bag'
  364. ignoreobject found
  365. pause 1000
  366. endif
  367. endfor
  368. for 0 to Trash
  369. if findtype 'Trash[]' 'any' 'chest'
  370. moveitem found 'Sortertrash'
  371. ignoreobject found
  372. pause 1000
  373. endif
  374. endfor
  375. headmsg 'Macro Done'
  376. stop
  377.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement